(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.
02-10-2023, 10:40 PM (This post was last modified: 02-10-2023, 10:44 PM by admin.)
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
02-12-2023, 03:45 PM (This post was last modified: 02-12-2023, 04:25 PM by eligijus.)
(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: '
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: '
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: '
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: '
(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.
(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.