matapan Posted November 9, 2011 Posted November 9, 2011 Can anyone think of a way in which the scheduled On Off times for a device can be updated dynamically? Can these times be fed to ISY from an external source? Before Example (Pseudocode): At Sunrise - 45 minutes Then Turn On Front Porch Lights After Example: At for a duration of Then Turn on Front Porch Lights and fed to ISY via external source (e.g. email, insteon relay device state, etc.) It would be nice to mimic some of the predictive capabilities of the Nest thermostat by processing the ISY log information from time to time and creating programs that are more elastic and accommodating to the user.
apostolakisl Posted November 9, 2011 Posted November 9, 2011 There is no way to do what you ask directly. Indirectly you could use variables. io_guy has written programs that set ISY variables from outside sources. Namely, cai webcontrol board and a dsc alarm. The applications run in the background on a pc. So, you could have some other device set a variable in ISY and the variable change would trigger the action. In your example, it would be something like this In your example, the if would say something like if variable x is 1, then turn on light. A second program could be used to turn it off. If variable x is 0, then turn light off. You would use state variables for this so the programs would trigger with the change in the variable. You would need two things here. Another network enabled device that has some way of knowing what to do, and an io_guy style application to serve as the intermediary between your other network enabled device and your ISY.
matapan Posted November 11, 2011 Author Posted November 11, 2011 Interesting. It would be very instructive if someone could explain how ISY variable(s) can be updated externally.
Michel Kohanim Posted November 13, 2011 Posted November 13, 2011 Hi matapan, Do you have our WSDK documentation? With kind regards, Michel
Recommended Posts