mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 14:18:14 +00:00
Add example
This commit is contained in:
parent
34bd837ff1
commit
9e81f6a2c3
@ -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.
|
||||
|
||||

|
||||

|
||||
|
||||
[_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:
|
||||
|
||||

|
||||
|
||||
Then just click UPLOAD and the sensor will magically appear in Home Assistant:
|
||||
|
||||

|
||||
|
||||
## Installation
|
||||
|
||||
|
BIN
esphomeyaml-edge/images/dht-example.png
Normal file
BIN
esphomeyaml-edge/images/dht-example.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
BIN
esphomeyaml-edge/images/temperature-humidity.png
Normal file
BIN
esphomeyaml-edge/images/temperature-humidity.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.3 KiB |
Loading…
x
Reference in New Issue
Block a user