Auto Turn-Off After X Minutes (Homey Bridge)

Hi everyone!

I’m just getting started with smart home automation and decided to dive in with Homey as I figured it’d be a friendly way to ease into more advanced automation setups.

:clock3: :thinking: One of the first automations I’m working on is a flow where a wall plug turns off automatically after it’s been on for 60 minutes. Basically a timer.

The goal is to use it with my pool filter, so it always shuts off an hour after it’s switched on, no matter the time of the day. This logic might be also used for an irritation system.

However, I’m hitting a bit of a roadblock.

I can’t seem to find a way to set up the flow to track the “on” time and automatically power down after that period, based on when it was initially turned on.

Any tips or guidance would be super helpful!

Thanks so much in advance.

Hello,
You can use the countdown app.
You set a countdown when the filter switches on and set it off when countdown is 0

When you make a normal flow you put 2 cards in the THEN part. One to switch on, and one to switch of after 60 minutes, using the delay option.

Delay most often doesn’t work mainly if it is set for such a duration as 60mn. He will have his pool filter on ‘forever’ every other day

@alexrds can just start simply with this solution, and when it is not robust, a more complex solution will be possible.

The onboard delay works fine in general, unless Homey crashes or gets restarted. It doesn’t continue in those cases.
Not sure if it survives internet outages. In theory it should.

Plus, at Homey cloud there’s no other delay/timer function or option (AFAIK).

For Homey Pro I’d only use it for very short delays and go for Chronograph Timers. They survive power outages / restarts.