(Recap) Here's a description of what I wanted it to do and what rules I used to get it to work:
Some initial info on settings:
Zone 7 is the garage overhead door contact
Zone 10 is the garage motion (a Honeywell DT7435)
Both zones are type "burglar entry/exit2," set to be bypassable
Delays:
Exit1=60 sec (not really important here; just to show exit2 is longer)
Exit2=150 sec
The intent is to have the M1G call my cell with a warning if I forget to close the garage when I drive away,
but not to set off the sirens since that would make obvious that no one was home and the garage was wide
open. I also wanted to have the rest of the system (minus the garage) armed-away as normal (with sirens if an
interior zone were to be violated later).
WHENEVER Area1 exit delay starts
THEN set counter(GarageLeftOpen) to 0
THEN turn output201 on for 2 mins, 10 secs
THEN turn output202 on for 3 mins
/*
The GarageLeftOpen flag comes into play later. The dummy output201 is a 130s counter, 20s shorter than the
actual exit2 delay to allow time for automatically bypassing the garage zones before the exit2 delay expires.
In effect, the 130s is my acutal, usable exit2 delay. The only danger here is I have to always remember this
hardcoded 130s has to be less than the setting for exit2 delay by at least a few seconds. The dummy output202
was added as an afterthought. It is a 180s counter (slightly longer than the exit2 delay), which I use to
detect that the exit times both expired OK and the full system armed OK.
*/
WHENEVER output201 state is turned off
AND Garage OHD Door (zone7) is not secure
THEN bypass Garage OHD Door (Zone7)
THEN bypass GaragePIR (Zone10)
THEN set counter(GarageLeftOpen) to 7
/*
Z7 is the garage overhead door contact. If it's still not secure after 130s, it was accidently left open
(your mileage may vary on the actual time to use). But the rest of the system is still 20 seconds from being
armed (i.e. exit2 delay is 150 sec) so I bypass both the garage zones before that happens to avoid sirens.
The rest of the house arms as normal.
It would be better if z10 could be changed to a type 13 aux zone instead of bypassing it (which would still
allow log events), but I don't think there's a way to do that. I may later add a strobe in the garage that
starts blinking at 100s after exit delay starts so I know I have to get out quick, but I think 130s should be
plenty.
*/
WHENEVER counter(GarageLeftOpen) becomes 7
THEN dial a cell phone with a "garage left open" voice msg and/or send emails.
/*
I could probably skip the flag and dial/email within the previous WHENEVER block, but I'd rather have it
separated this way.
*/
WHENEVER output202 state is turned off
AND counter(GarageLeftOpen) is not equal to 7
AND Area1 is armed away
THEN dial cell with message that all exit timers expired without violation and the system armed OK.
------
That's it for the exit scenario.
If for some reason I don't get the call or email, at least the rest of the house is secure.
If a nice neighbor sees my open garage and closes it for me, the garage won't be armed, but at least it's
closed, and that won't set off an alarm since the garage zones are bypassed.
If I do get the call, I drive home, go inside and disarm/rearm the system (to clear/reset the bypassed zones)
and hopefully remember to close the garage door this time ;o).
Afterthought: adding the output202 counter routine means I'll either get a call that I left the garage door
open, or a call that everything armed OK. It's just a "nice to confirm" everything armed OK.
Maybe in the future I'll get the system set up to automatically close the garage, but this is my plan for
now. Seems to work fine. Hopefully this may be useful to others, or give you some ideas for your situation.