# How to start a flow at a spesific time stored in variabel, with built in functions (Solution - Check every 60 minutes or use the app "Timey")

**URL:** <https://community.homey.app/t/how-to-start-a-flow-at-a-spesific-time-stored-in-variabel-with-built-in-functions-solution-check-every-60-minutes-or-use-the-app-timey/109853>\
**Category:** Flows\
**Tags:** flow\
**Created:** [May 14, 2024, 5:18pm UTC](https://community.homey.app/t/how-to-start-a-flow-at-a-spesific-time-stored-in-variabel-with-built-in-functions-solution-check-every-60-minutes-or-use-the-app-timey/109853 "2024-05-14T17:18:27Z")\
**Posts on this page:** 1\
**Showing post:** 36

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [May 18, 2024, 10:13am UTC](https://community.homey.app/t/how-to-start-a-flow-at-a-spesific-time-stored-in-variabel-with-built-in-functions-solution-check-every-60-minutes-or-use-the-app-timey/109853/36 "2024-05-18T10:13:17Z")

</div>

> [@Rmb](#):
>
> For me, using a variable time to switch on the light, the principle is as follows

Exactly, that is the (partial) answer to the question asked by @Marius_Stensrod  
The principle can work, but why would you do that? This is really inefficient.

To better solve it, let’s go back to the original question of turning on the lights at a certain time/ trigger event.

How do you (@Marius_Stensrod ) do the actual calculation of the _time_ (in your formula)? Based on what inputs? Season? Latitude/Longitude? Luminance?

There are tons of options so better if you provide more information.

- If it is [time](https://community.homey.app/t/calculate-number-of-hours-minutes-between-now-and-a-future-point-in-time/75617/10), then calculate timetarget - now in seconds (HomeyScript or BLL) and set a Chronograph timer.
- if it is SunEvents or the time is in [epochtime format](https://community.homey.app/t/time-calculations-in-better-logic/11078/3)
- [Others](https://community.homey.app/t/time-calculation-from-sun-down-time-to-end-time-to-show-seconds-countdown-for-turn-off-lights-and-show-time-on-dashboard/96134/3)

---

_[View the full topic](https://community.homey.app/t/how-to-start-a-flow-at-a-spesific-time-stored-in-variabel-with-built-in-functions-solution-check-every-60-minutes-or-use-the-app-timey/109853)._
