-
Notifications
You must be signed in to change notification settings - Fork 1
Description
The NUC-UPS works with this NUT driver (see discussion in #1) in that it can work as a UPS and shutdown as needed. It does not report input and output parameters as it does for the other models and this would be very helpful. Examining the source code for the new https://github.com/mini-box/ups code, it looks like the NUC-UPS (d007) would use the same multiplying coefficients as the OpenUPS2 (d005). I added code for this in the driver, following the lines for the d005, but alas it did not report on these input and output parameters like ti does for the OpenUPS2 (d005). It seems like this would not need a big change.
Is it possible to add support for the d007 in this NUT driver please? It seems it just needs a few more lines to support the d007 - and whatever I missed to ensure these are reported by upsc.
Any comments or suggestions very welcome. I am happy to add my modified version of the driver here too for feedback on.
Thanks, Adam
Current output from the NUC-UPS:
$ upsc ups
battery.capacity: 100
battery.charge: 99
battery.charge.low: 60
battery.charge.warning: 20
battery.current: 0.000
battery.mfr.date: MINI-BOX.COM
battery.runtime: 2808
battery.runtime.low: 900
battery.type:
battery.voltage: 0.00
device.mfr: MINI-BOX.COM
device.model: DCDC-NUC UPS
device.serial:
device.type: ups
driver.flag.ignorelb: enabled
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.productid: d007
driver.parameter.synchronous: no
driver.parameter.vendorid: 04d8
driver.version: 2.7.4-695-gf15947f0
driver.version.data: openUPS HID 0.4
driver.version.internal: 0.43
ups.mfr: MINI-BOX.COM
ups.model: DCDC-NUC UPS
ups.productid: d007
ups.serial:
ups.status: OL
ups.vendorid: 04d8