# 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:** 3

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [March 23, 2021, 7:11am UTC](https://community.homey.app/t/h-o-o-p-hope-examples/45114/3 "2021-03-23T07:11:22Z")

</div>

### Example Flow Director - If - ElseIf - EndIf

[Flow to turn on lights dimmed, full or not at all | Homey](https://homey.app/nl-nl/flow/pw-Evx/)

This flow will be activated when there is a motion detected by a sensor and will turn the lights on dimmed, full (90%) or not at all.

- First the CountDown to turn the light off, is stopped.
- Then, if the Lumen (lx) of the Sensor is less then 30lx, turn on the lights dimmed at 30%.
- ElseIf the Lumen (lx) is less then 100lx, turn on the lights at 90%.
- If the above is not executed, the lights will not be turned on.

---

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