# Sunrise not working

**URL:** <https://community.homey.app/t/sunrise-not-working/13435>\
**Category:** Questions & Help\
**Created:** [May 21, 2019, 7:10am UTC](https://community.homey.app/t/sunrise-not-working/13435 "2019-05-21T07:10:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronnielox](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnielox/32/112217_2.png) [@Ronnielox](https://community.homey.app/u/Ronnielox)\
**Post date:** [May 21, 2019, 7:10am UTC](https://community.homey.app/t/sunrise-not-working/13435/1 "2019-05-21T07:10:53Z")

</div>

Hi,

I have Homey 2.1.2 with X10 light switches. The flows for sunset/sunrise worked flawlessly till 2 weeks ago (ca.)  
In the evening, the lights go on perfectly, but the lights don’t go off after sunrise. This normally worked fine. The sun rises in the Netherlands before 6 AM atm, but my lights stay on all day.  
The X10 controller is working fine since manual on/off work fine, and also the lights go on by sunset.

I already created new flows, but still the issue persist.

Hope you can help me.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [May 21, 2019, 7:43am UTC](https://community.homey.app/t/sunrise-not-working/13435/2 "2019-05-21T07:43:22Z")

</div>

There are (at least) three possible causes for this problem:

- the “sunrise” trigger doesn’t work
- the X10 action doesn’t work
- the entire flow doesn’t work

You have to find out which of these is causing your problem, because the solution depends on it.

So:

- do other flows using the “sunrise” trigger still work?
- what happens if you test the flow?

---

<div class="post-metadata">

**Author:** ![Ronnielox](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnielox/32/112217_2.png) [@Ronnielox](https://community.homey.app/u/Ronnielox)\
**Post date:** [May 21, 2019, 8:33am UTC](https://community.homey.app/t/sunrise-not-working/13435/3 "2019-05-21T08:33:43Z")

</div>

Hi Robert,

I was just looking at the time of sunrise here in NL. That is 05:39. I have a flow where the lights go on at 06:00, till sunrise. It’s spring now, so the 06:00 on happens AFTER sunrise… stupid me…  
I changed the lights on to 05:00, and I assume this issue is solved now. The sunrise will not be earlier than 05:00 ever in NL so that should not be an issue anymore.

This issue is closed.

Thanks for you help, I needed it to think about this issue and you made me do that.

Kind regards,

Ronald

---

<div class="post-metadata">

**Author:** ![PetervdK](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/petervdk/32/20669_2.png) [@PetervdK](https://community.homey.app/u/PetervdK)\
**Post date:** [May 21, 2019, 8:38am UTC](https://community.homey.app/t/sunrise-not-working/13435/4 "2019-05-21T08:38:30Z")

</div>

You could prevent switching it on in the first place by checking if sunrise already happened. Then it won’t consume energy for nothing for some time… 😇

---

<div class="post-metadata">

**Author:** ![Ronnielox](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnielox/32/112217_2.png) [@Ronnielox](https://community.homey.app/u/Ronnielox)\
**Post date:** [May 21, 2019, 9:12am UTC](https://community.homey.app/t/sunrise-not-working/13435/5 "2019-05-21T09:12:28Z")

</div>

Good one. Added the option.

Thanks.
