# 2x push for activate an action

**URL:** <https://community.homey.app/t/2x-push-for-activate-an-action/107738>\
**Category:** Questions & Help\
**Created:** [April 6, 2024, 6:07am UTC](https://community.homey.app/t/2x-push-for-activate-an-action/107738 "2024-04-06T06:07:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raymond1269](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/raymond1269/32/79245_2.png) [@Raymond1269](https://community.homey.app/u/Raymond1269)\
**Post date:** [April 6, 2024, 6:07am UTC](https://community.homey.app/t/2x-push-for-activate-an-action/107738/1 "2024-04-06T06:07:35Z")

</div>

Hello,  
I have create a flow for open and close 2 of my three electric screen.  
But I want creat a new flow by pushing two times on the same button so all my screens going up or down. Depending by pushing up or lower rocker. But when I create a flow then I have only onetime the possibility to use this switch. (AWST-9000 from Klik aan Klik Uit). Have some of you an idea to do this? If it’s possible with a example of an (advanced) flow. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [April 6, 2024, 7:48am UTC](https://community.homey.app/t/2x-push-for-activate-an-action/107738/2 "2024-04-06T07:48:30Z")

</div>

This will give you a quick start: [One button to activate different flow](https://community.homey.app/t/one-button-to-activate-different-flow/48727)

---

<div class="post-metadata">

**Author:** ![Andy\_Henderson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andy_henderson/32/80642_2.png) [@Andy\_Henderson](https://community.homey.app/u/Andy_Henderson)\
**Post date:** [April 6, 2024, 12:22pm UTC](https://community.homey.app/t/2x-push-for-activate-an-action/107738/3 "2024-04-06T12:22:49Z")

</div>

I put an example of an advanced flow to do a three-way action on a single button press [here](https://community.homey.app/t/getting-a-flic-button-to-do-more-than-three-things/102648).

Andy

---

<div class="post-metadata">

**Author:** ![WimVreugdenhil](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wimvreugdenhil/32/91178_2.png) [@WimVreugdenhil](https://community.homey.app/u/WimVreugdenhil)\
**Post date:** [April 7, 2024, 3:52pm UTC](https://community.homey.app/t/2x-push-for-activate-an-action/107738/4 "2024-04-07T15:52:06Z")

</div>

I used a Countdown for this and it works for me.

 ![Xnip2024-04-07_17-49-07](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/4/54160edb5d388fbcd1a3311df77a4beccee6f768.jpeg)

---

<div class="post-metadata">

**Author:** ![Raymond1269](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/raymond1269/32/79245_2.png) [@Raymond1269](https://community.homey.app/u/Raymond1269)\
**Post date:** [April 8, 2024, 5:39pm UTC](https://community.homey.app/t/2x-push-for-activate-an-action/107738/5 "2024-04-08T17:39:22Z")

</div>

Thank you all for the suggestions. But sorry to say, I could not create on of it. What Wim Vreugdenhil suggest, looks quite easy. But I think that I miss some info to get it work?

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [April 8, 2024, 8:55pm UTC](https://community.homey.app/t/2x-push-for-activate-an-action/107738/6 "2024-04-08T20:55:10Z")

</div>

I did not found a complete solution. The idea is that using a timer, you count the number of times the button is pushed within a certain time, resetting the timer after every push. Then when there are no more pushes, the timer ends which triggers a flow, depending upon the count of pushes.
