Hi David

As per the link 

http://www.llondel.org/ups.shtml

& the final testing paragraph.

I have set up a Lantech UPS similiar to your write up for  your Powersure 
Proactive and Powersure Personal  UPS's

On LOW BATT
it shuts down OK.


BUT as with other  many UPS's during the 
wait period from low batt to start of shutdown ... IE 


[SHUTDOWNCMD "/sbin/shutdown -h +20"]

20 minutes in this case.


Reapplying AC power before the 20 minute mark stops the shutdown & all is 
normal again.

This option isn't working on my setup.

What happens in your setup.


What I could do a run a script that cancels the shutdown.  ... with   " 
shutdown -c" .

But there is no alert as to AC power being restored.

Pulling power before "LOW BATTERY"  there is an alert.

IE from /var/log/syslog .............

Aug 21 12:12:05 roj-desktop upsmon[18721]: UPS power...@localhost on line power

But after LOW BATTERY is detected there is NO such alert.

thx

Any comments greatly appreciated.



Roger Salisbury
[email protected]
75 Mawson Pde 
Chifley Sydney NSW 2036
0296618811 mob 0400339007








  
Interfacing a Contact-Closure UPS to Mac OS X and Linux
Having acquired some cheap Liebert Powersure Proactive and Powersure Personal 
UPS boxes, I set about interfacing them to my Mac and Linux machines. In the 
process I learned a few things about OS X that I didn't know before. 

The UPS
Both models of UPS have a 9-way D socket on the back with a basic 
contact-closure signalling arrangement that allows On Battery and Low Battery 
to be indicated by the closing of relay contacts. The Proactive uses relays and 
is polarity-independent whereas the Personal uses solid-state switching and is 
polarity sensitive. It also assigns a remote-shutdown function to pin 6. 

      PIN FUNCTION 
      1 Low Battery (+) 
      2 Not Used 
      3 Not Used 
      4 UPS Off 
      5 UPS Ground 
      6 On Battery (NC)/Remote Shutdown 
      7 Low Battery (-) 
      8 On Battery (COM) (-) 
      9 On Battery (NO) (+) 

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to