oskrypuch Posted January 26, 2011 Share Posted January 26, 2011 OK, I have event1, event2 and actionA. If event1 occurs, then if within 20 seconds event2 occurs, then do actionA. How do I code that in ISY? * Orest Link to comment
oskrypuch Posted January 26, 2011 Author Share Posted January 26, 2011 OK, figured out a way to do it ... program var entry sense.wait (a variable) program entry sense If Program 'var garage open' is True And Program 'var dark' is True And Program 'var sleeptime' is False Then Run Program 'var entry sense.wait' (Then Path) Wait 20 seconds Run Program 'var entry sense.wait' (Else Path) Else - No Actions - (To add one, press 'Action') program entry sense.do If Control 'laundry rm / LND - PIR-Sensor' is switched On And Program 'var entry sense.wait' is True Then Set 'front hallway / FH - Pots' 80% Set 'kitchen / KIT - Pot' On Run Program 'var entry sense.wait' (Else Path) Else - No Actions - (To add one, press 'Action') Link to comment
Illusion Posted January 28, 2011 Share Posted January 28, 2011 very cool. creative. makes me what to come up with an application for this myself. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.