# \[Simple\] Lights turning on/off based on motion

**URL:** <https://community.homey.app/t/simple-lights-turning-on-off-based-on-motion/10889>\
**Category:** Flows\
**Tags:** flow\
**Created:** [March 21, 2019, 5:36pm UTC](https://community.homey.app/t/simple-lights-turning-on-off-based-on-motion/10889 "2019-03-21T17:36:00Z")\
**Posts on this page:** 1\
**Showing post:** 102

<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:** [January 27, 2024, 9:51pm UTC](https://community.homey.app/t/simple-lights-turning-on-off-based-on-motion/10889/102 "2024-01-27T21:51:14Z")

</div>

YW, Cowman,

This is a good start I think:

> [@The Flow Exchange(r) - Exchange Your Flows with Others!](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981/84):
>
> # Zone activated Device with Manual Device OnOff option
> 
> When you have, say, a garage with (a) motion sensor(s), and (a) (garage)door sensor(s), the light should turn on for 3 minutes after a motion event, or an opened garagedoor;  
> While there’s movement, lights stay on;  
> When the button gets pushed, lights should turn on, and stay on until the button is pushed again.
> 
> ![Screenshot 2023-09-17 at 03-11-50 1.HomeyPro Peter](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/c/dc5e2a670aff248e5dc0f34e5574e59fe968955a.png)

---

_[View the full topic](https://community.homey.app/t/simple-lights-turning-on-off-based-on-motion/10889)._
