<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Home Automation on aaron.cc</title><link>https://aaron.cc/categories/home-automation/</link><description>Recent content in Home Automation on aaron.cc</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Mon, 21 Aug 2017 20:33:29 +0000</lastBuildDate><atom:link href="https://aaron.cc/categories/home-automation/index.xml" rel="self" type="application/rss+xml"/><item><title>Monitoring an APC Back-UPS With openHAB 2</title><link>https://aaron.cc/integrating-my-apc-ups-into-openhab-2/</link><pubDate>Sat, 18 Mar 2017 14:39:47 +0000</pubDate><guid>https://aaron.cc/integrating-my-apc-ups-into-openhab-2/</guid><description>&lt;p&gt;openHAB doesn’t have a binding for APC UPS devices. Luckily, there are other ways to integrate them into your openHAB setup.&lt;/p&gt;
&lt;p&gt;In the following, I’m describing how the &lt;em&gt;exec&lt;/em&gt; binding can be used to regularly poll the UPS status using the &lt;em&gt;apcaccess&lt;/em&gt; command-line utility.&lt;/p&gt;
&lt;p&gt;The result will look somehow like this:&lt;/p&gt;
&lt;figure&gt;
 &lt;img
 class="my-0 "
 loading="lazy"
 decoding="async"
 fetchpriority="auto"
 alt=""
 src="https://aaron.cc/integrating-my-apc-ups-into-openhab-2/images/openHAB-APC-Screenshots-Kopie_hu_5918ec953054cc6a.webp"
 width="2000"
 height="1136"&gt;&lt;/figure&gt;

&lt;p&gt;I’m using a &lt;a href="https://www.amazon.de/APC-Back-UPS-BX-Unterbrechungsfreie-Stromversorgung/dp/B00T7BYRCK" target="_blank" rel="noreferrer"&gt;APC Back-UPS BX 700VA&lt;/a&gt; here—a relatively cheap model with Schuko outlets and a USB connector.&lt;/p&gt;

&lt;h2 class="relative group"&gt;Prerequisites
 &lt;div id="prerequisites" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#prerequisites" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;APC Back-UPS connected and configured (the &lt;em&gt;apcaccess&lt;/em&gt; command needs to work)&lt;/li&gt;
&lt;li&gt;Working openHAB 2 installation&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 class="relative group"&gt;Configuration
 &lt;div id="configuration" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#configuration" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;We’ll need to add a binding, a thing, various items, and finally an entry in the sitemap.&lt;/p&gt;</description></item></channel></rss>