Writing code to communicate with a serial port is much easier than having to setup something like REST. I realize the XPorts are capable of a lot more than what I mentioned, but it was just an example of how a virtual serial port on a PC can be used for sending and receiving ASCII based commands to/from a network enabled device. Basically it would be a socket on the ISY that listens on a given port (10001 is common for this sort of thing). Since UDI will not support using the existing on-board serial port of the ISY for this purpose, I figured a virtual serial port on a PC that connects to the ISY via Ethernet would be a decent compromise. The ISY should also be able to sent any status changes back to a PC via the same serial port. I'm looking for a way of sending Insteon commands to the ISY via a serial port on a PC. Obviously, this is doable but, unlike GC/LanTronics, ISY does a lot of other things that require security and without HTTP headers, it's very difficult to support security rules. If I understand it correctly, you want to be able to send raw data to ISY over a TCP connection. Unfortunately not since with HTTP we get security.
0 Comments
Leave a Reply. |