Nagging notification on motion

I want to be notified in the house with motion but a simple trigger by motion line will keep notifying you if someone walks thru motion several times (like taking out the garbage)
This works but Im afraid it might keep resetting the flag if someone is breaking into a vehicle.
I want to simply notify the motion one time
If I use the announcement flag off trigger, it will do the nagging thing since the flag is reset everytime I have motion.

Code:
50.    WHEN Motion Outside Front Garage NOT READY
        AND IF DARK
        AND IF Party Flag OFF
            THEN Announcement Flag ON FOR 10 SECONDS
51.    WHEN Announcement Flag OFF
        AND IF DARK
        AND IF Party Flag OFF
            THEN SAY MOTION IN FRONT DRIVEWAY
 
Maybe this will work?

50.    WHEN Motion Outside Front Garage NOT READY
        AND IF DARK
        AND IF Party Flag OFF
            THEN Announcement Flag ON FOR 10 SECONDS
51.    WHEN Motion Outside Front Garage SECURE
            THEN SET Announcement Flag TO 0
52.    WHEN Announcement Flag ON
        AND IF DARK
        AND IF Party Flag OFF
            THEN SAY MOTION IN FRONT DRIVEWAY
Edit: This didnt work, it may work on a door but the sensor triggers off too quick
 
It's easy enough to only trigger the voice alert once.
 
Along with the other conditions Include a test for the FLAG being OFF. When all of the conditions are met set the FLAG to ON and trigger the voice alert.
 
Now you have to decide what conditions will set the FLAG back to OFF, thus re-enabling the voice alert feature.
 
It could be done manually, by waiting a fixed amount of time, when there had been no motion for a fixed amount of time, etc.
 
Only you can decide what will work for you.
 
I would try this.
It will announce immediately, but not repeat for a period of time.
 

50.    WHEN Motion Outside Front Garage NOT READY
             AND IF DARK
             AND IF Party Flag OFF
             AND IF Announcement Flag OFF
                 THEN Announcement Flag ON FOR 10 SECONDS
                 THEN SAY MOTION IN FRONT DRIVEWAY
 
If you use the Announcement Flag for multiple uses the above won't work well.
The code block is very efficient.
The time delay is easily changed.  I would recommend longer than 10 seconds if you are trying to prevent multiple trigegrs, perhaps 5 min.
The time delay will NOT be reset with multiple motions.
 
 
I have a set of code blocks I use with my security lights motion detectors to prevent them from continually triggering when it is windy.
I use a counter and a timer together. 
After a set number of triggers in a certain period of time, it disables further triggering for a period of time.  There is still a manual override.
 
I like it, tell me more about the windy triggers. Does it go something like this?

Code:
52.    WHEN Motion Outside Front Garage NOT READY

            THEN INCREMENT Garage Motion Flag

53.    WHEN Motion Outside Front Garage NOT READY

        AND IF DARK

        AND IF Garage Motion Flag CURRENT VALUE IS LESS THAN 6

            THEN Front Gable ON FOR 5 MINUTES

54.    EVERY 3 HOURS

        AND IF Garage Motion Flag CURRENT VALUE IS GREATER THAN 6

            THEN SET Front Motion Flag TO 0
 
 
This is my wind code.
I have 5 separate banks of security floods, there is one block for each of them.
 

197. WHEN Front Security Group ON
AND IF Front Security Motion Counter OFF
THEN Front Security Timer ON FOR 15 MINUTES
198. WHEN Front Security Group ON
THEN INCREMENT Front Security Motion Counter
199. WHEN Front Security Group ON
AND IF Front Security Motion Counter CURRENT VALUE IS GREATER THAN 5
AND IF Front Security Timer TIMER IS LESS THAN 0:15:00
THEN Front Motion Interrupt ON FOR 2 HOURS
THEN Front Security Timer ON FOR 2 HOURS
200. WHEN Front Security Timer OFF
THEN Front Security Motion Counter OFF

The motion sensors are hooked into UPB IO modules.
When they sense motion they transmit the Front Security Group link.
If it trips more than 5 times in 15 minutes it is inhibited for 2 hours.
The Front Motion Interrupt is a relay. The output from the motion sensor runs through the relay NC terminals.
When the relay is active it breaks the continuity from the sensor to the IO module.
So the sensor keeps tripping but the signals don't go anywhere.
If I manually activate the lights, these relays get activated to prevent the motion sensors from sending the deactive command when they cease sensing motion.
When I manually deactivate them, the relays get deactivated too and the system goes back to normal.
 
Im doing something similar with the notification appliance (output thru relay) in the hallway late at night with nuisance trippings.
very nice work!
 
Back
Top