WeMos D1 Mini and Flame Detector Sensor on Home Assistant

A Wiring Diagram WeMos D1 Mini with IR Flame Detector Sensor

ESP8266 WeMos D1 Mini IR Flame Sensor

This Config ESPHome on Home Assistant

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:

# IR Flame Detector Sensor
binary_sensor:
  - platform: gpio
    pin:
      number: D2
      inverted: True
    name: "WeMos D1 Mini Flame Sensor"

Tags: