tell app "IndigoServer"
send insteon remote poke to address "0e.60.2f" at memory location MEM_ADDR_HERE byte list {1, 2, 3, 4, 5}
end tell
support wrote:There currently is not a way to remotely peek/read the bytes out via AppleScript. That is a bit more difficult because all the INSTEON communication happen in an asynchronous fashion so there isn't currently a good mechanism to get the peeked result back to the AppleScript caller.
pjeski wrote:Why couldn't you set up a "peek" command to use a couple if Indigo variables that could be updated when the asynchronous response comes in and could be checked in the script for the update?
support wrote:pjeski wrote:Why couldn't you set up a "peek" command to use a couple if Indigo variables that could be updated when the asynchronous response comes in and could be checked in the script for the update?
That is a possible solution. It would require some overhead in the script (polling of the variables), but that would probably be the easiest solution to implement.
pjeski wrote:Can variables cause triggers? Could the availability of the peek data trigger a script?
Users browsing this forum: No registered users and 5 guests