# Tutorial - Advanced automatic light control with flows

**URL:** <https://community.homey.app/t/tutorial-advanced-automatic-light-control-with-flows/21877>\
**Category:** Tutorials\
**Tags:** tutorial, flow\
**Created:** [December 4, 2019, 10:31am UTC](https://community.homey.app/t/tutorial-advanced-automatic-light-control-with-flows/21877 "2019-12-04T10:31:47Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [April 13, 2020, 6:43pm UTC](https://community.homey.app/t/tutorial-advanced-automatic-light-control-with-flows/21877/21 "2020-04-13T18:43:23Z")

</div>

Did not discover your tuturial until now (someone responded to it making it come up)  
Nice to see how you structured you flows almost exactly the way I do.  
See my post about [how to structure flows](https://community.homey.app/t/how-to-structure-your-flows/25109/3)

> [@Marvin\_Schenkel](#):
>
> I divide my flows into two categories: events (ev) and actions (ac)

I do this too, but use some more categories (and different tags)

> [@Marvin\_Schenkel](#):
>
> I use scenes to set my lights to a specific ‘mood’ that’s appropriate for that time \<…\> We will be using ‘Virtual switches’ to define our scenes

Also defining scenes and using virtual devices too 🙂

> [@Marvin\_Schenkel](#):
>
> (Optional) [The simple log app](https://homey.app/nl-nl/app/nl.nielsdeklerk.log/Simple-LOG/) by Niels de Klerk to log which flows are executed. This is optional, but I like this app because it gives me an overview of everything that is happening in my apartment and makes it easy to debug any issues I come across

And check on that too (using papertrails for it…)

> [@Marvin\_Schenkel](#):
>
> Memory function for the brightness of our lights

Did not use this yet, but I do like the idea and flow

---

_[View the full topic](https://community.homey.app/t/tutorial-advanced-automatic-light-control-with-flows/21877)._
