This is sort of a tip but also a question is there a better way to do this?
Basically what I have is a series of programs which based on their True/False status I can determine when the last motion was detected in an area.
Program: Family Trigger
If
Control 'Sensor/Family Room-Sensor' is switched On
Or Status 'Sensor/Family Room-Sensor' is On
Then
- No Actions - (To add one, press 'Action')
Else
- No Actions - (To add one, press 'Action')
The 'Family Trigger' program briefly be True when motion is first detected or while motion is being detected. It is not very useful by it self but now you can do this:
Program: Family 2 min
If
From Last Run Time for 'Family trigger'
For 2 minutes
Then
- No Actions - (To add one, press 'Action')
Else
- No Actions - (To add one, press 'Action')
This program uses the last run time of 'Family Trigger' to create an if condition that is only True for 2 minutes since the last time Family Trigger saw any motion. It is easy to create multiple versions of the 'Family 2 min' for any number of intervals: 1,2,5,10,15 minutes etc.
"Where are the kids? I don't know, but there was motion in the garage 5 minutes ago I bet they are riding their bikes!"
Suggestions? Improvements? Uses?
--Rick