![]() |
|
PCF8574 IO Expansion i2c relay board -DO8 ESPHome config yaml demo - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: Extender module (https://www.kincony.com/forum/forumdisplay.php?fid=57) +--- Thread: PCF8574 IO Expansion i2c relay board -DO8 ESPHome config yaml demo (/showthread.php?tid=4591) |
PCF8574 IO Expansion i2c relay board -DO8 ESPHome config yaml demo - admin - 02-23-2024 i2c: sda: 4 #replace by your board's pin define scl: 5 #replace by your board's pin define scan: true id: bus_a pcf8574: - id: 'pcf8574_hub_out_1' # for output channel 1-8 address: 0x24 #replace by your PCF8574 address switch: - platform: gpio name: "a8-light1" pin: pcf8574: pcf8574_hub_out_1 number: 0 mode: OUTPUT inverted: true - platform: gpio name: "a8-light2" pin: pcf8574: pcf8574_hub_out_1 number: 1 mode: OUTPUT inverted: true - platform: gpio name: "a8-light3" pin: pcf8574: pcf8574_hub_out_1 number: 2 mode: OUTPUT inverted: true - platform: gpio name: "a8-light4" pin: pcf8574: pcf8574_hub_out_1 number: 3 mode: OUTPUT inverted: true - platform: gpio name: "a8-light5" pin: pcf8574: pcf8574_hub_out_1 number: 4 mode: OUTPUT inverted: true - platform: gpio name: "a8-light6" pin: pcf8574: pcf8574_hub_out_1 number: 5 mode: OUTPUT inverted: true - platform: gpio name: "a8-light7" pin: pcf8574: pcf8574_hub_out_1 number: 6 mode: OUTPUT inverted: true - platform: gpio name: "a8-light8" pin: pcf8574: pcf8574_hub_out_1 number: 7 mode: OUTPUT inverted: true download yaml demo for ESPHome:
DO8_config_yaml.txt (Size: 1.58 KB / Downloads: 404)
about A0,A1,A2 i2c address setting: A0 A1 A2 0 0 0 =0x20 0 0 1 =0x21 0 1 0 =0x22 0 1 1 =0x23 1 0 0 =0x24 1 0 1 =0x25 1 1 0 =0x26 1 1 1 =0x27 RE: PCF8574 IO Expansion i2c relay board -DO8 ESPHome config yaml demo - montemartello - 07-16-2025 but with this configuration (OUTPUT) it is not possible to intercept the relay status if operated manually! BR E. RE: PCF8574 IO Expansion i2c relay board -DO8 ESPHome config yaml demo - admin - 07-16-2025 yes, this manual control button use by phsical way, it work without software. Just used in emergency situations. RE: PCF8574 IO Expansion i2c relay board -DO8 ESPHome config yaml demo - Krzysrok - 10-29-2025 Is there a chance to connect IO expanders to ksc v3 firmware? To control them from your aplication? Idea is to connect your base board like b16 to loxone with that expanders RE: PCF8574 IO Expansion i2c relay board -DO8 ESPHome config yaml demo - admin - 10-29-2025 if you want extend by i2c device, you can use by ESPHome. such as DI8 i2c digital input module and DO8 i2c relay module. |