# H.O.O.P. (Hope) - Examples

**URL:** <https://community.homey.app/t/h-o-o-p-hope-examples/45114>\
**Category:** Tutorials\
**Tags:** app, tools, tutorial, flow\
**Created:** [March 23, 2021, 6:05am UTC](https://community.homey.app/t/h-o-o-p-hope-examples/45114 "2021-03-23T06:05:48Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Kongedam](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kongedam/32/35807_2.png) [@Kongedam](https://community.homey.app/u/Kongedam)\
**Post date:** [March 28, 2021, 6:12am UTC](https://community.homey.app/t/h-o-o-p-hope-examples/45114/12 "2021-03-28T06:12:14Z")

</div>

### Example Using one button for multiple purposes (waits a second before firing)

Thanks to [Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)  
He created this flow, I used some time to understand and add flowcards 🙂  
Therefore you will see flow comments that is not needed  
_ **You need to create a counter called “PushButtonPushesDebounce”** _

1 Push = ON/OFF  
2 Push = Dim 50%  
3 Push = Dim 100%

**1. Hope - (Trigger)**

> **[1. Hope - (Trigger) | Homey](https://homey.app/en-us/flow/dz1pTx/)**

**2. Hope (Counter)**  
Count no. of button pushes “PushButtonPushesCount”  
Start counter “PushButtonPushesDebounce” = 1

> **[2. Hope (Counter) | Homey](https://homey.app/en-us/flow/nbWpTx/)**

**3. Hope Start (Debouncer)**  
Counter “PushButtonPushesDebounce” = 0  
Start (Debouncer method flow)

> **[3. Hope Start (Debouncer) | Homey](https://homey.app/en-us/flow/e00rTx/)**

**4. Hope (Debouncer method)**  
IF “PushButtonPushesCount” = 1  
THEN (turn light ON/OFF)

IF “PushButtonPushesCount” = 2  
THEN (Set light 50%)

IF “PushButtonPushesCount” = 3  
THEN (Set light 100%)

> **[4. Hope (Debouncer method) | Homey](https://homey.app/en-us/flow/fh7tTx/)**

---

_[View the full topic](https://community.homey.app/t/h-o-o-p-hope-examples/45114)._
