Can't update battery date in NUT
-
Hi all,
I've replace the battery in my APC UPS and want to update the battery date.
[2.6.0-RELEASE][admin@pfSense.localdomain]/root: upsrw -s "battery.date=2022May1" -u admin "apcups@localhost" Password: Unexpected response from upsd: ERR READONLY [2.6.0-RELEASE][admin@pfSense.localdomain]/root:
As you can see I'm getting a ReadOnly Error. Any ideas why?
TIA
-
@gregeeh Have you tried rebooting first?
-
@nollipfsense said in Can't update battery date in NUT:
Have you tried rebooting first?
Yes, sure have and same result.
-
Probably your UPS simply doesn't support it:
Not all models support this feature. Typically, cheaper hardware does not support any of them. Run upsrw with a UPS identifier to see what will work for you.
Steve
-
As @stephenw10 notes, many UPSs, do not support updating battery date, particularly via the USB-HID interface. You may be able to do it with APC's proprietary software (PowerChute). Alternatively you can reach out on the NUT Users mailing list and see if someone has an alternative solution.
-
@stephenw10 said in Can't update battery date in NUT:
Probably your UPS simply doesn't support it:
Seems you might be correct:
[2.6.0-RELEASE][admin@pfSense.localdomain]/root: upsrw apcups@localhost [battery.runtime.low] Remaining battery runtime when UPS switches to LB (seconds) Type: STRING Maximum length: 10 Value: 120 [input.sensitivity] Input power sensitivity Type: STRING Maximum length: 10 Value: medium [input.transfer.high] High voltage transfer point (V) Type: STRING Maximum length: 10 Value: 266 [input.transfer.low] Low voltage transfer point (V) Type: STRING Maximum length: 10 Value: 180 [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 [2.6.0-RELEASE][admin@pfSense.localdomain]/root: