Page 1 of 1

Trigger feedback loop with with security spy

PostPosted: Thu Feb 23, 2017 2:08 pm
by guitarfreak
I'm having an issue with a feedback loop with a set of triggers. I'm using my exterior home cameras to turn on my outside lights, which is then scheduled to turn off the lights after 1 minute. The problem is that the camera is interpreting the lights turning on/off as motion, essentially creating an eternal feedback loop. Because both the lights turning on and off cause this to happen, I can't get the right set of exceptions.

Thoughts?

Re: Trigger feedback loop with with security spy

PostPosted: Thu Feb 23, 2017 2:35 pm
by johnpolasek
One thing that I could think of to try would be to create a variable called "LightsChangedbyTrigger" normally equal to false. In the SwecuritySpy trigger add two actions; the first to set the variable to true BEFORE turning on the lights, the second to set it to false after a suitable delay. If the lights are set to auto off after a fixed time period, add another couple of delayed actions to bracket that change. And in the security spy tripper, make it a condition that the variable must be false to fire. That should make the trigger ignore the changes that it creates.

Re: Trigger feedback loop with with security spy

PostPosted: Thu Feb 23, 2017 6:06 pm
by guitarfreak
I was considering something along this line actually, I'll mess with that and see if I can get it to work.