Reset a delay
-
I'm sure this has been asked, and answered, but damned if I can figure it out
Use case: I have a rear garden with lights. A door from the kitchen into the garden and a door from the garage.
Currently if I open the kitchen door the lights come on (yay) and a 3 minute delay starts.
After 3 minutes, no matter what else happens, the lights go off (Boo! But also yay!)
What I would like is for the 3 minute delay until the lights go off to start from the latest door open event.
That is, if I'm going from kitchen to garage, and back again, the lights stay on until there's three minutes of no activity.
I've tried 'hacking' with a virtual switch, but can't seem to stop the delay.
Any pointers?
TIA
C
-
I'm sure this has been asked, and answered, but damned if I can figure it out
Use case: I have a rear garden with lights. A door from the kitchen into the garden and a door from the garage.
Currently if I open the kitchen door the lights come on (yay) and a 3 minute delay starts.
After 3 minutes, no matter what else happens, the lights go off (Boo! But also yay!)
What I would like is for the 3 minute delay until the lights go off to start from the latest door open event.
That is, if I'm going from kitchen to garage, and back again, the lights stay on until there's three minutes of no activity.
I've tried 'hacking' with a virtual switch, but can't seem to stop the delay.
Any pointers?
TIA
C
@CatmanV2 Off the top of my head, you'd want to set the
Followto 180 (three minutes).I'd create an
ORGroupthat contains both doors. Set the above at theGrouplevel... in my mind that means " of either/any/both" doors, the last one closed starts the three minute timer. If any are reopened before it runs out, it restarts upon re-closure. -
I'm sure this has been asked, and answered, but damned if I can figure it out
Use case: I have a rear garden with lights. A door from the kitchen into the garden and a door from the garage.
Currently if I open the kitchen door the lights come on (yay) and a 3 minute delay starts.
After 3 minutes, no matter what else happens, the lights go off (Boo! But also yay!)
What I would like is for the 3 minute delay until the lights go off to start from the latest door open event.
That is, if I'm going from kitchen to garage, and back again, the lights stay on until there's three minutes of no activity.
I've tried 'hacking' with a virtual switch, but can't seem to stop the delay.
Any pointers?
TIA
C
@CatmanV2 foul ball. Not showing your work. Can't guide you properly here. What you are asking is actually default behavior, so either you've done something odd, or there's a bug. Either way, can't tell unless you post your work.
-
@CatmanV2 foul ball. Not showing your work. Can't guide you properly here. What you are asking is actually default behavior, so either you've done something odd, or there's a bug. Either way, can't tell unless you post your work.
@toggledbits hell sorry! Not my intention at all!
Here's what I have for the one sensor that currently exists (I'm migrating) The theory remains the same, though. I want the lights to turn off three minutes after the last open event, i.e. if I open the back door (the lights come on), the delay starts. If I don't open the back door again, the lights go off after 3 minutes.
But if I open the door again after 2 minutes 30, the lights stay on for another 3 minutes.
Hopefully this will resolve my foul, but I was expecting a pointer as opposed to an answer

C
-
@CatmanV2 Off the top of my head, you'd want to set the
Followto 180 (three minutes).I'd create an
ORGroupthat contains both doors. Set the above at theGrouplevel... in my mind that means " of either/any/both" doors, the last one closed starts the three minute timer. If any are reopened before it runs out, it restarts upon re-closure.











