Delay on a flow activated several times in a row

When the pool door is open and the main door opens Sonos plays a sound. So long everything works as it’s supposed to. But, sometimes the door opens five times within a minute or two (bringing in groceries or whatever from the car) and I don’t want to hear the notification everytime.

How do I make a paus in the flow? The door opens and it makes a notification via Sonos and then a timer starts for five minutes where it pauses. If the door opens several times the next five minutes it doesn’t make a notification. If the door is opened again after six minutes a notification is made and the 5 minute timer starts over.

Have a lock at following apps: chronograph or Countdown

My app FlowBits has a card “No repeat within Period”, that would be perfect here I think!

Just to explain how flows work.

Every trigger starts a “copy” of the flow, so delays running in one “copy” has no effect on next triggered start.
Only way to do this is to set/check a variable, start and check a timer (e.g chronograph as mentioned) or some other mechanism.

Worked like a charm. Thanks! :slight_smile:

Hi @BasMilius ,

Which card is that in Dutch translation in your app? I can’t really find out the correct trigger :laughing:

You could also include disable this flow, when 1st triggered then wait 5 mins and re-enable - this will stop it running multiple times

@Borssie In Dutch its “Geen herhaling van X binnen Y” :slight_smile:

This does not work for advanced flows, only for basic flows.

It 100% does work for advanced flows, I use the function a lot. You just need to make sure you don’t have multiple flows within the same canvas otherwise you disable them all. It is a useful way of stopping the flow running again until re-enabled - this works fine with advanced flowd and the example above is an advanced flow.

Nice.

I tried it some years ago and at that time the flow was totally disabled and never finished, so never enabled. They must have fixed this later.

Good to know, thanks.