Site updated at 2017-08-26 17:30:22 UTC
This commit is contained in:
parent
919bae8956
commit
45060d18c1
1403 changed files with 8957 additions and 7954 deletions
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2017-08-26T12:50:28+00:00</updated>
|
||||
<updated>2017-08-26T17:19:49+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
@ -18,7 +18,7 @@
|
|||
<link href="https://home-assistant.io/blog/2016/08/31/esp8266-and-micropython-part2/"/>
|
||||
<updated>2016-08-31T04:17:25+00:00</updated>
|
||||
<id>https://home-assistant.io/blog/2016/08/31/esp8266-and-micropython-part2</id>
|
||||
<content type="html">< was pretty lame, right? Instead of getting information out of Home Assistant we are going a step forward and create our own sensor which is sending details about its state to a Home Assistant instance.
|
||||
|
||||
<!--more-->
|
||||
|
@ -129,7 +129,7 @@ You spent your weekend getting everything set up, showing it off to your signifi
|
|||
That's where we came in. We wanted a solution that can bridge the awesomeness of Home Assistant with the SmartThings hub that works with almost everything.
|
||||
|
||||
<p class='img'>
|
||||
<img src='https://home-assistant.io/images/blog/2016-02-smartthings/splash.png'>
|
||||
<img src='/images/blog/2016-02-smartthings/splash.png'>
|
||||
</p>
|
||||
|
||||
<!--more-->
|
||||
|
@ -297,8 +297,8 @@ On the Home Assistant side, there is a powerful platform available based on the
|
|||
Here is the final sequence of events:
|
||||
|
||||
<p class='img'>
|
||||
<a href='https://home-assistant.io/images/blog/2016-02-smartthings/SmartThings-HomeAssistant.png'>
|
||||
<img src='https://home-assistant.io/images/blog/2016-02-smartthings/SmartThings-HomeAssistant.png' alt='SmartThings Bridge Sequence'>
|
||||
<a href='/images/blog/2016-02-smartthings/SmartThings-HomeAssistant.png'>
|
||||
<img src='/images/blog/2016-02-smartthings/SmartThings-HomeAssistant.png' alt='SmartThings Bridge Sequence'>
|
||||
</a>
|
||||
SmartThings Bridge Sequence
|
||||
</p>
|
||||
|
@ -341,12 +341,12 @@ I recently learned about the ESP8266, a $5 chip that includes WiFi and is Arduin
|
|||
For this tutorial, I'll walk through how to get going with ESP8266, get the temperature and humidity and report it to MQTT where Home Asssistant can pick it up.
|
||||
|
||||
<p class='img'>
|
||||
<img src='https://home-assistant.io/images/blog/2015-10-esp8266-temp/setup.png' />
|
||||
<img src='/images/blog/2015-10-esp8266-temp/setup.png' />
|
||||
Picture of the final setup (+ 2 LED for decoration)
|
||||
</p>
|
||||
|
||||
<p class='img'>
|
||||
<img src='https://home-assistant.io/images/blog/2015-10-esp8266-temp/ha-sensor.png' />
|
||||
<img src='/images/blog/2015-10-esp8266-temp/ha-sensor.png' />
|
||||
Home Assistant will keep track of historical values and allow you to integrate it into automation.
|
||||
</p>
|
||||
|
||||
|
@ -553,7 +553,7 @@ sensor 2:
|
|||
<id>https://home-assistant.io/blog/2015/09/11/different-ways-to-use-mqtt-with-home-assistant</id>
|
||||
<content type="html">< support was added to Home Assistant recently. The [MQTT component](https://home-assistant.io/components/mqtt/) will enable you to do all sort of things. Most likely you will use it to communicate with your devices. But Home Assistant doesn't care where the data is coming from or is limited to real hardware as long as there is MQTT support. This means that it doesn't matter if the data is coming from a human, a web service, or a device.
|
||||
<img src='/images/supported_brands/mqtt.png' style='border:none; box-shadow: none; float: right;' height='80' /> [MQTT](https://en.wikipedia.org/wiki/MQTT) support was added to Home Assistant recently. The [MQTT component](https://home-assistant.io/components/mqtt/) will enable you to do all sort of things. Most likely you will use it to communicate with your devices. But Home Assistant doesn't care where the data is coming from or is limited to real hardware as long as there is MQTT support. This means that it doesn't matter if the data is coming from a human, a web service, or a device.
|
||||
|
||||
A great example is shown in a [Laundry Automation](https://home-assistant.io/blog/2015/08/26/laundry-automation-with-moteino-mqtt-and-home-assistant/) post in this blog.
|
||||
|
||||
|
@ -584,7 +584,7 @@ $ mosquitto_pub -h 127.0.0.1 -t "home-assistant/fabian/mood" -m "bad"
|
|||
```
|
||||
|
||||
<p class='img'>
|
||||
<img src='https://home-assistant.io/images/blog/2015-09-mqtt/mood.png' />
|
||||
<img src='/images/blog/2015-09-mqtt/mood.png' />
|
||||
The Mood sensor
|
||||
</p>
|
||||
|
||||
|
@ -637,7 +637,7 @@ while True:
|
|||
Every 5 seconds a message with a new number is sent to the broker and picked up by Home Assistant. By the way, my mood is much better now.
|
||||
|
||||
<p class='img'>
|
||||
<img src='https://home-assistant.io/images/blog/2015-09-mqtt/lottery.png' />
|
||||
<img src='/images/blog/2015-09-mqtt/lottery.png' />
|
||||
The Lottery sensor
|
||||
</p>
|
||||
|
||||
|
@ -648,7 +648,7 @@ With only a few lines of Python and an MQTT broker you can create your own "smar
|
|||
To get started with real hardware that is capable to send MQTT messages, the Arduino platform is an inexpensive way to do it. In this section an Arduino UNO with an Ethernet shield and a photo resistor is used. The photo resistor is connected to analog pin 0 (A0) and has an output from 0 to 1024.
|
||||
|
||||
<p class='img'>
|
||||
<img src='https://home-assistant.io/images/blog/2015-09-mqtt/arduino-shield.png' />
|
||||
<img src='/images/blog/2015-09-mqtt/arduino-shield.png' />
|
||||
The Arduino UNO with Ethernet shield and photo resistor
|
||||
</p>
|
||||
|
||||
|
@ -737,7 +737,7 @@ The Arduino will send the value of the sensor every second. To use the data in H
|
|||
After a restart of Home Assistant the values of your Arduino will be available.
|
||||
|
||||
<p class='img'>
|
||||
<img src='https://home-assistant.io/images/blog/2015-09-mqtt/arduino.png' />
|
||||
<img src='/images/blog/2015-09-mqtt/arduino.png' />
|
||||
The Brightness sensor
|
||||
</p>
|
||||
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
<meta name="author" content="Home Assistant">
|
||||
<meta name="description" content="Category: MQTT">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/blog/categories/mqtt/">
|
||||
<link rel="canonical" href="/blog/categories/mqtt/">
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Category: MQTT">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/blog/categories/mqtt/">
|
||||
<meta property="og:url" content="/blog/categories/mqtt/">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:description" content="Category: MQTT">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
@ -90,10 +90,10 @@
|
|||
<span>
|
||||
<i class="icon-tags"></i>
|
||||
<ul class="tags unstyled">
|
||||
<li><a class='category' href='/blog/categories/esp8266/'>ESP8266</a></li>
|
||||
<li><a class='category' href='/blog/categories/how-to/'>How-To</a></li>
|
||||
<li><a class='category' href='/blog/categories/mqtt/'>MQTT</a></li>
|
||||
<li><a class='category' href='/blog/categories/micropython/'>Micropython</a></li>
|
||||
<li>How-To</li>
|
||||
<li>MQTT</li>
|
||||
<li>ESP8266</li>
|
||||
<li>Micropython</li>
|
||||
</ul>
|
||||
</span>
|
||||
</footer>
|
||||
|
@ -114,8 +114,8 @@
|
|||
<span>
|
||||
<i class="icon-tags"></i>
|
||||
<ul class="tags unstyled">
|
||||
<li><a class='category' href='/blog/categories/how-to/'>How-To</a></li>
|
||||
<li><a class='category' href='/blog/categories/mqtt/'>MQTT</a></li>
|
||||
<li>How-To</li>
|
||||
<li>MQTT</li>
|
||||
</ul>
|
||||
</span>
|
||||
</footer>
|
||||
|
@ -137,9 +137,9 @@
|
|||
<span>
|
||||
<i class="icon-tags"></i>
|
||||
<ul class="tags unstyled">
|
||||
<li><a class='category' href='/blog/categories/esp8266/'>ESP8266</a></li>
|
||||
<li><a class='category' href='/blog/categories/how-to/'>How-To</a></li>
|
||||
<li><a class='category' href='/blog/categories/mqtt/'>MQTT</a></li>
|
||||
<li>How-To</li>
|
||||
<li>MQTT</li>
|
||||
<li>ESP8266</li>
|
||||
</ul>
|
||||
</span>
|
||||
</footer>
|
||||
|
@ -160,8 +160,8 @@
|
|||
<span>
|
||||
<i class="icon-tags"></i>
|
||||
<ul class="tags unstyled">
|
||||
<li><a class='category' href='/blog/categories/how-to/'>How-To</a></li>
|
||||
<li><a class='category' href='/blog/categories/mqtt/'>MQTT</a></li>
|
||||
<li>How-To</li>
|
||||
<li>MQTT</li>
|
||||
</ul>
|
||||
</span>
|
||||
</footer>
|
||||
|
@ -195,10 +195,10 @@
|
|||
class="twitter-share-button"
|
||||
data-via="home_assistant"
|
||||
data-related="home_assistant"
|
||||
data-url="https://home-assistant.io/blog/categories/mqtt/"
|
||||
data-counturl="https://home-assistant.io/blog/categories/mqtt/" >Tweet</a>
|
||||
data-url="/blog/categories/mqtt/"
|
||||
data-counturl="/blog/categories/mqtt/" >Tweet</a>
|
||||
<div class="fb-share-button" style='top: -6px;'
|
||||
data-href="https://home-assistant.io/blog/categories/mqtt/"
|
||||
data-href="/blog/categories/mqtt/"
|
||||
data-layout="button_count">
|
||||
</div>
|
||||
<div class="g-plusone" data-size="standard"></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue