nut icon indicating copy to clipboard operation
nut copied to clipboard

[HCL] PowerWalker VFI 1000 AT supported by usbhid-ups

Open evgeniy-harchenko opened this issue 5 months ago • 6 comments

PowerWalker VFI 1000 AT

upsc:

battery.charge: 94
battery.charge.low: 10
battery.charge.warning: 20
battery.mfr.date: 1 
battery.runtime: 58740
battery.runtime.low: 300
battery.type: PbAcid
battery.voltage: 27.4
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.offdelay: 20
driver.parameter.ondelay: 30
driver.parameter.pollfreq: 5
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.productid: 0601
driver.parameter.synchronous: auto
driver.parameter.vendorid: 0764
driver.state: quiet
driver.version: 2.8.1
driver.version.data: CyberPower HID 0.8
driver.version.internal: 0.52
driver.version.usb: libusb-1.0.27 (API: 0x100010a)
input.frequency: 50.0
input.transfer.high: 300
input.transfer.low: 160
input.voltage: 210.5
input.voltage.nominal: 230
output.frequency: 49.9
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 CHRG
ups.timer.shutdown: -60
ups.timer.start: -60
ups.vendorid: 0764

upsrw:

[battery.charge.low]
Remaining battery level when UPS switches to LB (percent)
Type: STRING
Maximum length: 10
Value: 10

[battery.runtime.low]
Remaining battery runtime when UPS switches to LB (seconds)
Type: STRING
Maximum length: 10
Value: 300

[driver.debug]
Current debug verbosity level of the driver program
Type: NUMBER
Value: 0

[driver.flag.allow_killpower]
Safety flip-switch to allow the driver daemon to send UPS shutdown command (accessible via driver.killpower)
Type: NUMBER
Value: 0

[input.transfer.high]
High voltage transfer point (V)
Type: STRING
Maximum length: 10
Value: 300

[input.transfer.low]
Low voltage transfer point (V)
Type: STRING
Maximum length: 10
Value: 160

[ups.delay.shutdown]
Interval to wait after shutdown with delay command (seconds)
Type: STRING
Maximum length: 10
Value: 20

[ups.delay.start]
Interval to wait before (re)starting the load (seconds)
Type: STRING
Maximum length: 10
Value: 30

upscmd:

beeper.disable - Disable the UPS beeper
beeper.enable - Enable the UPS beeper
beeper.mute - Temporarily mute the UPS beeper
beeper.off - Obsolete (use beeper.disable or beeper.mute)
beeper.on - Obsolete (use beeper.enable)
driver.killpower - Tell the driver daemon to initiate UPS shutdown; should be unlocked with driver.flag.allow_killpower option or variable setting
driver.reload - Reload running driver configuration from the file system (only works for changes in some options)
driver.reload-or-error - Reload running driver configuration from the file system (only works for changes in some options); return an error if something changed and could not be applied live (so the caller can restart it with new options)
driver.reload-or-exit - Reload running driver configuration from the file system (only works for changes in some options); exit the running driver if something changed and could not be applied live (so service management framework can restart it with new options)
load.off - Turn off the load immediately
load.off.delay - Turn off the load with a delay (seconds)
load.on - Turn on the load immediately
load.on.delay - Turn on the load with a delay (seconds)
shutdown.return - Turn off the load and return when power is back
shutdown.stayoff - Turn off the load and remain off
shutdown.stop - Stop a shutdown in progress
test.battery.start.deep - Start a deep battery test
test.battery.start.quick - Start a quick battery test
test.battery.stop - Stop the battery test

My ups.conf:

[nutdev1]
        driver = "usbhid-ups"
        port = "auto"
        desc = "PowerWalker VFI 1000 AT"        
        vendorid = "0764"
        productid = "0601"
        pollfreq = 5
        offdelay = 20
        ondelay = 30
        default.ups.timer.shutdown = 20        
        default.ups.timer.start = 30

Shutdown of clients, server and UPS works. But it seems it ignores ondelay and offdelay. I tried different values for them but the result is always the same. After upsmon -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.

evgeniy-harchenko avatar Sep 16 '24 21:09 evgeniy-harchenko