# Light continuously on for longer stays

**URL:** <https://community.homey.app/t/light-continuously-on-for-longer-stays/60778>\
**Category:** Questions & Help\
**Tags:** z-wave, flow\
**Created:** [February 20, 2022, 10:51pm UTC](https://community.homey.app/t/light-continuously-on-for-longer-stays/60778 "2022-02-20T22:51:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![leiet](https://avatars.discourse-cdn.com/v4/letter/l/f1d935/32.png) [@leiet](https://community.homey.app/u/leiet)\
**Post date:** [February 20, 2022, 10:51pm UTC](https://community.homey.app/t/light-continuously-on-for-longer-stays/60778/1 "2022-02-20T22:51:30Z")

</div>

Hi, I hope someone can help. I have a flow where the light in my garage goes on when movement is registered and off after x minutes.  
The problem is that this works very poorly when I stay in the garage over time, without the light turning off. Anyone have a flow that solves this?

My flow today:  
Lights on: [Shared Flow | Homey](https://homey.app/f/kD5lpY)  
Lights off: [Shared Flow | Homey](https://homey.app/f/7aclpY)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [February 21, 2022, 12:17am UTC](https://community.homey.app/t/light-continuously-on-for-longer-stays/60778/2 "2022-02-21T00:17:03Z")

</div>

> [@leiet](#):
>
> when I stay in the grass over time,

Does that imply the sensor ‘sees’ you moving the whole time? Or is it an other sensor?

---

<div class="post-metadata">

**Author:** ![leiet](https://avatars.discourse-cdn.com/v4/letter/l/f1d935/32.png) [@leiet](https://community.homey.app/u/leiet)\
**Post date:** [February 21, 2022, 5:16am UTC](https://community.homey.app/t/light-continuously-on-for-longer-stays/60778/3 "2022-02-21T05:16:24Z")

</div>

Thanks for reply. I only have one sensor and it will basically capture all activity.  
It seems to turn off the light x minutes after the first movement, although there are new movements after this.

A flow that extended the time the light is on, according to how much movement there was in the zone over time would have helped. Is something like that possible?

To make it extra complicated, I have an Aeotec garage door controller installed. I wish that when the garage door opened the light turned on, and when it was open (movement or not) the light was always on. When the door is closed, x min until the light switches off if there is no movement in the zone.

Can inform that I use a fibaro dimmer 2 and a fibaro sensor (z-wave).

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [February 21, 2022, 5:38am UTC](https://community.homey.app/t/light-continuously-on-for-longer-stays/60778/4 "2022-02-21T05:38:20Z")

</div>

You put the delay un the second flow before you turn off the light…

But the flow isn’t canceled when there is new movement  
The delay / timer should be in the trigger

---

<div class="post-metadata">

**Author:** ![leiet](https://avatars.discourse-cdn.com/v4/letter/l/f1d935/32.png) [@leiet](https://community.homey.app/u/leiet)\
**Post date:** [March 5, 2022, 10:20pm UTC](https://community.homey.app/t/light-continuously-on-for-longer-stays/60778/5 "2022-03-05T22:20:52Z")

</div>

Thanks 🙌🏼
