Timer Reset
Posted: Mon Nov 03, 2008 4:20 am
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..
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..