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

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

</div>

Yes, please 😊

---

<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 27, 2023, 10:24pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/143 "2023-02-27T22:24:52Z")

</div>

@MarcelT just discovered small bug … searching do not work:

![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/7/17fd02b6320e4de62f317f30d37719680c9f289f.png)  
Thank you.

---

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

</div>

Fixed search:

> **[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:** ![Oskar\_Skold](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oskar_skold/32/34558_2.png) [@Oskar\_Skold](https://community.homey.app/u/Oskar_Skold)\
**Post date:** [March 2, 2023, 4:15am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/145 "2023-03-02T04:15:37Z")

</div>

Seemed to be a intermittent problem, working again now.

---

<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:** [March 22, 2023, 8:54pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/146 "2023-03-22T20:54:47Z")

</div>

Hi Marcel, I think there is a little bug in the (latest) test version. I have a flow card that checks if it is between start golden hour evening and the end of sunrise. It should return true now, but it does not.

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

---

<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:** [March 23, 2023, 6:52am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/147 "2023-03-23T06:52:19Z")

</div>

Ah I see in the app description that events between today and tomorrow are not supported anymore. So I will have check it another way.

---

<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 23, 2023, 10:28am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/148 "2023-03-23T10:28:25Z")

</div>

You can use “It’s between **End of sunrise (0)** and **Golden hour begins (0)**” and connect the next card to the lower connection point (the yellow one).  
Or you can invert the card “It’s **not** between **End of sunrise (0)** and **Golden hour begins (0)**” and use the upper connection point (the blue one).

---

<div class="post-metadata">

**Author:** ![Nick\_Pauwels](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nick_pauwels/32/53005_2.png) [@Nick\_Pauwels](https://community.homey.app/u/Nick_Pauwels)\
**Post date:** [April 6, 2023, 10:50pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/149 "2023-04-06T22:50:30Z")

</div>

So, this may be a simple question with a complex answer.

During summer our bedroom is basically a green house. But if we close the blinds things are actually fine. I’d like to keep our blinds closed for the shortest amount of time possible. And that’s when the sun is directly hitting the windows. How can I calculate thistime period?

---

<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:** [April 7, 2023, 2:04am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/150 "2023-04-07T02:04:46Z")

</div>

No need for calculation, but determing the ‘[azimuth](https://en.wikipedia.org/wiki/Azimuth)’ values.  
The azimuth capability can be used to trigger a flow between certain sun positions;  
F.i. when the sun hits your windows between the south (noon/180°) and west (evening/270°),

The ‘altitude’ can be used to determine if the sun is high enough above the horizon to hit the windows.

 ![Screenshot from 2023-04-07 03-52-17](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/0/707dbf4346bfd72b1a3451d1b7e06700b1526377.png)

---

<div class="post-metadata">

**Author:** ![jprgomet](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jprgomet/32/2282_2.png) [@jprgomet](https://community.homey.app/u/jprgomet)\
**Post date:** [May 15, 2023, 5:35pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/151 "2023-05-15T17:35:06Z")

</div>

![Screenshot 2023-05-15 at 19.34.10](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/7/4740323e7dc29cae16f0f770da055f8e656f4dee.png)

I set WHEN Altitude or Azimuth chages, AND it is exactly 13 or 195, THAN to this.  
It triggers multiple times. It trigers 4 times.  
How to solve this?

---

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

</div>

I can’t get it to trigger multiple times on an azimuth change.  
Also, I don’t always receive even numbers.  
 ![Screenshot from 2023-05-15 22-11-09](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/e/1e5e981ea185e49655d9597da2e435b96c7fde54.png)

So you can use something like this, to make sure it triggers only once:

 ![Screenshot from 2023-05-15 22-10-27](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/a/0a67be2fd6fe2fb859411ff5e9ab6c29194a67ec.png)

---

<div class="post-metadata">

**Author:** ![jprgomet](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jprgomet/32/2282_2.png) [@jprgomet](https://community.homey.app/u/jprgomet)\
**Post date:** [May 15, 2023, 8:31pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/153 "2023-05-15T20:31:43Z")

</div>

Thank you. Will try with logic.  
Maybe I could try also with decimal place 195.1

This is 4 times on “sunset” altitude.

 ![IMG_7679](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/8/2839d3cbbfe4f4b15f0b3cf828949d6eb7db4008.jpeg)

---

<div class="post-metadata">

**Author:** ![jprgomet](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jprgomet/32/2282_2.png) [@jprgomet](https://community.homey.app/u/jprgomet)\
**Post date:** [May 15, 2023, 9:20pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/154 "2023-05-15T21:20:28Z")

</div>

I would like to mention [https://www.suncalc.org/](https://www.suncalc.org/)  
as great help to see sun at your location in variuos times of year.  
It makes planing easier. You get azimuth and altitude data etc…

---

<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:** [May 26, 2023, 7:06am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/155 "2023-05-26T07:06:34Z")

</div>

Does the Settings works for you on HP23 and SunEvents v2.1.1 ? Issue persist for me for several weeks already.

 ![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/e/3ee3f2dd1b1344819ce0ac67a4292d5bc1487e26.jpeg)

---

<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:** [May 29, 2023, 6:59pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/156 "2023-05-29T18:59:17Z")

</div>

Interesting, it’s fixed by magic (probably by Athom on their side)

---

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

</div>

Hi @MarcelT,  
just found out, that the condition card “Azimuth is between X and Y” doesn’t work on HP19. On HP23 it works without problem.

Test flows:

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

Timeline results:

 ![IMG_2060](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/7/87f748cf17c03d3232f0f181d77f2f0d383cdef6.jpeg)

Diagnostic report no.: d2b7c0eb-b38f-4945-b911-8b9ae0d4281d

---

<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:** [May 30, 2023, 11:01am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/158 "2023-05-30T11:01:15Z")

</div>

That’s wierd, seems like a bug in homey. But I will check.

---

<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:** [June 9, 2023, 11:48am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/159 "2023-06-09T11:48:07Z")

</div>

Hi Marcel,

The conditional card ‘It [is|isn´t] after sunrise/sunset’ card seems to be inverted at my system.

I created an issue on git:

> <https://github.com/magtimmermans/com.cyclone-software.sunevents/issues/75>
>
> Hi Marcel, a few days ago I started to notice lights turned on, or didn't turn o…n while they should at that time of day/night. I took a closer look at the flows involved, and the conditional card 'It \[is|isn´t\] after sunrise/sunset' card seems to be inverted now? 
> 
> For clarity i've added the laptop clock on the screenshots, and Homey's time & timezone are correct:
> !\[Screenshot from 2023-06-09 13-06-40\](https://github.com/magtimmermans/com.cyclone-software.sunevents/assets/74005072/a80d3792-49ad-4b1b-a2a7-c8638bb54891)
> 
> !\[Screenshot from 2023-06-09 13-08-16\](https://github.com/magtimmermans/com.cyclone-software.sunevents/assets/74005072/40db8fa5-718e-4be4-a848-b1d01342c314)
> 
> !\[Screenshot from 2023-06-09 13-14-37\](https://github.com/magtimmermans/com.cyclone-software.sunevents/assets/74005072/d643287c-0ef4-4993-adb4-3190a59b5bef)
> 
> !\[Screenshot from 2023-06-09 13-31-32\](https://github.com/magtimmermans/com.cyclone-software.sunevents/assets/74005072/28f62183-3773-4732-8ec6-a753abe8fdbc)
> 
> 
> !\[Screenshot from 2023-06-09 13-16-05\](https://github.com/magtimmermans/com.cyclone-software.sunevents/assets/74005072/6de159c9-a30b-4bbc-b7db-ad2cddc2c3d5)
> 
> Best, and again many thanks for the great app!
> Peter

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Ferdy\_van\_Hove](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ferdy_van_hove/32/18012_2.png) [@Ferdy\_van\_Hove](https://community.homey.app/u/Ferdy_van_Hove)\
**Post date:** [June 12, 2023, 10:15am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/160 "2023-06-12T10:15:21Z")

</div>

I also notice something strange about the Azimuth values. When I use the ‘and’ card from the app for the azimuth value it seems to read different values ​​than when I read it from a logic card. See screen print below. From the logic card the value is greater than 130 but from the app it gives false.

 ![Zonnestanden](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/6/56d0c62adc42bb1402ad8540567c633ce4c5b0bb.jpeg)

---

<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:** [August 9, 2023, 5:48am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/161 "2023-08-09T05:48:42Z")

</div>

Hi @MarcelT , I saw that you updated Sun Events recently but it didn’t update in my case, because the last update was for 1.4.x branch, while I was using test 2.1.x branch. Is that intended, that the final is 1.4.x and manual update is required ? Thank you.

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

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

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