This must be pretty common, but after a few hours of searching, I haven’t found anything on it.
I want to use a Motion event from a camera (Using swanny’s awesome Surveillance Station Device type) to turn on my backyard floodlights when there is motion detected by the backyard camera, only from Sunset to Sunrise.
This I have done with many apps, however, I tell them to turn the lights off after 1 minute, and, when they are turned off, the camera triggers a new “motion” event because of the dramatic change in lighting.
Is there any SmartApp that ignores a (almost always false) motion event within some time period of turning off the lights?