Hi, I'm having the same problem.
I can see how the kc868-H32 / COLB boards publish to the MQTT server, but I can't control it from home assistant.
I have modified the configuration.yaml with the suggested changes in the new-mqtt-ha.txt file without result.
below I copy a piece of the configuration.yaml file in case there is an error that I am not able to see.
mqtt:
broker: 192.168.20.39
port: 1883
username: mqtt
password: 1234
switch:
- name: 'Rele 18'
unique_id: output-18
state_topic: 'relay32/0a0b47....../state'
command_topic: 'relay32/0a0b47......./set'
payload_on: '{"relay18":{"on":1}}'
payload_off: '{"relay18":{"on":0}}'
value_template: '{{ value_json.relay18.on }}'
state_on: 1
state_off: 0
MQTT Version: 1.6.15
Home Assistant: 2022.9.4
Could you help me?
Thank you
I can see how the kc868-H32 / COLB boards publish to the MQTT server, but I can't control it from home assistant.
I have modified the configuration.yaml with the suggested changes in the new-mqtt-ha.txt file without result.
below I copy a piece of the configuration.yaml file in case there is an error that I am not able to see.
mqtt:
broker: 192.168.20.39
port: 1883
username: mqtt
password: 1234
switch:
- name: 'Rele 18'
unique_id: output-18
state_topic: 'relay32/0a0b47....../state'
command_topic: 'relay32/0a0b47......./set'
payload_on: '{"relay18":{"on":1}}'
payload_off: '{"relay18":{"on":0}}'
value_template: '{{ value_json.relay18.on }}'
state_on: 1
state_off: 0
MQTT Version: 1.6.15
Home Assistant: 2022.9.4
Could you help me?
Thank you

