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.
Random time?
keverjeroen
Member
Hi,
I can't find an option to trigger a flow by a sort of random timer. Has anyone a workaround to do this?
Example: Start flow at a random time between 10:00h and 12:00h. So it can start at 10, but maybe it starts at 11:06 or 10:42, etc.
I can't find an option to trigger a flow by a sort of random timer. Has anyone a workaround to do this?
Example: Start flow at a random time between 10:00h and 12:00h. So it can start at 10, but maybe it starts at 11:06 or 10:42, etc.
Comments
Not sure how this should be implemented exactly (I guess getting a variable between 0 and 120 at 10:00, and checking every minute if that variable has passed the $timenow$ after this has been corrected for that day at 10:00, which should be available via a modulo operator ($timenow$ % 1440).
p.s. I can not type a comma in the delay field! Workaround is to copy -> paste it from a textdocument.
This sounds really interesting, but for now I'm going to try Emile's suggestion!