01-04-2023, 01:21 AM
these are 4 IIC address of your PCF8574 chips:
[19:51:22][I][i2c.arduino:074]: Found i2c device at address 0x21
[19:51:22][I][i2c.arduino:074]: Found i2c device at address 0x22
[19:51:22][I][i2c.arduino:074]: Found i2c device at address 0x24
[19:51:22][I][i2c.arduino:074]: Found i2c device at address 0x25
you can test use a wire short with your digital input and GND, if home assistant input state changed, that mean work well.
if your door sensor is work well, PIR can't work, i think it's no problem with home assistant, that's maybe need set for your PIR, open your PIR sensor, there have a jumper for output signal type, usually will set to NO, maybe yours if NC. I think you can change it.
[19:51:22][I][i2c.arduino:074]: Found i2c device at address 0x21
[19:51:22][I][i2c.arduino:074]: Found i2c device at address 0x22
[19:51:22][I][i2c.arduino:074]: Found i2c device at address 0x24
[19:51:22][I][i2c.arduino:074]: Found i2c device at address 0x25
you can test use a wire short with your digital input and GND, if home assistant input state changed, that mean work well.
if your door sensor is work well, PIR can't work, i think it's no problem with home assistant, that's maybe need set for your PIR, open your PIR sensor, there have a jumper for output signal type, usually will set to NO, maybe yours if NC. I think you can change it.