Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Button switch module directly connected to PC with home assistant and Node Red
#2
if you connect switch terminal board to PC by USB-RS232, every time when you pressed the button will auto feedback message to RS232, the information will have which key is pressed and the newest output state. you can decode these string message in home assistant or Node-Red. the protocol content as same as network's . here is link of protocol: https://www.kincony.com/smart-controller...tocol.html

mainly see this:
8.Change the converse state of the relay
Send:RELAY-KEY-255,x,1 (x is the channel of Relay)
Feedback:RELAY-KEY-255,x,1,OK (x is the channel of Relay)
change the status of one relay, such as your relay is ON, when send this command , relay will be OFF. if your relay is OFF, when send this command , relay will be ON.
Reply


Messages In This Thread
RE: Button switch module directly connected to PC with home assistant and Node Red - by admin - 02-23-2022, 07:58 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)