# Advanced Flow repetitions

**URL:** https://community.homey.app/t/advanced-flow-repetitions/73861
**Category:** Flows
**Tags:** flow, advancedflow
**Created:** [December 19, 2022, 8:49pm UTC](https://community.homey.app/t/advanced-flow-repetitions/73861 "2022-12-19T20:49:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![FranklyEpic](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/franklyepic/32/48229_2.png) [@FranklyEpic](https://community.homey.app/u/FranklyEpic)
#### Post date: [December 19, 2022, 8:49pm UTC](https://community.homey.app/t/advanced-flow-repetitions/73861/1 "2022-12-19T20:49:21Z")

</div>

Evening all,  
I have begun to rebuild a few parts of my Homey structure, I don’t know why and I probably already wish I hadnt!

I have a bunch of things working really well… like managing actions at times of day, weather etc etc… those triggers all work really nicely. Using groups I had lights that all actioned when something happened, which was fine.

Now that I have updated my rooms with motion and door sensors, it makes no sense to have lights on in a room from 6pm that wont be accessed until 10pm, so I started breaking down the apps for certain rooms. That has now led to the creation of about 20 new flows, not a real issue but, confusing.

Looking for advice on best practice for this use case and how others do it? The only other option I can think of, is create a master flow (per room) for each time of day (x6) and have that check and repeat itself but only action on Motion or Door open?

Again, happy with the programing, not so sure on the structure and how to compile it easily!

Any help much appreciate!  
Thanks,  
Nick

---

<div class="post-metadata">

### Author: ![Hamster](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hamster/32/16580_2.png) [@Hamster](https://community.homey.app/u/Hamster)
#### Post date: [December 20, 2022, 6:48am UTC](https://community.homey.app/t/advanced-flow-repetitions/73861/2 "2022-12-20T06:48:13Z")

</div>

Have you looked into Zone Activity?

[![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/9/09e04d46939f2ba975db4dde00dcc37895d2e883.jpeg "How to use Zone Activity on Homey to improve your smart home") ](https://www.youtube.com/watch?v=QnJQo9wAi8I)
