Smart Home Automation Forum

Full Version: KC868-A16 - unable to turn on output through Home Assistant
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Good Morning , 
I have purchased KC868-A16 and i am trying to use it through Home Assistant.
Unable to turn on Output from Home Assistant.

i used same code in this thred https://www.kincony.com/forum/showthread.php?tid=1628

kindly share me working yaml file
take a photo, how your wire your board.
I haven't done any wiring , on board LED not turned on when i tried from Home Assistant
take a photo, maybe you have not connect power wire with Vin terminal. see this diagram, all RED "12v/24v DC Input" should be connected.
[Image: KC868-A16-1_03.jpg]
yes, its working after connect Vin terminal,

But Output 2,3,5,6,7 and 8 not turning to on when i tried to turn on all outputs from home assistant
if you turn on/off everyone channel of OUTPUT, whether LED ON/OFF?
NO, Its not turn on when i tried to control individually from Home Assistant 
On board LED not turn ON
what's your I2C address used in ESPHome config yaml? i think you need to use new i2c bus address will solve your problem, see here details:
https://www.kincony.com/forum/showthread.php?tid=2128
hi I tried to change the I2C address as mentioned in https://www.kincony.com/forum/showthread.php?tid=2128 , below is the log 


[09:31:21][C][logger:416]: Logger:
[09:31:21][C][logger:417]:  Level: DEBUG
[09:31:21][C][logger:418]:  Log Baud Rate: 115200
[09:31:21][C][logger:420]:  Hardware UART: UART0
[09:31:21][C][i2c.arduino:053]: I2C Bus:
[09:31:21][C][i2c.arduino:054]:  SDA Pin: GPIO4
[09:31:21][C][i2c.arduino:055]:  SCL Pin: GPIO5
[09:31:21][C][i2c.arduino:056]:  Frequency: 50000 Hz
[09:31:21][C][i2c.arduino:059]:  Recovery: bus successfully recovered
[09:31:21][I][i2c.arduino:069]: Results from i2c bus scan:
[09:31:21][I][i2c.arduino:075]: Found i2c device at address 0x21
[09:31:21][I][i2c.arduino:075]: Found i2c device at address 0x22
[09:31:21][I][i2c.arduino:075]: Found i2c device at address 0x24
[09:31:21][I][i2c.arduino:075]: Found i2c device at address 0x25
[09:31:21][C][pcf8574:021]: PCF8574:
[09:31:21][C][pcf8574:022]:  Address: 0x3C
[09:31:21][C][pcf8574:023]:  Is PCF8575: NO
[09:31:21][E][pcf8574:025]: Communication with PCF8574 failed!
[09:31:21][D][api:102]: Accepted 192.168.10.64
[09:31:21][C][pcf8574:021]: PCF8574:
[09:31:21][C][pcf8574:022]:  Address: 0x3D
[09:31:21][C][pcf8574:023]:  Is PCF8575: NO
[09:31:21][E][pcf8574:025]: Communication with PCF8574 failed!
[09:31:21][C][pcf8574:021]: PCF8574:
[09:31:21][C][pcf8574:022]:  Address: 0x39
[09:31:21][C][pcf8574:023]:  Is PCF8575: NO
[09:31:21][E][pcf8574:025]: Communication with PCF8574 failed!
[09:31:21][D][api.connection:1032]: Home Assistant 2023.10.5 (192.168.10.64): Connected successfully
[09:31:21][C][pcf8574:021]: PCF8574:
[09:31:21][C][pcf8574:022]:  Address: 0x3A
[09:31:21][C][pcf8574:023]:  Is PCF8575: NO
[09:31:21][E][pcf8574:025]: Communication with PCF8574 failed!


FYI
I changed back I2C address 0x24,0x24,0x21,0x22 , now All my Input are working as expected like before.
But Output 2,3,5,6,7 and 8 not working other outputs are working as expected
Do you have a soldering iron?
Pages: 1 2