This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
how to execute flow only between a specific time diff?
B3rt
Member
in Developers
I want to execute a flow only when the last time the flow is executed mote the X time ago.
I use betterlogic to store values in betterlogic also the time is saved when last updated.
Is there any way to use this?
I want to activate a light flow but only when the last trigger is more then 30 minutes ago.
For example:
- when sensor < 10 lux activate all lights on flow
- when sonsor > 12 lux activate all lights OFF flow but atleast 30 minutes after light on flow was executed
This to prevent on/off switching of flows due to lux changes in house..
How can i do this?
I use betterlogic to store values in betterlogic also the time is saved when last updated.
Is there any way to use this?
I want to activate a light flow but only when the last trigger is more then 30 minutes ago.
For example:
- when sensor < 10 lux activate all lights on flow
- when sonsor > 12 lux activate all lights OFF flow but atleast 30 minutes after light on flow was executed
This to prevent on/off switching of flows due to lux changes in house..
How can i do this?
Comments
I want to start a flow if time is MORE THEN x time ago since last run and sensor value is more/less then X
uit
you can do it with countdown app
if timediff is > 1800 seconds and timediff < 3600 seconds then activate flow X
This without for each timediff to use an other flow etc, i want this to use for a lot of flows, don't want to use for each timediff an other flow again etc...
As far as I know this is not possible (yet) and you need to make a timer per flow.