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
#1
Hi
I have H32L I connect it to home assistant : https://www.kincony.com/how-to-create-sw...stant.html
When I power on or off channel from switch terminal board  or wall push bottom it power on but the real status not update on home assistant  app is not changing the status in home assistant to on or off
i work whit node-red ,          , need help whit this
Reply
#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
#3
(11-03-2021, 01:34 AM)admin Wrote: 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.

hi
Hello I haven't been able to arrange it , Huh 
There's a more detailed explanation option, and an example of a diagram where I put the TCP IN NODE and where I connect it
and where I config the - Feedback:RELAY-KEY-255,x,1,OK
Reply
#4
suggest use H32B, update by MQTT is best way.
Reply
#5
Do you maybe know other options?
Reply
#6
which product you are using?
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)