Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
home assistant RC 2022.6 mqtt config update for configuration.yaml
#20
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
Reply


Messages In This Thread
RE: home assistant RC 2022.6 mqtt config update for configuration.yaml - by juan - 09-20-2022, 06:09 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)