The installation of KCS was easy and fast, thank you very much, that was very nice.
However, I have a question about MQTT setup.
I entered username, password, port 1883, brooker address. This data seems to be correct, but mqtt status in KCS monitor is disconnected.
I tried to add the configuration in the configuration.yaml file in Home Assistant but I'm not sure if it's spelled correctly:
i tried to use the instructions https://www.kincony.com/forum/attachment.php?aid=1779
but i am very beginner, writing code is very hard for me. Can I ask for a ready-made correct text for configuring outputs / inputs in home assistant?
Can I edit in configuration.yaml
name: 'output-1'
OR
unique_id: output-1
to make it easier to distinguish which switch is from KC868-Server and which switch is from KC868-A32? Home assistant configuration file is starting to get messy, lots of 'output'. I would like the name output to contain e.g. output-1 A32, or output-1 kitchen LED lamp.
MY try, probably something is wrong, it should be switch or something another?
mqtt:
switch:
- name: 'output-1'
unique_id: output-1
state_topic: 'KC868_A32/58BF251F90B0/state'
command_topic: 'KC868_A32/58BF251F90B0/set'
payload_on: '{"output1":{"value":true}}'
payload_off: '{"output1":{"value":false}}'
value_template: '{{ value_json.output1.on }}'
state_on: true
state_off: false
However, I have a question about MQTT setup.
I entered username, password, port 1883, brooker address. This data seems to be correct, but mqtt status in KCS monitor is disconnected.
I tried to add the configuration in the configuration.yaml file in Home Assistant but I'm not sure if it's spelled correctly:
i tried to use the instructions https://www.kincony.com/forum/attachment.php?aid=1779
but i am very beginner, writing code is very hard for me. Can I ask for a ready-made correct text for configuring outputs / inputs in home assistant?
Can I edit in configuration.yaml
name: 'output-1'
OR
unique_id: output-1
to make it easier to distinguish which switch is from KC868-Server and which switch is from KC868-A32? Home assistant configuration file is starting to get messy, lots of 'output'. I would like the name output to contain e.g. output-1 A32, or output-1 kitchen LED lamp.
MY try, probably something is wrong, it should be switch or something another?
mqtt:
switch:
- name: 'output-1'
unique_id: output-1
state_topic: 'KC868_A32/58BF251F90B0/state'
command_topic: 'KC868_A32/58BF251F90B0/set'
payload_on: '{"output1":{"value":true}}'
payload_off: '{"output1":{"value":false}}'
value_template: '{{ value_json.output1.on }}'
state_on: true
state_off: false