ESP8266 ESP-12E and DHT11 Sensor on Home Assistant (ESPHome)
ESP8266 ESP-12E Connect DHT11 Temperature & Humidity Sensor
Configure Home Assistant with ESPHome Add-on
esphome:
name: esp8266_esp-12e
platform: ESP8266
board: esp01_1m
wifi:
ssid: "your_ssid"
password: "your_password"
fast_connect: true
manual_ip:
static_ip: 192.168.1.31
gateway: 192.168.1.1
subnet: 255.255.255.0
dns1: 192.168.1.1
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
# DHT11 Temperature & Humidity Sensor
sensor:
- platform: dht
pin: 5
temperature:
name: "ESP8266 ESP-12E Temperature"
accuracy_decimals: 0
humidity:
name: "ESP8266 ESP-12E Humidity"
update_interval: 10s