Flame Module Sensor

Hi, a rather small problem but I want to ask about this.

I’m using a flame module sensor in my Raspberry Pi GPIO for Home Assistant, and when I put a candle near the sensor, the sensor did work that it emits the green light.

But why in the Home Assistant menu, the flame module sensor is still shown as “off”? What should I do to solve this? I use the standard binary_sensor rpi_gpio configuration for the flame module sensor.

What voltage are you powering the flame sensor board with, 3.3V or 5V?

I use 3.3 V. But I already tried with 5 V as well and the HUB still shows it as off when the sensor physically turns on (green light) - still failed with 5 V.

3.3V is what you want for the pi’s 3.3V logic input.

Can you measure the voltage on the pin?

Can you share your GPIO binary sensor config?

The pin of the Raspberry Pi or the Flame Module Sensor?

The config is here:

binary_sensor:
  - platform: rpi_gpio
    ports:
      12: Flame Sensor
    invert_logic: false
    pull_mode: DOWN