Sorry to bring up a relatively old thread, but this is great info thank you very much!
Any idea how I would be able to control a 2 port KP200 socket? Single IP, 2 sockets, each requiring individual ON OFF control. Your strings work on these devices but bot sockets per device respond to the ON and OFF calls.
I've done some digging online but am unable to find any information regarding IP control of the KP200s.