Timer but : increase.

Posted on
Sat Mar 17, 2007 9:23 am
mric offline
Posts: 61
Joined: Sep 26, 2006
Location: Nîmes (France)

Timer but : increase.

I want that my system say if a door is opened than more 2 minutes.
I read topics on "timer in Indigo 2", but it's about decrease time.

How I have to do, to know if my door is opened more than x minutes, (or my light )?

Thanks,

Mric

(I hope that you will understand me :roll: )

Mric

Posted on
Sat Mar 17, 2007 11:16 am
macpro offline
User avatar
Posts: 765
Joined: Dec 29, 2005
Location: Third byte on the right

(No subject)

You can use the timer solution that you refered to.

Add a trigger to your door sensor that starts the timer with a value of 120 (2 minutes) whenever the door is opened.
Add a second trigger to your door sensor that sets the timer to a value of -1 when the door is closed.

Finaly add a third trigger that fires when the timer reaches zero. At that moment, the door is open for 2 minutes and you can let Indigo do what you want it to do.

Hope this helps.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 12 guests