# Can Homey execute a flow upon reboot?

**URL:** <https://community.homey.app/t/can-homey-execute-a-flow-upon-reboot/55242>\
**Category:** Questions & Help\
**Tags:** flow\
**Created:** [November 22, 2021, 10:51am UTC](https://community.homey.app/t/can-homey-execute-a-flow-upon-reboot/55242 "2021-11-22T10:51:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rob\_Vermeulen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rob_vermeulen/32/33942_2.png) [@Rob\_Vermeulen](https://community.homey.app/u/Rob_Vermeulen)\
**Post date:** [November 22, 2021, 10:51am UTC](https://community.homey.app/t/can-homey-execute-a-flow-upon-reboot/55242/1 "2021-11-22T10:51:35Z")

</div>

Having read a lot about Homey going/being offline on this forum, I’m happy to have none of these problems. Still, my Homey sometimes needs to reboot itself and I’m OK with that – as long as it doesn’t happen too often. I understand apps and Homey’s own software need to be updated regularly. I can live with waiting for a few minutes when that happens.

What I don’t like is that sometimes things have _not_ happened when they should have. Example: I have a couple of lights outside, that are controlled by two simple flows. Switch on at sunset, switch off at sunrise. When Homey happens to be doing its own thing _right at these moments_ , the lights stay off all night, or on all day.

Of course as Homey comes back up after having done its own thing, it can have no clue of what should have occurred in the meantime. So it would be nice to have a flow that checks if the current time is within a few minutes after sunset _and_ the lights are off, in which case it switches them on. That flow should be triggered each time Homey starts up, like the good old autoexec.bat on MS-DOS machines (yes, I’m that old!).

As far as I can see, triggering a flow upon a system boot is not possible. Am I right? Is there an app for that? Or can anyone think of a different approach to this problem?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [November 22, 2021, 10:56am UTC](https://community.homey.app/t/can-homey-execute-a-flow-upon-reboot/55242/2 "2021-11-22T10:56:38Z")

</div>

> [@Rob\_Vermeulen](#):
>
> As far as I can see, triggering a flow upon a system boot is not possible. Am I right?

There’s a “Homey has started” flow trigger, which possibly will only appear if you turn on the “Power user” experiment in Homey’s settings.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [November 22, 2021, 1:32pm UTC](https://community.homey.app/t/can-homey-execute-a-flow-upon-reboot/55242/3 "2021-11-22T13:32:21Z")

</div>

And, the Homey “doing its thing” activity happens overhere at 2AM UTC, which is not interrupting anything here.

But agreed, it’s a bit weird you can’t do something like:  
IF  
Homey has restarted  
THEN  
“Execute time triggered flows which would have run between the update and restart timeframe”

Solution/workaround:  
Disable Homey- and all app auto-updates.  
To be notified about new firmware and app versions, install [Homey Community Store](https://store.homey.community/hcs),  
and after a succesful install, the  
[App Version Checker](https://store.homey.community/app/com.community.store) app.  
Then you can update what and when at your likings

---

<div class="post-metadata">

**Author:** ![Rob\_Vermeulen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rob_vermeulen/32/33942_2.png) [@Rob\_Vermeulen](https://community.homey.app/u/Rob_Vermeulen)\
**Post date:** [November 23, 2021, 12:12pm UTC](https://community.homey.app/t/can-homey-execute-a-flow-upon-reboot/55242/4 "2021-11-23T12:12:34Z")

</div>

Thanks both of you. I activated ‘Power user’ and found the ‘Homes has restarted’ trigger.

@Peter_Kawa: My Homey does its errands around midnight, missing the flow upon my arrival when I come home at that time. Looks like I’ve got that fixed now.
