# \[APP\]\[Pro\] Sun Events - Triggers you at certain positions of the sun

**URL:** <https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043>\
**Category:** Apps\
**Tags:** homey-pro\
**Created:** [October 23, 2022, 2:24pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043 "2022-10-23T14:24:16Z")\
**Posts on this page:** 20\
**Page:** 18

<div class="post-metadata">

**Author:** ![Wilfred\_Greven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wilfred_greven/32/13070_2.png) [@Wilfred\_Greven](https://community.homey.app/u/Wilfred_Greven)\
**Post date:** [December 5, 2025, 10:16am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/343 "2025-12-05T10:16:24Z")

</div>

Could you not reverse the card: ”it is not daytime” ?

---

<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:** [December 5, 2025, 10:45am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/344 "2025-12-05T10:45:44Z")

</div>

Information from the Homey App Store:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/4/04589f1e5b7c599f47f32dceb96651d4a733f3d3.jpeg)

So please config the flow card as follows:

It is between **Morning golden hour ends** (0) and **Evening golden hour starts** (0).

And use the orange connection point for connecting to the following flow card.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/6/f6d1ea837293d96c091aa89fe658f599fb34a325.png)

Btw, isn’t there an “All” flow card missing between the two “And…” and the two “Then…” flow cards? 🤔

---

<div class="post-metadata">

**Author:** ![elfrigo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/elfrigo/32/7893_2.png) [@elfrigo](https://community.homey.app/u/elfrigo)\
**Post date:** [December 5, 2025, 5:25pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/345 "2025-12-05T17:25:54Z")

</div>

Unfortunately not, because the daytime period is different from the time between the golden hours.

---

<div class="post-metadata">

**Author:** ![elfrigo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/elfrigo/32/7893_2.png) [@elfrigo](https://community.homey.app/u/elfrigo)\
**Post date:** [December 5, 2025, 5:30pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/346 "2025-12-05T17:30:46Z")

</div>

> Thanks Dirk, I did not see the breaking changes. Will change the flow accordingly and see how things go tomorrow. There is no card missing. I also need to turn the light on during the day but only when its dark enough (hence the lux \< 20)

Seems to solve this problem. Thx Dirk (also thanks Wilfred - almost same suggestion)

---

<div class="post-metadata">

**Author:** ![Sethakan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sethakan/32/55863_2.png) [@Sethakan](https://community.homey.app/u/Sethakan)\
**Post date:** [December 5, 2025, 8:45pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/347 "2025-12-05T20:45:23Z")

</div>

Works fine. Thanks 😃

---

<div class="post-metadata">

**Author:** ![Athomed](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@Athomed](https://community.homey.app/u/Athomed)\
**Post date:** [December 6, 2025, 10:37am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/348 "2025-12-06T10:37:04Z")

</div>

Thanks Marcel. My problem is fixed. How ? I emptied the cache, and removed the old cards (replacing them by the same and new ones).

This App is the “#1 Must Have” as we all do things based upon the Sun.  
Thank you so much for your time developing it! ❤

---

<div class="post-metadata">

**Author:** ![RogueRog](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roguerog/32/11473_2.png) [@RogueRog](https://community.homey.app/u/RogueRog)\
**Post date:** [December 8, 2025, 11:23pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/349 "2025-12-08T23:23:07Z")

</div>

So can someone please help me and tell me what to do in this situation. After midnight it doesn’t trigger anymore. I do everything based on the sun. I love this app, but now it doesn’t work for half of the time. In the morning I want my lights to trigger but they won’t. When I test it during the day it works fine but after midnight I am done. I only want to trigger it from sundown till sunrise. Thank you

 ![zon](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/6/c620097a48ebceff2fd621e511c19868d9db5c6e.jpeg)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [December 9, 2025, 2:44am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/350 "2025-12-09T02:44:24Z")

</div>

Posted and answered before, but here you go:  
You’ll have to reverse the conditions twice, because the card you created spreads over _2 days_.

Like,  
“It is not between sunrise and sunset”

 ![Screenshot_20251209_033652_Firefox](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/0/106a3810de024efeba960dde2a9ba322b0c1a10d.jpeg)

That condition has exactly the same result as you expect, but now it won’t spread over 2 days.  
This should work for 100%.

---

<div class="post-metadata">

**Author:** ![RogueRog](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roguerog/32/11473_2.png) [@RogueRog](https://community.homey.app/u/RogueRog)\
**Post date:** [December 10, 2025, 4:09pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/351 "2025-12-10T16:09:25Z")

</div>

Thanks man! Stupid I didn’t think of that.. I’ll see tomorrow morning if it works, but it should as now I understand I spread the event over 2 days lol.

---

<div class="post-metadata">

**Author:** ![Mark\_Dowling](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mark_dowling/32/113992_2.png) [@Mark\_Dowling](https://community.homey.app/u/Mark_Dowling)\
**Post date:** [February 10, 2026, 4:16am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/352 "2026-02-10T04:16:02Z")

</div>

After updating overnight to v2.5.1 the app’s config for Times is showing:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/3/5360a4ccfb13a062caab78cb0a28527f6a790030.png)

And the Triggers are showing multiple sunset and sunrise events:

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

Obliviously this is playing havoc with some of my flows.

Is this expected or a bug with the update?

I can’t be certain, but with my time zone being GMT +11, it looks like the Times are for a 24-hour period based on GMT +0.

Is it also possible the Trigger issue is also related to time zones? Pure speculation as it makes no sense to me for multiple times for the same trigger in a 24-hour period.

Thanks

---

<div class="post-metadata">

**Author:** ![Mark\_Dowling](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mark_dowling/32/113992_2.png) [@Mark\_Dowling](https://community.homey.app/u/Mark_Dowling)\
**Post date:** [February 10, 2026, 4:19am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/353 "2026-02-10T04:19:49Z")

</div>

Ignore the query about Triggers, I just realised that these are offset times in existing flows.

The query about the Times I’ll still need some advice on, as it could mean adjustments to the logic I’ve used in flows to set lighting based on time of day and circadian rhythms.

---

<div class="post-metadata">

**Author:** ![JvdMeulen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jvdmeulen/32/71049_2.png) [@JvdMeulen](https://community.homey.app/u/JvdMeulen)\
**Post date:** [February 10, 2026, 1:47pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/354 "2026-02-10T13:47:11Z")

</div>

hi @MarcelT can you update the github-page ( mentioned in the first post ) too?

Thanks for the hard work and updates

---

<div class="post-metadata">

**Author:** ![MarcelT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcelt/32/10042_2.png) [@MarcelT](https://community.homey.app/u/MarcelT)\
**Post date:** [February 10, 2026, 7:24pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/355 "2026-02-10T19:24:45Z")

</div>

Hi, What is wrong with the github page:?

---

<div class="post-metadata">

**Author:** ![JvdMeulen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jvdmeulen/32/71049_2.png) [@JvdMeulen](https://community.homey.app/u/JvdMeulen)\
**Post date:** [February 10, 2026, 7:37pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/356 "2026-02-10T19:37:56Z")

</div>

Hi, the github isn’t updated .. only the README.md

Can you point to the repo that can be cloned? or isn’t that public?

 ![Capture 2026-02-10 at 20.36.33@2x](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/c/4c696812508d0ded40c4c2b77a021a8e95610068.jpeg)

---

<div class="post-metadata">

**Author:** ![MarcelT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcelt/32/10042_2.png) [@MarcelT](https://community.homey.app/u/MarcelT)\
**Post date:** [February 10, 2026, 8:52pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/357 "2026-02-10T20:52:56Z")

</div>

That’s not public indeed

---

<div class="post-metadata">

**Author:** ![Alex\_R](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alex_r/32/121550_2.png) [@Alex\_R](https://community.homey.app/u/Alex_R)\
**Post date:** [February 11, 2026, 8:45am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/358 "2026-02-11T08:45:27Z")

</div>

Hi,

This flow used to work for me but then after the last app update it stopped. I’m pretty certain it’s not the blind card that is at fault as I use it in other flows too. But then again I also use “Sun Events” in other flows with sunrise/sunset and that works too. Hope for some insight/help. I tried the usual app restart and rebinding the cards.

Thanks.

 ![Screenshot 2026-02-11 at 19.38.10](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/6/76a8d2ab54d1cea0390df0f8f5d3eddebe128a40.png)

---

<div class="post-metadata">

**Author:** ![MarcelT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcelt/32/10042_2.png) [@MarcelT](https://community.homey.app/u/MarcelT)\
**Post date:** [February 11, 2026, 2:06pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/359 "2026-02-11T14:06:49Z")

</div>

Seems to work just fine. Please test it like this for example:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/5/95917320187a005ed554b350b015a14cfe7e4660.png)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [February 11, 2026, 5:54pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/360 "2026-02-11T17:54:27Z")

</div>

The time condition connected in series is superfluous.  
When you’d like to use it as backup, or just as an alternative condition, you’d connect it in parallel to the azimuth condition. This would read as “or the time is 13:00h, or azimuth is 22”.

Second, you now have exactly one shot a day to match the azimuth value of 22.  
I would use the “azimuth is between 22 and 25” condition; if for some reason 22 is missed or unavailable, it can still match on 23 or 24 or 25.  
This is just my way of minimising Homey hickups.

---

<div class="post-metadata">

**Author:** ![JvdMeulen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jvdmeulen/32/71049_2.png) [@JvdMeulen](https://community.homey.app/u/JvdMeulen)\
**Post date:** [February 11, 2026, 8:06pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/361 "2026-02-11T20:06:44Z")

</div>

What changed that you decided to close-source it? I really like to view other developers software to learn and pick their brain a bit..

---

<div class="post-metadata">

**Author:** ![MarcelT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcelt/32/10042_2.png) [@MarcelT](https://community.homey.app/u/MarcelT)\
**Post date:** [February 11, 2026, 9:06pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/362 "2026-02-11T21:06:28Z")

</div>

Hi, When someone picked my source change it a bit and bring out a similar app. Not this one but another and I have my development system in such a way that it is easier for me to have it local. But if you want to know a specific thing I am more than happy to help.

[Previous page](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043.md?page=17)

[Next page](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043.md?page=19)
