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..
Timer Reset
-
- HouseBot Guru Extraordinaire
- Posts: 1121
- Joined: Tue Sep 28, 2004 7:49 am
- Location: The Netherlands
Re: Timer Reset
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.
Scott
-
- HouseBot Guru Extraordinaire
- Posts: 1121
- Joined: Tue Sep 28, 2004 7:49 am
- Location: The Netherlands
Re: Timer Reset
Din't know that and din't try that yet. Thanks for the tip!
Re: Timer Reset
I find if you just set the Running property to Yes again then it will reset the timer to the sleep time again
Housebot running my home automation and security