(02-23-2022, 07:58 AM)admin Wrote: 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.
Hi. Thank you for your answer.
I have connected switch terminal board to PC by USB-RS232. I´m running Home asssistant in virtualbox and using node red in home asssistant.
With node "serial in" after configuration serial port (USB1), I´m getting weird string in debug - as you can see on printscreen.
I was changing "Baud rate, but no one except 57600 wasn´t working.
Can you help me to solve this problem?
Thx. Jirka

