Smart Home Automation Forum
KC868-H4 Relay - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: KC868-HxB series Smart Controller (https://www.kincony.com/forum/forumdisplay.php?fid=2)
+--- Thread: KC868-H4 Relay (/showthread.php?tid=171)



KC868-H4 Relay - opfinder - 01-04-2021

Hi There
What is the correct cmd to turn on off relay on this (board is TCP server)
I can connect but no answer, have try with following cmds
RELAY-SET-1,1,1 / RELAY-SET-1,1,0
that is what you own software is sending (Relay.Exe), here is allso no respons
have allso try with these cmd's
RELAY-SET-255,1,1 / RELAY-SET-255,1,0
this work for me with KC868-H16


RE: KC868-H4 Relay - admin - 01-04-2021

now use RELAY-SET-255,1,1 is correct.
first byte is alway fixed by 255 in any protocol command.
the old version is use RELAY-SET-1,1,1 , if you use -1 , you need send initialization command firstly. so now we suggest use -255, it's easy to use, without send initialization command is ok.