Site updated at 2016-08-31 09:47:25 UTC
This commit is contained in:
parent
fd764a00b7
commit
03f8a94f10
26 changed files with 59 additions and 55 deletions
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-31T07:01:50+00:00</updated>
|
||||
<updated>2016-08-31T09:45:53+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
@ -123,7 +123,7 @@ sensor:
|
|||
<content type="html">< covers a lot of ground. This post is providing only a little summary which should get you started.
|
||||
|
||||
Until a couple of weeks ago, the pre-built MicroPython binary for the ESP8266 was only available to backers. This has changed now and it is available to the public for [download](https://micropython.org/download/#esp8266).
|
||||
Until a couple of weeks ago, the pre-built MicroPython binary for the ESP8266 was only available to backers of the Kickstarter campaign. This has changed now and it is available to the public for [download](https://micropython.org/download/#esp8266).
|
||||
|
||||
<!--more-->
|
||||
|
||||
|
@ -167,7 +167,7 @@ Type "help()" for more information.
|
|||
```
|
||||
|
||||
<p class='note'>
|
||||
The public build of the firmware may be different than the firmware distributed to the backers of the campaign. Especially in regard of the [available modules](http://docs.micropython.org/en/latest/esp8266/py-modindex.html), turned on debug messages, and alike. Also, the WebREPL may not be started by default.
|
||||
The public build of the firmware may be different than the firmware distributed to the backers of the Kickstarter campaign. Especially in regard of the [available modules](http://docs.micropython.org/en/latest/esp8266/py-modindex.html), turned on debug messages, and alike. Also, the WebREPL may not be started by default.
|
||||
</p>
|
||||
|
||||
Connect a LED to pin 5 (or another pin of your choosing) to check if the ESP8266 is working as expected.
|
||||
|
@ -227,7 +227,7 @@ If you reboot, you should see your current IP address in the terminal.
|
|||
First let's create a little consumer for Home Assistant sensor's state. The code to place in `main.py` is a mixture of code from above and the [RESTful API](/developers/rest_api/) of Home Assistant. If the temperature in the kitchen is higher than 20 °C then the LED connected to pin 5 is switched on.
|
||||
|
||||
<p class='note'>
|
||||
If a module is missing then you need to download is it from [MicroPython Library overview](https://github.com/micropython/micropython-lib) and upload it to the ESP8266 with `webrepl_cli.py` manually.
|
||||
If a module is missing then you need to download it from the [MicroPython Library overview](https://github.com/micropython/micropython-lib) and upload it to the ESP8266 with `webrepl_cli.py` manually.
|
||||
</p>
|
||||
|
||||
```python
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue