Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-A16 v1 with KCS v2.x problem after add to Home Asistant
#1
Hi,
I have an older version of the Kincony KC868-A16 board (green). I install KCS version 2.2.17 or 2.2.18 on it. I can login in (www), and set my parameters. Then I add the prepared board to Home Assistant via ESP32. I add a new device, the ESP32, and a yaml file is generated. I copy its contents to Notepad. Then I clear the yaml file and paste the code from the ESP32 for HA website into the board. I replace the key entries with the one from Notepad. OTA, Wi-Fi. The code saves without any errors. I install it via USB. Reboot DC. Plugin ethernet cable. Everything is fine. Home Assistant sees the board and I can control relays, etc. And here's the problem description. But I can't access the board via a browser; it doesn't report its IP address. The board search tool doesn't see it either. But the I/O support in HA works. What am I doing wrong?
Reply
#2
KCS and esphome yaml can't work at the same time. if you want control relay by web, you should add web service code in esphome yaml file.
Reply
#3
Thank you for your quick response. So let's clarify so I know exactly how to use these solutions. If I have a Kincony board and install KCS, how do I add all its functionalities to Home Assistant? Could you please tell me where I can learn the proper method for connecting these two systems? Regards
Reply
#4
you can use two way integrate to home assistant.
1: all KinCony board integrate to home assistant by MQTT.
2: use ESPHome yaml file create firmware download to KinCony board ESP32 module.
Reply
#5
Hi, thanks for Your help.

I managed to connect the KC868-A16 board to Assistant using two methods:

1) KC868-A16 with KCS v2.2.18 via MQTT (code in the configuration.yaml file).
2) KC868-A16 via ESPHome (uploading the generated firmware).

Now I'd like to move on to further integration. So, if I chose the KC <-> HA connection method via MQTT, can I transfer/exchange information from other inputs/outputs/protocols? For example, temperature (DS18B20) or MODBUS RS485? I'd like to know how to go about this (will it also involve entries in the configuration.yaml file?), and whether such information can be synchronized using this method.

I was thinking that it might be a good idea to change the subject of the post to something like: "KC868-A16 with KCS integration with Home Assistant." What do You think?

Thank you very much in advance for your help.
Reply
#6
i don't understand, you can explain in details for example.
Reply
#7
I have a KC868-A16 (+ KCS) integrated board with Home Assistant using the MQTT method. The 16 digital inputs and 16 digital outputs work and synchronize their status in the HA. Great.

Now I'd like to learn how to read other inputs/outputs on this board. For example, if I connect a DS18B20 temperature sensor to the KC868-A16, how can I read this data in the HA?

The same goes for other input sensors.
Reply
#8
sure, you can read DS18B20 and digital input state by MQTT protocol.
Reply
#9
Hi, 
Are the 16 digital inputs on the KC868-A16 board optoisolated (ver. 1 , green PCB) ? For example, can I short GND and DI1 using an Arduino with 5V? Do I need to use an optoisolator or possibly a relay between Arduino and KC?
Reply
#10
Are the 16 digital inputs on the KC868-A16 board optoisolated (ver. 1 , green PCB) ? Yes
just short DI with GND means TRUE. here is schematic of KC868-A16: https://www.kincony.com/download/KC868-A...ematic.pdf
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)