# If time is \<variable\> possible?

**URL:** <https://community.homey.app/t/if-time-is-variable-possible/76457>\
**Category:** Questions & Help\
**Created:** [February 14, 2023, 10:15am UTC](https://community.homey.app/t/if-time-is-variable-possible/76457 "2023-02-14T10:15:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hans\_Heintz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hans_heintz/32/30553_2.png) [@Hans\_Heintz](https://community.homey.app/u/Hans_Heintz)\
**Post date:** [February 14, 2023, 10:15am UTC](https://community.homey.app/t/if-time-is-variable-possible/76457/1 "2023-02-14T10:15:15Z")

</div>

We have a rather deviant weekday pattern concerning the start of day and there are quite some flows dependent on that moment (like preheating the bathroom or the car).  
Is it possible to have a text variable like “wake\_up\_time” with value “06:45” (set at 18:00 the day before value dependant on day of week) and have a flow triggerd by  
If time = TimeValue(wake\_up\_time)

It would also make it possible to have a two switches near your bed, one to cancel for the next day and one to set the time to now at wake up.  
Most beautiful is if homey could have or look into a planner in which you could set your week pattern and also holidays and other exceptions on top of that.

---

<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:** [February 14, 2023, 10:36am UTC](https://community.homey.app/t/if-time-is-variable-possible/76457/2 "2023-02-14T10:36:50Z")

</div>

Check this out. It can either set the alarm time for a Homey Alarm to go off to start your flow

Or you can use a Scheduer device from this app for more advanced setup.

> [@\[APP\]\[Pro\] Action Scheduler](https://community.homey.app/t/app-pro-action-scheduler-alarm-utilities/75592):
>
> 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/oh2th)[[paypal-donate]](https://paypal.me/oh2th) Introduction Dynamic flow scheduling with a Scheduler device configurable from flows. App Featuresplay_button Flow cards: And - Conditions Device Features Device: Cron Timeplay_button Adding a new deviceplay_button Capabilitiesplay_button Flow cards: When - Triggersplay_button Flow cards: And - Conditionsplay_button Flow cards: Then - Actions Device: Schedulerplay_button Adding a new …

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [February 14, 2023, 10:44am UTC](https://community.homey.app/t/if-time-is-variable-possible/76457/3 "2023-02-14T10:44:16Z")

</div>

I guess the easiest way for this porpose is to use the **Alarm** function.  
Another solution should be the use of the **iCalCalender** App.

With both variants you have the possibility to start flows before the actual event.

---

<div class="post-metadata">

**Author:** ![Hans\_Heintz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hans_heintz/32/30553_2.png) [@Hans\_Heintz](https://community.homey.app/u/Hans_Heintz)\
**Post date:** [February 14, 2023, 8:42pm UTC](https://community.homey.app/t/if-time-is-variable-possible/76457/4 "2023-02-14T20:42:52Z")

</div>

Thanks, both look interesting. Never used the alarm function. Thought of it but could not find where to configure in the browser interface but probably only available in smart phone interface. Trying it out now.
