User Tools

Site Tools


supported_hardware:apc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
supported_hardware:apc [2018/11/14 12:29] James Sentmansupported_hardware:apc [2018/11/17 15:07] – [XTension Setup] James Sentman
Line 182: Line 182:
 ====XTension Setup==== ====XTension Setup====
  
-{{:supported_hardware:apcsetup.png?direct&400 |}} Create a new interface in XTension and select “APC UPS Status” from the Device popup. Enter the static IP address you just gave to your Pi above and then the port. If you didn’t change it in the configuration file then it’s running on port 3551. Give the interface a descriptive name so that you can tell all your UPS’s apart. Click the save button, find the new interface in the Interface Status window and check it’s enabled checkbox to start it up.+{{:supported_hardware:apcsetup.png?direct&425 |}} Create a new interface in XTension and select “APC UPS Status” from the Device popup. Enter the static IP address you just gave to your Pi above and then the port. If you didn’t change it in the configuration file then it’s running on port 3551. Give the interface a descriptive name so that you can tell all your UPS’s apart.
  
 +Set the polling times. You can set separate polling times for when the power is on and then the power is off. I don’t need to see every single change in load when things are working fine and so the default for AC On Polling time is 30 seconds. Once the power goes off though I want to see updates to the battery charge and time left more often so the default for polling times when the power is off is every 10 seconds. When the interface is running you can manually poll it for new information with the Poll Now button.
 +
 +The Event Broadcast Port is set by the xtevent.py script you installed above. Immediate events are sent to XTension via a UDP broadcast on this port. If you change this port in XTension then you must edit the xtevent.py script on your raspberry pi to match or you won’t receive any realtime events.
 +
 +Click the save button, find the new interface in the Interface Status window and check it’s enabled checkbox to start it up.
 ====XTension Units==== ====XTension Units====
 {{ :supported_hardware:apcunits.png?direct&650|}} Once the interface is enabled and running you will be presented with a list of units created automatically by the interface. They will be given a default name that is based on the name you gave the interface and then the function. {{ :supported_hardware:apcunits.png?direct&650|}} Once the interface is enabled and running you will be presented with a list of units created automatically by the interface. They will be given a default name that is based on the name you gave the interface and then the function.
Line 217: Line 222:
  
 ====History==== ====History====
-The apcupsd plugin first appeared in XTension 9.4.12 on Oct 2nd 2018 and is written by James Sentman+  * The apcupsd plugin first appeared in XTension 9.4.12 on Oct 2nd 2018 and is written by James Sentman 
 +  * Version 2.0 of the plugin added support for realtime event reception of power fails and other messages. It also stops the ups software from shutting down the pi and killing the power from the UPS early. It was released in XTension version 9.4.13 in November of 2018. 
supported_hardware/apc.txt · Last modified: 2023/02/17 13:39 by James Sentman