Automation In Seconds

Is it possible to have an automation start and then stop after 15 seconds? I can only select minutes as the lowest value.

It would be cool if an automation could have a duration value - returning the state back to the original after a set period?

For such cases we recommend using your own timers on hardware.

it’s already in the works

1 Like

For my case I have a water spray that is set to switch on 3 - 5 times a day for 15 to 30 seconds (Adjusted depending on the users requirements).

So the minimum duration via automation will be 60 seconds?

Yes, that’s correct.

If I were you, I would add a UI element (like slider) if you need to adjust this period. And then implemented this timing using Blynk.Timer or millis

2 Likes

The problem is no timer input to adjust the schedule now.

I guess only way is to use automation to start pump then check value of related seconds slider for switch off period, unless you can think of a better way?

Is there any plan to allow multiple triggers per automation? It would be cleaner than having many automations to trigger the same virtual pin.