# After dark lights help

**URL:** <https://community.homey.app/t/after-dark-lights-help/33160>\
**Category:** Questions & Help\
**Created:** [August 2, 2020, 10:45pm UTC](https://community.homey.app/t/after-dark-lights-help/33160 "2020-08-02T22:45:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Razzle](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/razzle/32/10410_2.png) [@Razzle](https://community.homey.app/u/Razzle)\
**Post date:** [August 2, 2020, 10:45pm UTC](https://community.homey.app/t/after-dark-lights-help/33160/1 "2020-08-02T22:45:08Z")

</div>

I want lights to come on after dark. Since i cant start a flow with a time frame …nor can i ‘if nobody is at home’ i have to do sunset and delay. But this poses the problem that if we are home at sunset and then leave…the flow doesnt activate.

Anyone got some ideas?  
Thanks.

---

<div class="post-metadata">

**Author:** ![Jan\_Willem\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_willem_visser/32/10747_2.png) [@Jan\_Willem\_Visser](https://community.homey.app/u/Jan_Willem_Visser)\
**Post date:** [August 2, 2020, 10:57pm UTC](https://community.homey.app/t/after-dark-lights-help/33160/2 "2020-08-02T22:57:09Z")

</div>

Create two flows. The first triggers when it get dark and strart the things u want. Create a second flow that triggers on the time u whant things to stop. In this way u heave created a time frame.
