Smart Home Automation Forum
Error on ESPHOME Official Config? - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: KC868-A series and Uair Smart Controller (https://www.kincony.com/forum/forumdisplay.php?fid=6)
+--- Thread: Error on ESPHOME Official Config? (/showthread.php?tid=5922)



Error on ESPHOME Official Config? - tolbier - 06-17-2024

Is it possible that addresses for input channels on Kincony868 A16 were exchanged on official configuration on esphome? 
https://devices.esphome.io/devices/KinCony-KC868-A16#basic-configuration

I was testing my new device and it surprised me that adresses were exchanged
This is my configuration for input addresses
Code:
  - id: 'pcf8574_hub_in_1'  # for input channel 1-8
    address: 0x22
  - id: 'pcf8574_hub_in_2'  # for input channel 9-16
    address: 0x21



RE: Error on ESPHOME Official Config? - admin - 06-17-2024

sure, you can replace the i2c address, it will auto scanned by ESPHome, you can see the i2c address in ESPHome LOG.


RE: Error on ESPHOME Official Config? - Philadam - 06-18-2024

I know, I had to flip them too to get the right inputs to outputs.

Is wrong:

  - id: 'pcf8574_hub_in_1'  # for input channel 1-8
    address: 0x21

  - id: 'pcf8574_hub_in_2'  # for input channel 9-16
    address: 0x22

Is correct:

  - id: 'pcf8574_hub_in_1'  # for input channel 1-8
    address: 0x22

  - id: 'pcf8574_hub_in_2'  # for input channel 9-16
    address: 0x21


RE: Error on ESPHOME Official Config? - admin - 06-18-2024

whether work well now?


RE: Error on ESPHOME Official Config? - tolbier - 06-18-2024

(06-18-2024, 05:07 AM)admin Wrote: whether work well now?

Yes it worked !


RE: Error on ESPHOME Official Config? - admin - 06-18-2024

ok, good.