Site updated at 2018-02-13 16:47:08 UTC

This commit is contained in:
Travis CI 2018-02-13 16:47:08 +00:00
parent 3a61e6afb6
commit 923592f57d
29 changed files with 92 additions and 80 deletions

View file

@ -4,7 +4,7 @@
<title><![CDATA[Home Assistant]]></title> <title><![CDATA[Home Assistant]]></title>
<link href="https://home-assistant.io/atom.xml" rel="self"/> <link href="https://home-assistant.io/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Announcements | Home Assistant]]></title> <title><![CDATA[Category: Announcements | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/announcements/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/announcements/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Community | Home Assistant]]></title> <title><![CDATA[Category: Community | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/community/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/community/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Device-Tracking | Home Assistant]]></title> <title><![CDATA[Category: Device-Tracking | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/device-tracking/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/device-tracking/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: ESP8266 | Home Assistant]]></title> <title><![CDATA[Category: ESP8266 | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/esp8266/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/esp8266/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: How-To | Home Assistant]]></title> <title><![CDATA[Category: How-To | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/how-to/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/how-to/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: iBeacons | Home Assistant]]></title> <title><![CDATA[Category: iBeacons | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/ibeacons/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/ibeacons/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Internet-of-Things | Home Assistant]]></title> <title><![CDATA[Category: Internet-of-Things | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/internet-of-things/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/internet-of-things/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: IoT-Data | Home Assistant]]></title> <title><![CDATA[Category: IoT-Data | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/iot-data/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/iot-data/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Media | Home Assistant]]></title> <title><![CDATA[Category: Media | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/media/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/media/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Merchandise | Home Assistant]]></title> <title><![CDATA[Category: Merchandise | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/merchandise/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/merchandise/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Micropython | Home Assistant]]></title> <title><![CDATA[Category: Micropython | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/micropython/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/micropython/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: MQTT | Home Assistant]]></title> <title><![CDATA[Category: MQTT | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/mqtt/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/mqtt/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Organization | Home Assistant]]></title> <title><![CDATA[Category: Organization | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/organization/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/organization/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: OwnTracks | Home Assistant]]></title> <title><![CDATA[Category: OwnTracks | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/owntracks/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/owntracks/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Presence-Detection | Home Assistant]]></title> <title><![CDATA[Category: Presence-Detection | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/presence-detection/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/presence-detection/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Public-Service-Announcement | Home Assistant]]></title> <title><![CDATA[Category: Public-Service-Announcement | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/public-service-announcement/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/public-service-announcement/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Release-Notes | Home Assistant]]></title> <title><![CDATA[Category: Release-Notes | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/release-notes/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/release-notes/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Survey | Home Assistant]]></title> <title><![CDATA[Category: Survey | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/survey/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/survey/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Talks | Home Assistant]]></title> <title><![CDATA[Category: Talks | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/talks/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/talks/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Technology | Home Assistant]]></title> <title><![CDATA[Category: Technology | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/technology/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/technology/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: User-Stories | Home Assistant]]></title> <title><![CDATA[Category: User-Stories | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/user-stories/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/user-stories/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Video | Home Assistant]]></title> <title><![CDATA[Category: Video | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/video/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/video/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Website | Home Assistant]]></title> <title><![CDATA[Category: Website | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/website/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/website/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2018-02-13T08:47:49+00:00</updated> <updated>2018-02-13T16:32:59+00:00</updated>
<id>https://home-assistant.io/</id> <id>https://home-assistant.io/</id>
<author> <author>
<name><![CDATA[Home Assistant]]></name> <name><![CDATA[Home Assistant]]></name>

View file

@ -109,6 +109,9 @@
</dd> </dd>
</dl> </dl>
</div> </div>
<p class="note">
The requirement <code class="highlighter-rouge">lxml</code> has to be <a href="http://lxml.de/installation.html">installed</a> manually <code class="highlighter-rouge">pip install lxml</code> on some devices.
</p>
</article> </article>
</div> </div>
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole"> <aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">

View file

@ -156,6 +156,15 @@ This allows you to mix several AND and OR conditions together.</p>
<span class="s">after_offset</span><span class="pi">:</span> <span class="s2">"</span><span class="s">-1:00:00"</span> <span class="s">after_offset</span><span class="pi">:</span> <span class="s2">"</span><span class="s">-1:00:00"</span>
</code></pre> </code></pre>
</div> </div>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">condition</span><span class="pi">:</span>
<span class="s">condition</span><span class="pi">:</span> <span class="s">or</span> <span class="c1"># 'when dark' condition: either after sunset or before sunrise</span>
<span class="s">conditions</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">condition</span><span class="pi">:</span> <span class="s">sun</span>
<span class="s">after</span><span class="pi">:</span> <span class="s">sunset</span>
<span class="pi">-</span> <span class="s">condition</span><span class="pi">:</span> <span class="s">sun</span>
<span class="s">before</span><span class="pi">:</span> <span class="s">sunrise</span>
</code></pre>
</div>
<p>Here is a truth table to clarify the parameters with and without offset:</p> <p>Here is a truth table to clarify the parameters with and without offset:</p>
<table> <table>
<thead> <thead>

View file

@ -90,7 +90,7 @@
</code></pre> </code></pre>
</div> </div>
<h3><a class="title-link" name="raspberry-pi" href="#raspberry-pi"></a> Raspberry Pi</h3> <h3><a class="title-link" name="raspberry-pi" href="#raspberry-pi"></a> Raspberry Pi</h3>
<p>On Raspberry Pi you will need to enable the serial interface in the <code class="highlighter-rouge">raspbi-config</code> tool before you can add Z-Wave to Home Assistant.</p> <p>On Raspberry Pi you will need to enable the serial interface in the <code class="highlighter-rouge">raspi-config</code> tool before you can add Z-Wave to Home Assistant.</p>
<h2><a class="title-link" name="configuration" href="#configuration"></a> Configuration</h2> <h2><a class="title-link" name="configuration" href="#configuration"></a> Configuration</h2>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span> <div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">zwave</span><span class="pi">:</span> <span class="s">zwave</span><span class="pi">:</span>

View file

@ -75,15 +75,15 @@
</h1> </h1>
</header> </header>
<hr class="divider"> <hr class="divider">
<p>Hass.io is a managed environment, which means that you cant install applications that can be embedded into Home Assistant using the <code class="highlighter-rouge">command_line</code> sensor/switch.</p> <p>Hass.io is a managed environment, which means you cant install applications that can be embedded into Home Assistant using the <code class="highlighter-rouge">command_line</code> sensor/switch.</p>
<p>There are three options if you need to run a script to read data from a sensor or send commands to other devices on Hass.io.</p> <p>There are three options if you need to run a script which reads data from a sensor or sends commands to other devices on Hass.io.</p>
<p>The first option is to write a custom component for Home Assistant. Using Python, you can communicate with your device. For more information about developing a custom component, take a look at the <a href="/developers/component_loading/">developer documentation</a>.</p> <p>The first option is to write a custom component for Home Assistant. This implies that you can communicate with your device using Python. For more information about developing a custom component, take a look at <a href="/developers/component_loading/">custom-component development</a>.</p>
<p>The second option is to use STDIN inside add-on and use the service <code class="highlighter-rouge">hassio.addon_stdin</code> to send data. More about this options look into <a href="/developers/hassio/addon_communication/">developer documentation</a> for internal add-on communication. There is also describe how do you can easy access to Home-Assistant Rest API.</p> <p>The second option is to use STDIN inside an add-on and use the service <code class="highlighter-rouge">hassio.addon_stdin</code> to send data. For more information, have a look at <a href="/developers/hassio/addon_communication/">internal add-on communication</a>. Here you will also find how you can easily access the Home Assistant Rest API.</p>
<p>The third option is to make a local add-on for Hass.io that sends the data to Home Assistant via MQTT. Before we dive into this, read up on <a href="/developers/hassio/addon_tutorial/">Hass.io add-on development</a> first.</p> <p>The third option is to create a local add-on for Hass.io that sends the data to Home Assistant via MQTT. Before we dive into this, read up on <a href="/developers/hassio/addon_tutorial/">Hass.io add-on development</a> first.</p>
<p>For security and speed, Hass.io does not provide a way for containers to communicate directly. So the first step is to set up a communication channel. Were going to use MQTT for this using the <a href="/addons/mosquitto/">MQTT broker add-on</a>.</p> <p>For security and speed, Hass.io does not provide a way for containers to communicate directly. So the first step is to set up a communication channel. Were going to use MQTT for this using the <a href="/addons/mosquitto/">MQTT broker add-on</a>.</p>
<h3><a class="title-link" name="sensors" href="#sensors"></a> Sensors</h3> <h3><a class="title-link" name="sensors" href="#sensors"></a> Sensors</h3>
<p>We loop in our script to fetch data and push it to MQTT and wait until the next process is ready. Here is a basic example and structure for that process.</p> <p>We loop in our script to fetch data and push it to MQTT and wait until the next process is ready. Here is a basic example and structure for that process.</p>
<p>Our Dockerfile need to install:</p> <p>In our Dockerfile we need to install:</p>
<div class="highlighter-rouge"><pre class="highlight"><code>RUN apk --no-cache add jq mosquitto-clients <div class="highlighter-rouge"><pre class="highlight"><code>RUN apk --no-cache add jq mosquitto-clients
</code></pre> </code></pre>
</div> </div>
@ -117,7 +117,7 @@
</div> </div>
<h3><a class="title-link" name="commands" href="#commands"></a> Commands</h3> <h3><a class="title-link" name="commands" href="#commands"></a> Commands</h3>
<p>We wait for incoming data from the MQTT broker. We can also use an <code class="highlighter-rouge">input_boolean</code> that triggers an automation to publish a custom command to MQTT topic that can process multiple things in one add-on.</p> <p>We wait for incoming data from the MQTT broker. We can also use an <code class="highlighter-rouge">input_boolean</code> that triggers an automation to publish a custom command to MQTT topic that can process multiple things in one add-on.</p>
<p>Our Dockerfile need to install:</p> <p>In our Dockerfile we need to install:</p>
<div class="highlighter-rouge"><pre class="highlight"><code>RUN apk --no-cache add jq mosquitto-clients <div class="highlighter-rouge"><pre class="highlight"><code>RUN apk --no-cache add jq mosquitto-clients
</code></pre> </code></pre>
</div> </div>

View file

@ -4026,7 +4026,7 @@
</url> </url>
<url> <url>
<loc>https://home-assistant.io/components/switch.hook/</loc> <loc>https://home-assistant.io/components/switch.hook/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/cookbook/automation_for_rainy_days/</loc> <loc>https://home-assistant.io/cookbook/automation_for_rainy_days/</loc>
@ -4710,131 +4710,131 @@
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/autostart/init.d/</loc> <loc>https://home-assistant.io/docs/autostart/init.d/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/</loc> <loc>https://home-assistant.io/docs/ecosystem/appdaemon/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/api/</loc> <loc>https://home-assistant.io/docs/ecosystem/appdaemon/api/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/configuration/</loc> <loc>https://home-assistant.io/docs/ecosystem/appdaemon/configuration/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/example_apps/</loc> <loc>https://home-assistant.io/docs/ecosystem/appdaemon/example_apps/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/installation/</loc> <loc>https://home-assistant.io/docs/ecosystem/appdaemon/installation/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/operation/</loc> <loc>https://home-assistant.io/docs/ecosystem/appdaemon/operation/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/reboot/</loc> <loc>https://home-assistant.io/docs/ecosystem/appdaemon/reboot/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/running/</loc> <loc>https://home-assistant.io/docs/ecosystem/appdaemon/running/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/</loc> <loc>https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/updating/</loc> <loc>https://home-assistant.io/docs/ecosystem/appdaemon/updating/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/windows/</loc> <loc>https://home-assistant.io/docs/ecosystem/appdaemon/windows/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/certificates/</loc> <loc>https://home-assistant.io/docs/ecosystem/certificates/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/hadashboard/</loc> <loc>https://home-assistant.io/docs/ecosystem/hadashboard/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/hass-configurator/</loc> <loc>https://home-assistant.io/docs/ecosystem/hass-configurator/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/ios/</loc> <loc>https://home-assistant.io/docs/ecosystem/ios/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/nginx/</loc> <loc>https://home-assistant.io/docs/ecosystem/nginx/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/notebooks/</loc> <loc>https://home-assistant.io/docs/ecosystem/notebooks/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/scenegen/</loc> <loc>https://home-assistant.io/docs/ecosystem/scenegen/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/ecosystem/synology/</loc> <loc>https://home-assistant.io/docs/ecosystem/synology/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/tools/</loc> <loc>https://home-assistant.io/docs/tools/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/tools/benchmark/</loc> <loc>https://home-assistant.io/docs/tools/benchmark/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/tools/check_config/</loc> <loc>https://home-assistant.io/docs/tools/check_config/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/tools/credstash/</loc> <loc>https://home-assistant.io/docs/tools/credstash/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/tools/db_migrator/</loc> <loc>https://home-assistant.io/docs/tools/db_migrator/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/tools/dev-tools/</loc> <loc>https://home-assistant.io/docs/tools/dev-tools/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/tools/ensure_config/</loc> <loc>https://home-assistant.io/docs/tools/ensure_config/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/tools/hass/</loc> <loc>https://home-assistant.io/docs/tools/hass/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/tools/influxdb_import/</loc> <loc>https://home-assistant.io/docs/tools/influxdb_import/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/tools/influxdb_migrator/</loc> <loc>https://home-assistant.io/docs/tools/influxdb_migrator/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/tools/keyring/</loc> <loc>https://home-assistant.io/docs/tools/keyring/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/docs/tools/scripts/</loc> <loc>https://home-assistant.io/docs/tools/scripts/</loc>
<lastmod>2018-02-13T08:47:49+00:00</lastmod> <lastmod>2018-02-13T16:32:59+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/faq/after-upgrading/</loc> <loc>https://home-assistant.io/faq/after-upgrading/</loc>
@ -6004,62 +6004,62 @@
</url> </url>
<url> <url>
<loc>https://home-assistant.io/demo/frontend.html</loc> <loc>https://home-assistant.io/demo/frontend.html</loc>
<lastmod>2018-02-13T08:46:59+00:00</lastmod> <lastmod>2018-02-13T16:31:35+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/demo/index.html</loc> <loc>https://home-assistant.io/demo/index.html</loc>
<lastmod>2018-02-13T08:46:59+00:00</lastmod> <lastmod>2018-02-13T16:31:35+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-event.html</loc> <loc>https://home-assistant.io/demo/panels/ha-panel-dev-event.html</loc>
<lastmod>2018-02-13T08:46:59+00:00</lastmod> <lastmod>2018-02-13T16:31:35+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-info.html</loc> <loc>https://home-assistant.io/demo/panels/ha-panel-dev-info.html</loc>
<lastmod>2018-02-13T08:46:59+00:00</lastmod> <lastmod>2018-02-13T16:31:35+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-service.html</loc> <loc>https://home-assistant.io/demo/panels/ha-panel-dev-service.html</loc>
<lastmod>2018-02-13T08:46:59+00:00</lastmod> <lastmod>2018-02-13T16:31:35+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-state.html</loc> <loc>https://home-assistant.io/demo/panels/ha-panel-dev-state.html</loc>
<lastmod>2018-02-13T08:46:59+00:00</lastmod> <lastmod>2018-02-13T16:31:35+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-template.html</loc> <loc>https://home-assistant.io/demo/panels/ha-panel-dev-template.html</loc>
<lastmod>2018-02-13T08:46:59+00:00</lastmod> <lastmod>2018-02-13T16:31:35+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/demo/panels/ha-panel-history.html</loc> <loc>https://home-assistant.io/demo/panels/ha-panel-history.html</loc>
<lastmod>2018-02-13T08:46:59+00:00</lastmod> <lastmod>2018-02-13T16:31:35+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/demo/panels/ha-panel-iframe.html</loc> <loc>https://home-assistant.io/demo/panels/ha-panel-iframe.html</loc>
<lastmod>2018-02-13T08:46:59+00:00</lastmod> <lastmod>2018-02-13T16:31:35+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/demo/panels/ha-panel-logbook.html</loc> <loc>https://home-assistant.io/demo/panels/ha-panel-logbook.html</loc>
<lastmod>2018-02-13T08:46:59+00:00</lastmod> <lastmod>2018-02-13T16:31:35+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/demo/panels/ha-panel-map.html</loc> <loc>https://home-assistant.io/demo/panels/ha-panel-map.html</loc>
<lastmod>2018-02-13T08:46:59+00:00</lastmod> <lastmod>2018-02-13T16:31:35+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/googlef4f3693c209fe788.html</loc> <loc>https://home-assistant.io/googlef4f3693c209fe788.html</loc>
<lastmod>2018-02-13T08:46:59+00:00</lastmod> <lastmod>2018-02-13T16:31:35+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html</loc> <loc>https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html</loc>
<lastmod>2018-02-13T08:46:59+00:00</lastmod> <lastmod>2018-02-13T16:31:35+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html</loc> <loc>https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html</loc>
<lastmod>2018-02-13T08:46:59+00:00</lastmod> <lastmod>2018-02-13T16:31:35+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/static/mdi-demo.html</loc> <loc>https://home-assistant.io/static/mdi-demo.html</loc>
<lastmod>2018-02-13T08:46:59+00:00</lastmod> <lastmod>2018-02-13T16:31:35+00:00</lastmod>
</url> </url>
</urlset> </urlset>