Page 1 of 1

Timer Reset

Posted: Mon Nov 03, 2008 4:20 am
by Richard Naninck
A timer has three properties:

Repeat, Running and Sleep Time. A Reset property would be a nice add on for the following case:

A motion sensor triggers and a room light is switched on. A timer starts (lets say set to 5 minutes) and when the timer hits Running No, a task should kill the light again. Now if motion is sensed during the 5 minute countdown, a simple rest back to 5 minutes would be nice. This can be done with setting the Running State to No and Yes again, but that will trigger the task. It can be worked around, but a reset property which simply resets the time back to the full Sleep Time while keeping the Running state to Yes would be very nice. Not sure how to implement it though..

Re: Timer Reset

Posted: Mon Nov 03, 2008 8:12 am
by ScottBot
If you change the 'Sleep Time' Property while the timer is running, it will reset to the new time and keep running. If you want to change it back to the original time, just make sure the 'Allow same value change' is checked.

Re: Timer Reset

Posted: Mon Nov 03, 2008 12:59 pm
by Richard Naninck
Din't know that and din't try that yet. Thanks for the tip!

Re: Timer Reset

Posted: Wed Dec 10, 2008 5:10 am
by starfire
I find if you just set the Running property to Yes again then it will reset the timer to the sleep time again