ESP8266 ESP-12E Multi Sensor with Home Assistant (ESPHome)

ESP8266 ESP-12E Connect Multisensor

  • DHT11 Temperature & Humidity Sensor
  • LDR Light Sensor
  • RCWL-0516 Microwave Radar Motion Sensor
ESP8266 ESP-12E Multi Sensor with Home Assistant (ESPHome)

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:

# RCWL-0516 Microwave Radar Motion Sensor
binary_sensor:
  - platform: gpio
    pin: 4
    name: "ESP8266 ESP-12E Motion Sensor"
    device_class: motion
    
# 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
    
# LDR Light Sensor
  - platform: adc
    pin: A0
    name: "ESP8266 ESP-12E Brightness"
    update_interval: 10s
    filters:
      - multiply: 3.3