WeMos D1 Mini Multi Sensor with Home Assistant (ESPHome)
WeMos D1 Mini Connect Multisensor
- IR Flame Detector Sensor
- RCWL-0516 Microwave Radar Motion Sensor
- DS18B20 Temperature Sensor
- MQ2 Smoke Gas Sensor
Configure Home Assistant with ESPHome Add-on
esphome:
name: esp8266_wemos_d1_mini
platform: ESP8266
board: d1_mini
wifi:
ssid: "your_ssid"
password: "your_password"
fast_connect: true
manual_ip:
static_ip: 192.168.1.32
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: D3
name: "WeMos D1 Mini Motion Sensor"
device_class: motion
# IR Flame Detector Sensor
- platform: gpio
pin:
number: D2
inverted: True
name: "WeMos D1 Mini Flame Sensor"
# DS18B20 Temperature Sensor
dallas:
- pin: D5
sensor:
- platform: dallas
address: 0x15000006F3A18128
name: "WeMos D1 Mini Temperature"
# MQ2 Smoke Gas Sensor
- platform: adc
pin: A0
name: "WeMos D1 Mini Gas Sensor"
update_interval: 1s
filters:
- multiply: 100
unit_of_measurement: "%"
icon: "mdi:percent"