Smart Home Automation Forum
Using KC868 A2 with Home Assistant / MQTT - 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-A2 (https://www.kincony.com/forum/forumdisplay.php?fid=43)
+--- Thread: Using KC868 A2 with Home Assistant / MQTT (/showthread.php?tid=8738)



Using KC868 A2 with Home Assistant / MQTT - dco333 - 11-12-2025

Hi, 
I didn't found any manual for this board, but the A8 has one here in the forum.

https://www.kincony.com/forum/showthread.php?tid=7164

I have adapted it for using it with the A2 board. So if anyone searches this info, just follow the steps in the A8 posting, but instead add the following to your /homeassistand/configuration.yaml file.

Code:
  switch:
   - name: 'a2-kcs-output-1'
     unique_id: a2-kcs-output-1
     state_topic: 'KC868_A2/99999648C3D98/STATE'
     command_topic: 'KC868_A2/99999648C3D98/SET'
     payload_on:  '{"output1":{"value":true}}'
     payload_off:  '{"output1":{"value":false}}'
     value_template: '{{ value_json.output1.value }}'
     state_on: true
     state_off: false
   - name: 'a2-kcs-output-2'
     unique_id: a2-kcs-output-2
     state_topic: 'KC868_A2/99999648C3D98/STATE'
     command_topic: 'KC868_A2/99999648C3D98/SET'
     payload_on:  '{"output2":{"value":true}}'
     payload_off:  '{"output2":{"value":false}}'
     value_template: '{{ value_json.output2.value }}'
     state_on: true
     state_off: false

Just replace the ID 99999648C3D98 with your board serial number, shown under "Index" in the WebGUI of the KCS software.

I just added the relay-switches, I don't know if there are any more possibilities linke binary sensors or anything. If yes, I think the code from the A8 can be easily adapted.

It worked fine for me. 

Regards


RE: Using KC868 A2 with Home Assistant / MQTT - admin - 11-12-2025

the binary sensor also as same as A8 board. for example:
Code:
  binary_sensor:
   - name: 'a2-kcs-input-1'
     unique_id: a2-kcs-input-1
     state_topic: 'KC868_A2/99999648C3D98/STATE'
     value_template: '{{ value_json.input1.value }}'
     payload_on: true
     payload_off: false
this is for digital input 1, you can use by this way.