I need some help creating a flow. I’d like to setup a flow to to do something or make an announcement after being open for 5 minutes? I have a Homey Mini so it will be executed locally.
Thanks for your help
I need some help creating a flow. I’d like to setup a flow to to do something or make an announcement after being open for 5 minutes? I have a Homey Mini so it will be executed locally.
Thanks for your help
You mean like checking if a door is open for more than 5 minutes?
If so, you can use the Device Capabilities app. It has a dedicated flowcard for this purpose.
In the following example this card triggers a flow if the alarm of my front door sensor (Voordeur Sensor) is active for more than 1 minute. It continues to trigger this flow after every 1 minute as long as the door is open:
You can also choose to trigger the flow only once (instead of continuously).
Thank you , just wanted I was looking for!
It’s also possible with timer apps, like the Chronograph app:
Keep an eye on new changes. v12.5.2-rc.2 on Homey Pro (Early 2023) and Homey Pro mini Changelog | Homey mentions:
Adds built-in Flow cards for number capabilities “when value becomes greater than X for Y minutes/seconds” and “when value becomes less than X for Y minutes/seconds”.
That doesn’t cover your use case yet as you need a boolean not a number value variant. Maybe Athom might add boolean support later?
I hope they add support for string/enum values as well, to complete it.
(like: When Weather contains [cloudy] for X minutes, trigger the flow)
And, it is possible;
as you can see, the aforementioned “great example” community flow card can process num, string, enum & bool values:
These conditions can “catch” all 4 types:
Not exactly for the topic case, but for my fridges I have a flow, which is triggered on a power consumption change. If it was not changed for certain amount of time (depends on a usual power pattern of the applience it is either 1 or 2 hours), notification is sent. When door is opened, fridges usually stop to fridge. Thus, power consumption stays constant. 1-2 hours for a fridge it is not the damage time. But I avoid installing door sensors. And cover other cases. Like someone pulled off the plug or so.