Open evgeniy-harchenko opened 1 month ago
Thank you!
By the way. output.voltage
is wrong in 2.8.1. There was no problem in 2.7.4. Unfortunately, I can't test latest version now, Ubuntu repository has not provide it yet.
Can you try building current NUT to test the driver from workspace? No need to replace the existing installation, although you would need to add prerequisite and tool packages...
Just checked on clear Ubuntu 22.04 with last git version 2.8.2.1068-1068-g967cb5403
. Unfortunately, same problems (delay and output.voltage
).
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 20
battery.mfr.date: 1
battery.runtime: 45480
battery.runtime.low: 300
battery.status: 100%
battery.type: PbAcid
battery.voltage: 27.5
battery.voltage.nominal: 24
device.mfr: 1
device.model: 1000
device.serial: [redacted]
device.type: ups
driver.debug: 0
driver.flag.allow_killpower: 0
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.product: 1000
driver.parameter.productid: 0601
driver.parameter.serial: [redacted]
driver.parameter.synchronous: auto
driver.parameter.vendor: 1
driver.parameter.vendorid: 0764
driver.state: quiet
driver.version: 2.8.2.1068-1068-g967cb5403
driver.version.data: CyberPower HID 0.81
driver.version.internal: 0.57
driver.version.usb: libusb-1.0.25 (API: 0x1000109)
input.frequency: 50.0
input.transfer.high: 300
input.transfer.low: 160
input.voltage: 231.0
input.voltage.nominal: 230
output.frequency: 50.0
output.voltage: 24.8
ups.beeper.status: disabled
ups.delay.shutdown: 20
ups.delay.start: 30
ups.load: 0
ups.mfr: 1
ups.model: 1000
ups.productid: 0601
ups.realpower.nominal: 900
ups.serial: [redacted]
ups.status: OL
ups.timer.shutdown: 20
ups.timer.start: 30
ups.vendorid: 0764
For voltage, diff suggests this was among drivers impacted by #1024 and related work to fix wrong encoding of sime values. Maybe it misfires here, try adding disable_fix_report_desc
to the ups.conf
section for the device.
Not helped :disappointed:. By the way, I don't know what this value shows, but sometimes it changes its value.
OK. I found what output.voltage
is showing now. It changes when I change this value:
I set 0bP
and output.voltage
is ~9.2
now.
PowerWalker VFI 1000 AT
upsc
:upsrw
:upscmd
:My
ups.conf
:Shutdown of clients, server and UPS works. But it seems it ignores
ondelay
andoffdelay
. I tried different values for them but the result is always the same. Afterupsmon -c fsd
in/bin/upssched-cmd
invoked server starts to shutdown. After ~15 seconds timer appears on the UPS's display. After even ~10 seconds UPS shuts down outlets (timer is still on dislay). After all of that UPS continues to work with outlets turned off. And only after 2 more minutes UPS shuts down.