Site updated at 2017-11-11 08:44:59 UTC
This commit is contained in:
parent
9f2b7f571f
commit
b6368d34b8
227 changed files with 2066 additions and 1370 deletions
|
@ -146,6 +146,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -158,9 +161,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -215,6 +215,9 @@ You have to note:
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -227,9 +230,6 @@ You have to note:
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -138,6 +138,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -150,9 +153,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -175,6 +175,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -187,9 +190,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -261,6 +261,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -273,9 +276,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -240,6 +240,9 @@ We change the platform name for binary sensor in 0.38 from <code class="highligh
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -252,9 +255,6 @@ We change the platform name for binary sensor in 0.38 from <code class="highligh
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -166,6 +166,9 @@ On the close horizon from <a href="https://github.com/Landrash">@Landrash</a> th
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -178,9 +181,6 @@ On the close horizon from <a href="https://github.com/Landrash">@Landrash</a> th
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -253,6 +253,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -265,9 +268,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -136,6 +136,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -148,9 +151,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -170,6 +170,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -182,9 +185,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -308,6 +308,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -320,9 +323,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -341,6 +341,9 @@ Screenshot of all the different functionality the IP webcam integration offers.
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -353,9 +356,6 @@ Screenshot of all the different functionality the IP webcam integration offers.
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -138,6 +138,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -150,9 +153,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -131,6 +131,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -143,9 +146,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -286,6 +286,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -298,9 +301,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -179,6 +179,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -191,9 +194,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -140,6 +140,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -152,9 +155,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -339,6 +339,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -351,9 +354,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -143,6 +143,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -155,9 +158,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -196,6 +196,9 @@ After automatic discovery, Home Assistant will ask the user to finish pairing wi
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -208,9 +211,6 @@ After automatic discovery, Home Assistant will ask the user to finish pairing wi
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -341,6 +341,9 @@ After automatic discovery, Home Assistant will ask the user to finish pairing wi
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -353,9 +356,6 @@ After automatic discovery, Home Assistant will ask the user to finish pairing wi
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -136,6 +136,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -148,9 +151,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -178,6 +178,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -190,9 +193,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -153,6 +153,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -165,9 +168,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -167,6 +167,9 @@ $ sudo systemctl start install_homeassistant.service
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -179,9 +182,6 @@ $ sudo systemctl start install_homeassistant.service
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -132,6 +132,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -144,9 +147,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -330,6 +330,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -342,9 +345,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -133,6 +133,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -145,9 +148,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -236,6 +236,9 @@ Reading package lists... Done
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -248,9 +251,6 @@ Reading package lists... Done
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -131,6 +131,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -143,9 +146,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -289,6 +289,9 @@ If you have a security key set in your Open Z-Wave <code class="highlighter-roug
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -301,9 +304,6 @@ If you have a security key set in your Open Z-Wave <code class="highlighter-roug
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -132,6 +132,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -144,9 +147,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -275,6 +275,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -287,9 +290,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -131,6 +131,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -143,9 +146,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -131,6 +131,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -143,9 +146,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -372,6 +372,9 @@ trigger:
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -384,9 +387,6 @@ trigger:
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -155,6 +155,9 @@ Core Developer, Home Assistant</p>
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -167,9 +170,6 @@ Core Developer, Home Assistant</p>
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -342,6 +342,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -354,9 +357,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -178,6 +178,9 @@ Community Leader, Home Assistant</p>
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -190,9 +193,6 @@ Community Leader, Home Assistant</p>
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -129,6 +129,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -141,9 +144,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -328,6 +328,9 @@ Screenshot of a green dashboard
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -340,9 +343,6 @@ Screenshot of a green dashboard
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -129,6 +129,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -141,9 +144,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -163,6 +163,9 @@ Hass.io dashboard
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -175,9 +178,6 @@ Hass.io dashboard
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -132,6 +132,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -144,9 +147,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -300,6 +300,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -312,9 +315,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -130,6 +130,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -142,9 +145,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -297,6 +297,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -309,9 +312,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -286,6 +286,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -298,9 +301,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -310,6 +310,9 @@ Screenshot of the new customize editor.
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -322,9 +325,6 @@ Screenshot of the new customize editor.
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -139,6 +139,9 @@ Other than that the changes are mostly to our tool <code class="highlighter-roug
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -151,9 +154,6 @@ Other than that the changes are mostly to our tool <code class="highlighter-roug
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -245,6 +245,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -257,9 +260,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -149,6 +149,9 @@ FROM $BUILD_FROM
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -161,9 +164,6 @@ FROM $BUILD_FROM
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -152,6 +152,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -164,9 +167,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -146,6 +146,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -158,9 +161,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -131,6 +131,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -143,9 +146,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -138,6 +138,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -150,9 +153,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -272,6 +272,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -284,9 +287,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -146,6 +146,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -158,9 +161,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -129,6 +129,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -141,9 +144,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -327,6 +327,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -339,9 +342,6 @@
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -205,6 +205,9 @@
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
|
|
@ -197,6 +197,9 @@ Demo is running... -> CTRL + C to shutdown
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -206,9 +209,6 @@ Demo is running... -> CTRL + C to shutdown
|
|||
<li class="post">
|
||||
<a href="/blog/2017/11/02/secure-shell-tunnel/">Home Assistant and SSH</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -172,6 +172,9 @@ Last login: Fri Oct 27 17:50:09 2017
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -181,9 +184,6 @@ Last login: Fri Oct 27 17:50:09 2017
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -372,6 +372,9 @@ The Home Assistant sidebar in 12 different languages.
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
|
@ -381,9 +384,6 @@ The Home Assistant sidebar in 12 different languages.
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -134,6 +134,9 @@ The Home Assistant sidebar in 12 different languages.
|
|||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/10/ttn-with-mqtt/">Home Assistant and The Things Network (TTN)</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/04/release-57/">0.57: Translations, Hacktoberfest, Timers</a>
|
||||
</li>
|
||||
|
@ -143,9 +146,6 @@ The Home Assistant sidebar in 12 different languages.
|
|||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/23/simple-analog-sensor/">Serial analog sensor</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
|
377
blog/2017/11/10/ttn-with-mqtt/index.html
Normal file
377
blog/2017/11/10/ttn-with-mqtt/index.html
Normal file
|
@ -0,0 +1,377 @@
|
|||
<!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>Home Assistant and The Things Network (TTN) - Home Assistant</title>
|
||||
<meta name="author" content="Fabian Affolter">
|
||||
<meta name="description" content="How to use transfer MQTT messages from The Things Network (TTN) to a local broker.">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/blog/2017/11/10/ttn-with-mqtt/">
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Home Assistant and The Things Network (TTN)">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/blog/2017/11/10/ttn-with-mqtt/">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:description" content="How to use transfer MQTT messages from The Things Network (TTN) to a local broker.">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/blog/2017-11-mqtt-ttn/social-ha-ttn.png">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@home_assistant">
|
||||
<meta name="twitter:creator" content="@fabaff">
|
||||
<meta name="twitter:title" content="Home Assistant and The Things Network (TTN)">
|
||||
<meta name="twitter:description" content="How to use transfer MQTT messages from The Things Network (TTN) to a local broker.">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/blog/2017-11-mqtt-ttn/social-ha-ttn.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="post">
|
||||
<header>
|
||||
<h1 class="title indent">Home Assistant and The Things Network (TTN)</h1>
|
||||
<div class="meta clearfix">
|
||||
<time datetime="2017-11-10T14:00:00+00:00" pubdate data-updated="true"><i class="icon-calendar"></i> November 10, 2017</time>
|
||||
<span class="byline author vcard"><i class='icon-user'></i> Fabian Affolter</span>
|
||||
<span><i class='icon-time'></i> six minutes reading time</span>
|
||||
<span>
|
||||
<i class="icon-tags"></i>
|
||||
<ul class="tags unstyled">
|
||||
<li>How-To</li>
|
||||
</ul>
|
||||
</span>
|
||||
<a class='comments'
|
||||
href="#disqus_thread"
|
||||
>Comments</a>
|
||||
</div>
|
||||
</header>
|
||||
<p>The Home Assistant integration for <a href="https://www.thethingsnetwork.org/">The Things Network (TTN)</a> uses their <a href="https://www.thethingsnetwork.org/docs/applications/storage/">Storage</a> feature to get the sensor data. The easiest way to observe TTN sensors would be <a href="https://www.thethingsnetwork.org/docs/applications/mqtt/">MQTT</a> as it doesn’t requires any additional configuration.</p>
|
||||
<p>At the moment Home Assistant only supports one <a href="/docs/mqtt/">MQTT broker</a>. This means that you can’t subscribe to topics which are located on different brokers.</p>
|
||||
<a name="read-more"></a>
|
||||
<h2><a class="title-link" name="subscribe-to-the-ttn-broker" href="#subscribe-to-the-ttn-broker"></a> Subscribe to the TTN Broker</h2>
|
||||
<p>To check what your devices are sending, subscribe to the topic <code class="highlighter-rouge">+/devices/+/up</code> with a command-line tool like <code class="highlighter-rouge">mosquitto_sub</code>. The <code class="highlighter-rouge"><Region></code> is the postfix of the <strong>Handler</strong> entry in your <strong>Application overview</strong>. <code class="highlighter-rouge"><AppID></code> is the <strong>Application ID</strong> and <code class="highlighter-rouge"><AppKey></code> is your access key.</p>
|
||||
<p>``bash
|
||||
$ mosquitto_sub -v -h <Region>.thethings.network -t '+/devices/+/up' -u '<AppID>' -P '<AppKey>'
|
||||
{
|
||||
"app_id": "ha-demo",
|
||||
"dev_id": "device01",
|
||||
"hardware_serial": "AJDJENDNHRBFBBT",
|
||||
"port": 1,
|
||||
[...]</AppKey></AppID></Region></p>
|
||||
<div class="highlighter-rouge"><pre class="highlight"><code>
|
||||
The payload contains details about the device itself and the sensor data. The sensor data is stored in `payload_fields`. Depending on the device configuration it may contain a single value or multiple values.
|
||||
|
||||
## <a class='title-link' name='the-relay' href='#the-relay'></a> The relay
|
||||
|
||||
To be able to work locally with the MQTT data that is received from the devices connected to TTN, we need to transfer it to the local broker. With this simple script below all messages from a given device are re-published on your local MQTT broker after they are received. Modify the script with your details as outlined in the previous section.
|
||||
|
||||
```python
|
||||
"""Relay MQTT messages from The Things Network to a local MQTT broker."""
|
||||
import paho.mqtt.client as mqtt
|
||||
import paho.mqtt.publish as publish
|
||||
|
||||
DEVICE_NAME = '<DeviceID>'
|
||||
|
||||
TTN_BROKER = '<Region>.thethings.network'
|
||||
TTN_USERNAME = '<AppID>'
|
||||
TTN_PASSWORD = '<AppKey>'
|
||||
TTN_TOPIC = '+/devices/{}/up'.format(DEVICE_NAME)
|
||||
|
||||
LOCAL_BROKER = '192.168.0.2'
|
||||
LOCAL_TOPIC = 'home/ttn/garden_temp'
|
||||
|
||||
|
||||
def on_connect(client, userdata, flags, rc):
|
||||
"""Subscribe to topic after connection to broker is made."""
|
||||
print("Connected with result code", str(rc))
|
||||
client.subscribe(TTN_TOPIC)
|
||||
|
||||
|
||||
def on_message(client, userdata, msg):
|
||||
"""Relay message to a different broker."""
|
||||
publish.single(
|
||||
LOCAL_TOPIC, payload=msg.payload, qos=0, retain=False,
|
||||
hostname=LOCAL_BROKER, port=1883, client_id='ttn-local',
|
||||
keepalive=60, will=None, auth=None, tls=None, protocol=mqtt.MQTTv311)
|
||||
|
||||
|
||||
client = mqtt.Client()
|
||||
client.username_pw_set(TTN_USERNAME, password=TTN_PASSWORD)
|
||||
client.on_connect = on_connect
|
||||
client.on_message = on_message
|
||||
client.connect(TTN_BROKER, 1883, 60)
|
||||
|
||||
client.loop_forever()
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>Save it and run it. As soon as a MQTT message is received from your device you should see it on your local broker (here 192.168.0.2) if you subscribe to <code class="highlighter-rouge">#</code> or the topic given in the script above <code class="highlighter-rouge">home/ttn/garden_temp</code>.</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>mosquitto_sub -h 192.168.0.2 -t <span class="s2">"#"</span> -d
|
||||
</code></pre>
|
||||
</div>
|
||||
<h2><a class="title-link" name="the-sensor" href="#the-sensor"></a> The sensor</h2>
|
||||
<p>All we would need now, is a <a href="/components/sensor.mqtt/"><code class="highlighter-rouge">mqtt</code> sensor</a> with a <code class="highlighter-rouge">value_template</code>. With a sophisticated custom sensor it would be possible to displaying a little more than just the state. The device is only sending the temperature <code class="highlighter-rouge"><span class="p">{</span><span class="nt">"temperature"</span><span class="p">:</span><span class="w"> </span><span class="mf">7.5</span><span class="p">}</span></code> but there are other details available which the sensor should show.</p>
|
||||
<div class="language-python highlighter-rouge"><pre class="highlight"><code><span class="s">"""Support for The Things Network MQTT sensors."""</span>
|
||||
<span class="kn">import</span> <span class="nn">asyncio</span>
|
||||
<span class="kn">from</span> <span class="nn">datetime</span> <span class="kn">import</span> <span class="n">timedelta</span>
|
||||
<span class="kn">import</span> <span class="nn">json</span>
|
||||
<span class="kn">import</span> <span class="nn">logging</span>
|
||||
|
||||
<span class="kn">import</span> <span class="nn">voluptuous</span> <span class="kn">as</span> <span class="nn">vol</span>
|
||||
|
||||
<span class="kn">import</span> <span class="nn">homeassistant.components.mqtt</span> <span class="kn">as</span> <span class="nn">mqtt</span>
|
||||
<span class="kn">from</span> <span class="nn">homeassistant.components.mqtt</span> <span class="kn">import</span> <span class="n">CONF_STATE_TOPIC</span>
|
||||
<span class="kn">from</span> <span class="nn">homeassistant.const</span> <span class="kn">import</span> <span class="n">CONF_NAME</span><span class="p">,</span> <span class="n">CONF_UNIT_OF_MEASUREMENT</span>
|
||||
<span class="kn">from</span> <span class="nn">homeassistant.core</span> <span class="kn">import</span> <span class="n">callback</span>
|
||||
<span class="kn">import</span> <span class="nn">homeassistant.helpers.config_validation</span> <span class="kn">as</span> <span class="nn">cv</span>
|
||||
<span class="kn">from</span> <span class="nn">homeassistant.helpers.entity</span> <span class="kn">import</span> <span class="n">Entity</span>
|
||||
|
||||
<span class="n">_LOGGER</span> <span class="o">=</span> <span class="n">logging</span><span class="o">.</span><span class="n">getLogger</span><span class="p">(</span><span class="n">__name__</span><span class="p">)</span>
|
||||
|
||||
<span class="n">DEFAULT_NAME</span> <span class="o">=</span> <span class="s">'MQTT TTN Sensor'</span>
|
||||
<span class="n">DEFAULT_FORCE_UPDATE</span> <span class="o">=</span> <span class="bp">False</span>
|
||||
<span class="n">DEPENDENCIES</span> <span class="o">=</span> <span class="p">[</span><span class="s">'mqtt'</span><span class="p">]</span>
|
||||
|
||||
<span class="n">PLATFORM_SCHEMA</span> <span class="o">=</span> <span class="n">mqtt</span><span class="o">.</span><span class="n">MQTT_RO_PLATFORM_SCHEMA</span><span class="o">.</span><span class="n">extend</span><span class="p">({</span>
|
||||
<span class="n">vol</span><span class="o">.</span><span class="n">Optional</span><span class="p">(</span><span class="n">CONF_NAME</span><span class="p">,</span> <span class="n">default</span><span class="o">=</span><span class="n">DEFAULT_NAME</span><span class="p">):</span> <span class="n">cv</span><span class="o">.</span><span class="n">string</span><span class="p">,</span>
|
||||
<span class="n">vol</span><span class="o">.</span><span class="n">Optional</span><span class="p">(</span><span class="n">CONF_UNIT_OF_MEASUREMENT</span><span class="p">):</span> <span class="n">cv</span><span class="o">.</span><span class="n">string</span><span class="p">,</span>
|
||||
|
||||
<span class="p">})</span>
|
||||
|
||||
|
||||
<span class="nd">@asyncio.coroutine</span>
|
||||
<span class="k">def</span> <span class="nf">async_setup_platform</span><span class="p">(</span><span class="n">hass</span><span class="p">,</span> <span class="n">config</span><span class="p">,</span> <span class="n">async_add_devices</span><span class="p">,</span> <span class="n">discovery_info</span><span class="o">=</span><span class="bp">None</span><span class="p">):</span>
|
||||
<span class="s">"""Set up the TTN MQTT Sensor."""</span>
|
||||
<span class="n">async_add_devices</span><span class="p">([</span><span class="n">MqttTtnSensor</span><span class="p">(</span>
|
||||
<span class="n">config</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="n">CONF_NAME</span><span class="p">),</span> <span class="n">config</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="n">CONF_STATE_TOPIC</span><span class="p">),</span>
|
||||
<span class="n">config</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="n">CONF_UNIT_OF_MEASUREMENT</span><span class="p">))</span>
|
||||
<span class="p">])</span>
|
||||
|
||||
|
||||
<span class="k">class</span> <span class="nc">MqttTtnSensor</span><span class="p">(</span><span class="n">Entity</span><span class="p">):</span>
|
||||
<span class="s">"""Representation of a sensor."""</span>
|
||||
|
||||
<span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">name</span><span class="p">,</span> <span class="n">state_topic</span><span class="p">,</span> <span class="n">unit_of_measurement</span><span class="p">):</span>
|
||||
<span class="s">"""Initialize the sensor."""</span>
|
||||
<span class="bp">self</span><span class="o">.</span><span class="n">_state</span> <span class="o">=</span> <span class="bp">None</span>
|
||||
<span class="bp">self</span><span class="o">.</span><span class="n">_name</span> <span class="o">=</span> <span class="n">name</span>
|
||||
<span class="bp">self</span><span class="o">.</span><span class="n">_unit_of_measurement</span> <span class="o">=</span> <span class="n">unit_of_measurement</span>
|
||||
<span class="bp">self</span><span class="o">.</span><span class="n">_attributes</span> <span class="o">=</span> <span class="p">{}</span>
|
||||
<span class="bp">self</span><span class="o">.</span><span class="n">_state_topic</span> <span class="o">=</span> <span class="n">state_topic</span>
|
||||
|
||||
<span class="k">def</span> <span class="nf">async_added_to_hass</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
|
||||
<span class="s">"""Subscribe to MQTT events."""</span>
|
||||
<span class="nd">@callback</span>
|
||||
<span class="k">def</span> <span class="nf">message_received</span><span class="p">(</span><span class="n">topic</span><span class="p">,</span> <span class="n">payload</span><span class="p">,</span> <span class="n">qos</span><span class="p">):</span>
|
||||
<span class="s">"""Handle new MQTT messages."""</span>
|
||||
|
||||
<span class="k">try</span><span class="p">:</span>
|
||||
<span class="n">data</span> <span class="o">=</span> <span class="n">json</span><span class="o">.</span><span class="n">loads</span><span class="p">(</span><span class="n">payload</span><span class="p">)</span>
|
||||
<span class="k">except</span> <span class="n">json</span><span class="o">.</span><span class="n">JSONDecodeError</span><span class="p">:</span>
|
||||
<span class="n">_LOGGER</span><span class="o">.</span><span class="n">error</span><span class="p">(</span><span class="s">"Invalid JSON data received: </span><span class="si">%</span><span class="s">s"</span><span class="p">,</span> <span class="n">data</span><span class="p">)</span>
|
||||
|
||||
<span class="bp">self</span><span class="o">.</span><span class="n">_state</span> <span class="o">=</span> <span class="n">data</span><span class="p">[</span><span class="s">'payload_fields'</span><span class="p">][</span><span class="nb">next</span><span class="p">(</span>
|
||||
<span class="nb">iter</span><span class="p">(</span><span class="n">data</span><span class="p">[</span><span class="s">'payload_fields'</span><span class="p">]))]</span>
|
||||
<span class="bp">self</span><span class="o">.</span><span class="n">_attributes</span> <span class="o">=</span> <span class="n">data</span>
|
||||
<span class="k">del</span> <span class="bp">self</span><span class="o">.</span><span class="n">_attributes</span><span class="p">[</span><span class="s">'payload_fields'</span><span class="p">]</span>
|
||||
<span class="k">del</span> <span class="bp">self</span><span class="o">.</span><span class="n">_attributes</span><span class="p">[</span><span class="s">'metadata'</span><span class="p">]</span>
|
||||
<span class="bp">self</span><span class="o">.</span><span class="n">async_schedule_update_ha_state</span><span class="p">()</span>
|
||||
|
||||
<span class="k">return</span> <span class="n">mqtt</span><span class="o">.</span><span class="n">async_subscribe</span><span class="p">(</span>
|
||||
<span class="bp">self</span><span class="o">.</span><span class="n">hass</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">_state_topic</span><span class="p">,</span> <span class="n">message_received</span><span class="p">,</span> <span class="mi">0</span><span class="p">)</span>
|
||||
|
||||
<span class="nd">@property</span>
|
||||
<span class="k">def</span> <span class="nf">should_poll</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
|
||||
<span class="s">"""No polling needed."""</span>
|
||||
<span class="k">return</span> <span class="bp">False</span>
|
||||
|
||||
<span class="nd">@property</span>
|
||||
<span class="k">def</span> <span class="nf">name</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
|
||||
<span class="s">"""Return the name of the sensor."""</span>
|
||||
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">_name</span>
|
||||
|
||||
<span class="nd">@property</span>
|
||||
<span class="k">def</span> <span class="nf">unit_of_measurement</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
|
||||
<span class="s">"""Return the unit this state is expressed in."""</span>
|
||||
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">_unit_of_measurement</span>
|
||||
|
||||
<span class="nd">@property</span>
|
||||
<span class="k">def</span> <span class="nf">state_attributes</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
|
||||
<span class="s">"""Return the attributes of the entity."""</span>
|
||||
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">_attributes</span>
|
||||
|
||||
<span class="nd">@property</span>
|
||||
<span class="k">def</span> <span class="nf">state</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
|
||||
<span class="s">"""Return the state of the entity."""</span>
|
||||
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">_state</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>Store it in <code class="highlighter-rouge"><config_dir>/custom_components/sensor/mqtt_ttn.py</code> and it will handle the messages.</p>
|
||||
<h2><a class="title-link" name="the-configuration" href="#the-configuration"></a> The configuration</h2>
|
||||
<p>Now create the <a href="/components/sensor.mqtt/"><code class="highlighter-rouge">mqtt_ttn</code> sensor</a> entry for your device.</p>
|
||||
<div class="highlighter-rouge"><pre class="highlight"><code>sensor:
|
||||
- platform: mqtt_ttn
|
||||
name: TTN Sensor
|
||||
state_topic: "home/ttn/garden_temp"
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>This solution is not production-ready, scalable or stable but it could fill the gape till Home Assistant is able to connect to multiple MQTT brokers. If you have multiple devices relay all messages to your local broker and add an configuration variable to <code class="highlighter-rouge">mqtt_ttn</code> sensor which allows you to select the device.</p>
|
||||
</article>
|
||||
<section id="disqus">
|
||||
<h3 class="indent title">Comments</h3>
|
||||
<div id="disqus_thread" aria-live="polite"><noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript></div>
|
||||
</section>
|
||||
</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">
|
||||
<h1 class="title delta">About Home Assistant</h1>
|
||||
<ul class="divided">
|
||||
<li>
|
||||
Home Assistant is an open-source home automation platform running on Python 3. Track and control all devices at home and automate control.
|
||||
</li>
|
||||
<li><a href='/getting-started/'>Get started with Home Assistant</a></li>
|
||||
<li><a href='/demo/'>Try the online demo</a></li>
|
||||
<li><a class="twitter-follow-button" href="https://twitter.com/Home_Assistant">Follow Home Assistant on Twitter</a></li>
|
||||
<li><div class="fb-like" data-href="https://www.facebook.com/homeassistantio/" data-layout="standard" data-action="like" data-size="small" data-show-faces="true" data-share="false"></div></li>
|
||||
</ul>
|
||||
</section>
|
||||
<div id="fb-root"></div>
|
||||
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.async=true;js.src='//platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
|
||||
<script>(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id)){return;}js=d.createElement(s);js.id=id;js.async=true;js.src="//connect.facebook.net/en_US/all.js#appId=338291289691179&xfbml=1";fjs.parentNode.insertBefore(js,fjs);}(document,'script','facebook-jssdk'));</script>
|
||||
<section class="sharing aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Share this post</h1>
|
||||
<a href="//twitter.com/share"
|
||||
class="twitter-share-button"
|
||||
data-via="home_assistant"
|
||||
data-related="home_assistant"
|
||||
data-url="https://home-assistant.io/blog/2017/11/10/ttn-with-mqtt/"
|
||||
data-counturl="https://home-assistant.io/blog/2017/11/10/ttn-with-mqtt/" >Tweet</a>
|
||||
<div class="fb-share-button" style='top: -6px;'
|
||||
data-href="https://home-assistant.io/blog/2017/11/10/ttn-with-mqtt/"
|
||||
data-layout="button_count">
|
||||
</div>
|
||||
<div class="g-plusone" data-size="standard"></div>
|
||||
</section>
|
||||
<script src="https://apis.google.com/js/platform.js" async defer></script>
|
||||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||
<h1 class="title delta">Recent Posts</h1>
|
||||
<ul class="divided">
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/05/frontend-translations/">Translating Home Assistant</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/04/release-57/">0.57: Translations, Hacktoberfest, Timers</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/11/02/secure-shell-tunnel/">Home Assistant and SSH</a>
|
||||
</li>
|
||||
<li class="post">
|
||||
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
|
||||
</li>
|
||||
</ul>
|
||||
</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>
|
||||
<script>
|
||||
var disqus_shortname = 'home-assistant';
|
||||
// var disqus_developer = 1;
|
||||
var disqus_identifier = 'https://home-assistant.io/blog/2017/11/10/ttn-with-mqtt/';
|
||||
var disqus_url = 'https://home-assistant.io/blog/2017/11/10/ttn-with-mqtt/';
|
||||
var disqus_script = 'embed.js';
|
||||
(function () {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = '//' + disqus_shortname + '.disqus.com/' + disqus_script;
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
}());
|
||||
</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>
|
Loading…
Add table
Add a link
Reference in a new issue