Site updated at 2016-08-29 19:52:32 UTC
This commit is contained in:
parent
c208088b1b
commit
26a812bc1d
36 changed files with 716 additions and 35 deletions
2
atom.xml
2
atom.xml
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -93,8 +93,12 @@
|
|||
<ul class="tags unstyled">
|
||||
|
||||
|
||||
<li>ESP8266</li>
|
||||
|
||||
<li>How-To</li>
|
||||
|
||||
<li>Micropython</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</span>
|
||||
|
|
|
@ -2488,8 +2488,12 @@
|
|||
<ul class="tags unstyled">
|
||||
|
||||
|
||||
<li>ESP8266</li>
|
||||
|
||||
<li>How-To</li>
|
||||
|
||||
<li>Micropython</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</span>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -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-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
@ -13,6 +13,165 @@
|
|||
<generator uri="http://octopress.org/">Octopress</generator>
|
||||
|
||||
|
||||
<entry>
|
||||
<title type="html"><![CDATA[ESP8266 and MicroPython - Part 1]]></title>
|
||||
<link href="https://home-assistant.io/blog/2016/07/28/esp8266-and-micropython-part1/"/>
|
||||
<updated>2016-07-28T04:00:00+00:00</updated>
|
||||
<id>https://home-assistant.io/blog/2016/07/28/esp8266-and-micropython-part1</id>
|
||||
<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).
|
||||
|
||||
<!--more-->
|
||||
|
||||
The easiest way is to use [esptool.py](https://github.com/themadinventor/esptool) for firmware handling tasks. First erase the flash:
|
||||
|
||||
```bash
|
||||
$ sudo python esptool.py --port /dev/ttyUSB0 erase_flash
|
||||
esptool.py v1.0.2-dev
|
||||
Connecting...
|
||||
Erasing flash (this may take a while)...
|
||||
```
|
||||
|
||||
and then load the firmware. You may adjust the file name of the firmware binary.
|
||||
|
||||
```bash
|
||||
$ sudo python esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=8m 0 esp8266-2016-07-10-v1.8.2.bin
|
||||
esptool.py v1.2-dev
|
||||
Connecting...
|
||||
Running Cesanta flasher stub...
|
||||
Flash params set to 0x0020
|
||||
Writing 540672 @ 0x0... 540672 (100 %)
|
||||
Wrote 540672 bytes at 0x0 in 13.1 seconds (330.8 kbit/s)...
|
||||
Leaving...
|
||||
```
|
||||
|
||||
Now reset the device. You should then be able to use the [REPL (Read Evaluate Print Loop)](http://docs.micropython.org/en/latest/esp8266/esp8266/tutorial/repl.html#getting-a-micropython-repl-prompt). On Linux there is `minicom` or `picocom`, on a Mac you can use `screen` (eg. `screen /dev/tty.SLAB_USBtoUART 115200`), and on Windows there is Putty to open a serial connection and get the REPL prompt.
|
||||
|
||||
The [WebREPL](http://docs.micropython.org/en/latest/esp8266/esp8266/tutorial/repl.html#webrepl-a-prompt-over-wifi) work over a wireless connection and allows easy access to a prompt in your browser. An instance of the WebREPL client is hosted at [http://micropython.org/webrepl](http://micropython.org/webrepl). Alternatively, you can create a local clone of their [GitHub repository](https://github.com/micropython/webrepl). This is neccessary if your want to use the command-line tool `webrepl_cli.py` which is mentionend later in this post.
|
||||
|
||||
```bash
|
||||
$ sudo minicom -D /dev/ttyUSB0
|
||||
#4 ets_task(4020e374, 29, 3fff70e8, 10)
|
||||
WebREPL daemon started on ws://192.168.4.1:8266
|
||||
Started webrepl in setup mode
|
||||
could not open file 'main.py' for reading
|
||||
|
||||
#5 ets_task(4010035c, 3, 3fff6360, 4)
|
||||
MicroPython v1.8.2-9-g805c2b9 on 2016-07-10; ESP module with ESP8266
|
||||
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.
|
||||
</p>
|
||||
|
||||
Connect a LED to pin 5 (or another pin of your choosing) to check if the ESP8266 is working as expected.
|
||||
|
||||
```python
|
||||
>>> import machine
|
||||
>>> pin = machine.Pin(5, machine.Pin.OUT)
|
||||
>>> pin.high()
|
||||
```
|
||||
|
||||
You can toogle the LED by changing its state with `pin.high()` and `pin.low()`.
|
||||
|
||||
Various ESP8266 development board are shipped with an onboard photocell or a light dependent resistors (LDR) connected to the analog pin of your ESP8266 check if you are able to obtain a value.
|
||||
|
||||
```python
|
||||
>>> import machine
|
||||
>>> brightness = machine.ADC(0)
|
||||
>>> brightness.read()
|
||||
```
|
||||
|
||||
Make sure that you are familiar with REPL and WebREPL because this will be needed soon. Keep in mind the password for the WebREPL access.
|
||||
|
||||
Read the [instructions](http://docs.micropython.org/en/latest/esp8266/esp8266/tutorial/network_basics.html) about how to setup your wireless connection. Basically you need to upload a `boot.py` file to the microcontroller and this file is taking care of the connection setup. Below you find a sample which is more or less the same as shown in the [documentation](http://docs.micropython.org/en/latest/esp8266/esp8266/tutorial/network_basics.html#configuration-of-the-wifi).
|
||||
|
||||
```python
|
||||
def do_connect():
|
||||
import network
|
||||
|
||||
SSID = 'SSID'
|
||||
PASSWORD = 'PASSWORD'
|
||||
|
||||
sta_if = network.WLAN(network.STA_IF)
|
||||
ap_if = network.WLAN(network.AP_IF)
|
||||
if ap_if.active():
|
||||
ap_if.active(False)
|
||||
if not sta_if.isconnected():
|
||||
print('connecting to network...')
|
||||
sta_if.active(True)
|
||||
sta_if.connect(SSID, PASSWORD)
|
||||
while not sta_if.isconnected():
|
||||
pass
|
||||
print('Network configuration:', sta_if.ifconfig())
|
||||
```
|
||||
|
||||
Upload this file with `webrepl_cli.py` or the WebREPL:
|
||||
|
||||
```bash
|
||||
$ python webrepl_cli.py boot.py 192.168.4.1:/boot.py
|
||||
```
|
||||
|
||||
If you reboot, you should see your current IP address in the terminal.
|
||||
|
||||
```bash
|
||||
>>> Network configuration: ('192.168.0.10', '255.255.255.0', '192.168.0.1', '192.168.0.1')
|
||||
```
|
||||
|
||||
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.
|
||||
</p>
|
||||
|
||||
```python
|
||||
# Sample code to request the state of a Home Assistant entity.
|
||||
|
||||
API_PASSWORD = 'YOUR_PASSWORD'
|
||||
URL = 'http://192.168.0.5:8123/api/states/'
|
||||
ENTITY = 'sensor.kitchen_temperature'
|
||||
TIMEOUT = 30
|
||||
PIN = 5
|
||||
|
||||
def get_data():
|
||||
import urequests
|
||||
url = '{}{}'.format(URL, ENTITY)
|
||||
headers = {'x-ha-access': API_PASSWORD,
|
||||
'content-type': 'application/json'}
|
||||
resp = urequests.get(URL, headers=headers)
|
||||
return resp.json()['state']
|
||||
|
||||
def main():
|
||||
import machine
|
||||
import time
|
||||
|
||||
pin = machine.Pin(PIN, machine.Pin.OUT)
|
||||
while True:
|
||||
try:
|
||||
if int(get_data()) >= 20:
|
||||
pin.high()
|
||||
else:
|
||||
pin.low()
|
||||
except TypeError:
|
||||
pass
|
||||
time.sleep(TIMEOUT)
|
||||
|
||||
if __name__ == '__main__':
|
||||
print('Get the state of {}'.format(ENTITY))
|
||||
main()
|
||||
```
|
||||
|
||||
Upload `main.py` the same way as `boot.py`. After a reboot (`>>> import machine` and `>>> machine.reboot()`) or power-cycling your physical notifier is ready.
|
||||
|
||||
If you run into trouble, press "Ctrl+c" in the REPL to stop the execution of the code, enter `>>> import webrepl` and `>>> webrepl.start()`, and upload your fixed file.
|
||||
|
||||
]]></content>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<title type="html"><![CDATA[Report the temperature with ESP8266 to MQTT]]></title>
|
||||
<link href="https://home-assistant.io/blog/2015/10/11/measure-temperature-with-esp8266-and-report-to-mqtt/"/>
|
||||
|
|
|
@ -96,6 +96,45 @@
|
|||
|
||||
|
||||
|
||||
<h2>2016</h2>
|
||||
|
||||
<article>
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item one-fifth palm-one-whole">
|
||||
<time datetime="2016-07-28T04:00:00+00:00" pubdate>
|
||||
<span class='month'>Jul</span> <span class='day'>28</span>
|
||||
</time>
|
||||
</div>
|
||||
<div class="grid__item four-fifths palm-one-whole">
|
||||
<h1 class="gamma"><a href="/blog/2016/07/28/esp8266-and-micropython-part1/">ESP8266 and MicroPython - Part 1</a></h1>
|
||||
|
||||
<footer class="meta">
|
||||
<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/micropython/'>Micropython</a></li>
|
||||
|
||||
|
||||
</ul>
|
||||
</span>
|
||||
</footer>
|
||||
|
||||
<hr class="divider">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>2015</h2>
|
||||
|
||||
<article>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -181,8 +181,12 @@
|
|||
<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/micropython/'>Micropython</a></li>
|
||||
|
||||
|
||||
</ul>
|
||||
</span>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
175
blog/categories/micropython/atom.xml
Normal file
175
blog/categories/micropython/atom.xml
Normal file
|
@ -0,0 +1,175 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
|
||||
<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/"/>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
||||
</author>
|
||||
<generator uri="http://octopress.org/">Octopress</generator>
|
||||
|
||||
|
||||
<entry>
|
||||
<title type="html"><![CDATA[ESP8266 and MicroPython - Part 1]]></title>
|
||||
<link href="https://home-assistant.io/blog/2016/07/28/esp8266-and-micropython-part1/"/>
|
||||
<updated>2016-07-28T04:00:00+00:00</updated>
|
||||
<id>https://home-assistant.io/blog/2016/07/28/esp8266-and-micropython-part1</id>
|
||||
<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).
|
||||
|
||||
<!--more-->
|
||||
|
||||
The easiest way is to use [esptool.py](https://github.com/themadinventor/esptool) for firmware handling tasks. First erase the flash:
|
||||
|
||||
```bash
|
||||
$ sudo python esptool.py --port /dev/ttyUSB0 erase_flash
|
||||
esptool.py v1.0.2-dev
|
||||
Connecting...
|
||||
Erasing flash (this may take a while)...
|
||||
```
|
||||
|
||||
and then load the firmware. You may adjust the file name of the firmware binary.
|
||||
|
||||
```bash
|
||||
$ sudo python esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=8m 0 esp8266-2016-07-10-v1.8.2.bin
|
||||
esptool.py v1.2-dev
|
||||
Connecting...
|
||||
Running Cesanta flasher stub...
|
||||
Flash params set to 0x0020
|
||||
Writing 540672 @ 0x0... 540672 (100 %)
|
||||
Wrote 540672 bytes at 0x0 in 13.1 seconds (330.8 kbit/s)...
|
||||
Leaving...
|
||||
```
|
||||
|
||||
Now reset the device. You should then be able to use the [REPL (Read Evaluate Print Loop)](http://docs.micropython.org/en/latest/esp8266/esp8266/tutorial/repl.html#getting-a-micropython-repl-prompt). On Linux there is `minicom` or `picocom`, on a Mac you can use `screen` (eg. `screen /dev/tty.SLAB_USBtoUART 115200`), and on Windows there is Putty to open a serial connection and get the REPL prompt.
|
||||
|
||||
The [WebREPL](http://docs.micropython.org/en/latest/esp8266/esp8266/tutorial/repl.html#webrepl-a-prompt-over-wifi) work over a wireless connection and allows easy access to a prompt in your browser. An instance of the WebREPL client is hosted at [http://micropython.org/webrepl](http://micropython.org/webrepl). Alternatively, you can create a local clone of their [GitHub repository](https://github.com/micropython/webrepl). This is neccessary if your want to use the command-line tool `webrepl_cli.py` which is mentionend later in this post.
|
||||
|
||||
```bash
|
||||
$ sudo minicom -D /dev/ttyUSB0
|
||||
#4 ets_task(4020e374, 29, 3fff70e8, 10)
|
||||
WebREPL daemon started on ws://192.168.4.1:8266
|
||||
Started webrepl in setup mode
|
||||
could not open file 'main.py' for reading
|
||||
|
||||
#5 ets_task(4010035c, 3, 3fff6360, 4)
|
||||
MicroPython v1.8.2-9-g805c2b9 on 2016-07-10; ESP module with ESP8266
|
||||
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.
|
||||
</p>
|
||||
|
||||
Connect a LED to pin 5 (or another pin of your choosing) to check if the ESP8266 is working as expected.
|
||||
|
||||
```python
|
||||
>>> import machine
|
||||
>>> pin = machine.Pin(5, machine.Pin.OUT)
|
||||
>>> pin.high()
|
||||
```
|
||||
|
||||
You can toogle the LED by changing its state with `pin.high()` and `pin.low()`.
|
||||
|
||||
Various ESP8266 development board are shipped with an onboard photocell or a light dependent resistors (LDR) connected to the analog pin of your ESP8266 check if you are able to obtain a value.
|
||||
|
||||
```python
|
||||
>>> import machine
|
||||
>>> brightness = machine.ADC(0)
|
||||
>>> brightness.read()
|
||||
```
|
||||
|
||||
Make sure that you are familiar with REPL and WebREPL because this will be needed soon. Keep in mind the password for the WebREPL access.
|
||||
|
||||
Read the [instructions](http://docs.micropython.org/en/latest/esp8266/esp8266/tutorial/network_basics.html) about how to setup your wireless connection. Basically you need to upload a `boot.py` file to the microcontroller and this file is taking care of the connection setup. Below you find a sample which is more or less the same as shown in the [documentation](http://docs.micropython.org/en/latest/esp8266/esp8266/tutorial/network_basics.html#configuration-of-the-wifi).
|
||||
|
||||
```python
|
||||
def do_connect():
|
||||
import network
|
||||
|
||||
SSID = 'SSID'
|
||||
PASSWORD = 'PASSWORD'
|
||||
|
||||
sta_if = network.WLAN(network.STA_IF)
|
||||
ap_if = network.WLAN(network.AP_IF)
|
||||
if ap_if.active():
|
||||
ap_if.active(False)
|
||||
if not sta_if.isconnected():
|
||||
print('connecting to network...')
|
||||
sta_if.active(True)
|
||||
sta_if.connect(SSID, PASSWORD)
|
||||
while not sta_if.isconnected():
|
||||
pass
|
||||
print('Network configuration:', sta_if.ifconfig())
|
||||
```
|
||||
|
||||
Upload this file with `webrepl_cli.py` or the WebREPL:
|
||||
|
||||
```bash
|
||||
$ python webrepl_cli.py boot.py 192.168.4.1:/boot.py
|
||||
```
|
||||
|
||||
If you reboot, you should see your current IP address in the terminal.
|
||||
|
||||
```bash
|
||||
>>> Network configuration: ('192.168.0.10', '255.255.255.0', '192.168.0.1', '192.168.0.1')
|
||||
```
|
||||
|
||||
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.
|
||||
</p>
|
||||
|
||||
```python
|
||||
# Sample code to request the state of a Home Assistant entity.
|
||||
|
||||
API_PASSWORD = 'YOUR_PASSWORD'
|
||||
URL = 'http://192.168.0.5:8123/api/states/'
|
||||
ENTITY = 'sensor.kitchen_temperature'
|
||||
TIMEOUT = 30
|
||||
PIN = 5
|
||||
|
||||
def get_data():
|
||||
import urequests
|
||||
url = '{}{}'.format(URL, ENTITY)
|
||||
headers = {'x-ha-access': API_PASSWORD,
|
||||
'content-type': 'application/json'}
|
||||
resp = urequests.get(URL, headers=headers)
|
||||
return resp.json()['state']
|
||||
|
||||
def main():
|
||||
import machine
|
||||
import time
|
||||
|
||||
pin = machine.Pin(PIN, machine.Pin.OUT)
|
||||
while True:
|
||||
try:
|
||||
if int(get_data()) >= 20:
|
||||
pin.high()
|
||||
else:
|
||||
pin.low()
|
||||
except TypeError:
|
||||
pass
|
||||
time.sleep(TIMEOUT)
|
||||
|
||||
if __name__ == '__main__':
|
||||
print('Get the state of {}'.format(ENTITY))
|
||||
main()
|
||||
```
|
||||
|
||||
Upload `main.py` the same way as `boot.py`. After a reboot (`>>> import machine` and `>>> machine.reboot()`) or power-cycling your physical notifier is ready.
|
||||
|
||||
If you run into trouble, press "Ctrl+c" in the REPL to stop the execution of the code, enter `>>> import webrepl` and `>>> webrepl.start()`, and upload your fixed file.
|
||||
|
||||
]]></content>
|
||||
</entry>
|
||||
|
||||
</feed>
|
271
blog/categories/micropython/index.html
Normal file
271
blog/categories/micropython/index.html
Normal file
|
@ -0,0 +1,271 @@
|
|||
<!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>Category: Micropython - Home Assistant</title>
|
||||
<meta name="author" content="Home Assistant">
|
||||
<meta name="description" content="Category: Micropython">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/blog/categories/micropython/">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Category: Micropython">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/blog/categories/micropython/">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:description" content="Category: Micropython">
|
||||
<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="Category: Micropython">
|
||||
<meta name="twitter:description" content="Category: Micropython">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" 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>
|
||||
<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='/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>
|
||||
</ul>
|
||||
</nav>
|
||||
</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">
|
||||
|
||||
|
||||
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.github.io/tree/current/source/blog/categories/micropython/index.html'>Edit this page on GitHub</a></div>
|
||||
|
||||
|
||||
|
||||
<header>
|
||||
<h1 class="title indent">
|
||||
Category: Micropython
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<div id="archive-list">
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>2016</h2>
|
||||
|
||||
<article>
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item one-fifth palm-one-whole">
|
||||
<time datetime="2016-07-28T04:00:00+00:00" pubdate>
|
||||
<span class='month'>Jul</span> <span class='day'>28</span>
|
||||
</time>
|
||||
</div>
|
||||
<div class="grid__item four-fifths palm-one-whole">
|
||||
<h1 class="gamma"><a href="/blog/2016/07/28/esp8266-and-micropython-part1/">ESP8266 and MicroPython - Part 1</a></h1>
|
||||
|
||||
<footer class="meta">
|
||||
<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/micropython/'>Micropython</a></li>
|
||||
|
||||
|
||||
</ul>
|
||||
</span>
|
||||
</footer>
|
||||
|
||||
<hr class="divider">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</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">
|
||||
<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/categories/micropython/"
|
||||
data-counturl="https://home-assistant.io/blog/categories/micropython/" >Tweet</a>
|
||||
|
||||
|
||||
<div class="fb-share-button" style='top: -6px;'
|
||||
data-href="https://home-assistant.io/blog/categories/micropython/"
|
||||
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/2016/08/28/notifications-hue-fake-unification/">0.27 is here to break eggs and take names: notifications, Hue fakery, safety and unification come to Home Assistant</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li class="post">
|
||||
<a href="/blog/2016/08/19/github-style-calendar-heatmap-of-device-data/">Github-style calendar heatmap of device data</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li class="post">
|
||||
<a href="/blog/2016/08/16/we-have-apps-now/">We Have Apps Now</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li class="post">
|
||||
<a href="/blog/2016/08/13/foursquare-fast-com-ffmpeg-gpsd/">0.26: Foursquare, Fast.com, FFMPEG and GPSD</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li class="post">
|
||||
<a href="/blog/2016/08/07/optimizing-the-home-assistant-mobile-web-app/">Optimizing the Home Assistant mobile web app</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>.<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>
|
||||
</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_script = 'count.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>
|
||||
</body>
|
||||
</html>
|
|
@ -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>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2016-08-29T19:27:40+00:00</updated>
|
||||
<updated>2016-08-29T19:50:52+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -723,8 +723,12 @@ Heatmap
|
|||
<ul class="tags unstyled">
|
||||
|
||||
|
||||
<li>ESP8266</li>
|
||||
|
||||
<li>How-To</li>
|
||||
|
||||
<li>Micropython</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</span>
|
||||
|
@ -918,6 +922,8 @@ One of the graphs created with this tutorial.
|
|||
|
||||
<li><a href="/blog/categories/mqtt/">MQTT</a></li>
|
||||
|
||||
<li><a href="/blog/categories/micropython/">Micropython</a></li>
|
||||
|
||||
<li><a href="/blog/categories/organisation/">Organisation</a></li>
|
||||
|
||||
<li><a href="/blog/categories/owntracks/">OwnTracks</a></li>
|
||||
|
|
|
@ -852,6 +852,8 @@ In the past month I was thinking about ways to integrate USB webcams into Home A
|
|||
|
||||
<li><a href="/blog/categories/mqtt/">MQTT</a></li>
|
||||
|
||||
<li><a href="/blog/categories/micropython/">Micropython</a></li>
|
||||
|
||||
<li><a href="/blog/categories/organisation/">Organisation</a></li>
|
||||
|
||||
<li><a href="/blog/categories/owntracks/">OwnTracks</a></li>
|
||||
|
|
|
@ -811,6 +811,8 @@
|
|||
|
||||
<li><a href="/blog/categories/mqtt/">MQTT</a></li>
|
||||
|
||||
<li><a href="/blog/categories/micropython/">Micropython</a></li>
|
||||
|
||||
<li><a href="/blog/categories/organisation/">Organisation</a></li>
|
||||
|
||||
<li><a href="/blog/categories/owntracks/">OwnTracks</a></li>
|
||||
|
|
|
@ -890,6 +890,8 @@ Hold your NFC tag against the belly of Garfield to unlock the alarm.
|
|||
|
||||
<li><a href="/blog/categories/mqtt/">MQTT</a></li>
|
||||
|
||||
<li><a href="/blog/categories/micropython/">Micropython</a></li>
|
||||
|
||||
<li><a href="/blog/categories/organisation/">Organisation</a></li>
|
||||
|
||||
<li><a href="/blog/categories/owntracks/">OwnTracks</a></li>
|
||||
|
|
|
@ -714,6 +714,8 @@ The <a href="https://influxdb.com/">InfluxDB</a> database is a so-called time se
|
|||
|
||||
<li><a href="/blog/categories/mqtt/">MQTT</a></li>
|
||||
|
||||
<li><a href="/blog/categories/micropython/">Micropython</a></li>
|
||||
|
||||
<li><a href="/blog/categories/organisation/">Organisation</a></li>
|
||||
|
||||
<li><a href="/blog/categories/owntracks/">OwnTracks</a></li>
|
||||
|
|
|
@ -728,6 +728,8 @@ Inspried by a <a href="https://github.com/home-assistant/home-assistant/issues/3
|
|||
|
||||
<li><a href="/blog/categories/mqtt/">MQTT</a></li>
|
||||
|
||||
<li><a href="/blog/categories/micropython/">Micropython</a></li>
|
||||
|
||||
<li><a href="/blog/categories/organisation/">Organisation</a></li>
|
||||
|
||||
<li><a href="/blog/categories/owntracks/">OwnTracks</a></li>
|
||||
|
|
|
@ -754,6 +754,8 @@ Andythigpen has contributed a script component. This allows users to create a se
|
|||
|
||||
<li><a href="/blog/categories/mqtt/">MQTT</a></li>
|
||||
|
||||
<li><a href="/blog/categories/micropython/">Micropython</a></li>
|
||||
|
||||
<li><a href="/blog/categories/organisation/">Organisation</a></li>
|
||||
|
||||
<li><a href="/blog/categories/owntracks/">OwnTracks</a></li>
|
||||
|
|
|
@ -706,6 +706,8 @@ This article will try to explain how they all relate.</p>
|
|||
|
||||
<li><a href="/blog/categories/mqtt/">MQTT</a></li>
|
||||
|
||||
<li><a href="/blog/categories/micropython/">Micropython</a></li>
|
||||
|
||||
<li><a href="/blog/categories/organisation/">Organisation</a></li>
|
||||
|
||||
<li><a href="/blog/categories/owntracks/">OwnTracks</a></li>
|
||||
|
|
|
@ -172,6 +172,8 @@
|
|||
|
||||
<li><a href="/blog/categories/mqtt/">MQTT</a></li>
|
||||
|
||||
<li><a href="/blog/categories/micropython/">Micropython</a></li>
|
||||
|
||||
<li><a href="/blog/categories/organisation/">Organisation</a></li>
|
||||
|
||||
<li><a href="/blog/categories/owntracks/">OwnTracks</a></li>
|
||||
|
|
33
sitemap.xml
33
sitemap.xml
|
@ -622,6 +622,9 @@
|
|||
<loc>https://home-assistant.io/blog/categories/iot-data/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/blog/categories/micropython/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/blog/posts/2/</loc>
|
||||
</url>
|
||||
<url>
|
||||
|
@ -1976,62 +1979,62 @@
|
|||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/frontend.html</loc>
|
||||
<lastmod>2016-08-29T19:26:32+00:00</lastmod>
|
||||
<lastmod>2016-08-29T19:50:02+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/index.html</loc>
|
||||
<lastmod>2016-08-29T19:26:32+00:00</lastmod>
|
||||
<lastmod>2016-08-29T19:50:02+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-event.html</loc>
|
||||
<lastmod>2016-08-29T19:26:32+00:00</lastmod>
|
||||
<lastmod>2016-08-29T19:50:02+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-info.html</loc>
|
||||
<lastmod>2016-08-29T19:26:32+00:00</lastmod>
|
||||
<lastmod>2016-08-29T19:50:02+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-service.html</loc>
|
||||
<lastmod>2016-08-29T19:26:32+00:00</lastmod>
|
||||
<lastmod>2016-08-29T19:50:02+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-state.html</loc>
|
||||
<lastmod>2016-08-29T19:26:32+00:00</lastmod>
|
||||
<lastmod>2016-08-29T19:50:02+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-template.html</loc>
|
||||
<lastmod>2016-08-29T19:26:32+00:00</lastmod>
|
||||
<lastmod>2016-08-29T19:50:02+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-history.html</loc>
|
||||
<lastmod>2016-08-29T19:26:32+00:00</lastmod>
|
||||
<lastmod>2016-08-29T19:50:02+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-iframe.html</loc>
|
||||
<lastmod>2016-08-29T19:26:32+00:00</lastmod>
|
||||
<lastmod>2016-08-29T19:50:02+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-logbook.html</loc>
|
||||
<lastmod>2016-08-29T19:26:32+00:00</lastmod>
|
||||
<lastmod>2016-08-29T19:50:02+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-map.html</loc>
|
||||
<lastmod>2016-08-29T19:26:32+00:00</lastmod>
|
||||
<lastmod>2016-08-29T19:50:02+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/googlef4f3693c209fe788.html</loc>
|
||||
<lastmod>2016-08-29T19:26:32+00:00</lastmod>
|
||||
<lastmod>2016-08-29T19:50:02+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html</loc>
|
||||
<lastmod>2016-08-29T19:26:32+00:00</lastmod>
|
||||
<lastmod>2016-08-29T19:50:02+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html</loc>
|
||||
<lastmod>2016-08-29T19:26:32+00:00</lastmod>
|
||||
<lastmod>2016-08-29T19:50:02+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/static/mdi-demo.html</loc>
|
||||
<lastmod>2016-08-29T19:26:32+00:00</lastmod>
|
||||
<lastmod>2016-08-29T19:50:02+00:00</lastmod>
|
||||
</url>
|
||||
</urlset>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue