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.
Help wanted (alarmclock)
I want an alarmclock.
Probably not the hardest thing to create in a flow.
But an hour before it goes of I want it to check some things and depending on some conditions the alarm time has got to be earlier then the time originally set.
It has to check weather, traffic, public transport and maybe even a calendar with appointments.
So if there is a traffic jam because of severe weather, or whatever it might be better to get out my bed earlier to take another route.
Anyone who can help me on the right direction?
Probably not the hardest thing to create in a flow.
But an hour before it goes of I want it to check some things and depending on some conditions the alarm time has got to be earlier then the time originally set.
It has to check weather, traffic, public transport and maybe even a calendar with appointments.
So if there is a traffic jam because of severe weather, or whatever it might be better to get out my bed earlier to take another route.
Anyone who can help me on the right direction?
Comments
Make a countdowntimer.
Let the timer start 1 hour before the actual time and let it run for 3600 sec.
If traffic jam--stop timer.
If appointment--stop timer.
When timer is stopped--sound the alarm.
When timer is empty--sound the alarm.
Just some thoughts.
If you want to do it with flows, I would recommend set the worst case time and use 15 minute blocks to increase it to the actual time based on optimal conditions.