Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-H32B malfunctioned
#3
Good Morning Wei Xu,
I got 2 units of KC868-H32B modules and it's working fine with Home Assistant. I want to create an entity on Home Assistant to send a command to turn all 32 relays at once. Since you are an expert on this, Can you please tell me whether the following command is right, and if it's wrong Can you fix it for me please?
Thank you.

switch:
- name: 'output-1-32'
unique_id: output-1-32
send: {"all_outputs":{"value":true}}
send: {"all_outputs":{"value":false}}
state_topic: 'relay32/99f9caa4068e7805b09f9a6a/state'
command_topic: 'relay32/99f9caa4068e7805b09f9a6a/set'
payload_on: '{"relay1":{"on":1}}'
payload_off: '{"relay1":{"on":0}}'
value_template: '{{ value_json.relay1.on }}'
state_on: 1
state_off: 0
Reply


Messages In This Thread
KC868-H32B malfunctioned - by saun2000 - 08-21-2022, 09:26 PM
RE: KC868-H32B malfunctioned - by admin - 08-22-2022, 12:08 AM
RE: KC868-H32B malfunctioned - by saun2000 - 08-18-2023, 08:55 PM
RE: KC868-H32B malfunctioned - by admin - 08-18-2023, 10:29 PM
RE: KC868-H32B malfunctioned - by saun2000 - 08-19-2023, 01:14 PM
RE: KC868-H32B malfunctioned - by admin - 08-19-2023, 01:37 PM
RE: KC868-H32B malfunctioned - by saun2000 - 08-19-2023, 01:57 PM
RE: KC868-H32B malfunctioned - by admin - 08-19-2023, 02:02 PM
RE: KC868-H32B malfunctioned - by saun2000 - 08-20-2023, 12:10 AM
RE: KC868-H32B malfunctioned - by admin - 08-21-2023, 12:28 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)