Smart Home Automation Forum
KC868-A16 - unable to turn on output through Home Assistant - 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 - unable to turn on output through Home Assistant (/showthread.php?tid=3436)

Pages: 1 2


KC868-A16 - unable to turn on output through Home Assistant - cholan - 10-28-2023

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


RE: KC868-A16 - unable to turn on output through Home Assistant - admin - 10-28-2023

take a photo, how your wire your board.


RE: KC868-A16 - unable to turn on output through Home Assistant - cholan - 10-28-2023

I haven't done any wiring , on board LED not turned on when i tried from Home Assistant


RE: KC868-A16 - unable to turn on output through Home Assistant - admin - 10-28-2023

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]


RE: KC868-A16 - unable to turn on output through Home Assistant - cholan - 10-29-2023

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


RE: KC868-A16 - unable to turn on output through Home Assistant - admin - 10-29-2023

if you turn on/off everyone channel of OUTPUT, whether LED ON/OFF?


RE: KC868-A16 - unable to turn on output through Home Assistant - cholan - 10-29-2023

NO, Its not turn on when i tried to control individually from Home Assistant 
On board LED not turn ON


RE: KC868-A16 - unable to turn on output through Home Assistant - admin - 10-29-2023

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


RE: KC868-A16 - unable to turn on output through Home Assistant - cholan - 10-30-2023

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


RE: KC868-A16 - unable to turn on output through Home Assistant - admin - 10-30-2023

Do you have a soldering iron?