getmp3s said:
Put a motion detector in your garage and reset the timer every 30 mminutes when not secure. That way if you or kids are mucking about in the garage, the door does not close on you until there has been no movement in the garage for at least 30 consecutive minutes. You can also use that motion to flip your lights on in the garage, I hate tripping over stuff in the dark! And when armed away adds to security of the home.
This line of code works very well for me.
I use 30 minutes during the day and 10 minutes at night, when system armed, and after arm delay, it closes the door in 90 seconds.
I also have a notification speaker in garage warning you that the door will close in 10 seconds (using a 15 sec flag).
24. WHEN AWAY
AND IF Garage Door NOT READY
THEN GarageMotion ON FOR 90 SECONDS
THEN Front Flag ON FOR 90 SECONDS
25. WHEN Garage Motion SECURE
AND IF Garage Door NOT READY
AND IF AWAY
THEN Front Flag ON FOR 90 SECONDS
THEN GarageMotion ON FOR 90 SECONDS
26. WHEN MotionOutsideFr SECURE
AND IF Garage Door NOT READY
AND IF AWAY
THEN Front Flag ON FOR 90 SECONDS
THEN GarageMotion ON FOR 90 SECONDS
27. WHEN Front Flag OFF
AND IF ARMING AWAY
AND IF Garage Door NOT READY
AND IF Garage Flag OFF
AND IF GarageMotion OFF
THEN Garage Flag ON FOR 15 SECONDS
THEN SAY GARAGE DOOR CLOSE IN TEN SECONDS
28. WHEN Garage Flag OFF
AND IF ARMING AWAY
AND IF Garage Door NOT READY
AND IF Front Flag OFF
AND IF GarageMotion OFF
THEN Garage Door ON FOR 1 SECOND
29. WHEN Garage Door NOT READY
AND IF TIME CLOCK 3 ENABLED
THEN Front Flag ON FOR 30 MINUTES
THEN GarageMotion ON FOR 30 MINUTES
THEN SAY GARAGE DOOR CLOSE IN THIRTY MINUTES
30. WHEN Garage Motion SECURE
AND IF Garage Door NOT READY
AND IF TIME CLOCK 3 ENABLED
THEN Front Flag ON FOR 30 MINUTES
THEN GarageMotion ON FOR 30 MINUTES
31. WHEN MotionOutsideFr SECURE
AND IF Garage Door NOT READY
AND IF TIME CLOCK 3 ENABLED
THEN Front Flag ON FOR 30 MINUTES
THEN GarageMotion ON FOR 30 MINUTES
32. WHEN Front Flag OFF
AND IF TIME CLOCK 3 ENABLED
AND IF Garage Door NOT READY
AND IF Garage Flag OFF
AND IF GarageMotion OFF
THEN Garage Flag ON FOR 15 SECONDS
THEN SAY GARAGE DOOR CLOSE IN TEN SECONDS
33. WHEN Garage Flag OFF
AND IF TIME CLOCK 3 ENABLED
AND IF Garage Door NOT READY
AND IF Front Flag OFF
AND IF GarageMotion OFF
THEN Garage Door ON FOR 1 SECOND
34. WHEN Garage Door NOT READY
AND IF DARK
AND IF TIME IS LESS THAN 6:00 AM
AND IF TIME IS GREATER THAN 6:00 PM
THEN Front Flag ON FOR 5 MINUTES
THEN GarageMotion ON FOR 5 MINUTES
THEN SAY GARAGE DOOR CLOSE IN FIVE MINUTES
35. WHEN Garage Motion SECURE
AND IF Garage Door NOT READY
AND IF DARK
THEN Front Flag ON FOR 5 MINUTES
THEN GarageMotion ON FOR 5 MINUTES
36. WHEN MotionOutsideFr SECURE
AND IF Garage Door NOT READY
AND IF DARK
THEN Front Flag ON FOR 5 MINUTES
THEN GarageMotion ON FOR 5 MINUTES
37. WHEN Front Flag OFF
AND IF DARK
AND IF Garage Door NOT READY
AND IF Garage Flag OFF
AND IF GarageMotion OFF
AND IF TIME IS LESS THAN 6:00 AM
AND IF TIME IS GREATER THAN 6:00 PM
THEN Garage Flag ON FOR 15 SECONDS
THEN SAY GARAGE DOOR CLOSE IN TEN SECONDS
38. WHEN Garage Flag OFF
AND IF DARK
AND IF Garage Door NOT READY
AND IF Front Flag OFF
AND IF GarageMotion OFF
THEN Garage Door ON FOR 1 SECOND
39. WHEN Garage Door ON
THEN Relay Contro ON FOR 1 SECOND
40. WHEN Relay Contro OFF
THEN Garage Door OFF