-
-
Notifications
You must be signed in to change notification settings - Fork 395
Description
Driver: usbhid-ups, version 0.47 (2.8.0) (from Debian package)
OS: Debian 12 (bookworm)
UPS: Eaton S3 700 Gen. 1
MOBO: SuperMicro X11
Problem:
When I set battery.charge.low = 83
in the driver-config file, like below, the monitor doesn't respect this, i.e. when battery.charge
<= battery.charge.low
the shutdown procedure isn't triggered. But it worke find if I set battery.charge.low
using upsrw !
[eaton]
driver = usbhid-ups
port = auto
desc = "eaton S3 ups"
offdelay = 120
ondelay = 125
override.battery.charge.low = 83
Aso tried default.battery.charge.low = 83
These are are the UPS variables after I set battery.charge.low
(either in driver-config or with upsrw):
battery.charge: 83
battery.charge.low: 83
battery.runtime: 2520
driver.parameter.offdelay: 120
driver.parameter.ondelay: 125
outlet.1.status: off
ups.delay.shutdown: 120
ups.delay.start: 125
ups.load: 0
ups.status: OB
I assume the monitor is looking at these variables and I assume it compare battery.charge
and battery.charge.low
The problem using upsrw is it isn't persistent and have to be set every time the server boots.
I use this command to set it with upsrw:
upsrw -s battery.charge.low=83 -u nut -p xxxx eaton@localhost