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

<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:** [January 14, 2024, 8:41am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/182 "2024-01-14T08:41:22Z")

</div>

I’m on 10.3.0-rc.5 (previously on stable) and SunEvents v2.1.2 test - it’s not a big deal just noticed that…

```auto
Server HTTP GET /manager/flow/flowcardcondition/homey:app:com.cyclone-software.sunevents/homey:app:com.cyclone-software.sunevents:cond_special_day/autocomplete → Error 500: Cannot read properties of undefined ( reading 'toLowerCase')

```

---

<div class="post-metadata">

**Author:** ![ZeroSugar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zerosugar/32/34211_2.png) [@ZeroSugar](https://community.homey.app/u/ZeroSugar)\
**Post date:** [February 19, 2024, 5:43pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/183 "2024-02-19T17:43:08Z")

</div>

I’m trying to use the “light percentage” in “Sun events” as a trigger in a flow.  
Any idea how this works? I’m getting negative light percentages 🙄

---

<div class="post-metadata">

**Author:** ![ZeroSugar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zerosugar/32/34211_2.png) [@ZeroSugar](https://community.homey.app/u/ZeroSugar)\
**Post date:** [March 25, 2024, 9:41pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/184 "2024-03-25T21:41:33Z")

</div>

Hmm…nobody.  
Is there an alternative app?

---

<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:** [March 25, 2024, 9:46pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/185 "2024-03-25T21:46:04Z")

</div>

It’s not very exact imho, better use a luminance sensor?

---

<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:** [March 26, 2024, 11:19am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/186 "2024-03-26T11:19:41Z")

</div>

Works for me like it should, just tested.  
The sunlight is currently at 99%. According to the app, the sun is at its highest point at 12:41. I assume that the sunlight will be at 100% by 12:41 at the latest.

Please post your flow.

**Edit 27.03.24**

 ![IMG_2975](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/c/4cf70c77f5f37e36018a9206edfc2c51b8feb71a.jpeg)

@ZeroSugar, these are the result from my yesterday test. So everything is ok.  
These brightness values don’t take weather conditions into account, they are only based on the position of the sun, just as additional info.

---

<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:** [March 27, 2024, 7:45pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/187 "2024-03-27T19:45:29Z")

</div>

> [@Expanding offest range in Sun Events](https://community.homey.app/t/expanding-offest-range-in-sun-events/107129/6):
>
> on HP19 the max. offset range seems to be +/- 120 min., right @Peter_Kawa?

I still wanted to reply, Dirk 🙂  
So yes, it’s half true for the onboard Time & Date sun cards positive offset, it cannot have a negative offset.

 ![Screenshot_20240327-204123_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/c/9c2ff2169a6d8901eb8903db6ffe1a74ae0e653d.jpeg)

The Sun Event card can have an offset of max +/- 60 minutes.  
When I enter `61` or higher, I cant confirm / save the flowcard.

---

<div class="post-metadata">

**Author:** ![ZeroSugar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zerosugar/32/34211_2.png) [@ZeroSugar](https://community.homey.app/u/ZeroSugar)\
**Post date:** [March 29, 2024, 10:12am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/188 "2024-03-29T10:12:53Z")

</div>

That looks nice, indeed. I have a logging from since yesterday…and it’s giving following values:

|Time|Light|  
|11:00|0.925|  
|10:00|0.815|  
|09:00|0.655|  
|08:00|0.447|  
|07:00|0.189|  
|06:00|-0.127|  
|05:00|-0.428|  
|04:00|-0.666|  
|03:00|-0.84|  
|02:00|-0.951|  
|01:00|-0.998|  
|00:00|-0.982|  
|23:00|-0.904|  
|22:00|-0.762|  
|21:00|-0.562|  
|20:00|-0.296|  
|19:00|0.029|  
|18:00|0.315|

As you can see, as of 20h00 it starts giving negative values. Strange as well…it’s giving different values during the night.

---

<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:** [March 29, 2024, 11:42am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/189 "2024-03-29T11:42:37Z")

</div>

Could you share/post your flow please.

---

<div class="post-metadata">

**Author:** ![ZeroSugar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zerosugar/32/34211_2.png) [@ZeroSugar](https://community.homey.app/u/ZeroSugar)\
**Post date:** [March 29, 2024, 1:33pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/190 "2024-03-29T13:33:59Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/1/b1b75c6d3379ab063d1a10a95793b27391f70522.png)  
It’s just a simple flow.

---

<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:** [March 29, 2024, 2:06pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/191 "2024-03-29T14:06:06Z")

</div>

> [@ZeroSugar](#):
>
> It’s just a simple flow.

And maybe the part when you do the logging ? Are you sure you are using in the logging LIGHT PERCENTAGE ?  
I also don’t have such issues personally.

---

<div class="post-metadata">

**Author:** ![ZeroSugar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zerosugar/32/34211_2.png) [@ZeroSugar](https://community.homey.app/u/ZeroSugar)\
**Post date:** [March 29, 2024, 2:18pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/192 "2024-03-29T14:18:15Z")

</div>

Well, i haven’t done any real logging. Just wrote a simple flow to mail me the light percentage every hour.

---

<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:** [March 29, 2024, 2:26pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/193 "2024-03-29T14:26:10Z")

</div>

When I test a simple flow (Start → Logic → Notification) I get integer numbers again and no decimal numbers like you use for the logic flow cards:

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/0/d0b91ad5c6000d469dade7ca1405b3e4a718b411.png)

So are you sure you use the right tag?

---

<div class="post-metadata">

**Author:** ![ZeroSugar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zerosugar/32/34211_2.png) [@ZeroSugar](https://community.homey.app/u/ZeroSugar)\
**Post date:** [March 29, 2024, 2:35pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/194 "2024-03-29T14:35:59Z")

</div>

Well, when i type in “Light”…it only gives me the choice as you can see:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/8/28f1db41bd1e94ae8edf44a63f985bb9150fbf3f.png)

---

<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:** [March 29, 2024, 4:28pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/195 "2024-03-29T16:28:01Z")

</div>

Just tested, HP23, firmware v10.3.3-rc.4, Sun Events [Sun Events | Homey](https://homey.app/en-us/app/com.cyclone-software.sunevents/Sun-Events/test/) v1.4.9 :

 ![sunevents](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/6/9696f1cfeabd0b2b0a0f9c08e3a670af18447df2.png)

Kind of interesting you are not getting percentage.

---

<div class="post-metadata">

**Author:** ![ZeroSugar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zerosugar/32/34211_2.png) [@ZeroSugar](https://community.homey.app/u/ZeroSugar)\
**Post date:** [March 29, 2024, 4:52pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/196 "2024-03-29T16:52:58Z")

</div>

Yes, that’s strange. I get values like 0.315 … -0.951

Well, there is some logic in the values. I think these are calculated values. I put them in a graph

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

---

<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:** [March 30, 2024, 12:30pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/197 "2024-03-30T12:30:15Z")

</div>

Please provide following info:

- Homey Model
- Firmware Version
- Sun Events App Version

My configuration:

- Homey Pro (early 2023)
- Firmware v10.3.3 (stable)
- Sun Events App Version v2.1.2

Btw., interesting numeration:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/c/ac000f77f747bcc6a60c41ab0931d0c43dad6b7b.png)

---

<div class="post-metadata">

**Author:** ![ZeroSugar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zerosugar/32/34211_2.png) [@ZeroSugar](https://community.homey.app/u/ZeroSugar)\
**Post date:** [March 30, 2024, 1:13pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/198 "2024-03-30T13:13:52Z")

</div>

Homey Model :Homey Pro (Early 2023)  
Version : v10.3.3  
Sun Events : 1.4.8

Looks like i have an older Sun Events version. Maybe update might help.

---

<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:** [April 3, 2024, 1:00pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/199 "2024-04-03T13:00:52Z")

</div>

@ZeroSugar Please use the latest test 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:** [April 3, 2024, 3:17pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/200 "2024-04-03T15:17:32Z")

</div>

@MarcelT, what are the maximum and minimum Kelvin values? Searched this topic, the App Store and on and on the main page of GitHub, but didn’t found an info about that.

---

<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:** [April 3, 2024, 3:53pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/201 "2024-04-03T15:53:54Z")

</div>

![IMG_3350](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/d/0d8eacb67612fb06f7d5b82c88d3c42bdc80c991.png)

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

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