Hi! I just installed a new CP1000PFCLCD (Cyber Power PFC Sinewave UPS) and everything appears to be working correctly, except that I have an oddly high output voltage reading from nut. All of the other values seem consistent with what the front-panel LCD says except for this one. Is this something that needs a correction factor, or perhaps the value the driver is reading has been remapped? BTW, the value has moved from a low of 136 to a high of 142. So it seems to be measuring *something* that fluctuates! :) battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 20 battery.mfr.date: CPS battery.runtime: 2790 battery.runtime.low: 300 battery.type: PbAcid battery.voltage: 16.0 battery.voltage.nominal: 24 device.mfr: CP1000PFCLCD device.model: CRDA103*AF1 device.serial: CPS device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.version: 2.6.3 driver.version.data: CyberPower HID 0.3 driver.version.internal: 0.35 input.transfer.high: 139 input.transfer.low: 88 input.voltage: 119.0 input.voltage.nominal: 120 Really high --> output.voltage: 136.0 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.delay.start: 30 ups.load: 12 ups.mfr: CP1000PFCLCD ups.model: CRDA103*AF1 ups.productid: 0501 ups.realpower.nominal: 600 ups.serial: CPS ups.status: OL ups.test.result: No test initiated ups.timer.shutdown: -60 ups.timer.start: -60 ups.vendorid: 0764
Charles Lepple
2013-Apr-05 22:37 UTC
[Nut-upsuser] CP1000PFCLCD really high output voltage
On Apr 5, 2013, at 12:03 PM, jalano wrote:> battery.voltage: 16.0 > battery.voltage.nominal: 24^ This also seems a bit odd.> Really high --> output.voltage: 136.0The problem with correction factors is that we need to know how to apply them. Most of the other corrections are obvious scaling errors (e.g. multiplying by 100,000,000). Smaller corrections may be temperature-dependent. Here's the line in drivers/cps-hid.c: { "output.voltage", 0, 0, "UPS.Output.Voltage", NULL, "%.1f", 0, NULL }, There is, of course, a non-zero chance of a bug somewhere in the driver, but most of the other HID subdrivers use "UPS.Output.Voltage" as well. Assuming NUT is parsing this value correctly, it should show up in the vendor software. Can you try loading the software in a VM? -- Charles Lepple clepple at gmail