# \[APP\]\[Pro\] Action Scheduler

**URL:** <https://community.homey.app/t/app-pro-action-scheduler/75592>\
**Category:** Apps\
**Tags:** app, tools, homey-pro\
**Created:** [January 26, 2023, 8:50am UTC](https://community.homey.app/t/app-pro-action-scheduler/75592 "2023-01-26T08:50:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [January 26, 2023, 8:50am UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/1 "2023-01-26T08:50:06Z")

</div>

> **[Action Scheduler | Homey](https://homey.app/en-us/app/fi.oh2th.alarmutils/Action-Scheduler/)**
>
> Dynamic flow scheduling

* * *

## Contribute

If you enjoy what I do, consider supporting me on [Ko-fi](https://ko-fi.com/oh2th) or [Paypal](https://paypal.com/oh2th)! Every little bit means the world!

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/oh2th)

 ![PayPal-Monogram-FullColor-RGB](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/4/a4487efcecea3eaa1117c94d5b3b9abb494f4374.png) [![paypal-donate](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/9/b9009a31c1d273ef85c97c5c23d01c721ef11770.png)](https://paypal.me/oh2th)

* * *

> # Introduction

Dynamic flow scheduling with a Scheduler device configurable from flows.

> # App Features

> **Flow cards: And - Conditions**
>
> - Current date matches/doesn’t match cron expression.

> # Device Features

## Device: Cron Time

> **Adding a new device**
>
> Add a new Cron Time 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 device
> - The cron time for the schedule to trigger at. See [Crontab Guru](http://crontab.guru) for format.
> - Timezone is pre-filled based on your location and you can use any of [IANA Timezones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)

> **Capabilities**
>
> - Schedule Enabled
> - Scheduled date
> - Scheduled time
> - Schedule Next

> **Flow cards: When - Triggers**
>
> - Schedule updated
> - Schedule triggered
> - Scheduled time is in `minutes` minutes.

> **Flow cards: And - Conditions**
>
> - 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.

> **Flow cards: Then - Actions**
>
> - Enable scheduler
> - Set cron time to `crontime`

## Device: Scheduler

> **Adding a new device**
>
> 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
> - Timezone is pre-filled based on your location and you can use any of [IANA Timezones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
> - Weekdays to repeat, if empty the scheduler is not enabled.
> 
> ### 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

> **Capabilities**
>
> - Schedule Enabled
> - Scheduled date
> - Scheduled time
> - Schedule Next

> **Flow cards: When - Triggers**
>
> - Schedule updated
> - Schedule triggered
> - Scheduled time is in `minutes` minutes.

> **Flow cards: And - Conditions**
>
> - 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.

> **Flow cards: Then - Actions**
>
> - Enable scheduler
> - Scheduler time
> - Sets scheduled 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.

> # Use cases

- 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.

> # Useful links

- [Example flows with Scheduler Device](https://community.homey.app/t/75592/3)
- [FAQ - Frequently asked questions](https://community.homey.app/t/75592/3)
- [TODO](https://community.homey.app/t/75592/4)
- [Known issues](https://community.homey.app/t/75592/5)

---

_[View the full topic](https://community.homey.app/t/app-pro-action-scheduler/75592)._
