Schneider Electric support forum for our Data Center and Business Power UPS, UPS Accessories, Software, Services, and associated commercial products designed to share knowledge, installation, and configuration.
Posted: 2021-07-01 12:32 AM
This was originally posted on APC forums on 8/7/2011
I have got a "Back-UPS BR 900GI" UPS connected to my computer with an USB cabel. I need to be able to launch a custom batch script in case of a power cut when the capacity of the UPS battery gets under a certain value. They told me that only the Personal edition of the PowerChute software is compatible with my UPS and that it is unable to launch scripts.
Is there any way I could achieve that goal ? I would prefer a library or something that I could use in a java application to read the state of the UPS. Then I could create a daemon to monitor the status and launch the scripts myself.
Thanks in advance,
Dusan
Posted: 2021-07-01 12:32 AM
This reply was originally posted by Jonathan on APC forums on 8/8/2011
Dusan,
If you are using a Microsoft based Operating System you can use the Native USB solutions of Windows, I have seen this to be available on XP, 2000 and 2003. To access this, open up the Control Panel>Power Options>Alarms tab. From there you can click on Alarm Action and then Run a program.
I have attached a screenshot for your reference.
Posted: 2021-07-01 12:32 AM
This reply was originally posted by Jonathan on APC forums on 8/8/2011
Dusan,
If you are using a Microsoft based Operating System you can use the Native USB solutions of Windows, I have seen this to be available on XP, 2000 and 2003. To access this, open up the Control Panel>Power Options>Alarms tab. From there you can click on Alarm Action and then Run a program.
I have attached a screenshot for your reference.
Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.