Hello everyone, just posting for the first time.
Have you ever integrated using ESPHome with the following flame sensor?
See section Flame Sensor in that article.
This is the code below that I have in the yaml which is valid code
The problem I have is with the device_class I think, I am not sure which one to use
I tried with opening, also smoke as values, but neither work fine
It is also the first time for me using the ESPHome integration
The Flame sensor is recognized by Home Assistant. The problem is that it is always saying that there is smoke or fire, so it is Detected all the time.
Doing the work from Arduino IDE it works fine but I don´t know exactly what are the parameters I have to use in the yaml file, I don´t know either if binary_sensor is the right definition. Maybe, I have to use another type of sensor description?
Here is the current code:
esphome:
name: esp8266_detector_llama
platform: ESP8266
board: nodemcuv2
wifi:
ssid: “ElBaden I”
password: <my password - not visualized here>
Optional manual IP
manual_ip:
static_ip: 192.168.1.10
gateway: 192.168.1.1
subnet: 255.255.255.0
Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: “Esp8266 Detector Llama”
password: “dl4j2DdqkIP2”
captive_portal:
Enable logging
logger:
Enable Home Assistant API
api:
ota:
binary_sensor:
- platform: gpio
pin: D4
name: “Detector Llama”
device_class: smoke
Thank you in advance for your help
Juan