Add image of sensor
This commit is contained in:
parent
e920b646c0
commit
6b88a9d2b9
2 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
title: HomeAssistant Temperature & Humidity Sensor with ESPHome
|
title: HomeAssistant Temperature & Humidity Sensor with ESPHome
|
||||||
date: 2020-08-12
|
date: 2020-08-12
|
||||||
tags: [self-hosting]
|
tags: [self-hosting]
|
||||||
image: resource:ha-dashboard.png
|
image: resource:sensor-circuit.jpg
|
||||||
---
|
---
|
||||||
|
|
||||||
The majority of England (where I live) is being hit by [quite a heatwave](https://www.dailymail.co.uk/news/article-8610963/UK-weather-Britain-swelter-TEN-day-heatwave.html). It's hot here, like really hot!
|
The majority of England (where I live) is being hit by [quite a heatwave](https://www.dailymail.co.uk/news/article-8610963/UK-weather-Britain-swelter-TEN-day-heatwave.html). It's hot here, like really hot!
|
||||||
|
@ -51,6 +51,8 @@ The first step is to identify the right pins on the DHT sensor. There are 3 pins
|
||||||
|
|
||||||
The pins labelled on the board are not necessarily all accessible to ESPHome, nor are the numbers correct. Be sure to check the [documentation](https://esphome.io/devices/nodemcu_esp8266.html) for the specific board you're using, and connect the pins correctly. In my case, I connected the data line to the pin labelled `D1`.
|
The pins labelled on the board are not necessarily all accessible to ESPHome, nor are the numbers correct. Be sure to check the [documentation](https://esphome.io/devices/nodemcu_esp8266.html) for the specific board you're using, and connect the pins correctly. In my case, I connected the data line to the pin labelled `D1`.
|
||||||
|
|
||||||
|
![My NodeMCU with connected DHT11](sensor-circuit.jpg)
|
||||||
|
|
||||||
### Create firmware
|
### Create firmware
|
||||||
|
|
||||||
Next we need to write the config file which will be turned into our firmware. ESPHome configuration is just `yaml` files, which makes editing and updating simple. The web UI contains a helpful wizard to create the configuration files.
|
Next we need to write the config file which will be turned into our firmware. ESPHome configuration is just `yaml` files, which makes editing and updating simple. The web UI contains a helpful wizard to create the configuration files.
|
||||||
|
|
BIN
content/posts/esphome-dht-sensor/sensor-circuit.jpg
Normal file
BIN
content/posts/esphome-dht-sensor/sensor-circuit.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 360 KiB |
Loading…
Reference in a new issue