Jump to content

Sequential delays - best way?


Recommended Posts

Hi, new to ISY99 and converting my lighting from Homeseer. So far I am finding ISY makes it easier to do the things I want with my lighting.


I have just been going thru my Homeseer "Events" and converting them to ISY programs.


I have a few Events (such as Sunset) that I want to turn on individual lights and scenes in sequence over a period of time.


I have simply created an ISY program using the "Wait" command between "Set" statements to create the desired delays (see the Code example) - is there a better way to accomplish this? Does this approach unnecessarily use processing resources? Rather than the one Program, should I break this up into several Programs for each of the time triggers?


Also, based on the little testing I've done so far, the Wait commands appear to run in sequence and are cumulative within the program. This differs from Homeseer where each item in the event can have an explicit ON and/or OFF delay associated with it.





       Time is Sunset  - 20 minutes

       Set 'GreatRoom:Sconce' On
       Wait  5 minutes  (Random)
       Set 'GreatRoom:Peninsula KL-Pendan' 35%
       Set 'GreatRoom:Side Table Lamps' 25%
       Wait  5 minutes  (Random)
       Set Scene 'MasterBed:Table Lamps Scene' On
       Wait  5 minutes  (Random)
       Set Scene 'Global:All Ext. Coach Scene' On
       Send X10 'D6/On (3)'
       Wait  5 minutes  (Random)
       Set 'Porch:Xmas Icicle' On
       Wait  30 minutes 
       Set Scene 'Global:All Ext. Floods Scene' On
       Wait  1 hour 
       Set 'Flood:Driveway' Off

  - No Actions - (To add one, press 'Action')

Link to comment

Hi Rob,




If you want the events to be in that sequence then the program you have is the best way to do it. And, you are not using more processing power than spitting it into more programs.


Waits are simply constructs that put the execution of a program (as a whole) in a queue to woken up after that period ends.


With kind regards,


Link to comment


This topic is now archived and is closed to further replies.

  • Create New...