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

<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:** [October 23, 2022, 2:24pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/1 "2022-10-23T14:24:16Z")

</div>

Good day all,

After quite a lot of work (always more than you think) I have updated the SunEvents app from SDK 2 to SDK 3 to make sure it will work after 01.01.2023. I have also restructured it to make it easier to maintain.

You can find here the test release:

> **[Sun Events | Homey](https://homey.app/en-us/app/com.cyclone-software.sunevents/Sun-Events/test/)**
>
> Triggers you at certain positions of the sun.

Please be sure that you are aware that this app can be buggy and can interrupt your workflows related to SunEvents.

Please submit bugs to [GitHub · Where software is built](https://github.com/magtimmermans/com.cyclone-software.sunevents/issues)

Thanks and have a nice day.

---

<div class="post-metadata">

**Author:** ![Philip\_Montgomery](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philip_montgomery/32/12434_2.png) [@Philip\_Montgomery](https://community.homey.app/u/Philip_Montgomery)\
**Post date:** [October 23, 2022, 9:29pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/2 "2022-10-23T21:29:13Z")

</div>

Excellent, thanks for your hard work, your app is much more useful than the built in Homey one

---

<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:** [October 24, 2022, 12:15am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/3 "2022-10-24T00:15:11Z")

</div>

Thank you very much, Marcel! Will install the test version.

---

<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:** [October 24, 2022, 8:17am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/4 "2022-10-24T08:17:32Z")

</div>

Thanks for your ongoing support for this app! Donation is on its way!

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [October 24, 2022, 10:16am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/5 "2022-10-24T10:16:04Z")

</div>

Thank you @MarcelT for update to the SDK3, it wasn’t for sure late 😉  
So far testing but it looks like the memory footprint is a little bit higher ~10% - but not significantly and most important, it’s so far stable.

![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/c/bc4c754e4ee8e16d05ef0837a68c8ee96d2fcccf.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:** [October 24, 2022, 11:16am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/6 "2022-10-24T11:16:14Z")

</div>

Thanks for the feedback.

---

<div class="post-metadata">

**Author:** ![Bas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bas/32/12539_2.png) [@Bas](https://community.homey.app/u/Bas)\
**Post date:** [November 9, 2022, 10:33am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/8 "2022-11-09T10:33:01Z")

</div>

If I install the test app, will this affect the existing flows based on the “old” sun events app? Since about 2 weekd (when wintertime/DST came into effect), sun events triggers (start of night, sundown) do not trigger anymore. Reading the above, the test version could possibly correct this, but if it means having to redo all flows with sun events in them, I rather wait until the regular app is updated.

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [November 9, 2022, 12:17pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/9 "2022-11-09T12:17:45Z")

</div>

Current flows stay intact, at least in my case

---

<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:** [November 9, 2022, 3:14pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/10 "2022-11-09T15:14:58Z")

</div>

Do you use an offset other than `0` ?  
I had [this issue](https://github.com/magtimmermans/com.cyclone-software.sunevents/issues/64) (it only triggered with offset ` 0` ), but it’s fixed in [the test version](https://homey.app/en-us/app/com.cyclone-software.sunevents/Sun-Events/test/).

Maybe you know alr, but nonetheless, you can view and check the available events of today via app settings. As you can see, a few of my custom events aren’t available outside the summer season.  
You can add a few check flows to compare your flow triggers

 ![Screenshot 2022-11-09 at 16-10-40 Homey Developer Tools](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/2/c21d7658630feba39d077c90dd0ee0196bd1c36a.png)

---

<div class="post-metadata">

**Author:** ![Bas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bas/32/12539_2.png) [@Bas](https://community.homey.app/u/Bas)\
**Post date:** [November 11, 2022, 6:51am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/11 "2022-11-11T06:51:00Z")

</div>

Thanks! Changing the offset to 0 did the trick.

---

<div class="post-metadata">

**Author:** ![Arjan-21](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arjan-21/32/27181_2.png) [@Arjan-21](https://community.homey.app/u/Arjan-21)\
**Post date:** [November 11, 2022, 7:44am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/12 "2022-11-11T07:44:50Z")

</div>

Thanks for your hard work Marcel. Will install the test version.

---

<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:** [November 11, 2022, 2:42pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/13 "2022-11-11T14:42:01Z")

</div>

> [@Bas](#):
>
> Thanks! Changing the offset to 0 did the trick

YW, but it _should_ work with an offset. Did you try with the test version of the app already?

---

<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 22, 2022, 2:53pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/14 "2022-12-22T14:53:52Z")

</div>

I just observed that the Time tag is 1 hour behind the actual event. It says 14:10 when it actually triggers at 15.10, I’m on Test  
Is this expected?

---

<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 23, 2022, 5:30pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/15 "2022-12-23T17:30:52Z")

</div>

Works fine at my Homey.  
Probably all time related triggers have an hour delay?

Big chance your Homey suffers from the “hour bug”, which can occur after a firmware update.

You can check it at the `dateHuman` entry @ [developer page](https://tools.developer.homey.app/tools/system).  
Solution:

- Go to …More\>Settings\>Location and disable “Let Homey find my location”
- Drag the map so your pointer is pointing to a different timezone
- Make sure the `timezone` entry has changed to your timezone again @ the developer page
- Now just enable “Let Homey find my location”
- Wait for the pointer to be at your home location again
- (For best Geofence results, disable “Let Homey find my location” again)

---

<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 25, 2022, 11:18am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/16 "2022-12-25T11:18:09Z")

</div>

> [@Peter\_Kawa](#):
>
> You can check it at the `dateHuman` entry @ [developer page](https://tools.developer.homey.app/tools/system).

I’m getting this, is it the issue?  
 ![2022-12-25_12-15](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/1/b1d42261cf9ad76d235f3eba47452ee67024d5b2.png)

I moved to London in the Homey App, it changed to London time, identical for both entries. Moving back to Austria, I’ll have the 1 hour time diff.

---

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

</div>

dateHuman should show the correct local time.  
In Holland we also have 1 hour diff.

---

<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 25, 2022, 2:56pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/18 "2022-12-25T14:56:44Z")

</div>

well, then it seems that the time tag sends the time stamp but not the local time.

---

<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 25, 2022, 8:45pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/19 "2022-12-25T20:45:25Z")

</div>

That can be possible, which app version do you run?  
How does the event timetable look? Do the times correspond with the real sun events, or are those an hour off as well?

 ![Screenshot_20221225-214313_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/a/baec98f341e3c878b6fa4e194529916a184169aa.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:** [December 26, 2022, 10:02am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/20 "2022-12-26T10:02:53Z")

</div>

I’m running Test 1.0.2 and the displayed times are more or less accurate

---

<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 26, 2022, 11:01am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/21 "2022-12-26T11:01:08Z")

</div>

Which trigger do you use? Which event do you use? Do you use an offset? Does this happen for all events? What means “more or less accurate”? 1 minute deviation? 30 minutes deviation? Have you downgraded to the stable version v0.8.4 and checked if the same problem is present?

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