KC868-A16 ESPHome led output not working - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-A16 (https://www.kincony.com/forum/forumdisplay.php?fid=25) +--- Thread: KC868-A16 ESPHome led output not working (/showthread.php?tid=2521) |
KC868-A16 ESPHome led output not working - stanchiam - 01-17-2023 Hi, I tried turning on and off without any problem, esphome is working. But when i check the board, the output led does not light up when i turn it on. Below are the yaml i used, is there anything missing or wrong that causes the led not to light up when i switch it on using esphome? Btw i have not connect or use any DC12/24v input yet. # Example configuration entry for output input channel 1-16 pcf8574: - id: 'pcf8574_hub_out_1' # for output channel 1-8 address: 0x24 - id: 'pcf8574_hub_out_2' # for output channel 9-16 address: 0x25 - id: 'pcf8574_hub_in_1' # for input channel 1-8 address: 0x21 - id: 'pcf8574_hub_in_2' # for input channel 9-16 address: 0x22 switch: - platform: gpio name: "switch01" pin: pcf8574: pcf8574_hub_out_1 number: 0 mode: OUTPUT inverted: true - platform: gpio name: "switch02" pin: pcf8574: pcf8574_hub_out_1 number: 1 mode: OUTPUT inverted: true - platform: gpio name: "switch03" pin: pcf8574: pcf8574_hub_out_1 number: 2 mode: OUTPUT inverted: true - platform: gpio name: "switch04" pin: pcf8574: pcf8574_hub_out_1 number: 3 mode: OUTPUT inverted: true binary_sensor: - platform: gpio name: "input01" pin: pcf8574: pcf8574_hub_in_1 number: 0 mode: INPUT inverted: true - platform: gpio name: "input02" pin: pcf8574: pcf8574_hub_in_1 number: 1 mode: INPUT inverted: true - platform: gpio name: "input03" pin: pcf8574: pcf8574_hub_in_1 number: 2 mode: INPUT inverted: true - platform: gpio name: "input04" pin: pcf8574: pcf8574_hub_in_1 number: 3 mode: INPUT inverted: true Ops, connecting 12v DC Input by looping from the power, the led light up RE: KC868-A16 ESPHome led output not working - admin - 01-17-2023 can you take a photo how your wire your KC868-A16 board. i think you maybe have not connect the Vin with dc12v, so that LED will not ON. in your photo, do you have seen "12v/24v DC input" terminal port? this need connect with power supply dc12v or 24v. |