11-13-2021, 08:48 AM
(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 ,
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