Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i need help how to use tcp feedback node to update relay state
#2
add "TCP in" node , when switch button pressed or wireless remoter pressed, it will feedback a string that which key is pressed. as this format:
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.

more details: https://www.kincony.com/smart-controller...tocol.html
when you get the string, get the sub-string "x,1". such as "2,1" means : key-2 is pressed and relay2 is ON. "2,0" means : key-2 is pressed and relay2 is OFF.

so you can get the sub-string to know the state and update the entity state for home assistant.
Reply


Messages In This Thread
RE: i need help how to use tcp feedback node to update relay state - by admin - 11-03-2021, 01:34 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)