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

<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 9, 2023, 3:41pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/102 "2023-02-09T15:41:48Z")

</div>

I have reported this as an issue with the library. Not sure why but I have the same in Arnhem. Not really an issue for me as it is not that critical 🙂

---

<div class="post-metadata">

**Author:** ![Jo\_San](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jo_san/32/3732_2.png) [@Jo\_San](https://community.homey.app/u/Jo_San)\
**Post date:** [February 10, 2023, 10:09am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/103 "2023-02-10T10:09:30Z")

</div>

Still getting some strange results on flowcard checks (now on test version 1.4.3).  
Todays “End golden hour in the morning” is at 8:53.  
I have a flowcard that checks if the “End golden hour in the morning” is after 6:30 and it returns false (where it definitely should return true).

 ![Scherm­afbeelding 2023-02-10 om 11.04.39](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/2/a28f18eda7e087be1467e34bff16629e1be901d1.png)  
Is this a bug or am I interpreting things wrong?

---

<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, 2023, 8:22am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/104 "2023-02-11T08:22:50Z")

</div>

Hi,

I have checked it and this is indeed a bug. If you are in a hurry i will fix this today in the current app otherwise this will be fixed in the 2.0 release beginning next week.

---

<div class="post-metadata">

**Author:** ![Jo\_San](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jo_san/32/3732_2.png) [@Jo\_San](https://community.homey.app/u/Jo_San)\
**Post date:** [February 11, 2023, 8:51am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/105 "2023-02-11T08:51:13Z")

</div>

Hi Marcel,  
No, no need to hurry. Great it can be fixed in 2.0.  
Have a great week-end

---

<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, 2023, 9:07am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/106 "2023-02-11T09:07:01Z")

</div>

I have fixed it already 🙂 Was very easy 🙂

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

---

<div class="post-metadata">

**Author:** ![Jo\_San](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jo_san/32/3732_2.png) [@Jo\_San](https://community.homey.app/u/Jo_San)\
**Post date:** [February 11, 2023, 10:09am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/107 "2023-02-11T10:09:46Z")

</div>

Checked and confirmed! Thanks

---

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

</div>

I have published on test version 2.0 which is a completely new app written from the ground up. The app is backward compatible.

This version could contain bugs if you are running in production and you are depended on the app do not install this. Or you install it test it and re-install the production version.

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

---

<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:** [February 12, 2023, 8:05pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/109 "2023-02-12T20:05:52Z")

</div>

Hi,  
thank you for your work, I just wonder, what was the need for full rewrite ? It was working fine 😉

Some observations :

- new version have bigger memory footprint - 10MB vs 16MB  
 ![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/f/dfaeb9825415be6a0fcdc5c5d6cb8d7295bb9434.png)

- the SunLight change trigger is triggered every 1 min - that was the case even in older version, not sure it’s intended, including negative values, maybe it’s serving as kind of MoonLight ? 😉

- what is the difference between Light Percentage TAG and Light Percentage from the trigger  
 ![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/5/c5e9f4cb4c07ac28de9908d5b7b38ed8184581ec.png)  
(screenshot while it’s night - 9PM)

- not the difference, however when used as tag, it’s the same value,maybe just a glitch in the UI ?  
 ![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/b/bb3bd944cea884b3a172398486c7d8b8c07fab41.png)

I will test triggers during tomorrow, I will report if anything goes wrong.

---

<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 13, 2023, 1:33am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/110 "2023-02-13T01:33:38Z")

</div>

Hi Marcel, just to inform you, while running the test version v1.6.0, I noticed this while running a flow test:  
 ![Screenshot from 2023-02-13 02-29-08](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/8/e82c7ca77317bcd2da27be303973f89c3adb62a5.png)

![Screenshot from 2023-02-13 02-25-11](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/4/14163b68376f08bf9c584f1c4672f45e8ebfb724.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 13, 2023, 3:34pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/111 "2023-02-13T15:34:27Z")

</div>

v1.4.4 stable:  
FYI, just another odd issue, it is past 4 PM, sunset is just happening in over an hour, but the card says “it is not between sunrise and sunset”:  
 ![Screenshot from 2023-02-13 16-24-21](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/b/6b7290f73136526983ca9e14489d7b844d98b32c.png)

The trigger times seem spot on though:

 ![Screenshot from 2023-02-13 16-30-04](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/2/f28bcd437a49ebc5f33159b3cd824cdf79ca7a21.png)

No hurries and thanks again for all the effort.

---

<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 13, 2023, 4:30pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/112 "2023-02-13T16:30:01Z")

</div>

Try to fix the errors. The reason that I did a rebuild is that the original code was messy. It was very hard to read and understand. The code was written in the first release of the Homey App and at that time everything was new and not well documented homey sdk. I adjusted the code every time but it became messier. So it was needed to start over 🙂  
It maybe work from the outside but it was very hard to maintain.

New version:

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

---

<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 13, 2023, 6:09pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/113 "2023-02-13T18:09:27Z")

</div>

v2.0.1 As far as I can see the issues are fixed now

---

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

</div>

Didn’t test it yet, but I guess there is a little bug regarding the _ **Circadian Brightness** _ value, because 3 decimal digits are given instead of 2:

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

App version: 2.0.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:** [February 14, 2023, 2:11pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/115 "2023-02-14T14:11:08Z")

</div>

Here you find an updated version:

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

---

<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:** [February 14, 2023, 2:37pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/116 "2023-02-14T14:37:31Z")

</div>

Fix confirmed! 👍🏻

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

App version: 2.0.2

Thx!!!

---

<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:** [February 16, 2023, 1:03pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/117 "2023-02-16T13:03:20Z")

</div>

There seems to be a small calculation error of “Maximum Brightness”.  
I have set the “Maximum Brightness” to 100, but in Insight only a maximum value of 0.99 (= 99) is displayed:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/7/d728b5c02ada6a2d969caa0f3e5477f71da5de5e.png)  
(For comparison, the values of the **Circadian Lighting** App.)

A similar problem with “Noon Warmth.” It is set to 20, but 0.21 (= 21) is the lowest value displayed in Insights:

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

Btw, because these features works great for me, I will deinstall the **Circadian Lighting** App und use the **Sun Events** App for this purpose.

Thanks for the great app!

---

<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 16, 2023, 4:27pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/118 "2023-02-16T16:27:30Z")

</div>

Probably a rounding error. I will check this. Thanks for the trust in the app.

---

<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 17, 2023, 1:59pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/119 "2023-02-17T13:59:41Z")

</div>

Updated app:

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

- Improved error handling
- Fixed display error of triggers
- Added moon information
- Added day length.

---

<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:** [February 18, 2023, 9:30am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/120 "2023-02-18T09:30:44Z")

</div>

This morning the App v2.0.2 was paused for no reason: a3cd37d0-f6bd-4b9e-abb3-0004ea7ac1e4  
Maybe you find out the reason or what happened.

But now I will update to v2.0.3

---

<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:** [February 18, 2023, 9:40am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/121 "2023-02-18T09:40:08Z")

</div>

Apps get paused if they take up more than 80MB. You can check Insights if this was the case.

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

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