Smart Home Automation Forum
KC 868-A16 - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: "KCS" firmware system (https://www.kincony.com/forum/forumdisplay.php?fid=40)
+--- Thread: KC 868-A16 (/showthread.php?tid=2559)

Pages: 1 2


KC 868-A16 - eligijus - 02-09-2023

hi, please maybe we could make a full example with the kc868-A16 controller to integrate into the home assistant MQTT using the KCS firmware.


RE: KC 868-A16 - admin - 02-09-2023

there is KC868-A32 demo config for home assistant by MQTT, you can try:
https://www.kincony.com/forum/showthread.php?tid=2543
if feel hardware to understand, when we have free time, we can make a video tour.


RE: KC 868-A16 - eligijus - 02-10-2023

(02-09-2023, 10:40 PM)admin Wrote: there is KC868-A32 demo config for home assistant by MQTT, you can try:
https://www.kincony.com/forum/showthread.php?tid=2543
if feel hardware to understand, when we have free time, we can make a video tour.

Here's my file what might be missing


RE: KC 868-A16 - admin - 02-10-2023

your state_topic and command_topic is wrong.
you only need add 16 DO and 16 DI command. The server topic because i have also added KC868-Server, you not need to use. so you need to 16 DO and 16 DI as these format:

  - name: 'a16-kcs-output-1'
    unique_id: a16-kcs-output-1
    state_topic: 'KC868_A16/B48A0A404560/STATE'         replace B48A0A404560 with your boad's ID, you can check in your board webpage.
    command_topic: 'KC868_A16/B48A0A404560/SET'       replace B48A0A404560 with your boad's ID, you can check in your board webpage.
    payload_on:  '{"output1":{"value":true}}'
    payload_off:  '{"output1":{"value":false}}'
    value_template: '{{ value_json.output1.value }}'
    state_on: true
    state_off: false


  - name: 'a16-kcs-input-1'
    unique_id: a16-kcs-input-1
    state_topic: 'KC868_A16/B48A0A404560/STATE'      replace B48A0A404560 with your boad's ID
    value_template: '{{ value_json.input1.value }}'
    payload_on: true
    payload_off: false

   


RE: KC 868-A16 - eligijus - 02-12-2023

(02-10-2023, 10:40 PM)Admin Wrote: jūsų state_topic ir command_topic yra neteisingi.
jums reikia pridėti tik 16 DO ir 16 DI komandas. Serverio tema, nes aš taip pat pridėjau KC868-Server, jums nereikia naudoti. taigi jums reikia 16 DO ir 16 DI, nes šie formatai: - pavadinimas: "a16-kcs-output-1" unique_id: a16-kcs-output-1
state_topic:

"KC868_A16/B48A0A404560/STATE"
pakeiskite B48A0A404560 savo boad ID, galite patikrinti savo lentos tinklalapyje.
command_topic: "KC868_A16/B48A0A404560/SET" pakeiskite B48A0A404560 savo boad ID, galite tai patikrinti savo lentos tinklalapyje.
payload_on: '{"output1":{"value":true}}' payload_off: '{"output1":{"value":false}}' value_template: '{{ value_json.output1.value }}' state_on: true
state_off: false


- pavadinimas: 'a16-kcs-input-1' unique_id: a16-kcs-input-1
state_topic: 'KC868_A16/B48A0A404560/STATE' pakeiskite B48A0A404560 savo boad ID
value_template: '



{{ value_ json.input1.value }}'
payload_on: true
payload_off: false
Kai perkraunu namo asistentas meta stalą, kas galėtų būti

(02-12-2023, 03:45 PM)Eligijus Wrote:
(02-10-2023, 10:40 PM)Admin Wrote: jūsų state_topic ir command_topic yra neteisingi.
jums reikia pridėti tik 16 DO ir 16 DI komandas. Serverio tema, nes aš taip pat pridėjau KC868-Server, jums nereikia naudoti. taigi jums reikia 16 DO ir 16 DI, nes šie formatai: - pavadinimas: "a16-kcs-output-1" unique_id: a16-kcs-output-1
state_topic:

"KC868_A16/B48A0A404560/STATE"
pakeiskite B48A0A404560 savo boad ID, galite patikrinti savo lentos tinklalapyje.
command_topic: "KC868_A16/B48A0A404560/SET" pakeiskite B48A0A404560 savo boad ID, galite tai patikrinti savo lentos tinklalapyje.
payload_on: '{"output1":{"value":true}}' payload_off: '{"output1":{"value":false}}' value_template: '{{ value_json.output1.value }}' state_on: true
state_off: false


- pavadinimas: 'a16-kcs-input-1' unique_id: a16-kcs-input-1
state_topic: 'KC868_A16/B48A0A404560/STATE' pakeiskite B48A0A404560 savo boad ID
value_template: '



{{ value_ json.input1.value }}'
payload_on: true
payload_off: false
Kai perkraunu namo asistentas meta stalą, kas galėtų būti

(02-12-2023, 03:45 PM)Eligijus Wrote:
(02-10-2023, 10:40 PM)Admin Wrote: jūsų state_topic ir command_topic yra neteisingi.
jums reikia pridėti tik 16 DO ir 16 DI komandas. Serverio tema, nes aš taip pat pridėjau KC868-Server, jums nereikia naudoti. taigi jums reikia 16 DO ir 16 DI, nes šie formatai: - pavadinimas: "a16-kcs-output-1" unique_id: a16-kcs-output-1
state_topic:

"KC868_A16/B48A0A404560/STATE"
pakeiskite B48A0A404560 savo boad ID, galite patikrinti savo lentos tinklalapyje.
command_topic: "KC868_A16/B48A0A404560/SET" pakeiskite B48A0A404560 savo boad ID, galite tai patikrinti savo lentos tinklalapyje.
payload_on: '{"output1":{"value":true}}' payload_off: '{"output1":{"value":false}}' value_template: '{{ value_json.output1.value }}' state_on: true
state_off: false


- pavadinimas: 'a16-kcs-input-1' unique_id: a16-kcs-input-1
state_topic: 'KC868_A16/B48A0A404560/STATE' pakeiskite B48A0A404560 savo boad ID
value_template: '



{{ value_ json.input1.value }}'
payload_on: true
payload_off: false
Kai perkraunu namo asistentas meta stalą, kas galėtų būti

(02-12-2023, 03:45 PM)Eligijus Wrote:
(02-10-2023, 10:40 PM)Admin Wrote: jūsų state_topic ir command_topic yra neteisingi.
jums reikia pridėti tik 16 DO ir 16 DI komandas. Serverio tema, nes aš taip pat pridėjau KC868-Server, jums nereikia naudoti. taigi jums reikia 16 DO ir 16 DI, nes šie formatai: - pavadinimas: "a16-kcs-output-1" unique_id: a16-kcs-output-1
state_topic:

"KC868_A16/B48A0A404560/STATE"
pakeiskite B48A0A404560 savo boad ID, galite patikrinti savo lentos tinklalapyje.
command_topic: "KC868_A16/B48A0A404560/SET" pakeiskite B48A0A404560 savo boad ID, galite tai patikrinti savo lentos tinklalapyje.
payload_on: '{"output1":{"value":true}}' payload_off: '{"output1":{"value":false}}' value_template: '{{ value_json.output1.value }}' state_on: true
state_off: false


- pavadinimas: 'a16-kcs-input-1' unique_id: a16-kcs-input-1
state_topic: 'KC868_A16/B48A0A404560/STATE' pakeiskite B48A0A404560 savo boad ID
value_template: '



{{ value_ json.input1.value }}'
payload_on: true
payload_off: false
Kai perkraunu namo asistentas meta stalą, kas galėtų būti



RE: KC 868-A16 - admin - 02-13-2023

i have told you to use:

state_topic: 'KC868_A16/90380CA4382C/STATE'
command_topic: 'KC868_A16/90380CA4382C/SET'

but you are using: (it's mistake) Do you see it??

state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE'
command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET'


RE: KC 868-A16 - eligijus - 02-13-2023

(02-13-2023, 12:19 AM)admin Wrote: i have told you to use:

state_topic: 'KC868_A16/90380CA4382C/STATE'
command_topic: 'KC868_A16/90380CA4382C/SET'

but you are using: (it's mistake) Do you see it??

state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE'
command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET'
I fixed it but it still doesn't work Sad


RE: KC 868-A16 - admin - 02-14-2023

your photo is not clearly, please use the screenshot tool, i think you just check with the home assistant error message.


RE: KC 868-A16 - eligijus - 02-14-2023

(02-14-2023, 12:16 AM)admin Wrote: your photo is not clearly, please use the screenshot tool, i think you just check with the home assistant error message.

I upload my file


RE: KC 868-A16 - eligijus - 02-15-2023

(02-14-2023, 10:14 AM)eligijus Wrote:
(02-14-2023, 12:16 AM)admin Wrote: your photo is not clearly, please use the screenshot tool, i think you just check with the home assistant error message.

I upload my file
 Can you help?