I would like to have my vacuum cleaners only run once a day when nobody is at home.
Is there an easy way to ensure that a flow is only executed once a day and then go to pause mode until a new day starts?
I can of course ensure this behavior with multiple flows and pause/unpause flows with it but I’m searching for an easy method with not so much helper flows needed.
I would think of making a conditional logic which resets everyday to 0 and when the vacuum cleaner starts updates to 1. Then check IF conditional logic = 0 THEN start vacuum cleaner ELSE do nothing
You can use timer functionality (Countdown) that will last 24 hours and will start as soon as flow will start. Until it will run, flow will not start again (use it in then condition).
Yes, this would work. I thought about this already, but also thought that maybe there is a helper app or something which does exactly this. I have some more such scenarios (like only report once a day when the battery is low or similar stuff) and I think that more people hat the requirements like I have.
Hm, let’s say on Monday I leave the house at 8 o’clock and the vacuums are started. The next day I leave at 7 o’clock, but the cleaning would not be started cause the countdown time is still greater than 0. What could work is, I set the countdown timer to 24h - $current_time => 24h - 8 o'clock = 16h. This would ensure that the earliest time the flow could run again would be at midnight.
This sounds okay - I will try that!
I had a similar question where I wanted a text and voice reminder to get the trash outside. Made a movement alarm that checks a logic where the day is not the current day. It will flip the logic card at the end of the flow.
Nope, but Homey has to keep counting for 24 hours. Thus use processor capacity and memory to keep track. If you make several flows with such a long timer… Fill in the blanks. But don’t expect to get them filled in very fast…
Then the Countdown is buggy. Countdown timers should not use much cpu power, and even less memory. Though I found the way to use the current date much more elegant.
I have the same question, but in my case I only want to open the curtains once a day. If I decide to close them after opening them with a flow, I kind of want the flow to stop until it is the next day. Does anyone have a suggestion on how to do this? I don’t see the countdown option anymore.