11-23-2025, 07:25 PM
On my A16, inputs 9-16 show all on, while nothing is physically connected.
I tested with a multimeter and there is +12V between GND and any input pin. It's the same on Inputs 1-8 btw, but they work just fine.
My device is connected to Home Assistant as ESPHome, below is the programmed YAML's relevant parts. I compared this with the recommended settings and it looks pretty much the same. Any clue what is wrong, or am I missing something in the config?
I tested with a multimeter and there is +12V between GND and any input pin. It's the same on Inputs 1-8 btw, but they work just fine.
My device is connected to Home Assistant as ESPHome, below is the programmed YAML's relevant parts. I compared this with the recommended settings and it looks pretty much the same. Any clue what is wrong, or am I missing something in the config?
Code:
i2c:
sda: 4
scl: 5
scan: true
id: bus_a
pcf8574:
- id: 'pcf8574_hub_out_1' # for output channel 1-8
address: 0x24
pcf8575: false
- id: 'pcf8574_hub_out_2' # for output channel 9-16
address: 0x25
pcf8575: false
- id: 'pcf8574_hub_in_1' # for input channel 1-8
address: 0x22
pcf8575: false
- id: 'pcf8574_hub_in_2' # for input channel 9-16
address: 0x21
pcf8575: falseCode:
binary_sensor:
#skipped inputs 1-8, they work fine
- platform: gpio
name: ${input9_name}
pin:
pcf8574: pcf8574_hub_in_2
number: 0
mode: INPUT
inverted: true
- platform: gpio
name: ${input10_name}
pin:
pcf8574: pcf8574_hub_in_2
number: 1
mode: INPUT
inverted: true
# and so on for 11-16...
