# Countdown flow does not work after restart Homey

**URL:** <https://community.homey.app/t/countdown-flow-does-not-work-after-restart-homey/26742>\
**Category:** Flows\
**Created:** [March 4, 2020, 2:10pm UTC](https://community.homey.app/t/countdown-flow-does-not-work-after-restart-homey/26742 "2020-03-04T14:10:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Angel\_Escudero](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/angel_escudero/32/13512_2.png) [@Angel\_Escudero](https://community.homey.app/u/Angel_Escudero)\
**Post date:** [March 4, 2020, 2:10pm UTC](https://community.homey.app/t/countdown-flow-does-not-work-after-restart-homey/26742/1 "2020-03-04T14:10:16Z")

</div>

Hi!!!

I want to have the MQTT application restart when homey starts / restarts after 120 seconds.

The flow I am doing so. But it doesn’t work properly. When homey restarts, the countdown cards show “unavailable card” and the timer does not start.

If I do a “test” the flow works perfectly.

Any ideas?

Thank you!!!

[https://homey.app/f/bBnUB2](https://homey.app/f/bBnUB2)

---

<div class="post-metadata">

**Author:** ![Igy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/igy/32/22144_2.png) [@Igy](https://community.homey.app/u/Igy)\
**Post date:** [March 4, 2020, 2:26pm UTC](https://community.homey.app/t/countdown-flow-does-not-work-after-restart-homey/26742/2 "2020-03-04T14:26:37Z")

</div>

You need to put some delay for the flow, because after Homey restart it take time to load and activate all the apps.

---

<div class="post-metadata">

**Author:** ![Angel\_Escudero](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/angel_escudero/32/13512_2.png) [@Angel\_Escudero](https://community.homey.app/u/Angel_Escudero)\
**Post date:** [March 4, 2020, 3:59pm UTC](https://community.homey.app/t/countdown-flow-does-not-work-after-restart-homey/26742/3 "2020-03-04T15:59:19Z")

</div>

Hi @Igy

Either I’m not doing well, or the “Homey has started” target doesn’t launch any action.

I have tried this flow. And it does not work. After the restart of Homey, it does not trigger the flow.

But, I’m probably doing it wrong.

[https://homey.app/f/A4PgC2](https://homey.app/f/A4PgC2)

---

<div class="post-metadata">

**Author:** ![PetervdK](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/petervdk/32/20669_2.png) [@PetervdK](https://community.homey.app/u/PetervdK)\
**Post date:** [March 4, 2020, 5:36pm UTC](https://community.homey.app/t/countdown-flow-does-not-work-after-restart-homey/26742/4 "2020-03-04T17:36:35Z")

</div>

Why not simply use:

When “Homey has started”  
Then “Restart MQTTT Hub” (with a delay of 120 seconds)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/5/c57cb49dcb4dcfbd2fa937d671b72cdc4b9b9ef2.jpeg)

---

<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:** [March 4, 2020, 5:42pm UTC](https://community.homey.app/t/countdown-flow-does-not-work-after-restart-homey/26742/5 "2020-03-04T17:42:06Z")

</div>

My Spanish isn’t great, but I’m pretty sure your When card _isn’t_ “Homey has started” but “This flow has started”.

---

<div class="post-metadata">

**Author:** ![Angel\_Escudero](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/angel_escudero/32/13512_2.png) [@Angel\_Escudero](https://community.homey.app/u/Angel_Escudero)\
**Post date:** [March 4, 2020, 6:48pm UTC](https://community.homey.app/t/countdown-flow-does-not-work-after-restart-homey/26742/6 "2020-03-04T18:48:14Z")

</div>

Hi @robertklep

Sorry for my English. True, I was referring to this target. It is a system target that says “homey has started”.  
[https://homey.app/f/Ty4TC2](https://homey.app/f/Ty4TC2)

---

<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:** [March 4, 2020, 7:35pm UTC](https://community.homey.app/t/countdown-flow-does-not-work-after-restart-homey/26742/7 "2020-03-04T19:35:46Z")

</div>

If that doesn’t work as expected, you should probably post a [support request](https://support.athom.com/hc/en-us/requests/new) because it sounds like a bug.

---

<div class="post-metadata">

**Author:** ![Angel\_Escudero](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/angel_escudero/32/13512_2.png) [@Angel\_Escudero](https://community.homey.app/u/Angel_Escudero)\
**Post date:** [March 5, 2020, 12:33am UTC](https://community.homey.app/t/countdown-flow-does-not-work-after-restart-homey/26742/8 "2020-03-05T00:33:26Z")

</div>

Hi @robertklep and @PetervdK

It really works well.

Much easier and easier than I wanted to do it.

Thank you very much for the help!!!
