1
Fork 0

Add image of sensor

This commit is contained in:
Jake Howard 2020-08-13 21:17:12 +01:00
parent e920b646c0
commit 6b88a9d2b9
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 3 additions and 1 deletions

View file

@ -2,7 +2,7 @@
title: HomeAssistant Temperature & Humidity Sensor with ESPHome
date: 2020-08-12
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!
@ -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`.
![My NodeMCU with connected DHT11](sensor-circuit.jpg)
### 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.

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 KiB