Skip to main content

Home Automation

Monitoring an APC Back-UPS With openHAB 2

·5 mins
openHAB doesn’t have a binding for APC UPS devices. Luckily, there are other ways to integrate them into your openHAB setup. In the following, I’m describing how the exec binding can be used to regularly poll the UPS status using the apcaccess command-line utility. The result will look somehow like this: I’m using a APC Back-UPS BX 700VA here—a relatively cheap model with Schuko outlets and a USB connector. Prerequisites # APC Back-UPS connected and configured (the apcaccess command needs to work) Working openHAB 2 installation Configuration # We’ll need to add a binding, a thing, various items, and finally an entry in the sitemap.