Skip to content

Unable to run a 26 minute timer, I need help :(

Unable to run a 26 minute timer, I need help :(

Hello everyone ! I try to make an automation that turns one of my light bulbs blue when the washing machine is ready, to make sure I don’t forget my wet clothes inside. To do this, I use an Aqara vibration sensor locked on the side of the washing machine. The only problem is that the car vibrates, stops and vibrates again several times before stopping completely. I measured the time between those “vibration times” and it never exceeds 25 minutes regardless of the program I use. So … I did an automation that does this: When the sensor no longer detects vibrations: repeat 1560 times wait 1sec // (1560 x 1sec = 26min) if any other vibration is detected: leave the final shortcut if the end repeat rotate the bulb blue end But, for some reason, it only works when I repeat it only 300 times (5 min) and when I do more, the shortcut ends up collapsing and never goes to the point “turn the blue light” … I don’t know what to do to achieve this. I even tried to break down the 1560 seconds, making loops a few 300 times, but either it hangs like the one above, or it just doesn’t wait long enough and turns on the light bulb after only 9 minutes, even if my calculations are correct. If any of you can help .. Thank you 🙂