danabw
4
Take a look at the Event Engine community app...it may be able to do what you want w/out you having to do any complex rules.
It has the option to have both active and inactive motion sensor requirements.
You might be able to make this work for you.