Add example

This commit is contained in:
Otto Winter 2018-11-26 14:01:34 +01:00
parent 34bd837ff1
commit 9e81f6a2c3
No known key found for this signature in database
GPG key ID: DB66C0BE6013F97E
4 changed files with 16 additions and 1 deletions

View file

@ -21,7 +21,22 @@ directly through HassIO **with no programming experience required**. All you nee
is write YAML configuration files; the rest (over-the-air updates, compiling) is all
handled by esphomeyaml.
![esphomeyaml dashboard screenshot](screenshot.png)
![esphomeyaml dashboard screenshot](images/screenshot.png)
[_View the esphomeyaml documentation here_](https://esphomelib.com/esphomeyaml/index.html)
## Example
With esphomeyaml, you can go from a few lines of YAML straight to a custom-made
firmware. For example, to include a [DHT22](https://esphomelib.com/esphomeyaml/components/sensor/dht.html)
temperature and humidity sensor, you just need to include 8 lines of YAML
in your configuration file:
![esphomeyaml DHT configuration example](images/dht-example.png)
Then just click UPLOAD and the sensor will magically appear in Home Assistant:
![esphomelib Home Assistant MQTT discovery](images/temperature-humidity.png)
## Installation

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View file

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB