Site updated at 2017-10-31 19:30:51 UTC

This commit is contained in:
Travis CI 2017-10-31 19:30:52 +00:00
parent 610189caa2
commit 056446772d
552 changed files with 11291 additions and 898 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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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: Organisation | Home Assistant]]></title> <title><![CDATA[Category: Organisation | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/organisation/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/organisation/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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>2017-10-31T16:37:15+00:00</updated> <updated>2017-10-31T19:21:24+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

@ -366,6 +366,9 @@
<li> <li>
<a href='/components/lametric/'>LaMetric</a> <a href='/components/lametric/'>LaMetric</a>
</li> </li>
<li>
<a href='/components/linode/'>Linode</a>
</li>
<li> <li>
<a href='/components/litejet/'>LiteJet</a> <a href='/components/litejet/'>LiteJet</a>
</li> </li>
@ -420,6 +423,9 @@
<li> <li>
<a href='/components/rfxtrx/'>RFXtrx</a> <a href='/components/rfxtrx/'>RFXtrx</a>
</li> </li>
<li>
<a href='/components/switch.rainbird/'>Rain Bird Switch</a>
</li>
<li> <li>
<a href='/components/ring/'>Ring</a> <a href='/components/ring/'>Ring</a>
</li> </li>
@ -501,6 +507,9 @@
<li> <li>
<a href='/components/ecobee/'>ecobee</a> <a href='/components/ecobee/'>ecobee</a>
</li> </li>
<li>
<a href='/components/gc100/'>gc100</a>
</li>
</ul> </ul>
</div> </div>
</section> </section>

View file

@ -101,7 +101,7 @@ You can change this, however, using the following procedure. This is a more adva
<ol> <ol>
<li>Log in into your alarm systems control panel. You will need to access http://[IP of your control panel]. You know this already since you need it in the basic configuration from above. Log in to the control panel with your Egardia/Woonveilig username and password.</li> <li>Log in into your alarm systems control panel. You will need to access http://[IP of your control panel]. You know this already since you need it in the basic configuration from above. Log in to the control panel with your Egardia/Woonveilig username and password.</li>
<li>Once logged in, go to <em>System Settings</em>, <em>Report</em> and change the Server Address for your primary server to the IP or hostname of your Home Assistant machine. Also, update the port number 85 or to anything you like. The provided software that you will set up in the next steps runs on port 85 by default. <strong>Make sure to change the settings of the primary server otherwise the messages will not come through. Note that this will limit (or fully stop) the number of alarm messages you will get through Egardias / Woonveilig services.</strong> Maybe, that is just what you want. Make sure to save your settings by selecting OK.</li> <li>Once logged in, go to <em>System Settings</em>, <em>Report</em> and change the Server Address for your primary server to the IP or hostname of your Home Assistant machine. Also, update the port number 85 or to anything you like. The provided software that you will set up in the next steps runs on port 85 by default. <strong>Make sure to change the settings of the primary server otherwise the messages will not come through. Note that this will limit (or fully stop) the number of alarm messages you will get through Egardias / Woonveilig services.</strong> Maybe, that is just what you want. Make sure to save your settings by selecting OK.</li>
<li>On your Home Assistant machine run <code class="highlighter-rouge">$ sudo python3 egardiaserver.py</code>. Refer to the <a href="https://github.com/jeroenterheerdt/python-egardia">python-egardia repository</a> for detailed documentation on parameters. This will receive status codes from your alarm control panel and display them. You will need the codes to include in your configuration.yaml. Make sure to change the status of your alarm to all states (disarm, arm, armhome) by all means possible (all users, remotes, web login, app) as well as trigger the alarm in all ways possible to get 100% coverage. <strong>Before triggering the alarm it might be good to disable the siren temporarily (can be done in Panel Settings).</strong></li> <li>On your Home Assistant machine run <code class="highlighter-rouge">$ sudo python3 egardiaserver.py</code>. Refer to the <a href="https://github.com/jeroenterheerdt/python-egardia">python-egardia repository</a> for detailed documentation on parameters. This will receive status codes from your alarm control panel and display them. You will need the codes to include in your configuration.yaml. Make sure to change the status of your alarm to all states (disarm, arm, home) by all means possible (all users, remotes, web login, app) as well as trigger the alarm in all ways possible to get 100% coverage. <strong>Before triggering the alarm it might be good to disable the siren temporarily (can be done in Panel Settings).</strong></li>
<li>Once you have the codes, update your <code class="highlighter-rouge">configuration.yaml</code>: <li>Once you have the codes, update your <code class="highlighter-rouge">configuration.yaml</code>:
<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">alarm_control_panel</span><span class="pi">:</span> <span class="s">alarm_control_panel</span><span class="pi">:</span>
@ -114,14 +114,14 @@ You can change this, however, using the following procedure. This is a more adva
<span class="s">report_server_codes</span><span class="pi">:</span> <span class="s">report_server_codes</span><span class="pi">:</span>
<span class="s">arm</span><span class="pi">:</span> <span class="s">XXXXXXXXXXXXXXXX, XXXXXXXXXXXXXXXX</span> <span class="s">arm</span><span class="pi">:</span> <span class="s">XXXXXXXXXXXXXXXX, XXXXXXXXXXXXXXXX</span>
<span class="s">disarm</span><span class="pi">:</span> <span class="s">XXXXXXXXXXXXXXXX, XXXXXXXXXXXXXXXX</span> <span class="s">disarm</span><span class="pi">:</span> <span class="s">XXXXXXXXXXXXXXXX, XXXXXXXXXXXXXXXX</span>
<span class="s">armhome</span><span class="pi">:</span> <span class="s">XXXXXXXXXXXXXXXX</span> <span class="s">home</span><span class="pi">:</span> <span class="s">XXXXXXXXXXXXXXXX</span>
<span class="s">triggered</span><span class="pi">:</span> <span class="s">XXXXXXXXXXXXXXXX, XXXXXXXXXXXXXXXX, XXXXXXXXXXXXXXXX</span> <span class="s">triggered</span><span class="pi">:</span> <span class="s">XXXXXXXXXXXXXXXX, XXXXXXXXXXXXXXXX, XXXXXXXXXXXXXXXX</span>
<span class="s">ignore</span><span class="pi">:</span> <span class="s">XXXXXXXXXXXXXXXX</span> <span class="s">ignore</span><span class="pi">:</span> <span class="s">XXXXXXXXXXXXXXXX</span>
</code></pre> </code></pre>
</div> </div>
</li> </li>
</ol> </ol>
<p>Note that for triggered, arm and disarm multiple codes can be entered since each sensor triggers with a different code and each user of the system has its own arm and disarm codes. Also note that your system will do regular system checks which will be reported as well. Since Home Assistant provides no way of handling them properly, you can enter those codes as ignore (again, multiple codes can be used here). The egardia component will ignore these codes and continue returning the old status if it receives any of the codes that are listed as ignore. This is useful for example when you have armed your alarm at night: normally a system check will occur at least once during the night and if that code is not specified anywhere Home Assistant will set the status of the alarm to its default, which is unarmed. This is in fact wrong. Listing the code as ignore changes this behavior and Home Assistant will continue to show the status the alarm is in (disarm, arm, armhome, triggered) even when system checks occur.</p> <p>Note that for triggered, arm and disarm multiple codes can be entered since each sensor triggers with a different code and each user of the system has its own arm and disarm codes. Also note that your system will do regular system checks which will be reported as well. Since Home Assistant provides no way of handling them properly, you can enter those codes as ignore (again, multiple codes can be used here). The egardia component will ignore these codes and continue returning the old status if it receives any of the codes that are listed as ignore. This is useful for example when you have armed your alarm at night: normally a system check will occur at least once during the night and if that code is not specified anywhere Home Assistant will set the status of the alarm to its default, which is unarmed. This is in fact wrong. Listing the code as ignore changes this behavior and Home Assistant will continue to show the status the alarm is in (disarm, arm, home, triggered) even when system checks occur.</p>
<ol> <ol>
<li>Start the <code class="highlighter-rouge">egardiaserver.py</code> script on boot of your Home Assistant machine, for example by using <code class="highlighter-rouge">systemctl</code> by <code class="highlighter-rouge">systemd</code>. To use this method, create a shell script named <code class="highlighter-rouge">egardiaserver.sh</code> that contains something like the following:</li> <li>Start the <code class="highlighter-rouge">egardiaserver.py</code> script on boot of your Home Assistant machine, for example by using <code class="highlighter-rouge">systemctl</code> by <code class="highlighter-rouge">systemd</code>. To use this method, create a shell script named <code class="highlighter-rouge">egardiaserver.sh</code> that contains something like the following:</li>
</ol> </ol>

View file

@ -229,6 +229,9 @@
<li> <li>
<a href='/components/lametric/'>LaMetric</a> <a href='/components/lametric/'>LaMetric</a>
</li> </li>
<li>
<a href='/components/linode/'>Linode</a>
</li>
<li> <li>
<a href='/components/litejet/'>LiteJet</a> <a href='/components/litejet/'>LiteJet</a>
</li> </li>
@ -283,6 +286,9 @@
<li> <li>
<a href='/components/rfxtrx/'>RFXtrx</a> <a href='/components/rfxtrx/'>RFXtrx</a>
</li> </li>
<li>
<a href='/components/switch.rainbird/'>Rain Bird Switch</a>
</li>
<li> <li>
<a href='/components/ring/'>Ring</a> <a href='/components/ring/'>Ring</a>
</li> </li>
@ -364,6 +370,9 @@
<li> <li>
<a href='/components/ecobee/'>ecobee</a> <a href='/components/ecobee/'>ecobee</a>
</li> </li>
<li>
<a href='/components/gc100/'>gc100</a>
</li>
</ul> </ul>
</div> </div>
</section> </section>

View file

@ -366,10 +366,10 @@ Custom slot type for script support.
Alexa / Amazon Echo Alexa / Amazon Echo
</li> </li>
<li> <li>
<a href='/components/apiai/'>Api.AI</a> <a href='/components/conversation/'>Conversation</a>
</li> </li>
<li> <li>
<a href='/components/conversation/'>Conversation</a> <a href='/components/dialogflow/'>Dialogflow</a>
</li> </li>
<li> <li>
<a href='/components/google_assistant/'>Google Assistant</a> <a href='/components/google_assistant/'>Google Assistant</a>

View file

@ -235,6 +235,9 @@
<li> <li>
<a href='/components/lametric/'>LaMetric</a> <a href='/components/lametric/'>LaMetric</a>
</li> </li>
<li>
<a href='/components/linode/'>Linode</a>
</li>
<li> <li>
<a href='/components/litejet/'>LiteJet</a> <a href='/components/litejet/'>LiteJet</a>
</li> </li>
@ -289,6 +292,9 @@
<li> <li>
<a href='/components/rfxtrx/'>RFXtrx</a> <a href='/components/rfxtrx/'>RFXtrx</a>
</li> </li>
<li>
<a href='/components/switch.rainbird/'>Rain Bird Switch</a>
</li>
<li> <li>
<a href='/components/ring/'>Ring</a> <a href='/components/ring/'>Ring</a>
</li> </li>
@ -370,6 +376,9 @@
<li> <li>
<a href='/components/ecobee/'>ecobee</a> <a href='/components/ecobee/'>ecobee</a>
</li> </li>
<li>
<a href='/components/gc100/'>gc100</a>
</li>
</ul> </ul>
</div> </div>
</section> </section>

View file

@ -270,6 +270,9 @@
<li> <li>
<a href='/components/lametric/'>LaMetric</a> <a href='/components/lametric/'>LaMetric</a>
</li> </li>
<li>
<a href='/components/linode/'>Linode</a>
</li>
<li> <li>
<a href='/components/litejet/'>LiteJet</a> <a href='/components/litejet/'>LiteJet</a>
</li> </li>
@ -324,6 +327,9 @@
<li> <li>
<a href='/components/rfxtrx/'>RFXtrx</a> <a href='/components/rfxtrx/'>RFXtrx</a>
</li> </li>
<li>
<a href='/components/switch.rainbird/'>Rain Bird Switch</a>
</li>
<li> <li>
<a href='/components/ring/'>Ring</a> <a href='/components/ring/'>Ring</a>
</li> </li>
@ -405,6 +411,9 @@
<li> <li>
<a href='/components/ecobee/'>ecobee</a> <a href='/components/ecobee/'>ecobee</a>
</li> </li>
<li>
<a href='/components/gc100/'>gc100</a>
</li>
</ul> </ul>
</div> </div>
</section> </section>

View file

@ -198,6 +198,9 @@
<li> <li>
<a href='/components/lametric/'>LaMetric</a> <a href='/components/lametric/'>LaMetric</a>
</li> </li>
<li>
<a href='/components/linode/'>Linode</a>
</li>
<li> <li>
<a href='/components/litejet/'>LiteJet</a> <a href='/components/litejet/'>LiteJet</a>
</li> </li>
@ -252,6 +255,9 @@
<li> <li>
<a href='/components/rfxtrx/'>RFXtrx</a> <a href='/components/rfxtrx/'>RFXtrx</a>
</li> </li>
<li>
<a href='/components/switch.rainbird/'>Rain Bird Switch</a>
</li>
<li> <li>
<a href='/components/ring/'>Ring</a> <a href='/components/ring/'>Ring</a>
</li> </li>
@ -333,6 +339,9 @@
<li> <li>
<a href='/components/ecobee/'>ecobee</a> <a href='/components/ecobee/'>ecobee</a>
</li> </li>
<li>
<a href='/components/gc100/'>gc100</a>
</li>
</ul> </ul>
</div> </div>
</section> </section>

View file

@ -1,249 +1,10 @@
<!doctype html> <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <html lang="en-US">
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
<head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Redirecting…</title>
<title>Api.AI - Home Assistant</title> <link rel="canonical" href="https://home-assistant.io/components/dialogflow/">
<meta name="author" content="Home Assistant"> <meta http-equiv="refresh" content="0; url=https://home-assistant.io/components/dialogflow/">
<meta name="description" content="Instructions how integrate api.ai with Home Assistant."> <h1>Redirecting…</h1>
<meta name="viewport" content="width=device-width"> <a href="https://home-assistant.io/components/dialogflow/">Click here if you are not redirected.</a>
<link rel="canonical" href="https://home-assistant.io/components/apiai/"> <script>location="https://home-assistant.io/components/dialogflow/"</script>
<meta property="fb:app_id" content="338291289691179">
<meta property="og:title" content="Api.AI">
<meta property="og:site_name" content="Home Assistant">
<meta property="og:url" content="https://home-assistant.io/components/apiai/">
<meta property="og:type" content="article">
<meta property="og:description" content="Instructions how integrate api.ai with Home Assistant.">
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@home_assistant">
<meta name="twitter:title" content="Api.AI">
<meta name="twitter:description" content="Instructions how integrate api.ai with Home Assistant.">
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
<link href="/stylesheets/screen.css" media="screen, projection, print" rel="stylesheet">
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
<link rel='shortcut icon' href='/images/favicon.ico' />
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
</head>
<body >
<header class='site-header'>
<div class="grid-wrapper">
<div class="grid">
<div class="grid__item three-tenths lap-two-sixths palm-one-whole ha-title">
<a href="/" class="site-title">
<img width='40' src='/demo/favicon-192x192.png'>
<span>Home Assistant</span>
</a>
</div>
<div class="grid__item seven-tenths lap-four-sixths palm-one-whole">
<nav>
<input type="checkbox" id="toggle">
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
<ul class="menu pull-right">
<li><a href="/getting-started/">Getting started</a></li>
<li><a href="/components/">Components</a></li>
<li><a href="/docs/">Docs</a></li>
<li><a href="/cookbook/">Examples</a></li>
<li><a href="/developers/">Developers</a></li>
<li><a href="/blog/">Blog</a></li>
<li><a href="/help/">Need help?</a></li>
<li><a href='#' class='show-search'><i class="icon-search"></i></a></li>
</ul>
</nav>
<div class='search-container' style='display: none'>
<div class='search'>
<i class="icon-search"></i>
<input id='search' placeholder='Search the docs…'>
<a href='#' class='close'><i class="icon-remove-sign"></i></a>
</div>
</div>
</div>
</div>
</div>
</header>
<div class="grid-wrapper">
<div class="grid grid-center">
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
<article class="page">
<header>
<h1 class="title indent">
Api.AI
</h1>
</header>
<hr class="divider">
<p>This component is designed to be used with the “webhook” integration in <a href="https://api.ai/">api.ai</a>. When a conversation ends with a user, api.ai sends an action and parameters to the webhook.</p>
<p>api.ai requires a public endpoint (HTTPS recommended), so your Home Assistant should be exposed to the Internet. api.ai will return fallback answers if your server does not answer, or takes too long (more than 5 seconds).</p>
<p>api.ai could be integrated with many popular messaging, virtual assistant and IoT platforms, eg.: Google Assistant (Google Actions), Skype, Messenger. <a href="https://docs.api.ai/docs/integrations">See here</a> the complete list.</p>
<p>Using Api.ai will be easy to create conversations like:</p>
<blockquote>
<p>User: What is the temperature at home?</p>
<p>Bot: The temperature is 34 degrees</p>
</blockquote>
<blockquote>
<p>User: Turn on the light</p>
<p>Bot: In which room?</p>
<p>User: In the kitchen</p>
<p>Bot: Turning on kitchen light</p>
</blockquote>
<p>To use this integration, you should define a conversation (intent) in Api.ai, configure Home Assistant with the speech to return and, optionally, the action to execute.</p>
<h3><a class="title-link" name="configuring-your-apiai-account" href="#configuring-your-apiai-account"></a> Configuring your api.ai account</h3>
<ul>
<li><a href="https://api.ai/">Login</a> with your Google account.</li>
<li>Click on “Create Agent”</li>
<li>Select name, language (if you are planning to use it with Google Actions check <a href="https://support.google.com/assistant/answer/7108196?hl=en">here</a> supported languages) and time zone</li>
<li>Click “Save”</li>
<li>Go to “Fulfillment” (in the left menu)</li>
<li>Enable Webhook and set your Home Assistant URL with the Api.ai endpoint. Eg.: <code class="highlighter-rouge">https://myhome.duckdns.org/api/apiai?api_password=HA_PASSWORD</code></li>
<li>Click “Save”</li>
<li>Create a new intent</li>
<li>Below “User says” write one phrase that you, the user, will tell Api.ai. Eg.: Which is the temperature at home?</li>
<li>In “Action” set some key (this will be the bind with Home Assistant configuration), eg.: GetTemperature</li>
<li>In “Response” set “Cannot connect to Home Assistant or it is taking to long” (fall back response)</li>
<li>At the end of the page, click on “Fulfillment” and check “Use webhook”</li>
<li>Click “Save”</li>
<li>On the top right, where is written “Try it now…”, write, or say, the phrase you have previously defined and hit enter</li>
<li>Api.ai has send a request to your Home Assistant server</li>
</ul>
<p>Take a look to “Integrations”, in the left menu, to configure third parties.</p>
<h3><a class="title-link" name="configuring-home-assistant" href="#configuring-home-assistant"></a> Configuring Home Assistant</h3>
<p>When activated, the Alexa component will have Home Assistants native intent support handle the incoming intents. If you want to run actions based on intents, use the <a href="/components/intent_script"><code class="highlighter-rouge">intent_script</code></a> component.</p>
<h2><a class="title-link" name="examples" href="#examples"></a> Examples</h2>
<p>Download <a href="https://github.com/home-assistant/home-assistant.github.io/blob/next/source/assets/HomeAssistant_APIAI.zip">this zip</a> and load it in your Api.ai agent (Settings -&gt; Export and Import) for examples intents to use with this configuration:</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">apiai</span><span class="pi">:</span>
<span class="s">intent_script</span><span class="pi">:</span>
<span class="s">Temperature</span><span class="pi">:</span>
<span class="s">speech</span><span class="pi">:</span>
<span class="s">text</span><span class="pi">:</span> <span class="s">The temperature at home is {{ states('sensor.home_temp') }} degrees</span>
<span class="s">LocateIntent</span><span class="pi">:</span>
<span class="s">speech</span><span class="pi">:</span>
<span class="s">text</span><span class="pi">:</span> <span class="pi">&gt;</span>
<span class="no">{%- for state in states.device_tracker -%}</span>
<span class="no">{%- if state.name.lower() == User.lower() -%}</span>
<span class="no">{{ state.name }} is at {{ state.state }}</span>
<span class="no">{%- elif loop.last -%}</span>
<span class="no">I am sorry, I do not know where {{ User }} is.</span>
<span class="no">{%- endif -%}</span>
<span class="no">{%- else -%}</span>
<span class="no">Sorry, I don't have any trackers registered.</span>
<span class="no">{%- endfor -%}</span>
<span class="s">WhereAreWeIntent</span><span class="pi">:</span>
<span class="s">speech</span><span class="pi">:</span>
<span class="s">text</span><span class="pi">:</span> <span class="pi">&gt;</span>
<span class="no">{%- if is_state('device_tracker.adri', 'home') and</span>
<span class="no">is_state('device_tracker.bea', 'home') -%}</span>
<span class="no">You are both home, you silly</span>
<span class="no">{%- else -%}</span>
<span class="no">Bea is at {{ states("device_tracker.bea") }}</span>
<span class="no">and Adri is at {{ states("device_tracker.adri") }}</span>
<span class="no">{% endif %}</span>
<span class="s">TurnLights</span><span class="pi">:</span>
<span class="s">speech</span><span class="pi">:</span>
<span class="s">text</span><span class="pi">:</span> <span class="s">Turning {{ Room }} lights {{ OnOff }}</span>
<span class="s">action</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">service</span><span class="pi">:</span> <span class="s">notify.pushbullet</span>
<span class="s">data_template</span><span class="pi">:</span>
<span class="s">message</span><span class="pi">:</span> <span class="s">Someone asked via apiai to turn {{ Room }} lights {{ OnOff }}</span>
<span class="pi">-</span> <span class="s">service_template</span><span class="pi">:</span> <span class="pi">&gt;</span>
<span class="no">{%- if OnOff == "on" -%}</span>
<span class="no">switch.turn_on</span>
<span class="no">{%- else -%}</span>
<span class="no">switch.turn_off</span>
<span class="no">{%- endif -%}</span>
<span class="s">data_template</span><span class="pi">:</span>
<span class="s">entity_id</span><span class="pi">:</span> <span class="s2">"</span><span class="s">switch.light_{{</span><span class="nv"> </span><span class="s">Room</span><span class="nv"> </span><span class="s">|</span><span class="nv"> </span><span class="s">replace('</span><span class="nv"> </span><span class="s">',</span><span class="nv"> </span><span class="s">'_')</span><span class="nv"> </span><span class="s">}}"</span>
</code></pre>
</div>
</article>
</div>
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
<div class="grid">
<section class="aside-module grid__item one-whole lap-one-half">
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.github.io/tree/current/source/_components/apiai.markdown'>Edit this page on GitHub</a></div>
<div class='brand-logo-container section'>
<img src='/images/supported_brands/apiai.png' />
</div>
<div class='section'>
Introduced in release: 0.38
</div>
<div class='section'>
<h1 class="title delta">Category Voice</h1>
<ul class='divided'>
<li>
<a href='/components/alexa/'>Alexa / Amazon Echo</a>
</li>
<li>
Api.AI
</li>
<li>
<a href='/components/conversation/'>Conversation</a>
</li>
<li>
<a href='/components/google_assistant/'>Google Assistant</a>
</li>
<li>
<a href='/components/mycroft/'>Mycroft</a>
</li>
<li>
<a href='/components/snips/'>Snips</a>
</li>
</ul>
</div>
</section>
</div>
</aside>
</div>
</div>
<footer>
<div class="grid-wrapper">
<div class="grid">
<div class="grid__item">
<div class="copyright">
<a rel="me" href='https://twitter.com/home_assistant'><i class="icon-twitter"></i></a>
<a rel="me" href='https://facebook.com/homeassistantio'><i class="icon-facebook"></i></a>
<a rel="me" href='https://plus.google.com/110560654828510104551'><i class="icon-google-plus"></i></a>
<a rel="me" href='https://github.com/home-assistant/home-assistant'><i class="icon-github"></i></a>
<div class="credit">
Contact us at <a href='mailto:hello@home-assistant.io'>hello@home-assistant.io</a> (no support!).<br>
Website powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.<br />
Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.
</div>
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">home-assistant.io</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
</div>
</div>
</div>
</div>
</footer>
<script>
var _gaq=[['_setAccount','UA-57927901-1'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css" />
<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
<script type="text/javascript">
docsearch({
apiKey: 'ae96d94b201c5444c8a443093edf3efb',
indexName: 'home-assistant',
inputSelector: '#search',
debug: false // Set debug to true if you want to inspect the dropdown
});
document.querySelector('.search .close').addEventListener('click', function(ev) {
ev.preventDefault();
document.querySelector('.search-container').style.display = 'none';
});
document.querySelector('.show-search').addEventListener('click', function(ev) {
ev.preventDefault();
document.querySelector('.search-container').style.display = 'block';
document.getElementById('toggle').checked = false;
document.querySelector('.search-container input').focus();
});
</script>
</body>
</html> </html>

View file

@ -291,6 +291,9 @@ Turning the device on/off in the user interface will <em>not</em> turn the physi
<li> <li>
<a href='/components/lametric/'>LaMetric</a> <a href='/components/lametric/'>LaMetric</a>
</li> </li>
<li>
<a href='/components/linode/'>Linode</a>
</li>
<li> <li>
<a href='/components/litejet/'>LiteJet</a> <a href='/components/litejet/'>LiteJet</a>
</li> </li>
@ -345,6 +348,9 @@ Turning the device on/off in the user interface will <em>not</em> turn the physi
<li> <li>
<a href='/components/rfxtrx/'>RFXtrx</a> <a href='/components/rfxtrx/'>RFXtrx</a>
</li> </li>
<li>
<a href='/components/switch.rainbird/'>Rain Bird Switch</a>
</li>
<li> <li>
<a href='/components/ring/'>Ring</a> <a href='/components/ring/'>Ring</a>
</li> </li>
@ -426,6 +432,9 @@ Turning the device on/off in the user interface will <em>not</em> turn the physi
<li> <li>
<a href='/components/ecobee/'>ecobee</a> <a href='/components/ecobee/'>ecobee</a>
</li> </li>
<li>
<a href='/components/gc100/'>gc100</a>
</li>
</ul> </ul>
</div> </div>
</section> </section>

View file

@ -220,6 +220,9 @@
<li> <li>
<a href='/components/lametric/'>LaMetric</a> <a href='/components/lametric/'>LaMetric</a>
</li> </li>
<li>
<a href='/components/linode/'>Linode</a>
</li>
<li> <li>
<a href='/components/litejet/'>LiteJet</a> <a href='/components/litejet/'>LiteJet</a>
</li> </li>
@ -274,6 +277,9 @@
<li> <li>
<a href='/components/rfxtrx/'>RFXtrx</a> <a href='/components/rfxtrx/'>RFXtrx</a>
</li> </li>
<li>
<a href='/components/switch.rainbird/'>Rain Bird Switch</a>
</li>
<li> <li>
<a href='/components/ring/'>Ring</a> <a href='/components/ring/'>Ring</a>
</li> </li>
@ -355,6 +361,9 @@
<li> <li>
<a href='/components/ecobee/'>ecobee</a> <a href='/components/ecobee/'>ecobee</a>
</li> </li>
<li>
<a href='/components/gc100/'>gc100</a>
</li>
</ul> </ul>
</div> </div>
</section> </section>

View file

@ -76,26 +76,6 @@
<hr class="divider"> <hr class="divider">
<p><a href="https://www.axis.com/">Axis Communications</a> devices are surveillance cameras and other security-related network connected hardware. Sensor API works with firmware 5.50 and newer.</p> <p><a href="https://www.axis.com/">Axis Communications</a> devices are surveillance cameras and other security-related network connected hardware. Sensor API works with firmware 5.50 and newer.</p>
<p>Home Assistant will automatically discover their presence on your network.</p> <p>Home Assistant will automatically discover their presence on your network.</p>
<h2><a class="title-link" name="dependencies" href="#dependencies"></a> Dependencies</h2>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>sudo apt-get install python3-gst-1.0 gir1.2-gstreamer-1.0 gir1.2-gst-plugins-base-1.0 gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-tools python3-gi
</code></pre>
</div>
<p>Depending on how you run Home Assistant, you may need to symlink the <code class="highlighter-rouge">gi</code> module into your environment.</p>
<p>Hassbian:</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>ln -s /usr/lib/python3/dist-packages/gi /srv/homeassistant/lib/python3.4/site-packages
</code></pre>
</div>
<p>Raspberry Pi All-In-One Installer:</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>ln -s /usr/lib/python3/dist-packages/gi /srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages
</code></pre>
</div>
<p><a href="https://home-assistant.io/docs/installation/virtualenv/">Virtualenv</a> installation:</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>ln -s /usr/lib/python3/dist-packages/gi /srv/homeassistant/lib/python3.5/site-packages
</code></pre>
</div>
<p class="note">
Adjust “python3.5” in command above to match your version as stored in “/srv/homeassistant/lib/pythonX.X”
</p>
<p>You can also manually configure your devices by adding the following lines to your <code class="highlighter-rouge">configuration.yaml</code> file:</p> <p>You can also manually configure your devices by adding the following lines to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<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">axis</span><span class="pi">:</span> <span class="s">axis</span><span class="pi">:</span>
@ -306,6 +286,9 @@ Any specific levels for triggers needs to be configured on the device.
<li> <li>
<a href='/components/lametric/'>LaMetric</a> <a href='/components/lametric/'>LaMetric</a>
</li> </li>
<li>
<a href='/components/linode/'>Linode</a>
</li>
<li> <li>
<a href='/components/litejet/'>LiteJet</a> <a href='/components/litejet/'>LiteJet</a>
</li> </li>
@ -360,6 +343,9 @@ Any specific levels for triggers needs to be configured on the device.
<li> <li>
<a href='/components/rfxtrx/'>RFXtrx</a> <a href='/components/rfxtrx/'>RFXtrx</a>
</li> </li>
<li>
<a href='/components/switch.rainbird/'>Rain Bird Switch</a>
</li>
<li> <li>
<a href='/components/ring/'>Ring</a> <a href='/components/ring/'>Ring</a>
</li> </li>
@ -441,6 +427,9 @@ Any specific levels for triggers needs to be configured on the device.
<li> <li>
<a href='/components/ecobee/'>ecobee</a> <a href='/components/ecobee/'>ecobee</a>
</li> </li>
<li>
<a href='/components/gc100/'>gc100</a>
</li>
</ul> </ul>
</div> </div>
</section> </section>

View file

@ -315,6 +315,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -299,6 +299,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -311,6 +311,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -160,6 +160,9 @@
<li> <li>
<a href='/components/sensor.hp_ilo/'>HP ILO</a> <a href='/components/sensor.hp_ilo/'>HP ILO</a>
</li> </li>
<li>
<a href='/components/binary_sensor.linode/'>Linode Binary Sensor</a>
</li>
<li> <li>
<a href='/components/sensor.linux_battery/'>Linux Battery</a> <a href='/components/sensor.linux_battery/'>Linux Battery</a>
</li> </li>

View file

@ -325,6 +325,9 @@ This sensor is not suitable for fast state changes because there is a high possi
<li> <li>
aREST Binary Sensor aREST Binary Sensor
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -298,6 +298,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -304,6 +304,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -74,12 +74,12 @@
</h1> </h1>
</header> </header>
<hr class="divider"> <hr class="divider">
<p>The <code class="highlighter-rouge">bayesian</code> binary sensor platform observes the state from multiple sensors and uses Bayes rule to estimate the probability that an event has occurred given the state of the observed sensors. If the estimated posterior probability is above the <code class="highlighter-rouge">probability_threshold</code>, the sensor is <code class="highlighter-rouge">on</code> otherwise it is <code class="highlighter-rouge">off</code>.</p> <p>The <code class="highlighter-rouge">bayesian</code> binary sensor platform observes the state from multiple sensors and uses <a href="https://en.wikipedia.org/wiki/Bayes%27_theorem">Bayes rule</a> to estimate the probability that an event has occurred given the state of the observed sensors. If the estimated posterior probability is above the <code class="highlighter-rouge">probability_threshold</code>, the sensor is <code class="highlighter-rouge">on</code> otherwise it is <code class="highlighter-rouge">off</code>.</p>
<p>This allows for the detection of complex events that may not be readily observable, e.g., cooking, showering, in bed, the start of a morning routine, etc. It can also be used to gain greater confidence about events that <em>are</em> directly observable, but for which the sensors can be unreliable, e.g., presence.</p> <p>This allows for the detection of complex events that may not be readily observable, e.g., cooking, showering, in bed, the start of a morning routine, etc. It can also be used to gain greater confidence about events that <em>are</em> directly observable, but for which the sensors can be unreliable, e.g., presence.</p>
<p>To enable the Bayesian sensor, add the following lines to your <code class="highlighter-rouge">configuration.yaml</code>:</p> <p>To enable the Bayesian sensor, add the following lines to your <code class="highlighter-rouge">configuration.yaml</code>:</p>
<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">binary_sensor</span><span class="pi">:</span> <span class="s">binary_sensor</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s1">'</span><span class="s">bayesian'</span> <span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">bayesian</span>
<span class="s">prior</span><span class="pi">:</span> <span class="s">0.1</span> <span class="s">prior</span><span class="pi">:</span> <span class="s">0.1</span>
<span class="s">observations</span><span class="pi">:</span> <span class="s">observations</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">entity_id</span><span class="pi">:</span> <span class="s1">'</span><span class="s">switch.kitchen_lights'</span> <span class="pi">-</span> <span class="s">entity_id</span><span class="pi">:</span> <span class="s1">'</span><span class="s">switch.kitchen_lights'</span>
@ -92,6 +92,8 @@
<p>Configuration variables:</p> <p>Configuration variables:</p>
<ul> <ul>
<li><strong>prior</strong> (<em>Required</em>): The prior probability of the event. At any point in time (ignoring all external influences) how likely is this event to occur?</li> <li><strong>prior</strong> (<em>Required</em>): The prior probability of the event. At any point in time (ignoring all external influences) how likely is this event to occur?</li>
<li><strong>probability_threshold</strong> (<em>Optional</em>): The probability at which the sensor should trigger to <code class="highlighter-rouge">on</code>.</li>
<li><strong>name</strong> (<em>Optional</em>): Name of the sensor to use in the frontend. Defaults to <code class="highlighter-rouge">Bayesian Binary sensor</code>.</li>
<li><strong>observations</strong> array (<em>Required</em>): The observations which should influence the likelihood that the given event has occurred. <li><strong>observations</strong> array (<em>Required</em>): The observations which should influence the likelihood that the given event has occurred.
<ul> <ul>
<li><strong>entity_id</strong> (<em>Required</em>): Name of the entity to monitor.</li> <li><strong>entity_id</strong> (<em>Required</em>): Name of the entity to monitor.</li>
@ -101,8 +103,6 @@
<li><strong>to_state</strong> (<em>Required</em>): The target state.</li> <li><strong>to_state</strong> (<em>Required</em>): The target state.</li>
</ul> </ul>
</li> </li>
<li><strong>probability_threshold</strong> (<em>Optional</em>): The probability at which the sensor should trigger to <code class="highlighter-rouge">on</code>.</li>
<li><strong>name</strong> (<em>Optional</em>): Name of the sensor to use in the frontend. Defaults to <code class="highlighter-rouge">Bayesian Binary</code>.</li>
</ul> </ul>
<h2><a class="title-link" name="full-examples" href="#full-examples"></a> Full examples</h2> <h2><a class="title-link" name="full-examples" href="#full-examples"></a> Full examples</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>
@ -353,6 +353,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -321,6 +321,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -296,6 +296,9 @@ To get your Blink binary sensors working with Home Assistant, follow the instruc
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -316,6 +316,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -353,6 +353,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -299,6 +299,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -163,6 +163,9 @@
<li> <li>
<a href='/components/sensor.hp_ilo/'>HP ILO</a> <a href='/components/sensor.hp_ilo/'>HP ILO</a>
</li> </li>
<li>
<a href='/components/binary_sensor.linode/'>Linode Binary Sensor</a>
</li>
<li> <li>
<a href='/components/sensor.linux_battery/'>Linux Battery</a> <a href='/components/sensor.linux_battery/'>Linux Battery</a>
</li> </li>

View file

@ -306,6 +306,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -300,6 +300,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -295,6 +295,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -336,6 +336,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -299,6 +299,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -315,6 +315,9 @@ If the <code class="highlighter-rouge">ffmpeg</code> process is broken, the sens
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -306,6 +306,9 @@ If the <code class="highlighter-rouge">ffmpeg</code> process is broken, the sens
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -327,6 +327,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -0,0 +1,368 @@
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>gc100 Binary Sensor - Home Assistant</title>
<meta name="author" content="Home Assistant">
<meta name="description" content="Instructions on how to set up an gc100 binary sensor within Home Assistant.">
<meta name="viewport" content="width=device-width">
<link rel="canonical" href="https://home-assistant.io/components/binary_sensor.gc100/">
<meta property="fb:app_id" content="338291289691179">
<meta property="og:title" content="gc100 Binary Sensor">
<meta property="og:site_name" content="Home Assistant">
<meta property="og:url" content="https://home-assistant.io/components/binary_sensor.gc100/">
<meta property="og:type" content="article">
<meta property="og:description" content="Instructions on how to set up an gc100 binary sensor within Home Assistant.">
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@home_assistant">
<meta name="twitter:title" content="gc100 Binary Sensor">
<meta name="twitter:description" content="Instructions on how to set up an gc100 binary sensor within Home Assistant.">
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
<link href="/stylesheets/screen.css" media="screen, projection, print" rel="stylesheet">
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
<link rel='shortcut icon' href='/images/favicon.ico' />
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
</head>
<body >
<header class='site-header'>
<div class="grid-wrapper">
<div class="grid">
<div class="grid__item three-tenths lap-two-sixths palm-one-whole ha-title">
<a href="/" class="site-title">
<img width='40' src='/demo/favicon-192x192.png'>
<span>Home Assistant</span>
</a>
</div>
<div class="grid__item seven-tenths lap-four-sixths palm-one-whole">
<nav>
<input type="checkbox" id="toggle">
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
<ul class="menu pull-right">
<li><a href="/getting-started/">Getting started</a></li>
<li><a href="/components/">Components</a></li>
<li><a href="/docs/">Docs</a></li>
<li><a href="/cookbook/">Examples</a></li>
<li><a href="/developers/">Developers</a></li>
<li><a href="/blog/">Blog</a></li>
<li><a href="/help/">Need help?</a></li>
<li><a href='#' class='show-search'><i class="icon-search"></i></a></li>
</ul>
</nav>
<div class='search-container' style='display: none'>
<div class='search'>
<i class="icon-search"></i>
<input id='search' placeholder='Search the docs…'>
<a href='#' class='close'><i class="icon-remove-sign"></i></a>
</div>
</div>
</div>
</div>
</div>
</header>
<div class="grid-wrapper">
<div class="grid grid-center">
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
<article class="page">
<header>
<h1 class="title indent">
gc100 Binary Sensor
</h1>
</header>
<hr class="divider">
<p>To enable this sensor, you first have to set up <a href="/components/gc100/">gc100</a>, and add the following lines to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">binary_sensor</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">gc100</span>
<span class="s">ports</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s1">'</span><span class="s">3:1'</span><span class="pi">:</span> <span class="s">Doorchime</span>
<span class="pi">-</span> <span class="s1">'</span><span class="s">3:2'</span><span class="pi">:</span> <span class="s">Garage Obstruction</span>
</code></pre>
</div>
<p>Configuration variables:</p>
<ul>
<li><strong>ports</strong> (<em>Required</em>): A list of module-address to name mappings in the format x:y: name, where x is module #, y is address.</li>
</ul>
</article>
</div>
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
<div class="grid">
<section class="aside-module grid__item one-whole lap-one-half">
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.github.io/tree/current/source/_components/binary_sensor.gc100.markdown'>Edit this page on GitHub</a></div>
<div class='brand-logo-container section'>
</div>
<div class='section'>
IoT class<sup><a href='/blog/2016/02/12/classifying-the-internet-of-things/#classifiers'><i class="icon-info-sign"></i></a></sup>: Local Polling
</div>
<div class='section'>
Introduced in release: 0.57
</div>
<div class='section'>
This is a platform for
<a href='/components/binary_sensor/'>the Binary Sensor component</a>.
</div>
<div class='section'>
<h1 class='title delta'>Related components</h1>
<ul class='divided'>
<li><a href='/components/gc100/'>
gc100
</a></li>
<li><a href='/components/switch.gc100/'>
gc100 Switch
</a></li>
</ul>
</div>
<div class='section'>
<h1 class="title delta">Category Binary Sensor</h1>
<ul class='divided'>
<li>
<a href='/components/binary_sensor.abode/'>Abode Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.alarmdecoder/'>AlarmDecoder Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.android_ip_webcam/'>Android IP Webcam Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.aurora/'>Aurora sensor</a>
</li>
<li>
<a href='/components/binary_sensor.axis/'>Axis Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.bayesian/'>Bayesian Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.bbb_gpio/'>BeagleBone Black GPIO Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.blink/'>Blink Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.bloomsky/'>BloomSky Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.command_line/'>Command line Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.concord232/'>Concord232 Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.doorbird/'>DoorBird Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.ecobee/'>Ecobee Binary Sensor</a>
</li>
<li>
<a href='/components/sensor.ecobee/'>Ecobee Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.eight_sleep/'>Eight Sleep Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.enocean/'>EnOcean Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.envisalink/'>Envisalink Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.ffmpeg_motion/'>FFmpeg Motion Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.ffmpeg_noise/'>FFmpeg Noise Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.flic/'>Flic Smart Button</a>
</li>
<li>
<a href='/components/binary_sensor.http/'>HTTP Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.hikvision/'>Hikvision Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.homematic/'>Homematic Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.isy994/'>ISY994 Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.insteon_plm/'>Insteon PLM Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.iss/'>International Space Station</a>
</li>
<li>
<a href='/components/binary_sensor.knx/'>KNX Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.mqtt/'>MQTT Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.raincloud/'>Melnor Raincloud Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.modbus/'>Modbus Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.mysensors/'>MySensors Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.nx584/'>NX584 zones</a>
</li>
<li>
<a href='/components/binary_sensor.nest/'>Nest Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.netatmo/'>Netatmo Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.octoprint/'>OctoPrint Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.rpi_pfio/'>PiFace Digital I/O Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.pilight/'>Pilight Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.ping/'>Ping (ICMP) Binary sensor</a>
</li>
<li>
<a href='/components/binary_sensor.rest/'>RESTful Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.rfxtrx/'>RFXtrx Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.rpi_gpio/'>Raspberry PI GPIO Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.raspihats/'>Raspihats Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.ring/'>Ring Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.spc/'>SPC Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.satel_integra/'>Satel Integra Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.skybell/'>Skybell Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.sleepiq/'>SleepIQ Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.tcp/'>TCP Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.template/'>Template Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.tesla/'>Tesla Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.threshold/'>Threshold Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.trend/'>Trend Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.velbus/'>Velbus sensors</a>
</li>
<li>
<a href='/components/binary_sensor.vera/'>Vera Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.verisure/'>Verisure Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.wink/'>Wink Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.workday/'>Workday Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.xiaomi_aqara/'>Xiaomi Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.zwave/'>Z-Wave Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.zigbee/'>ZigBee Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.zha/'>ZigBee Home Automation Binary Sensor</a>
</li>
<li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li>
<li>
gc100 Binary Sensor
</li>
<li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li>
</ul>
</div>
</section>
</div>
</aside>
</div>
</div>
<footer>
<div class="grid-wrapper">
<div class="grid">
<div class="grid__item">
<div class="copyright">
<a rel="me" href='https://twitter.com/home_assistant'><i class="icon-twitter"></i></a>
<a rel="me" href='https://facebook.com/homeassistantio'><i class="icon-facebook"></i></a>
<a rel="me" href='https://plus.google.com/110560654828510104551'><i class="icon-google-plus"></i></a>
<a rel="me" href='https://github.com/home-assistant/home-assistant'><i class="icon-github"></i></a>
<div class="credit">
Contact us at <a href='mailto:hello@home-assistant.io'>hello@home-assistant.io</a> (no support!).<br>
Website powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.<br />
Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.
</div>
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">home-assistant.io</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
</div>
</div>
</div>
</div>
</footer>
<script>
var _gaq=[['_setAccount','UA-57927901-1'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css" />
<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
<script type="text/javascript">
docsearch({
apiKey: 'ae96d94b201c5444c8a443093edf3efb',
indexName: 'home-assistant',
inputSelector: '#search',
debug: false // Set debug to true if you want to inspect the dropdown
});
document.querySelector('.search .close').addEventListener('click', function(ev) {
ev.preventDefault();
document.querySelector('.search-container').style.display = 'none';
});
document.querySelector('.show-search').addEventListener('click', function(ev) {
ev.preventDefault();
document.querySelector('.search-container').style.display = 'block';
document.getElementById('toggle').checked = false;
document.querySelector('.search-container input').focus();
});
</script>
</body>
</html>

View file

@ -384,6 +384,9 @@ binary_sensor.home_line_crossing_2
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -307,6 +307,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -343,6 +343,9 @@ You should choose a unique device name (DEVICE_NAME) to avoid clashes with other
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -297,6 +297,9 @@ component.</p>
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -304,6 +304,9 @@ If you set <code class="highlighter-rouge">show_on_map</code> <code class="highl
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -310,6 +310,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -354,6 +354,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -0,0 +1,260 @@
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Linode Binary Sensor - Home Assistant</title>
<meta name="author" content="Home Assistant">
<meta name="description" content="Instructions on how to set up Linode binary sensors within Home Assistant.">
<meta name="viewport" content="width=device-width">
<link rel="canonical" href="https://home-assistant.io/components/binary_sensor.linode/">
<meta property="fb:app_id" content="338291289691179">
<meta property="og:title" content="Linode Binary Sensor">
<meta property="og:site_name" content="Home Assistant">
<meta property="og:url" content="https://home-assistant.io/components/binary_sensor.linode/">
<meta property="og:type" content="article">
<meta property="og:description" content="Instructions on how to set up Linode binary sensors within Home Assistant.">
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@home_assistant">
<meta name="twitter:title" content="Linode Binary Sensor">
<meta name="twitter:description" content="Instructions on how to set up Linode binary sensors within Home Assistant.">
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
<link href="/stylesheets/screen.css" media="screen, projection, print" rel="stylesheet">
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
<link rel='shortcut icon' href='/images/favicon.ico' />
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
</head>
<body >
<header class='site-header'>
<div class="grid-wrapper">
<div class="grid">
<div class="grid__item three-tenths lap-two-sixths palm-one-whole ha-title">
<a href="/" class="site-title">
<img width='40' src='/demo/favicon-192x192.png'>
<span>Home Assistant</span>
</a>
</div>
<div class="grid__item seven-tenths lap-four-sixths palm-one-whole">
<nav>
<input type="checkbox" id="toggle">
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
<ul class="menu pull-right">
<li><a href="/getting-started/">Getting started</a></li>
<li><a href="/components/">Components</a></li>
<li><a href="/docs/">Docs</a></li>
<li><a href="/cookbook/">Examples</a></li>
<li><a href="/developers/">Developers</a></li>
<li><a href="/blog/">Blog</a></li>
<li><a href="/help/">Need help?</a></li>
<li><a href='#' class='show-search'><i class="icon-search"></i></a></li>
</ul>
</nav>
<div class='search-container' style='display: none'>
<div class='search'>
<i class="icon-search"></i>
<input id='search' placeholder='Search the docs…'>
<a href='#' class='close'><i class="icon-remove-sign"></i></a>
</div>
</div>
</div>
</div>
</div>
</header>
<div class="grid-wrapper">
<div class="grid grid-center">
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
<article class="page">
<header>
<h1 class="title indent">
Linode Binary Sensor
</h1>
</header>
<hr class="divider">
<p>The <code class="highlighter-rouge">linode</code> binary sensor platform allows you to monitor your Linode nodes.</p>
<p>Add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">binary_sensor</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">linode</span>
<span class="s">nodes</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s1">'</span><span class="s">myvpsname'</span>
</code></pre>
</div>
<div class="config-vars">
<h3><a class="title-link" name="configuration-variables" href="#configuration-variables"></a> Configuration Variables</h3>
<dl class="">
<dt><a class="title-link" name="nodes" href="#nodes"></a> nodes</dt>
<dd>
<p class="desc"><span class="type">(<span class="string">string</span>)</span><span class="required">(Required)</span><span class="description">List of VPSs you want to control.</span></p>
</dd>
</dl>
</div>
</article>
</div>
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
<div class="grid">
<section class="aside-module grid__item one-whole lap-one-half">
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.github.io/tree/current/source/_components/binary_sensor.linode.markdown'>Edit this page on GitHub</a></div>
<div class='brand-logo-container section'>
<img src='/images/supported_brands/linode.png' />
</div>
<div class='section'>
IoT class<sup><a href='/blog/2016/02/12/classifying-the-internet-of-things/#classifiers'><i class="icon-info-sign"></i></a></sup>: Cloud Polling
</div>
<div class='section'>
Introduced in release: 0.57
</div>
<div class='section'>
This is a platform for
<a href='/components/binary_sensor/'>the Binary Sensor component</a>.
</div>
<div class='section'>
<h1 class='title delta'>Related components</h1>
<ul class='divided'>
<li><a href='/components/linode/'>
Linode
</a></li>
</ul>
</div>
<div class='section'>
<h1 class="title delta">Category System Monitor</h1>
<ul class='divided'>
<li>
<a href='/components/binary_sensor.apcupsd/'>APCUPSd Binary Sensor</a>
</li>
<li>
<a href='/components/sensor.apcupsd/'>APCUPSd Sensor</a>
</li>
<li>
<a href='/components/sensor.cpuspeed/'>CPU speed</a>
</li>
<li>
<a href='/components/sensor.cups/'>CUPS Sensor</a>
</li>
<li>
<a href='/components/sensor.cert_expiry/'>Certificate Expiry</a>
</li>
<li>
<a href='/components/binary_sensor.digital_ocean/'>Digital Ocean Binary Sensor</a>
</li>
<li>
<a href='/components/sensor.dovado/'>Dovado</a>
</li>
<li>
<a href='/components/sensor.fritzbox_callmonitor/'>FRITZ!Box Call Monitor</a>
</li>
<li>
<a href='/components/sensor.fritzbox_netmonitor/'>FRITZ!Box Net Monitor</a>
</li>
<li>
<a href='/components/sensor.fastdotcom/'>Fast.com</a>
</li>
<li>
<a href='/components/sensor.glances/'>Glances</a>
</li>
<li>
<a href='/components/sensor.google_wifi/'>Google Wifi</a>
</li>
<li>
<a href='/components/sensor.hddtemp/'>HDDTemp</a>
</li>
<li>
<a href='/components/sensor.hp_ilo/'>HP ILO</a>
</li>
<li>
Linode Binary Sensor
</li>
<li>
<a href='/components/sensor.linux_battery/'>Linux Battery</a>
</li>
<li>
<a href='/components/sensor.nut/'>NUT Sensor</a>
</li>
<li>
<a href='/components/sensor.netdata/'>Netdata</a>
</li>
<li>
<a href='/components/sensor.openhardwaremonitor/'>Open Hardware Monitor Sensor</a>
</li>
<li>
<a href='/components/sensor.pi_hole/'>Pi-Hole Sensor</a>
</li>
<li>
<a href='/components/sensor.snmp/'>SNMP</a>
</li>
<li>
<a href='/components/sensor.speedtest/'>Speedtest.net</a>
</li>
<li>
<a href='/components/sensor.supervisord/'>Supervisord</a>
</li>
<li>
<a href='/components/sensor.synologydsm/'>SynologyDSM Sensor</a>
</li>
<li>
<a href='/components/sensor.systemmonitor/'>System Monitor</a>
</li>
<li>
<a href='/components/zabbix/'>Zabbix</a>
</li>
<li>
<a href='/components/sensor.zabbix/'>Zabbix Sensor</a>
</li>
</ul>
</div>
</section>
</div>
</aside>
</div>
</div>
<footer>
<div class="grid-wrapper">
<div class="grid">
<div class="grid__item">
<div class="copyright">
<a rel="me" href='https://twitter.com/home_assistant'><i class="icon-twitter"></i></a>
<a rel="me" href='https://facebook.com/homeassistantio'><i class="icon-facebook"></i></a>
<a rel="me" href='https://plus.google.com/110560654828510104551'><i class="icon-google-plus"></i></a>
<a rel="me" href='https://github.com/home-assistant/home-assistant'><i class="icon-github"></i></a>
<div class="credit">
Contact us at <a href='mailto:hello@home-assistant.io'>hello@home-assistant.io</a> (no support!).<br>
Website powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.<br />
Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.
</div>
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">home-assistant.io</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
</div>
</div>
</div>
</div>
</footer>
<script>
var _gaq=[['_setAccount','UA-57927901-1'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css" />
<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
<script type="text/javascript">
docsearch({
apiKey: 'ae96d94b201c5444c8a443093edf3efb',
indexName: 'home-assistant',
inputSelector: '#search',
debug: false // Set debug to true if you want to inspect the dropdown
});
document.querySelector('.search .close').addEventListener('click', function(ev) {
ev.preventDefault();
document.querySelector('.search-container').style.display = 'none';
});
document.querySelector('.show-search').addEventListener('click', function(ev) {
ev.preventDefault();
document.querySelector('.search-container').style.display = 'block';
document.getElementById('toggle').checked = false;
document.querySelector('.search-container input').focus();
});
</script>
</body>
</html>

View file

@ -108,6 +108,9 @@
<div class='section'> <div class='section'>
<h1 class="title delta">Category Climate</h1> <h1 class="title delta">Category Climate</h1>
<ul class='divided'> <ul class='divided'>
<li>
<a href='/components/climate/'>EPH Controls Ember Thermostat</a>
</li>
<li> <li>
<a href='/components/climate.eq3btsmart/'>EQ3 Bluetooth Smart Thermostats</a> <a href='/components/climate.eq3btsmart/'>EQ3 Bluetooth Smart Thermostats</a>
</li> </li>

View file

@ -335,6 +335,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -369,6 +369,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -414,6 +414,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -340,6 +340,9 @@ The firmware version 2.26 doesnt support TLS/SSL. This means that you are onl
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
myStrom Binary Sensor myStrom Binary Sensor
</li> </li>

View file

@ -342,6 +342,9 @@ You must have the <a href="/components/nest/">Nest component</a> configured to u
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -345,6 +345,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -321,6 +321,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -315,6 +315,9 @@ You must have the <a href="/components/octoprint/">OctoPrint component</a> confi
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -327,6 +327,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -311,6 +311,9 @@ When run on Windows systems, the round trip time attributes are rounded to the n
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -312,6 +312,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -0,0 +1,514 @@
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Random Binary Sensor - Home Assistant</title>
<meta name="author" content="Home Assistant">
<meta name="description" content="Instructions how to integrate random state sensors into Home Assistant.">
<meta name="viewport" content="width=device-width">
<link rel="canonical" href="https://home-assistant.io/components/binary_sensor.random/">
<meta property="fb:app_id" content="338291289691179">
<meta property="og:title" content="Random Binary Sensor">
<meta property="og:site_name" content="Home Assistant">
<meta property="og:url" content="https://home-assistant.io/components/binary_sensor.random/">
<meta property="og:type" content="article">
<meta property="og:description" content="Instructions how to integrate random state sensors into Home Assistant.">
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@home_assistant">
<meta name="twitter:title" content="Random Binary Sensor">
<meta name="twitter:description" content="Instructions how to integrate random state sensors into Home Assistant.">
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
<link href="/stylesheets/screen.css" media="screen, projection, print" rel="stylesheet">
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
<link rel='shortcut icon' href='/images/favicon.ico' />
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
</head>
<body >
<header class='site-header'>
<div class="grid-wrapper">
<div class="grid">
<div class="grid__item three-tenths lap-two-sixths palm-one-whole ha-title">
<a href="/" class="site-title">
<img width='40' src='/demo/favicon-192x192.png'>
<span>Home Assistant</span>
</a>
</div>
<div class="grid__item seven-tenths lap-four-sixths palm-one-whole">
<nav>
<input type="checkbox" id="toggle">
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
<ul class="menu pull-right">
<li><a href="/getting-started/">Getting started</a></li>
<li><a href="/components/">Components</a></li>
<li><a href="/docs/">Docs</a></li>
<li><a href="/cookbook/">Examples</a></li>
<li><a href="/developers/">Developers</a></li>
<li><a href="/blog/">Blog</a></li>
<li><a href="/help/">Need help?</a></li>
<li><a href='#' class='show-search'><i class="icon-search"></i></a></li>
</ul>
</nav>
<div class='search-container' style='display: none'>
<div class='search'>
<i class="icon-search"></i>
<input id='search' placeholder='Search the docs…'>
<a href='#' class='close'><i class="icon-remove-sign"></i></a>
</div>
</div>
</div>
</div>
</div>
</header>
<div class="grid-wrapper">
<div class="grid grid-center">
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
<article class="page">
<header>
<h1 class="title indent">
Random Binary Sensor
</h1>
</header>
<hr class="divider">
<p>The <code class="highlighter-rouge">random</code> binary sensor platform is creating random states (<code class="highlighter-rouge">True</code>, 1, <code class="highlighter-rouge">on</code> or <code class="highlighter-rouge">False</code>, 0, <code class="highlighter-rouge">off</code>). This can be useful if you want to test automation rules. It generates a new state every time it is polled.</p>
<p>To enable the random binary sensor, add the following lines to your <code class="highlighter-rouge">configuration.yaml</code>:</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">binary_sensor</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">random</span>
</code></pre>
</div>
<div class="config-vars">
<h3><a class="title-link" name="configuration-variables" href="#configuration-variables"></a> Configuration Variables</h3>
<dl class="">
<dt><a class="title-link" name="name" href="#name"></a> name</dt>
<dd>
<p class="desc"><span class="type">(<span class="string">string</span>)</span><span class="required">(Optional)</span><span class="description">Name to use in the frontend.</span></p>
</dd>
</dl>
</div>
<p>See the <a href="/docs/configuration/platform_options/">entity component options</a> to control how often the main component polls the random binary sensor. The default is 30 seconds.</p>
</article>
</div>
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
<div class="grid">
<section class="aside-module grid__item one-whole lap-one-half">
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.github.io/tree/current/source/_components/binary_sensor.random.markdown'>Edit this page on GitHub</a></div>
<div class='brand-logo-container section'>
<img src='/images/supported_brands/home-assistant.png' />
</div>
<div class='section'>
IoT class<sup><a href='/blog/2016/02/12/classifying-the-internet-of-things/#classifiers'><i class="icon-info-sign"></i></a></sup>: Local Polling
</div>
<div class='section'>
Introduced in release: 0.57
</div>
<div class='section'>
This is a platform for
<a href='/components/binary_sensor/'>the Binary Sensor component</a>.
</div>
<div class='section'>
<h1 class='title delta'>Related components</h1>
<ul class='divided'>
<li><a href='/components/sensor.random/'>
Random Sensor
</a></li>
</ul>
</div>
<div class='section'>
<h1 class="title delta">Category Sensor</h1>
<ul class='divided'>
<li>
<a href='/components/sensor.api_stream/'>API Stream Sensor</a>
</li>
<li>
<a href='/components/sensor.arwn/'>ARWN Sensor</a>
</li>
<li>
<a href='/components/sensor.abode/'>Abode Sensor</a>
</li>
<li>
<a href='/components/sensor.alarmdecoder/'>AlarmDecoder Sensor</a>
</li>
<li>
<a href='/components/sensor.amcrest/'>Amcrest IP Camera</a>
</li>
<li>
<a href='/components/sensor.android_ip_webcam/'>Android IP Webcam Sensor</a>
</li>
<li>
<a href='/components/sensor.arlo/'>Arlo Sensor</a>
</li>
<li>
<a href='/components/sensor.bh1750/'>BH1750 Light sensor</a>
</li>
<li>
<a href='/components/sensor.bme280/'>BME280 Sensor</a>
</li>
<li>
<a href='/components/sensor.bbox/'>Bbox Sensor</a>
</li>
<li>
<a href='/components/sensor.blink/'>Blink Sensor</a>
</li>
<li>
<a href='/components/sensor.bloomsky/'>BloomSky Sensor</a>
</li>
<li>
<a href='/components/sensor.broadlink/'>Broadlink RM2 and A1 sensor</a>
</li>
<li>
<a href='/components/sensor.modem_callerid/'>Caller ID Sensor</a>
</li>
<li>
<a href='/components/sensor.citybikes/'>CityBikes API sensor</a>
</li>
<li>
<a href='/components/sensor.command_line/'>Command line Sensor</a>
</li>
<li>
<a href='/components/sensor.crimereports/'>Crime Reports</a>
</li>
<li>
<a href='/components/sensor.dnsip/'>DNS IP</a>
</li>
<li>
<a href='/components/sensor.dweet/'>Dweet.io</a>
</li>
<li>
<a href='/components/sensor.dyson/'>Dyson Purifier Sensor</a>
</li>
<li>
<a href='/components/sensor.ebox/'>EBox</a>
</li>
<li>
<a href='/components/sensor.eight_sleep/'>Eight Sleep Sensor</a>
</li>
<li>
<a href='/components/sensor.emoncms/'>Emoncms Sensor</a>
</li>
<li>
<a href='/components/sensor.enocean/'>EnOcean Sensor</a>
</li>
<li>
<a href='/components/sensor.envirophat/'>Enviro pHAT</a>
</li>
<li>
<a href='/components/sensor.envisalink/'>Envisalink Sensor</a>
</li>
<li>
<a href='/components/sensor.fail2ban/'>Fail2Ban Sensor</a>
</li>
<li>
<a href='/components/sensor.fedex/'>Fedex Sensor</a>
</li>
<li>
<a href='/components/sensor.fido/'>Fido</a>
</li>
<li>
<a href='/components/sensor.file/'>File Sensor</a>
</li>
<li>
<a href='/components/sensor.gpsd/'>GPSD</a>
</li>
<li>
<a href='/components/sensor.geizhals/'>Geizhals</a>
</li>
<li>
<a href='/components/sensor.geo_rss_events/'>GeoRSS Events Sensor</a>
</li>
<li>
<a href='/components/sensor.gitter/'>Gitter Sensor</a>
</li>
<li>
<a href='/components/sensor.http/'>HTTP Sensor</a>
</li>
<li>
<a href='/components/sensor.htu21d/'>HTU21D Temperature and humidity sensor</a>
</li>
<li>
<a href='/components/sensor.haveibeenpwned/'>HaveIBeenPwned Sensor</a>
</li>
<li>
<a href='/components/sensor.history_stats/'>History Statistics Sensor</a>
</li>
<li>
<a href='/components/sensor.homematic/'>Homematic Sensor</a>
</li>
<li>
<a href='/components/sensor.imap_email_content/'>IMAP Email Content</a>
</li>
<li>
<a href='/components/sensor.imap/'>IMAP Unread E-mail</a>
</li>
<li>
<a href='/components/sensor.isy994/'>ISY994 Sensor</a>
</li>
<li>
<a href='/components/sensor.influxdb/'>InfluxDB Sensor</a>
</li>
<li>
<a href='/components/sensor.juicenet/'>Juicenet Sensor</a>
</li>
<li>
<a href='/components/sensor.knx/'>KNX Sensor</a>
</li>
<li>
<a href='/components/sensor.kwb/'>KWB Easyfire Sensor</a>
</li>
<li>
<a href='/components/sensor.kira/'>Kira Sensor</a>
</li>
<li>
<a href='/components/sensor.mhz19/'>MH-Z19 CO2 Sensor</a>
</li>
<li>
<a href='/components/sensor.mqtt/'>MQTT Sensor</a>
</li>
<li>
<a href='/components/sensor.raincloud/'>Melnor Raincloud Sensor</a>
</li>
<li>
<a href='/components/sensor.min_max/'>Min/max Sensor</a>
</li>
<li>
<a href='/components/sensor.modbus/'>Modbus Sensor</a>
</li>
<li>
<a href='/components/sensor.mold_indicator/'>Mold Indicator</a>
</li>
<li>
<a href='/components/sensor.mopar/'>Mopar</a>
</li>
<li>
<a href='/components/sensor.mysensors/'>MySensors Sensor</a>
</li>
<li>
<a href='/components/sensor.neato/'>Neato Robotics Sensor</a>
</li>
<li>
<a href='/components/sensor.nest/'>Nest Sensor</a>
</li>
<li>
<a href='/components/sensor.otp/'>OTP Sensor</a>
</li>
<li>
<a href='/components/sensor.octoprint/'>OctoPrint Sensor</a>
</li>
<li>
<a href='/components/sensor.openevse/'>OpenEVSE Sensor</a>
</li>
<li>
<a href='/components/sensor.opensky/'>OpenSky Network</a>
</li>
<li>
<a href='/components/sensor.pilight/'>Pilight Sensor</a>
</li>
<li>
<a href='/components/sensor.pocketcasts/'>PocketCasts</a>
</li>
<li>
<a href='/components/sensor.pushbullet/'>Pushbullet Mirrors</a>
</li>
<li>
<a href='/components/sensor.qnap/'>QNAP Sensor</a>
</li>
<li>
<a href='/components/sensor.rest/'>RESTful Sensor</a>
</li>
<li>
<a href='/components/sensor.rflink/'>RFLink Sensor</a>
</li>
<li>
<a href='/components/sensor.rfxtrx/'>RFXtrx Sensor</a>
</li>
<li>
<a href='/components/sensor.radarr/'>Radarr Sensor</a>
</li>
<li>
Random Binary Sensor
</li>
<li>
<a href='/components/sensor.random/'>Random Sensor</a>
</li>
<li>
<a href='/components/sensor.ring/'>Ring Sensor</a>
</li>
<li>
<a href='/components/sensor.scrape/'>Scrape Sensor</a>
</li>
<li>
<a href='/components/sensor.season/'>Season Sensor</a>
</li>
<li>
<a href='/components/sensor.sensehat/'>Sense HAT</a>
</li>
<li>
<a href='/components/sensor.serial/'>Serial Sensor</a>
</li>
<li>
<a href='/components/sensor.shodan/'>Shodan Sensor</a>
</li>
<li>
<a href='/components/sensor.skybell/'>Skybell Sensor</a>
</li>
<li>
<a href='/components/sensor.sleepiq/'>SleepIQ Sensor</a>
</li>
<li>
<a href='/components/sensor.sonarr/'>Sonarr Sensor</a>
</li>
<li>
<a href='/components/sensor.statistics/'>Statistics Sensor</a>
</li>
<li>
<a href='/components/sensor.sytadin/'>Sytadin Sensor</a>
</li>
<li>
<a href='/components/sensor.tcp/'>TCP Sensor</a>
</li>
<li>
<a href='/components/sensor.ted5000/'>TED5000 electricity monitoring</a>
</li>
<li>
<a href='/components/sensor.temper/'>TEMPer Sensor</a>
</li>
<li>
<a href='/components/sensor.tado/'>Tado Sensor</a>
</li>
<li>
<a href='/components/sensor.tank_utility/'>Tank Utility Sensor</a>
</li>
<li>
<a href='/components/sensor.tellstick/'>TellStick Sensor</a>
</li>
<li>
<a href='/components/sensor.tellduslive/'>Telldus Live sensor</a>
</li>
<li>
<a href='/components/sensor.template/'>Template Sensor</a>
</li>
<li>
<a href='/components/sensor.tesla/'>Tesla Sensor</a>
</li>
<li>
<a href='/components/sensor.thethingsnetwork/'>The Things Network Sensor</a>
</li>
<li>
<a href='/components/sensor.thinkingcleaner/'>Thinking Cleaner sensor</a>
</li>
<li>
<a href='/components/sensor.tibber/'>Tibber</a>
</li>
<li>
<a href='/components/sensor.toon/'>Toon Sensor</a>
</li>
<li>
<a href='/components/sensor.travisci/'>Travis-CI Sensor</a>
</li>
<li>
<a href='/components/sensor.ups/'>UPS Sensor</a>
</li>
<li>
<a href='/components/sensor.usps/'>USPS Sensor</a>
</li>
<li>
<a href='/components/sensor.uptime/'>Uptime Sensor</a>
</li>
<li>
<a href='/components/sensor.vera/'>Vera Sensor</a>
</li>
<li>
<a href='/components/sensor.verisure/'>Verisure Sensor</a>
</li>
<li>
<a href='/components/sensor.version/'>Version Sensor</a>
</li>
<li>
<a href='/components/sensor.whois/'>Whois Sensor</a>
</li>
<li>
<a href='/components/sensor.wink/'>Wink Sensor</a>
</li>
<li>
<a href='/components/sensor.xiaomi_aqara/'>Xiaomi Sensor</a>
</li>
<li>
<a href='/components/sensor.zwave/'>Z-Wave Sensor</a>
</li>
<li>
<a href='/components/sensor.comfoconnect/'>Zehnder ComfoAir Q Ventilation sensors</a>
</li>
<li>
<a href='/components/sensor.zha/'>ZigBee Home Automation Sensor</a>
</li>
<li>
<a href='/components/sensor.zigbee/'>ZigBee Sensor</a>
</li>
<li>
<a href='/components/sensor.zoneminder/'>ZoneMinder Sensor</a>
</li>
<li>
<a href='/components/sensor.arest/'>aREST Sensor</a>
</li>
<li>
<a href='/components/sensor.mfi/'>mFi Sensor</a>
</li>
</ul>
</div>
</section>
</div>
</aside>
</div>
</div>
<footer>
<div class="grid-wrapper">
<div class="grid">
<div class="grid__item">
<div class="copyright">
<a rel="me" href='https://twitter.com/home_assistant'><i class="icon-twitter"></i></a>
<a rel="me" href='https://facebook.com/homeassistantio'><i class="icon-facebook"></i></a>
<a rel="me" href='https://plus.google.com/110560654828510104551'><i class="icon-google-plus"></i></a>
<a rel="me" href='https://github.com/home-assistant/home-assistant'><i class="icon-github"></i></a>
<div class="credit">
Contact us at <a href='mailto:hello@home-assistant.io'>hello@home-assistant.io</a> (no support!).<br>
Website powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.<br />
Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.
</div>
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">home-assistant.io</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
</div>
</div>
</div>
</div>
</footer>
<script>
var _gaq=[['_setAccount','UA-57927901-1'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css" />
<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
<script type="text/javascript">
docsearch({
apiKey: 'ae96d94b201c5444c8a443093edf3efb',
indexName: 'home-assistant',
inputSelector: '#search',
debug: false // Set debug to true if you want to inspect the dropdown
});
document.querySelector('.search .close').addEventListener('click', function(ev) {
ev.preventDefault();
document.querySelector('.search-container').style.display = 'none';
});
document.querySelector('.show-search').addEventListener('click', function(ev) {
ev.preventDefault();
document.querySelector('.search-container').style.display = 'block';
document.getElementById('toggle').checked = false;
document.querySelector('.search-container input').focus();
});
</script>
</body>
</html>

View file

@ -331,6 +331,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -374,6 +374,9 @@ User-Agent: Home Assistant
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -100,6 +100,9 @@
<li><strong>device_class</strong> (<em>Optional</em>): The <a href="/components/binary_sensor/">type or class of the sensor</a> to set the icon in the frontend.</li> <li><strong>device_class</strong> (<em>Optional</em>): The <a href="/components/binary_sensor/">type or class of the sensor</a> to set the icon in the frontend.</li>
<li><strong>off_delay</strong> (<em>Optional</em>): For sensors that only sends On state updates, this variable sets a delay after which the sensor state will be updated back to Off.</li> <li><strong>off_delay</strong> (<em>Optional</em>): For sensors that only sends On state updates, this variable sets a delay after which the sensor state will be updated back to Off.</li>
</ul> </ul>
<p class="note warning">
This component and the <a href="/components/switch/rfxtrx/">rfxtrx switch</a> can steal each others devices when setting the <code class="highlighter-rouge">automatic_add</code> configuration parameter to <code class="highlighter-rouge">true</code>. Set <code class="highlighter-rouge">automatic_add</code> only when you have some devices to add to your installation, otherwise leave it to <code class="highlighter-rouge">False</code>.
</p>
<p>Binary sensors have only two states - “on” and “off”. Many door or window opening sensors will send a signal each time the door/window is open or closed. However, depending on their hardware or on their purpose, some sensors are only able to signal their “on” state:</p> <p>Binary sensors have only two states - “on” and “off”. Many door or window opening sensors will send a signal each time the door/window is open or closed. However, depending on their hardware or on their purpose, some sensors are only able to signal their “on” state:</p>
<ul> <ul>
<li>Most motion sensors send a signal each time they detect motion. They stay “on” for a few seconds and go back to sleep, ready to signal other motion events. Usually, they do not send a signal when they go back to sleep.</li> <li>Most motion sensors send a signal each time they detect motion. They stay “on” for a few seconds and go back to sleep, ready to signal other motion events. Usually, they do not send a signal when they go back to sleep.</li>
@ -171,8 +174,8 @@ to configure your new devices and leave it off otherwise.</p>
</li> </li>
<li>Door / window sensors: <li>Door / window sensors:
<ul> <ul>
<li>Kerui D026 door / window sensor: can trigger on “open” and “close”. Has a temper switch.</li> <li>Kerui D026 door / window sensor: can trigger on “open” and “close”. Has a tamper switch.</li>
<li>Nexa LMST-606 Magnetic contact switch.</li> <li>Nexa LMST-606.</li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -398,6 +401,9 @@ to configure your new devices and leave it off otherwise.</p>
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -79,21 +79,18 @@
<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">binary_sensor</span><span class="pi">:</span> <span class="s">binary_sensor</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">ring</span> <span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">ring</span>
<span class="s">monitored_conditions</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">ding</span>
<span class="pi">-</span> <span class="s">motion</span>
</code></pre> </code></pre>
</div> </div>
<p>Configuration variables:</p> <p>Configuration variables:</p>
<ul> <ul>
<li><strong>monitored_conditions</strong> array (<em>Required</em>): Conditions to display in the frontend. The following conditions can be monitored. <li><strong>monitored_conditions</strong> array (<em>Optional</em>): Conditions to display in the frontend. The following conditions can be monitored. If not specified, all conditions below will be enabled.
<ul> <ul>
<li><strong>ding</strong>: Return a boolean value when the doorbell button was pressed.</li> <li><strong>ding</strong>: Return a boolean value when the doorbell button was pressed.</li>
<li><strong>motion</strong>: Return a boolean value when a movement was detected by the Ring doorbell.</li> <li><strong>motion</strong>: Return a boolean value when a movement was detected by the Ring doorbell.</li>
</ul> </ul>
</li> </li>
</ul> </ul>
<p>Currently only doorbells are supported by this sensor.</p> <p>Currently it supports doorbell, external chimes and stickup cameras.</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">
@ -102,6 +99,9 @@
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.github.io/tree/current/source/_components/binary_sensor.ring.markdown'>Edit this page on GitHub</a></div> <div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.github.io/tree/current/source/_components/binary_sensor.ring.markdown'>Edit this page on GitHub</a></div>
<div class='brand-logo-container section'> <div class='brand-logo-container section'>
<img src='/images/supported_brands/ring.png' /> <img src='/images/supported_brands/ring.png' />
</div>
<div class='section'>
IoT class<sup><a href='/blog/2016/02/12/classifying-the-internet-of-things/#classifiers'><i class="icon-info-sign"></i></a></sup>: Cloud Polling
</div> </div>
<div class='section'> <div class='section'>
Introduced in release: 0.42 Introduced in release: 0.42
@ -116,6 +116,9 @@
<li><a href='/components/ring/'> <li><a href='/components/ring/'>
Ring Ring
</a></li> </a></li>
<li><a href='/components/camera.ring/'>
Ring Binary Camera
</a></li>
<li><a href='/components/sensor.ring/'> <li><a href='/components/sensor.ring/'>
Ring Sensor Ring Sensor
</a></li> </a></li>
@ -310,6 +313,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -318,6 +318,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -321,6 +321,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -296,6 +296,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -321,6 +321,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -294,6 +294,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -296,6 +296,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -311,6 +311,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -461,6 +461,9 @@ device tracking and Z-Wave multisensor presence sensors.</p>
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -308,6 +308,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -305,6 +305,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -328,6 +328,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -327,6 +327,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -310,6 +310,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -305,6 +305,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -336,6 +336,9 @@ The above devices are confirmed to work, but others may work as well.
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -317,6 +317,9 @@ If you use the sensor for Canada (<code class="highlighter-rouge">CA</code>) wit
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

View file

@ -683,6 +683,9 @@
<li> <li>
<a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a> <a href='/components/binary_sensor.arest/'>aREST Binary Sensor</a>
</li> </li>
<li>
<a href='/components/binary_sensor.gc100/'>gc100 Binary Sensor</a>
</li>
<li> <li>
<a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a> <a href='/components/binary_sensor.mystrom/'>myStrom Binary Sensor</a>
</li> </li>

Some files were not shown because too many files have changed in this diff Show more