Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-A16 home assistant demo configuration.yaml by MQTT
#2
I pasted this into the yaml file:

mqtt:
  switch:
    - name: output64
      state_topic: "KC868_A64/D4D4DAE11DC0/STATE"
      command_topic: "KC868_A64/D4D4DAE11DC0/SET"
      payload_on: '{"output64":{"value":true}}'
      payload_off: '{"output64":{"value":false}}'
      state_on: true
      state_off: false

After this I can control the output64 from HA.
But I don't see the history and event log in HA.


Уже разобрался. Спасибо!
Reply


Messages In This Thread
RE: KC868-A16 home assistant demo configuration.yaml by MQTT - by igurgo - 10-17-2023, 02:35 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)