[SOLVED]Scheduled Events and Motion Sensors

Posted on
Tue Dec 17, 2013 8:09 pm
rob_hut offline
Posts: 30
Joined: May 04, 2009

[SOLVED]Scheduled Events and Motion Sensors

So I cant wrap my head around how to do this, so perhaps someone can help with the logic. I want a variable to go from false to true if motion has not been detected for at least an hour and it is past a time, say 11pm.

So here it is in a sentence, "If it is past 11, but before 8 am and motion has not been sensed in the last hour, then check every 5 minutes afterward, as soon as there has been no motion for an hour, set the variable from false to true"

I am getting heartbeats from the motion sensors...

Any ideas?

Posted on
Tue Dec 17, 2013 11:08 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Scheduled Events and Motion Sensors

you could use "timers and pesters" start one at 11 and every time you get a signal (trigger on change) then cancel and restart timer .. once timer is expired (i.e. no signal after one hour) do your action.
Attachments
pesters.tiff
pesters.tiff (61.32 KiB) Viewed 2464 times

Posted on
Wed Dec 18, 2013 8:59 am
rob_hut offline
Posts: 30
Joined: May 04, 2009

Re: Scheduled Events and Motion Sensors

that is a plugin?

Posted on
Wed Dec 18, 2013 9:09 am
evansgo offline
Posts: 223
Joined: Nov 29, 2013

Re: Scheduled Events and Motion Sensors

Its built into Indigo 6 plugins, what version are you using?

Posted on
Wed Dec 18, 2013 11:13 am
rob_hut offline
Posts: 30
Joined: May 04, 2009

Re: Scheduled Events and Motion Sensors

6! Ill check and enable it when I get a chance, thanks!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 9 guests