# Sunset Flow

**URL:** <https://community.homey.app/t/sunset-flow/66394>\
**Category:** Questions & Help\
**Created:** [July 22, 2022, 2:29pm UTC](https://community.homey.app/t/sunset-flow/66394 "2022-07-22T14:29:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Planje](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_planje/32/73356_2.png) [@Paul\_Planje](https://community.homey.app/u/Paul_Planje)\
**Post date:** [July 22, 2022, 2:29pm UTC](https://community.homey.app/t/sunset-flow/66394/1 "2022-07-22T14:29:23Z")

</div>

Hi Im new to Homey but Im coming already pretty far compare to my old system from Zipato. However now I have a flow which I can’t get to run. Here is what I like to do.

When outside light is turn on and it is after sunset then turn on the lights and start next flow

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/6/e617d235326c23489deb448ace38643b474ecb84.jpeg)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/3/b352dd71a73bdfa54caaf699fcc3bba06de847f2.jpeg)

Second Flow  
When it is 23:59 turn off the lights

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/9/69a7c2198382671f926cb5658da228a6d76152cd.jpeg)

Some how the light is not turning on. If I test the flow it seems to work

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [July 22, 2022, 2:52pm UTC](https://community.homey.app/t/sunset-flow/66394/2 "2022-07-22T14:52:19Z")

</div>

Your “start flow” will ignore (overwrite) the time of your second flow, so it will immediately turn off the lights again.  
You can still use the time as trigger in the second flow, just use the “is on” card from the 2 lights (in an OR way).

---

<div class="post-metadata">

**Author:** ![Paul\_Planje](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_planje/32/73356_2.png) [@Paul\_Planje](https://community.homey.app/u/Paul_Planje)\
**Post date:** [July 22, 2022, 4:46pm UTC](https://community.homey.app/t/sunset-flow/66394/3 "2022-07-22T16:46:47Z")

</div>

Will try it tonight, THX for the input

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/5/25548ed53c651fe96e4792879a2cdcc7525ef4ee.jpeg)

---

<div class="post-metadata">

**Author:** ![Paul\_Planje](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_planje/32/73356_2.png) [@Paul\_Planje](https://community.homey.app/u/Paul_Planje)\
**Post date:** [July 22, 2022, 7:56pm UTC](https://community.homey.app/t/sunset-flow/66394/4 "2022-07-22T19:56:38Z")

</div>

Hi the light went on for a second and the turned of. What can I do now

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [July 22, 2022, 8:11pm UTC](https://community.homey.app/t/sunset-flow/66394/5 "2022-07-22T20:11:25Z")

</div>

remove

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/0/f08027604ddb77b7ed0b2409da47e54011ca199a.png)  
from the first flow, it starts the flow that switches the light immediately off

---

<div class="post-metadata">

**Author:** ![Paul\_Planje](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_planje/32/73356_2.png) [@Paul\_Planje](https://community.homey.app/u/Paul_Planje)\
**Post date:** [July 23, 2022, 8:59am UTC](https://community.homey.app/t/sunset-flow/66394/6 "2022-07-23T08:59:08Z")

</div>

Understood, however I get the light turn on. That’s seems to work also the flow turning the light off. But I want the light turn on at Sun Set and turn off ad midnight 23:59. How can I combined that.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/e/8e7a0a0ff5bb54d353a17511e8692e16192e0ff3.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/d/6d46076db3ac52185261e07e7f8d58a20bef7127.jpeg)

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [July 23, 2022, 9:43am UTC](https://community.homey.app/t/sunset-flow/66394/7 "2022-07-23T09:43:33Z")

</div>

> [@Paul\_Planje](#):
>
> But I want the light turn on at Sun Set

So maybe you want

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 23, 2022, 10:47am UTC](https://community.homey.app/t/sunset-flow/66394/8 "2022-07-23T10:47:53Z")

</div>

You need a trigger to start a flow. In your first flow the trigger is “Aussenbeleuchtung angeschaltet”.  
So your first flow work like this:  
When you switch on the “Aussenbeleuchtung - Zuhause” and it’s after sunset, then switch on “Aussenbeleuchtung/Garage - Umgebung”.

But what you want is, what @Dijker posted:  
When the sun sets, then turn on the lights.

---

<div class="post-metadata">

**Author:** ![Paul\_Planje](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_planje/32/73356_2.png) [@Paul\_Planje](https://community.homey.app/u/Paul_Planje)\
**Post date:** [July 25, 2022, 6:26am UTC](https://community.homey.app/t/sunset-flow/66394/9 "2022-07-25T06:26:33Z")

</div>

It works now

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/7/9769cf216a6a2e99f50217d2a9746f46e8ae2075.png)
