# How to tell Homey i used the app for switch on or off

**URL:** <https://community.homey.app/t/how-to-tell-homey-i-used-the-app-for-switch-on-or-off/32293>\
**Category:** Flows\
**Created:** [July 11, 2020, 11:20pm UTC](https://community.homey.app/t/how-to-tell-homey-i-used-the-app-for-switch-on-or-off/32293 "2020-07-11T23:20:28Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Jamie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jamie/32/5274_2.png) [@Jamie](https://community.homey.app/u/Jamie)\
**Post date:** [July 17, 2020, 4:28pm UTC](https://community.homey.app/t/how-to-tell-homey-i-used-the-app-for-switch-on-or-off/32293/6 "2020-07-17T16:28:26Z")

</div>

Same question answer here with examples :

> [@\[Simple\] Lights turning on/off based on motion](https://community.homey.app/t/simple-lights-turning-on-off-based-on-motion/10889/54):
>
> I have a similar needs as you and with almost the same hardware. But my flow setup uses tags and segregation of flows but I hope this can give you the idea on how to do what you want - Easy enough so far, when the garage is active turn everything on and start a timer for 10 minutes. When the timer runs out - turn very thing off. When I press the garage button - reset the timer which turns everything off to start counting down from 1 hour. I also have a flow for when the switch is pr…

* * *

I have a similar needs as you and with almost the same hardware. But my flow setup uses tags and segregation of flows but I hope this can give you the idea on how to do what you want -

[https://homey.app/f/2odrMa](https://homey.app/f/2odrMa)

Easy enough so far, when the garage is active turn everything on and start a timer for 10 minutes.

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

When the timer runs out - turn very thing off.

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

When I press the garage button - reset the timer which turns everything off to start counting down from 1 hour.

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

I also have a flow for when the switch is pressed twice - completely disable the timer. So the garage light doesn’t automatically turn off. This is similar to what you want to do.

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

But just in case I forget to turn it off - at 2am turn it off for me.

—

Rather then disable the timer I have been meaning to instead disable the flow if I double tap, and then reenable each night at 2am when it does the sanity check.

---

_[View the full topic](https://community.homey.app/t/how-to-tell-homey-i-used-the-app-for-switch-on-or-off/32293)._
