Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-H32B V4.43 new firmware update
#10
Dear Sir,
I am using home assistant on raspberry pi, and I am also using the following commands for on/off my H32B relay control module.
It works fine. But I need JUST ONE RELAY with INCHING feature, because i want to use that relay to open/close my garage door.
Thank you

switch:
- platform: mqtt
name: 'relay32B-1'
unique_id: relay32B-1
state_topic: 'relay32/80f9caa4068e7805b09f9a6a/state'
command_topic: 'relay32/80f9caa4068e7805b09f9a6a/set'
payload_on: '{"relay1":{"on":1}}'
payload_off: '{"relay1":{"on":0}}'
value_template: '{{ value_json.relay1.on }}'
state_on: 1
state_off: 0

- platform: mqtt
name: 'relay32B-2'
unique_id: relay32B-2
state_topic: 'relay32/80f9caa4068e7805b09f9a6a/state'
command_topic: '80f9caa4068e7805b09f9a6a/set'
payload_on: '{"relay2":{"on":1}}'
payload_off: '{"relay2":{"on":0}}'
value_template: '{{ value_json.relay2.on }}'
state_on: 1
state_off: 0

- platform: mqtt
name: 'relay32B-3'
unique_id: relay32B-3
state_topic: 'relay32/80f9caa4068e7805b09f9a6a/state'
command_topic: 'relay32/80f9caa4068e7805b09f9a6a/set'
payload_on: '{"relay3":{"on":1}}'
payload_off: '{"relay3":{"on":0}}'
value_template: '{{ value_json.relay3.on }}'
state_on: 1
state_off: 0
Reply


Messages In This Thread
KC868-H32B V4.43 new firmware update - by admin - 04-03-2022, 08:08 AM
RE: KC868-H32B Controller - by saun2000 - 05-06-2022, 11:55 AM
RE: KC868-H32B V4.43 new firmware update - by saun2000 - 05-07-2022, 05:16 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)