Door Open Alert

Desert_AIP

Senior Member
Code:
38.	//    Door Open Alerts
	//    I have two indoor only cats
        //    This code will monitor the entry/exit doors 
	//    If any door is found open, it will sound an alert continuously via voice and console beepers 
        //    until all doors are closed.
        //    If we are having a party, where the doors may be left open or opened and closed a lot
        //    (we put the cats away so they can't get out) 
        //    I can execute the party button which (among other things) sets the party flag 
        //    and disables the routine.
        //    If multiple doors are open it will sound the voice alert for all of them
        //    Block 43 monitors the back door to the garage and will alert us if we arm the system 
        //    and have forgotten to shut the door to the garage 
        //    (it is out of sight from the Garage Entry Door).


39.	WHEN Front Door NOT READY
	WHEN Back Door NOT READY
	WHEN Garage Entry Door NOT READY
		AND IF Party Flag OFF
			THEN Door Open Timer ON FOR 45 SECONDS
40.	WHEN Door Open Timer OFF
		AND IF Front Door NOT READY
			THEN All Consoles BEEP 5
			THEN SAY FRONT DOOR IS OPEN
			THEN All Consoles BEEP ON
			THEN Door Open Timer ON FOR 30 SECONDS
41.	WHEN Door Open Timer OFF
		AND IF Back Door NOT READY
			THEN All Consoles BEEP 5
			THEN SAY BACK DOOR IS OPEN
			THEN All Consoles BEEP ON
			THEN Door Open Timer ON FOR 30 SECONDS
42.	WHEN Door Open Timer OFF
		AND IF Garage Entry Door NOT READY
			THEN All Consoles BEEP 5
			THEN SAY GARAGE ENTRY DOOR IS OPEN
			THEN All Consoles BEEP ON
			THEN Door Open Timer ON FOR 30 SECONDS
43.	WHEN Door Open Timer OFF
		AND IF Garage Side Door NOT READY
		AND IF NOT ARMING OFF
			THEN All Consoles BEEP 5
			THEN SAY GARAGE SIDE DOOR IS OPEN
			THEN All Consoles BEEP ON
			THEN Door Open Timer ON FOR 30 SECONDS
44.	WHEN Front Door SECURE
	WHEN Back Door SECURE
	WHEN Garage Entry Door SECURE
	WHEN Garage Side Door SECURE
			THEN All Consoles BEEP OFF
 
Back
Top