[Nut-upsuser] reset "replace battery" flag

Manuel Wolfshant wolfy at nobugconsulting.ro
Thu Sep 24 16:51:23 BST 2020


On 9/21/20 9:47 PM, Lionel √Člie Mamane wrote:
> Hi,
>
> We have a HP R/T 3000 G4 UPS; according to the data returned by the
> usbhid-ups driver, it seems to be a "badge engineered" Eaton 5PX UPS
> LI R 3000.
>
> We have a stubborn "Replace Battery" alarm that stays despite:
>
>   - physical battery replacement
>   - successful quick battery test, started by upscmd
>   - successful deep battery test, started by upscmd
>   - successful battery test, started from panel
>   - "reset fault state" on panel
>   - clear fault log on panel
>
> The panel doesn't show any battery-related alarm.
>
> I initially "guessed" this was some kind of stale flag in some
> internal NUT database or cache, but I couldn't find on the hard disk
> where that is/was, and restarting all NUT daemons & drivers didn't
> help either.
>
> Anybody has a clue how I should proceed or debug the issue?

try to run the driver in debug mode so that we can see what data is 
actually sent by the UPS

#usbhid-ups -DDDD -u root -a $YourUpsName

where $YourUpsName is the one you used in /etc/ups/ups.conf



After a few seconds the output will start to repeat so ctrl-c and 
examine whatever was collected. and maybe zip it and send it to the list.





More information about the Nut-upsuser mailing list