Version
0.8.x

PCF8575 expander


PCF8575

I2C expander used in relay boards. You likely must have this configured. Some version of relay boards has 2 of PCF8575 installed.

Example config

pcf8575:
  - id: pcf1
    address: 0x20
  - id: pcf2
    address: 0x21

Configuration variables:

  • id (Required, string) - ID to use. It’s internal usage only, but you need to define it so you can define output pins properly.
  • address (Required, string) - I2C address of the device
  • init_sleep (Optional, timeperiod, default: 0s) - how long to wait for PCF8575 to respond. Some PCF8575 has delay during initializing. This option will wait for X second for device to respond.