Hello! I have a box that monitors the surrounding environment and sends a signal to a debian machine when it is time to shut down, according to the developers of the box it uses and old standard of UPS signaling. It is super simple, it just changes the DCD status to high when it is time to shut down. Has anybody heard of this kind of signaling, i have googled without success. But maybe someone on this list can help me sort thit out? Best regards Morgan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20100318/9bc91f60/attachment.htm>
> Hello!Hello,> I have a box that monitors the surrounding environment and sends a signal > to a debian machine when it is time to shut down, according to the > developers of the box it uses and old standard of UPS signaling. It is > super simple, it just changes the DCD status to high when it is time to > shut down. > Has anybody heard of this kind of signaling, i have googled without > success. But maybe someone on this list can help me sort thit out?Yes, this is sometimes called contact-closure. NUT have a driver named 'genericups' for this. Many ups'es use this. The may have a 'smart' protocol that gives some info like load and voltage, but also a contact-closure setup. If you read the man page for the genericups you get a hint how to set this up. /Kjell
On Thu, 18 Mar 2010, Morgan Lindstrom wrote:> I have a box that monitors the surrounding environment and sends a > signal to a debian machine when it is time to shut down, according to > the developers of the box it uses and old standard of UPS signaling. > It is super simple, it just changes the DCD status to high when it is > time to shut down. Has anybody heard of this kind of signaling, i > have googled without success. But maybe someone on this list can help > me sort thit out?Check out the generic UPS driver, it can monitor for this sort of UPS, you need to tell it what lines are connected to which event. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: This is a digitally signed message part. URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20100318/7be112a7/attachment.pgp>