09-11-2024, 05:08 PM
Hi
i tested it but it doesn't work as expected.
I've connected the output of the sensor to D3, and it automatically changed the sensor to be "High" (i guess because the output of A6 on digital pins is 12v).
with this the sensor does not work (it's always "on")
See this wiring diagram.
i'm using ESPHome with this configuration:
i tested it but it doesn't work as expected.
I've connected the output of the sensor to D3, and it automatically changed the sensor to be "High" (i guess because the output of A6 on digital pins is 12v).
with this the sensor does not work (it's always "on")
See this wiring diagram.
i'm using ESPHome with this configuration:
Code:
binary_sensor:
- platform: gpio
name: "Sw1"
pin:
pcf8574: pcf8574_hub_in_1
number: 0
mode: INPUT
inverted: true
- platform: gpio
name: "E3F-DS30P1"
pin:
pcf8574: pcf8574_hub_in_1
number: 2
mode: INPUT
inverted: true