# \[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:** 3

<div class="post-metadata">

**Author:** ![thobu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thobu/32/18357_2.png) [@thobu](https://community.homey.app/u/thobu)\
**Post date:** [December 28, 2022, 11:25am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/42 "2022-12-28T11:25:03Z")

</div>

left is the time tag that comes with the When card, on the right is the actual time triggered. Makes sense? Here’s the flow

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

Hmm, interesting seems to work for others like @DirkG …

---

<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:** [December 28, 2022, 12:01pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/43 "2022-12-28T12:01:18Z")

</div>

Aha, I see you are using event. Need to check if I can adjust this one. As the events happening on utc time. But I understand it.

---

<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:** [December 28, 2022, 3:46pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/44 "2022-12-28T15:46:55Z")

</div>

Hi, There is a new version:  
Token fixed and added day length token.

---

<div class="post-metadata">

**Author:** ![thobu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thobu/32/18357_2.png) [@thobu](https://community.homey.app/u/thobu)\
**Post date:** [December 29, 2022, 7:31am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/45 "2022-12-29T07:31:05Z")

</div>

looking good. thanks.  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/6/36f15c606a6634dc271270a35c65fbf1eeb11fb0.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:** [December 29, 2022, 8:21am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/46 "2022-12-29T08:21:47Z")

</div>

app v1.0.4 👍

 ![Screenshot_20221229-092232_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/3/339cc2a1e1de702fd8a040f96d8762ad597e106d.jpeg)

---

<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 29, 2022, 1:11pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/47 "2022-12-29T13:11:37Z")

</div>

![IMG_1697](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/9/3926b7dd96ce4e6908a743f44032b23703963a70.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/f/9f18b06feb6cab1c4cce29495cf8a0b00c206914.png)  
 ![IMG_1698](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/4/442c504aacb592840cd7650f8df2f602971fa699.jpeg)

v1.0.4 👍🏼

---

<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:** [December 30, 2022, 4:20pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/48 "2022-12-30T16:20:59Z")

</div>

Added new version with Circadian Level and Circadian Brightness, levels (min, Max) in the settings page

---

<div class="post-metadata">

**Author:** ![thobu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thobu/32/18357_2.png) [@thobu](https://community.homey.app/u/thobu)\
**Post date:** [January 3, 2023, 3:04pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/49 "2023-01-03T15:04:16Z")

</div>

The Nadir trigger doesn’t work for me, others like dawn etc. do work (didn’t test all of them tough)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/0/f08b1e6b2cf7de9fd2a8b58553a90b0835ae2d5e.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:** [January 3, 2023, 5:04pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/50 "2023-01-03T17:04:29Z")

</div>

That’s wierd. All use the same procedure. At what time it should run today. You can check in the app settings.

---

<div class="post-metadata">

**Author:** ![thobu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thobu/32/18357_2.png) [@thobu](https://community.homey.app/u/thobu)\
**Post date:** [January 3, 2023, 6:08pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/51 "2023-01-03T18:08:18Z")

</div>

it says Jan 2, 23:59

---

<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:** [January 3, 2023, 7:14pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/52 "2023-01-03T19:14:51Z")

</div>

And today?

---

<div class="post-metadata">

**Author:** ![thobu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thobu/32/18357_2.png) [@thobu](https://community.homey.app/u/thobu)\
**Post date:** [January 4, 2023, 9:37am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/53 "2023-01-04T09:37:49Z")

</div>

Jan 4, 00:00

---

<div class="post-metadata">

**Author:** ![thobu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thobu/32/18357_2.png) [@thobu](https://community.homey.app/u/thobu)\
**Post date:** [January 4, 2023, 9:51am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/54 "2023-01-04T09:51:20Z")

</div>

mind the Jan 2, was printed on the screen when I looked at it on Jan 3

---

<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:** [January 4, 2023, 10:05am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/55 "2023-01-04T10:05:52Z")

</div>

Ok, still didn’t trigger? Can you give me your nearest city so that i can adjust my coordinates to test as I cannot reproduce it. As it is close around midnight I suspect it has something to do with this. You can sent me also a pm if this is private information.

---

<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:** [January 4, 2023, 10:06am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/56 "2023-01-04T10:06:44Z")

</div>

Nadir issue confirmed, Marcel.

I did a test with trigger Nadir offset 0 , but the flow wasn’t triggered last night.  
Dutch timezone.

 ![Screenshot_20230104-110119_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/b/6be743d6128689b166a64082804213aaacb5fdbb.jpeg)

---

<div class="post-metadata">

**Author:** ![thobu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thobu/32/18357_2.png) [@thobu](https://community.homey.app/u/thobu)\
**Post date:** [January 4, 2023, 10:07am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/57 "2023-01-04T10:07:35Z")

</div>

You can take Munich as a city

---

<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:** [January 4, 2023, 12:41pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/58 "2023-01-04T12:41:58Z")

</div>

OK, Thanks. I will look into this.

---

<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:** [January 14, 2023, 10:00am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/59 "2023-01-14T10:00:11Z")

</div>

I have made an update. I have changed everything to local time as homey have no timezone anymore as they do everything on utc. Which is problem. So I have made a number of changes to calc everything to local time which solve the above issue.

---

<div class="post-metadata">

**Author:** ![thobu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thobu/32/18357_2.png) [@thobu](https://community.homey.app/u/thobu)\
**Post date:** [January 15, 2023, 9:12am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/60 "2023-01-15T09:12:16Z")

</div>

I can confirm that Nadir triggers correctly

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [January 27, 2023, 3:16pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/61 "2023-01-27T15:16:06Z")

</div>

Hi Marcel,

I’m looking into redoing my dynamic lighting for my Office and thus looking into the Altitude and Circadian Level information, but I think it’s not correct, it’s offset by an hour.

Based on my location I would have expected the peak altitude to be at roughly 13:00 but the graph shows it to be around 12:00 (the graphs are Homey variables I write the value to every 15 minutes)

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

This site tells me the peak altitude today would occur at 12:53:

> **[Sun & moon times today, Amsterdam, Netherlands](https://www.timeanddate.com/astronomy/netherlands/amsterdam)**
>
> Time for sunrise, sunset, moonrise, and moonset in Amsterdam – Netherlands. Dawn and dusk (twilight) times and Sun and Moon position. Takes into account Daylight Saving Time (DST).

(I know what a bitch date/time handling is since Athom switched to everything UTC ☹)

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

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