Timer Reset

Have an idea for a new feature? Voice your opinion here.
Post Reply
Richard Naninck
HouseBot Guru Extraordinaire
Posts: 1121
Joined: Tue Sep 28, 2004 7:49 am
Location: The Netherlands

Timer Reset

Post 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..
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: Timer Reset

Post 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.
Scott
Richard Naninck
HouseBot Guru Extraordinaire
Posts: 1121
Joined: Tue Sep 28, 2004 7:49 am
Location: The Netherlands

Re: Timer Reset

Post by Richard Naninck »

Din't know that and din't try that yet. Thanks for the tip!
starfire
Member
Posts: 24
Joined: Sun Mar 30, 2003 5:47 am
Location: England, UK

Re: Timer Reset

Post 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
Housebot running my home automation and security
Post Reply