Since the beginning, I don’t really understand how « Wait » placed in a scene works.
I’ll take a simple scene as an example: a sensor turns on a light and in that scene I put a « Wait » of 5 min to turn off that same light. I think the « Wait » timer starts at the moment the light turns on (give or take a few seconds).
The timer begins counting down the 5 minutes.
So this is where it gets complicated:
Case: If the sensor is triggered again, is the timer restarted for 5 minutes and stacked with the previous one, without marking the end of the first timer?
Case: Or, if the sensor is triggered again, is the timer restarted for 5 minutes and does not stack with the previous one, so the timer’s end will be effective after 5 minutes? And then the light would turn off according to the sensor’s triggering. And concretely our 5-minute timer would no longer be respected. I think it happens like in the second case. So this timer would not be usable;
In scenes, the « wait » just pauses the execution of the steps, without caring how many occurrences of that scene are being triggered.
Taking a somewhat extreme example: if your trigger condition is met every 5 seconds and you have a « wait » of 5 minutes in the middle of your scene, you’ll end up with 150 occurrences of your scene running at any one time.
As for motion sensors, there’s usually a timeout so that no new movement is detected for x seconds after a detection. On the ones I use, I’ve found that there is no new detection for 60 seconds after a first pass, even if I play hide-and-seek in front of the sensor
Thanks for the tip, but you can only set minutes and not seconds.
Indeed, on some sensors I don’t want to wait 1 minute but rather 30 seconds; with this solution it’s not possible