english_1969 Posted September 3, 2009 Share Posted September 3, 2009 Hi, I am trying to control lights in my insteon network from a crestron controller. I am curious if the serial port on the ISY-99i can be used in a way that would allow for control of lights 'connected' to the isy? Thanks, Warren Link to comment
MikeB Posted September 3, 2009 Share Posted September 3, 2009 No, the ISY's serial port is primarily for configuring the ISY. You could, however, use an ethernet to RS-232 adapter to send commands from the ISY to serial devices. This requires the ISY-99's optional Networking module. The ISY will not, however, receive serial commands. I'm not sure if anyone has tried interfacing with a Crestron controller. See this link for a bit more information: http://www.universal-devices.com/mwiki/ ... _Resources Link to comment
english_1969 Posted September 3, 2009 Author Share Posted September 3, 2009 As far as i can tell, I could possibly use REST to do this. My crestron controller can talk to ethernet devices although I'm yet sure about it being able to emulate a browser. To get the rest module on my ISY, I need to buy the $49 network module...correct? I noticed I could do that from the admin module. Thanks, Warren Link to comment
MikeB Posted September 4, 2009 Share Posted September 4, 2009 The REST interface is now included free with the latest firmware releases. Link to comment
bpwwer Posted September 4, 2009 Share Posted September 4, 2009 As far as i can tell, I could possibly use REST to do this. My crestron controller can talk to ethernet devices although I'm yet sure about it being able to emulate a browser.To get the rest module on my ISY, I need to buy the $49 network module...correct? I noticed I could do that from the admin module. Thanks, Warren Can the crestron controller send strings to an IP address? If so then you should be able to use the REST interface. I wrote a simple little program so that I could use the REST interface from the Linux command line. It creates a string based on command line arguments that looks like this: GET /rest/nodes/x x x x/cmd/DON HTTP/1.1\r\nAuthorization: Basic YWRtaW46YWRtaW4=\r\n\r\n The authorization string above is admin:admin base64 encoded. The "x x x x" is the device address. My program just opens a network connection to the ISY and sends that string. So if you can format a string like that with the crestron, it should work. Link to comment
english_1969 Posted September 4, 2009 Author Share Posted September 4, 2009 Thank Bob! I knew you would have an answer...I've been using your plug-in for cinemar for little while with nice success. The crestron can send strings like this, the only thing I may need a little more guidance on is the authentication. So then I have probably simple question: I've not been playing with the ISY that much, so actually getting it updated to the latest firmware is a little fuzzy. Also, is there a simple check I can run to verify that REST is up and working on the unit? Thanks, Warren Link to comment
english_1969 Posted September 4, 2009 Author Share Posted September 4, 2009 Okay, Get my ISY updated and verified that rest is working. I'll get the rest a shot from my controller. Thanks, W Link to comment
MikeB Posted September 4, 2009 Share Posted September 4, 2009 So then I have probably simple question: I've not been playing with the ISY that much, so actually getting it updated to the latest firmware is a little fuzzy. Please check this thread for instructions on updating to the latest firmware: http://forum.universal-devices.com/viewtopic.php?t=3007 Also, is there a simple check I can run to verify that REST is up and working on the unit? Information on using the REST interface here: http://forum.universal-devices.com/viewtopic.php?t=2252 Link to comment
bpwwer Posted September 4, 2009 Share Posted September 4, 2009 Thank Bob! I knew you would have an answer...I've been using your plug-in for cinemar for little while with nice success. The crestron can send strings like this, the only thing I may need a little more guidance on is the authentication. Thanks, Warren I'm glad the MLISY plug-in is working well. It is in need of an update though. It's pretty easy to find something to do the base 64 encoding. This site showed up on a google search and seems to work: http://www.motobit.com/util/base64-decoder-encoder.asp However, it's up to you if want to trust entering your isy password in a on-line form. Linux systems typically have a command 'base64' that can do this. I'm sure there are similar programs for pretty much any OS. Link to comment
Recommended Posts