[Nut-upsuser] help creating custom genericups configuration - RNG only!

Reed Hedges Reed.Hedges at Adept.com
Fri Jun 21 01:48:56 UTC 2013

Hello, I am trying to understand how to create a custom configuration for the genericups driver.  My system simply signals RI on a serial port on low battery. That's it, nothing else.   This serial port is also being used for communications so the other lines are going to be changing all the time, unrelated to the UPS state.  Is there a "null" upstype I can use, and then add LB=RNG?  Or can I choose one of the other upstypes and clear or unset the conditions associated with the other serial port lines?

I previously used genpowerd and configured it like this:

# type   cablep  kill          t              powerok              battok   cableok
robot     ---           RI            0              /RI                          ---           ---

Is there an equivalent of "---" in genericups?

I couldn't tell whether this can be done after reading the section on contact closure hardware in the developers guide.  Is there more documentation on genericups?

I'm setting up nut 2.6.3 on Ubuntu 12.04.

If you're wondering, it's not a UPS, it's an interface to a mobile robot.  Normally there is more comprehensive monitoring of the battery health by software through other means, but if the software isn't running, this is a fallback to shut down the computer.

I realize this is a pretty degenerate case but hope there is some way to make it work with NUT.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20130620/46cdee09/attachment.html>

More information about the Nut-upsuser mailing list