Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-H32B malfunctioned
#10
i have tested , no any problem. this is sample config for turn ON 16CH relay and turn OFF 16CH relay by "output-1" button in dashboard.

  - name: 'output-1'
    unique_id: output-1
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    command_topic: 'server/8ae082ec66f37db231cf2b8f/set'
    payload_on:  '{"relay1":{"on":1},"relay2":{"on":1},"relay3":{"on":1},"relay4":{"on":1},"relay5":{"on":1},"relay6":{"on":1},"relay7":{"on":1},"relay8":{"on":1},"relay9":{"on":1},"relay10":{"on":1},"relay11":{"on":1},"relay12":{"on":1},"relay13":{"on":1},"relay14":{"on":1},"relay15":{"on":1},"relay16":{"on":1}}'
    payload_off:  '{"relay1":{"on":0},"relay2":{"on":0},"relay3":{"on":0},"relay4":{"on":0},"relay5":{"on":0},"relay6":{"on":0},"relay7":{"on":0},"relay8":{"on":0},"relay9":{"on":0},"relay10":{"on":0},"relay11":{"on":0},"relay12":{"on":0},"relay13":{"on":0},"relay14":{"on":0},"relay15":{"on":0},"relay16":{"on":0}}'
    value_template: '{{ value_json.relay1.on }}'
    state_on: 1
    state_off: 0

   
   
here is my config yaml file, you can compare, whether have syntax issue.

.zip   config.zip (Size: 3.94 KB / Downloads: 146)
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)