# Flow to turn on and off lights by room occupancy

**URL:** <https://community.homey.app/t/flow-to-turn-on-and-off-lights-by-room-occupancy/155719>\
**Category:** Flows\
**Tags:** flow, advancedflow\
**Created:** [June 3, 2026, 6:47pm UTC](https://community.homey.app/t/flow-to-turn-on-and-off-lights-by-room-occupancy/155719 "2026-06-03T18:47:30Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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:** [June 3, 2026, 10:26pm UTC](https://community.homey.app/t/flow-to-turn-on-and-off-lights-by-room-occupancy/155719/8 "2026-06-03T22:26:50Z")

</div>

To not getting left in the dark, this works best for me

> [@The Flow Exchange(r) - Exchange Your Flows with Others!](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981/8):
>
> To prevent the light (or other device) from turning off (or on), while there’s still motion detected.  
> It uses Homey’s **Zone Activity** _AND a timer_.  
> This way your motion- & contactsensors become exchangeable and expandable, without having to fix the flow.
> 
> This way, you can add a sensor, remove one (use 1 sensor minimum), use one with another protocol (f.i. zigbee/wifi/z-wave) in a zone.
> 
> ### Apps used
> 
> - [Chronograph](https://homey.app/a/nl.fellownet.chronograph/)
> 
> ### Flow example:
> 
> ![2aa742727e50bc75f1e9b207663d1b8b84560c32_2_1034x552](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/4/04e063fc9558c99ec6975824a193866f186e5406.jpeg)

---

_[View the full topic](https://community.homey.app/t/flow-to-turn-on-and-off-lights-by-room-occupancy/155719)._
