12-16-2024, 07:04 AM
(12-16-2024, 12:15 AM)admin Wrote: your topic for OUTPUT is wrong. You should use:
state_topic: 'KC868_E16S/C82E18C85694/state'
command_topic: 'KC868_E16S/C82E18C85694/set'
now mistake is :
state_topic: 'server/C82E18C85694/state'
command_topic: 'server/C82E18C85694/set'
I edit topic, but still not working:
mqtt:
switch:
- name: "output-1"
unique_id: "output-1"
state_topic: 'KC868_E16S/C82E18C85694/state'
command_topic: 'KC868_E16S/C82E18C85694/set'
payload_on: '{"relay1":{"on":1}}'
payload_off: '{"relay1":{"on":0}}'
value_template: '{{ value_json.relay1.on }}'
state_on: 1
state_off: 0
Any idea? Do I have the outputs set correctly on the KC868-E16S?
thanks J