I am trying to recreate all the conditional logic that used to run my house before I jumped ship. I just got my cameras (variables) into indigo from blue iris. Specifically, I have one on the porch and one looking at the driveway. I used to use these to trigger some hacked together camera call up on Windows Media center and send a prowl notification.
Obviously, just relying on one isn't practical as way too many false positives. So between setting the right detection methods in Blue Iris and using PLEG in Vera I had a pretty much 100% reliable "someone's here alert".
So my question would be, what is the EASIEST way to trigger an alert, when two variables have changed in a given amount of time, even if they have been changed back? I know I can create a variable and insert a timestamp but that seems like a crazy amount of effort to what used to take seconds to create.
In PLEG its would look something like: (PorchMotion; NOW > 5) and (DrivewayMotion; NOW>5) and (!FrontDoorOpen; NOW >10)
As for the trigger tab itself, do I need to define something or can I just have an embedded script under conditions? If nothing is triggering when does the script get evaluated?
Thanks for any help