AnthemAVM Posted December 24, 2019 Posted December 24, 2019 Hello, With 5 kids in the house the garage door gets left open a lot. What I would like if the garage sensor is on (Garage Open) after 10 minutes the Insteon siren would go off for 60 seconds. So at this time I have two programs, but understand I have a flaw in it. So the question is on the second program how to I get it to look after 10 minutes to see if the sensor is still on in the THEN line? Program 1 Garage Siren - [ID 0078][Parent 0077] If 'Garage / Garage Door Sensor' Status is On Then Wait 10 minutes Run Program 'Garage Siren On' (If) Else - No Actions - (To add one, press 'Action') Program 2 Garage Siren On - [ID 0079][Parent 0077] If 'Garage / Garage Door Sensor' Status is On - Need to get this out, as it turns on each time the garage opens? Then Set 'Garage Siren Trigger Home.1 S' On for 60 seconds Run Program 'Garage Siren' (If) Else - No Actions - (To add one, press 'Action') Thanks very much.
lilyoyo1 Posted December 24, 2019 Posted December 24, 2019 why are you using 2 programs when 1 will suffice? if status garage door sensor is on then wait 10 minutes turn on siren If the status changes in that 10 minutes wait then the siren should never turn on
AnthemAVM Posted December 24, 2019 Author Posted December 24, 2019 @lilyoyo1 Thanks not sure why I didn't think one will work. My family thanks you as it has been going off every time the garage is opened. Michael
lilyoyo1 Posted December 24, 2019 Posted December 24, 2019 10 minutes ago, AnthemAVM said: @lilyoyo1 Thanks not sure why I didn't think one will work. My family thanks you as it has been going off every time the garage is opened. Michael You're welcome. Glad I could help. Have a Merry Christmas
apostolakisl Posted December 24, 2019 Posted December 24, 2019 @AnthemAVM You are confusing a situation where the second program is set to disabled. In that situation, there would be a status item in the if clause of program two that you would not want to self trigger. In your case, you have the same if clause in both programs, so there is no point in two programs. You could have disabled program 2 and it would have worked the same as just doing 1 program.
AnthemAVM Posted December 24, 2019 Author Posted December 24, 2019 I didn't realize that if the state of the sensor changed in the first program would stop it. Thanks very much for the input and education.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.