Dynamic flow scheduling with a Scheduler device configurable from flows.
Add a new Scheduler Device from the Action Scheduler app just like any other device. A new schedule configuration is prompted where you will input:
A name for the Schedule
The time for the schedule to trigger in HH:mm format
Time formats supported
HH can be 0-23 or * for every hour or */n for every nth hour
mm can be 0-59 or * for every minute or */n for every nth minute
12:30 - exact time *:30 - every hour’s 30th minute 5:*/5 - on the 5th hour every 5 minutes *:*/15 - every 15 minutes
Ranges area also supported
12-15:30 - executed on 12:30, 13:30, 14:30 and 15:30 *:30-45 - every hour, for every minute within 30-45
Timezone is prefilled based on your location and you can use any of IANA Timezones
Weekdays to repeat, if empty the scheduler is not enabled.
The added device can be turned on or off to enable or disable the scheduler.
Supported flow cards
When - Trigger
Triggers when schedule is updated.
Triggers on next scheduled time. Use this card to start your flow.
Scheduled time is in minutes minutes.
Trigger a number of minutes before the actual scheduled time.
And - Condition
Scheduler is/isn’t enabled.
Next run is scheduled in minutes.
Next run is scheduled for today.
Next run is scheduled for tomorrow.
Next run is scheduled for this week.
Next run is scheduled for next week.
Then - Action
Set scheduler enabled to Yes/No
Sets schedule time as HH:mm.
Schedule ahead of time
Schedule given minutes before HH:mm time. If any weekday is selected, the alarm will be repeated on those weekdays. If no weekday is selected, the alarm will run once. Adjusts to previous day, if schedule will be before midnight.
Heat the outdoor spa by 18:00 and save energy by heating just enough to reach the desired temperature.
Starting the car preheating based on your iCal calendar for the next morning departure time.
ADD: New device - ‘Scheduler’: Adds scheduling for given time and repeat on selected weekdays
Please note that this is now out for testing and not meant for production like use.
Some side effect may exist and any notes on those are greatly appreciated.
When adding a Scheduler device, it asks for a name, time in 24h HH:mm format and the days for repeating. Timezone is detected from your browser and may be changed.
If all days are unchecked, the scheduled time will trigger only once. This may change in a future version.
Device can be turned on / off to enable / disable the scheduler.
One bonus from using cron-library for this, time string can have certain crontab like wild cards:
HH = * – repeat every hour
HH = 8-12 – repeat on the hours of 8, 9, 10, 11 and 12
mm = * – repeat every minute
mm = */5 – repeat every five minutes
Does not support schedule for dates or months (for now).
All parameters can be adjust from the device’s Advanced Settings page.
Next in line for the Scheduler device is recreate the rest of the original flow cards.
If you are not comfortable in using test versions of the app, please reinstall the production version.