Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with A16 inputs 9-16
#1
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?

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: false
Code:
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...
Reply


Messages In This Thread
Problem with A16 inputs 9-16 - by jarekD - 11-23-2025, 07:25 PM
RE: Problem with A16 inputs 9-16 - by admin - 11-23-2025, 10:54 PM
RE: Problem with A16 inputs 9-16 - by jarekD - 11-24-2025, 05:19 PM
RE: Problem with A16 inputs 9-16 - by admin - 11-24-2025, 11:17 PM
RE: Problem with A16 inputs 9-16 - by jarekD - 11-25-2025, 12:28 AM
RE: Problem with A16 inputs 9-16 - by admin - 11-25-2025, 01:30 AM
RE: Problem with A16 inputs 9-16 - by jarekD - 11-25-2025, 06:06 PM
RE: Problem with A16 inputs 9-16 - by admin - 11-25-2025, 11:26 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)