richardl007 Posted November 20, 2011 Posted November 20, 2011 This program never gets pasted the wait part? If i put the notification before the wait i get it. if i put the notification after the wait it doesn't work? the " Set Scene 'Multi-way / Fernace Room' Off" never works.... If Elk Zone 'Funace room M' is Violated Then Set Scene 'Multi-way / Fernace Room' On Wait 20 minutes Send Notification to 'Richard Leibov' Set Scene 'Multi-way / Fernace Room' Off Else - No Actions - (To add one, press 'Action')
LeeG Posted November 20, 2011 Posted November 20, 2011 richardl007 It means the If condition changes before the 20 minute wait completes, the program is retriggered with the change in If state to false which runs the Else clause. The statements after the Wait never execute. The solution is for the Then clause to Run a second program that contains all the current logic of the Then clause. The second program has nothing in the If clause so it is never retriggered and the Wait is allowed to complete running the statements after the Wait. Lee
Chris Jahn Posted November 22, 2011 Posted November 22, 2011 Hi Richard, To add to Lee's comments ... Zone events are based on the current state of the sensor, therefore its possible someone Violates the zone (i.e. causing a contact closure to open for example), but then it immediately goes back to Normal when the contact closure for that zone closes again. For example, a door opening/closing. Whats happening in your program is the Zone changes back to Normal before the 20 minute wait finishes, which causes the program condition to be false which in turn stops running the Then path of your program, and starts running the Else path. Area states are more persistent in that when an unbypassed zone for that area is violated, the area will go into Alarm state, and will remain in that state until disarmed.
apostolakisl Posted November 23, 2011 Posted November 23, 2011 Please see the program I copied into this thread for how to do that. viewtopic.php?f=17&t=7382
Recommended Posts
Archived
This topic is now archived and is closed to further replies.