nut icon indicating copy to clipboard operation
nut copied to clipboard

nJoy Keen 1500 support

Open andrey-ivanov opened this issue 2 years ago • 5 comments

Manufacturer: nJoy Device: Keen 1500USB Website: https://www.njoy.ro/UPS/keen-600 No separate site for USB version

I can confirm nJoy Keen 1500 is recognized by nutdrv_qx. I used Keen 600 ticket as reference.

/var/log/syslog

upsdrvctl[522234]: Network UPS Tools - UPS driver controller 2.7.4
upsd[486317]: Can't connect to UPS [njoykeen] (nutdrv_qx-njoykeen): No such file or directory
upsdrvctl[522236]: Using protocol: Q1 0.07
upsdrvctl[522236]: Can't autodetect number of battery packs [-1/13.20]
upsdrvctl[522236]: Battery runtime will not be calculated (runtimecal not set)
upsdrvctl[522235]: Network UPS Tools - UPS driver controller 2.7.4
upsd[486317]: Connected to UPS [njoykeen]: nutdrv_qx-njoykeen

upsc

battery.voltage: 13.60
device.type: ups
driver.name: nutdrv_qx
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 10
driver.parameter.port: /dev/ttyUSB0
driver.parameter.synchronous: no
driver.version: 2.7.4
driver.version.data: Q1 0.07
driver.version.internal: 0.28
input.frequency: 49.8
input.voltage: 217.0
input.voltage.fault: 0.0
output.voltage: 217.0
ups.beeper.status: enabled
ups.delay.shutdown: 30
ups.delay.start: 180
ups.load: 12
ups.status: OL
ups.temperature: 25.0
ups.type: offline / line interactive

Driver has an exactly same limitations as Keen 600:

  • No battery.voltage.high or battery.voltage.low reported
  • ups.temperature is always reported as 25.0

On-battery status reported as ups.status: OB

Low-battery status reported as: ups.status: OB LB Did not observe LB alone.

I observed USB reconnection after every on-line to on-battery switching (and vise versa). It leads to "connection loss" event and requires nut-driver service restarting, Not sure if this issue is a device related or specific to my hardware.

andrey-ivanov avatar Mar 10 '24 08:03 andrey-ivanov

Thanks for the report! Would you have a chance to check if modern NUT 2.8.1 release would see more data (and/or did not regress and see at least this much)?

jimklimov avatar Mar 10 '24 16:03 jimklimov

I'll back with a report about 2.8.1 in the next few months. Not ready for Ubuntu 24.04 challenge yet. :)

andrey-ivanov avatar Mar 10 '24 16:03 andrey-ivanov

There's no way to get the battery percentage of a nJoy Horus Plus 2000 currently right?

tyl0413 avatar Apr 17 '24 13:04 tyl0413

Percentage values are not reported for Keen 1500. However, battery voltage is available. It can be used as threshold for automatic shutdown.

andrey-ivanov avatar Apr 17 '24 18:04 andrey-ivanov

Would you have a chance to check if modern NUT 2.8.1 release would see more data (and/or did not regress and see at least this much)?

upsc

battery.voltage: 13.6
device.type: ups
driver.debug: 0
driver.flag.allow_killpower: 0
driver.name: nutdrv_qx
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 10
driver.parameter.port: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
driver.parameter.synchronous: auto
driver.state: quiet
driver.version: 2.8.1
driver.version.data: Q1 0.08
driver.version.internal: 0.36
driver.version.usb: libusb-1.0.27 (API: 0x100010a)
input.frequency: 49.8
input.voltage: 213.0
input.voltage.fault: 0.0
output.voltage: 213.0
ups.beeper.status: enabled
ups.delay.shutdown: 30
ups.delay.start: 180
ups.load: 0
ups.status: OL
ups.temperature: 25.0
ups.type: offline / line interactive

Looks like there is no regression in 2,8,1

No new data, but there are new driver entries: driver.debug: 0 driver.flag.allow_killpower: 0 driver.state: quiet driver.version.usb: libusb-1.0.27 (API: 0x100010a)

and driver.parameter.synchronous changed from no to auto

andrey-ivanov avatar Sep 28 '24 18:09 andrey-ivanov