[Nut-upsdev] feature request -- talk to the router, not the UPS

Stuart D. Gathman stuart at gathman.org
Tue Jun 3 00:46:33 UTC 2014

On Mon, 2 Jun 2014, Ted Mittelstaedt wrote:

> Incidentally, there are many other schemes that can be used to get
> power state into a PC.  Here are some:

So maybe the dummy driver can be configured with a script to poll
power state (or a callback to get power state events).  That would be much 
safer that reinventing the shutdown logic.

Here is our use case:

A remote customer has a UPS with a normal monitoring interface.  All
works well ... until the customer disconnects the monitoring interface.
(Maybe they are swapping a USB backup drive and pull out the wrong

Configure the hidups monitoring and the "ping" (or USB printer or other
scheme you outlined) monitoring as two UPSes with MINSUPPLIES=1.

If the hidups interface is working, and says power is out and battery
low, but the "ping" device is still up, then the customer "helpfully"
plugged the ping device into the UPS like everything else, and we need
to shut down.

More information about the Nut-upsdev mailing list