Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.8.1 Works with PowerWalker VI 600 STL LCD on OpenBSD #2440

Open
M3Henry opened this issue May 12, 2024 · 1 comment
Open

v2.8.1 Works with PowerWalker VI 600 STL LCD on OpenBSD #2440

M3Henry opened this issue May 12, 2024 · 1 comment
Labels
DDL HCL impacts-release-2.8.1 Issues reported against NUT release 2.8.1 (maybe vanilla or with minor packaging tweaks) OpenBSD PowerWalker PowerWalker and BlueWalker branded devices USB

Comments

@M3Henry
Copy link

M3Henry commented May 12, 2024

Thank you all to the project maintainers.

  • The following variables were listed but could not be changed with upsrw:
    • battery.charge.low
    • battery.runtime.low
    • input.transfer.low
    • input.transfer.high
  • upsmon did a shutdown when OB+LB was reported (11.6V)
  • shutdown|start timers have a granularity of 60 seconds round down.
  • If UPS is off when line power is restored, output comes on, regardless of battery state.
  • If line power never goes down during a upscmd shutdown.restore, the load is power cycled.
  • If line power is restored during the shutdown timer and the battery is low. The output is not turned back on when the start timer expires. Hopefully it turns back on when the battery is charged. (TBC)
  • The battery.charge and battery.runtime values do not update during discharge, only during charging
  • ups-scanner suggested blazer_usb driver, however usbhid-ups works instead

/etc/nut/ups.conf

[nutdev1]
        driver = usbhid-ups
        port = auto
        vendorid = 0764
        productid = 0601
        user = "root"
        group = _ups
        desc = "The PowerWalker"
        pollonly
        override.battery.voltage.nominal = 12
        offdelay = 120
        ondelay = 180

/etc/nut/upsd.conf is empty

/etc/rc.shutdown

#!/bin/sh

[ -e /etc/killpower ] && upsdrvctl shutdown

Output of upsc nutdev1

battery.charge: 43
battery.charge.low: 10
battery.charge.warning: 20
battery.mfr.date: 1 
battery.runtime: 1500
battery.runtime.low: 300
battery.type: PbAcid
battery.voltage: 12.8
battery.voltage.nominal: 12
device.mfr: 1 
device.model: 600 
device.serial: 000000000000
device.type: ups
driver.debug: 0
driver.flag.allow_killpower: 1
driver.flag.pollonly: enabled
driver.name: usbhid-ups
driver.parameter.offdelay: 120
driver.parameter.ondelay: 180
driver.parameter.override.battery.voltage.nominal: 12
driver.parameter.pollfreq: 30
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: 49.9
input.transfer.high: 290
input.transfer.low: 162
input.voltage: 249.0
input.voltage.nominal: 0
output.frequency: 0.0
output.voltage: 0.0
ups.beeper.status: disabled
ups.delay.shutdown: 120
ups.delay.start: 180
ups.load: 0
ups.mfr: 1 
ups.model: 600 
ups.productid: 0601
ups.realpower.nominal: 360
ups.serial: 000000000000
ups.status: OL CHRG
ups.timer.shutdown: -60
ups.timer.start: -60
ups.vendorid: 0764

Output of upsrw -l nutdev1 | grep ^[[V] | paste - - | column -t

[battery.charge.low]           Value:  10
[battery.runtime.low]          Value:  300
[driver.debug]                 Value:  0
[driver.flag.allow_killpower]  Value:  1
[input.transfer.high]          Value:  290
[input.transfer.low]           Value:  162
[ups.delay.shutdown]           Value:  120
[ups.delay.start]              Value:  180

Output of uname -a

OpenBSD proliant.henryandlizzy.uk 7.5 GENERIC.MP#82 amd64

@jimklimov jimklimov added HCL DDL OpenBSD USB PowerWalker PowerWalker and BlueWalker branded devices impacts-release-2.8.1 Issues reported against NUT release 2.8.1 (maybe vanilla or with minor packaging tweaks) labels May 13, 2024
@jimklimov
Copy link
Member

Thanks for the report and detailed notes! I see also the serial reported by the device is nearly useless :\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DDL HCL impacts-release-2.8.1 Issues reported against NUT release 2.8.1 (maybe vanilla or with minor packaging tweaks) OpenBSD PowerWalker PowerWalker and BlueWalker branded devices USB
Projects
Status: Todo
Development

No branches or pull requests

2 participants