ESP8266 NodeMCU V3 Multi Sensor with Home Assistant (ESPHome)

ESP8266 NodeMCU V3 with Multisensor

  • IR Flame Detector Sensor
  • LDR Light Sensor
  • RCWL-0516 Microwave Radar Motion Sensor
  • DS18B20 Temperature Sensor

Configure Home Assistant with ESPHome Add-on

esphome:
  name: esp8266_nodemcu_v3
  platform: ESP8266
  board: nodemcuv2

# Wifi
wifi:
  ssid: "your_ssid"
  password: "your_password"
  fast_connect: true
  manual_ip:
    static_ip: 192.168.1.33
    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: D6
    name: "ESP8266 NodeMCU V3 Motion Sensor"
    device_class: motion

# IR Flame Detector Sensor
  - platform: gpio
    pin:
      number: D5
      inverted: True
    name: "ESP8266 NodeMCU V3 Flame Sensor"
    
# DS18B20 Temperature Sensor
dallas:
  - pin: D7
  
sensor:
  - platform: dallas
    address: 0xFC04146F37EDFF28
    name: "ESP8266 NodeMCU V3 Temperature"
    
# LDR Light Sensor
  - platform: adc
    pin: A0
    name: "ESP8266 NodeMCU V3 Brightness"
    update_interval: 10s
    filters:
      - multiply: 3.3