[Nut-upsuser] PR to change logging of OL+DISCHRG UPS state combo

Jim Klimov jimklimov at gmail.com
Wed Dec 6 13:07:33 GMT 2023


Hello all,

  as users of certain (primarily CyberPower and APC) devices know, some
firmwares report both "online" and "discharging" in some situations.

  These depend on the device, vendor and firmware, but cases seen in
practice include:

* calibration (APC),
* being on-battery (CPS),
* having got charged to 100% (APC)

  Recent attention to this area culminated in PR
https://github.com/networkupstools/nut/pull/2216 and it would be great if
someone with the "troublesome" devices could build that code branch and
confirm its log messages behave just as theoretically expected :)

  An in-place build routine (and references to build prerequisites, if
someone here lacks them), can be found at
https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests

  PR source is at https://github.com/jimklimov/nut/tree/issue-1970-throttle
- or for code building purposes:

:; git clone https://github.com/jimklimov/nut.git -b
issue-1970-throttle nut-issue-1970
:; cd nut-issue-1970
# ... follow the Wiki about prerequisites and build procedure
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20231206/fc83ba87/attachment.htm>


More information about the Nut-upsuser mailing list