Page 1 of 1

One Shot

Posted: Fri Apr 04, 2014 4:43 am
by fartech
I am using a IP camera with motion detection that will send out a notice though the web server. Unfortunately it will send out multiple notices as long as it see's motion.
I have gotten around this with a disable , a jump and a timer to only get one event instead of multiple.
If I recall, Crestron had a module called "One Shot" that would pass the first event and <null> the subsequent triggers for a certain length of time.
Is there something like this that I have just not seen?

Re: One Shot

Posted: Tue Apr 15, 2014 12:29 am
by techoguy
Hi fartech,
I think a feature like this would have to be built into the plugin you're using that is triggering the events or a new plugin for your cameras. The plugin would trigger events based on what the camera sends and could ignore all new events for some time as you suggest. I do this in some of my plugins on a very specific case to remove duplicate events from things the plugins are talking to.

I also do this in some python script actions with my motion sensors and lights, i receive all events from my motion sensors but events only trigger things after a certain time has passed and no motion has been seen. So one motion is first seen, it starts a count down and when the countdown reaches zero a new event is triggered which triggers some action. If a motion event is received before the countdown is over, it's just restarted.