[Nut-upsuser] Generic UPS driver

Charles Lepple clepple at gmail.com
Wed Jan 1 19:12:34 UTC 2014


On Jan 1, 2014, at 1:52 PM, Ariel Wainer wrote:

> Very strange! It seems like the completly powered down and OK status
> yeild the same reading. The reading didn't change after plugging back in
> the AC.

Well, as strange as that is, I don't think it would be a common case. Ordinarily, the load would be the computer monitoring the UPS, and if the load is off... We can certainly document that, though.

In your testing, do you have suggestions on better debug levels? We should probably log the status changes at level 2 or less, since the hex dump is only useful for those who know the protocol. Also, I'm not sure how many of the messages we should print while scanning the bus.

Good to hear that the rest of the driver works. Can you check the shutdown feature? (run the driver with "-k", or execute "upsdrvctl shutdown"). I wonder if the "0x01" in the shutdown command corresponds to the time between when the command is sent, and when the UPS actually turns off the load.

-- 
Charles Lepple
clepple at gmail






More information about the Nut-upsuser mailing list