If you change to using NUT, you can use this: [Now with code for Nut discovery + UPS & outlet status] Support for UPS?, which is what I use and like. I have an APC as well and stopped using their software, as NUT is more broadly supported by other applications.