# Problem with closing gate after certain time if open

**URL:** https://community.homey.app/t/problem-with-closing-gate-after-certain-time-if-open/87060
**Category:** Flows
**Tags:** homey-pro
**Created:** [August 14, 2023, 5:25pm UTC](https://community.homey.app/t/problem-with-closing-gate-after-certain-time-if-open/87060 "2023-08-14T17:25:56Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Leander\_Hautekeete](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leander_hautekeete/32/80430_2.png) [@Leander\_Hautekeete](https://community.homey.app/u/Leander_Hautekeete)
#### Post date: [August 14, 2023, 5:25pm UTC](https://community.homey.app/t/problem-with-closing-gate-after-certain-time-if-open/87060/1 "2023-08-14T17:25:56Z")

</div>

Hello  
Can someone help me out , i created a flow to close the garagedoor to close after a certain time if still open with a fobaro smart implant .  
the implant is working as needed but the must be a fault in the flow because the door won’t close

 ![Knipsel](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/f/ff25f6f717092c4eb7b035caa8db69fef6208c1f.jpeg)

---

<div class="post-metadata">

### Author: ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)
#### Post date: [August 14, 2023, 5:51pm UTC](https://community.homey.app/t/problem-with-closing-gate-after-certain-time-if-open/87060/2 "2023-08-14T17:51:21Z")

</div>

I think you are using the wrong countdown card.  
Instead of “zandloper is gestopt” you want to use “zandloper leeg”

In your xpcase the flow is triggered when the gate is closed (zandloper is stopped by “ingang 1 is geopend”)

---

<div class="post-metadata">

### Author: ![Kringloper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kringloper/32/70714_2.png) [@Kringloper](https://community.homey.app/u/Kringloper)
#### Post date: [August 14, 2023, 6:04pm UTC](https://community.homey.app/t/problem-with-closing-gate-after-certain-time-if-open/87060/3 "2023-08-14T18:04:18Z")

</div>

There are some examples on the forum where you could use one trigger flowcards to check if a certain logic is true for a given time.

 ![1000007379](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/5/6597727d8ad230177b1b80f12637404ca5d8b38f.jpeg)

---

<div class="post-metadata">

### Author: ![Leander\_Hautekeete](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leander_hautekeete/32/80430_2.png) [@Leander\_Hautekeete](https://community.homey.app/u/Leander_Hautekeete)
#### Post date: [August 14, 2023, 8:12pm UTC](https://community.homey.app/t/problem-with-closing-gate-after-certain-time-if-open/87060/4 "2023-08-14T20:12:31Z")

</div>

found it  
was the wrong setting had to be zandloper leeg instead of zandloper gestopt.  
everything is now working as planned .  
thx
