io_guy Posted April 13, 2010 Share Posted April 13, 2010 I'm trying to setup 2-way communication with an RS-232 to Ethernet device. Sending commands from the ISY is easy via the network module. Getting info into the ISY isn't. I want to read my alarm system status so I thought I could setup a number of programs in the ISY that always run "true". The data from the Ethernet adapter would be read by a computer that would then (via the WSDL) enable/disable the programs on the ISY. Diabling the program value false, enabled programs are true. The programs are really just variables/flags that hold the status info from my Ethernet device. I could them use the flag programs as variables within other ISY programs. Can I enable/disable programs from the WSDL? Link to comment
bpwwer Posted April 13, 2010 Share Posted April 13, 2010 Can I enable/disable programs from the WSDL? It's not exposed in the WSDL but you can enable/disable programs via SOAP calls to the ISY. There's some examples of doing this in the developers section of the forum (mostly using perl). I don't recall of the top of my head if this can be done with the REST interface. It's not too hard to create code in C# or VB .NET to create the HTTP SOAP requests. I'm available to provide help with this via PM or email bob at universal-devices dot com. Link to comment
Sub-Routine Posted April 14, 2010 Share Posted April 14, 2010 Using Run (Then) or Run (Else) sets a program as True or False. That would be easier to cue from than Enabled / Disabled. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.