04-11-2023, 08:38 AM
(04-11-2023, 12:06 AM)admin Wrote: you are using KC868-server, so topic: ‘relay32/a76735003767977252b3c64d/state’ replace with ‘server/a76735003767977252b3c64d/state’
topic: ‘relay32/a76735003767977252b3c64d/set’ replace with ‘server/a76735003767977252b3c64d/set’
NOT "relay32".
Example of config:-
mqtt:
switch:
- name: ‘output-1’
unique_id: output-1
state_topic: ‘server/a76735003767977252b3c64d/state’
command_topic: ‘server/a76735003767977252b3c64d/set’
payload_on: ‘{“relay1”:{“on”:1}}’
payload_off: ‘{“relay1”:{“on”:0}}’
value_template: ‘{{ value_json.relay1.on }}’
state_on: 1
state_off: 0
i have changed the configuration file for all the 16 output but not working -- Output Light status is showing "ON" - trying to make it "off" not working
Thanks & Regards,
Arshad Abbas
Arshad Abbas