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

<div class="post-metadata">

**Author:** ![erik.fisher](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erik.fisher/32/8299_2.png) [@erik.fisher](https://community.homey.app/u/erik.fisher)\
**Post date:** [November 21, 2025, 6:18pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/323 "2025-11-21T18:18:03Z")

</div>

A follow up after just observing for a couple of days. It is unfortunately still _very_ unstable. It is sporadically working, but very seldomly. Mainly reporting incorrect in the IF-cards. Also seeing a lot of IF-cards reporting errors `Cannot read properties of undefined (reading 'getTime')`..

Is there any thing I can do to help with troubleshooting?  
Will do my best to help!

I’ll keep it like it is for some more time before I start refactoring my flows.

I’m currently on v2.4.9 of Sun Events and Homey 12.8.2.

---

<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:** [November 21, 2025, 7:30pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/324 "2025-11-21T19:30:11Z")

</div>

Can you let me know if this will be solved after midnight. If this is the case then I might know where to look. Please send me the logfile in private mailbox. Or create an issue on github.

---

<div class="post-metadata">

**Author:** ![erik.fisher](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erik.fisher/32/8299_2.png) [@erik.fisher](https://community.homey.app/u/erik.fisher)\
**Post date:** [November 21, 2025, 8:44pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/325 "2025-11-21T20:44:36Z")

</div>

I have an interesting observation;

My “old” existing IF card for “It is after Dusk” fails on each try.  
However, I tried to create the exact same IF-card and _that_ one succeeded.  
So I am now replacing all my sun even cards with basically the same as they were.  
A side note; I am still not getting the actual times for the different events in the dropdown (like mentioned a couple of times before).

Regarding logging. The logging does not seem to log the errors at all..

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

---

<div class="post-metadata">

**Author:** ![Athomed](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@Athomed](https://community.homey.app/u/Athomed)\
**Post date:** [November 29, 2025, 3:25pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/326 "2025-11-29T15:25:24Z")

</div>

Hello there. All my flows based on this fantastic App I was using for near two year without any problem are now broken. This is a huge problem as all my blinds and lights are based on it.

This is my number for the dev: 191936fb-0926-430f-a5aa-5ff73d295dc1

---

<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:** [November 29, 2025, 4:19pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/327 "2025-11-29T16:19:04Z")

</div>

DId you update the app? In that case you need to update the flow (as above)

---

<div class="post-metadata">

**Author:** ![Athomed](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@Athomed](https://community.homey.app/u/Athomed)\
**Post date:** [November 29, 2025, 4:42pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/328 "2025-11-29T16:42:34Z")

</div>

Well as I don’t have any errors, I don’t know what to update…  
I setup everything near two years ago.

Yes my App is updated automatically to the latest version.  
So I just need to add the same cards again right?

I have this sort of simple cards.

 ![Screenshot 2025-11-29 at 17.41.45](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/8/b8be713e3b9fb6fd4fd78199247a06b999e277ef.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:** [November 29, 2025, 9:34pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/329 "2025-11-29T21:34:20Z")

</div>

Did you update from the live version to the test? Or just upgraded the test version?

---

<div class="post-metadata">

**Author:** ![Athomed](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@Athomed](https://community.homey.app/u/Athomed)\
**Post date:** [November 30, 2025, 12:20am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/330 "2025-11-30T00:20:50Z")

</div>

I’m on the 2.4.8 (no test).

---

<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:** [November 30, 2025, 12:33pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/331 "2025-11-30T12:33:16Z")

</div>

2.4.8 is test.

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [November 30, 2025, 2:27pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/332 "2025-11-30T14:27:14Z")

</div>

The changelog on the app page says 2.4.9 the test version.  
But that’s is the same as 2.4.8 with language fixes?

---

<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:** [November 30, 2025, 4:37pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/333 "2025-11-30T16:37:24Z")

</div>

1.4.8 or lower is production. 2.x.x is test

---

<div class="post-metadata">

**Author:** ![Athomed](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@Athomed](https://community.homey.app/u/Athomed)\
**Post date:** [November 30, 2025, 6:46pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/334 "2025-11-30T18:46:45Z")

</div>

Troubles started about 7-10 days ago. So I suppose I was on 2.4.7 or maybe 2.4.6. Is there a way to downgrade? If yes, I would give it a try and disable automatic updates since it worked smoothly for a couple of months.

The thing I don’t understand is the latests versions are just localisations updates…

Was my log ID useful? Do you need something more to debug?

Thanks.

---

<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 30, 2025, 7:12pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/335 "2025-11-30T19:12:45Z")

</div>

> [@Athomed](#):
>
> I was on 2.4.7 or maybe 2.4.6. Is there a way to downgrade

> [@MarcelT](#):
>
> 1.4.8 or lower is production. 2.x.x is test

Meaning, just install the stable version v1.4.8 from the app store, without removing anything prior to it.  
This will downgrade from v2.x

---

<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:** [November 30, 2025, 8:40pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/336 "2025-11-30T20:40:24Z")

</div>

@Athomed

It looks like your settings are corrupted:

mySettings: Unexpected token ‘o’, “[object Obj”… is not valid JSON 2025-11-26T19:27:41.833Z [err] Set to default settings 2025-11-26T19:27:42.047Z [err] error parsing logfile: Unexpected end of JSON input 2025-11-28T16:53:47.494Z [err] error parsing mySettings: Unexpected token ‘o’, “[object Obj”… is not valid JSON 2025-11-28T16:53:47.495Z [err] Set to default settings 2025-11-28T16:53:47.583Z [err] error parsing logfile: Unexpected end of JSON input

Maybe you need to remove the app and re-install it. Make sure you have a backup.

---

<div class="post-metadata">

**Author:** ![Sethakan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sethakan/32/55863_2.png) [@Sethakan](https://community.homey.app/u/Sethakan)\
**Post date:** [December 1, 2025, 12:09am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/337 "2025-12-01T00:09:37Z")

</div>

Hello I am using 2.4.9Test and have some issues. Take a look at the pictures.

 ![Skärmbild 2025-12-01 005557](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/4/e4316d99cd16eb13b5d053cca2f663134e268f07.jpeg)

 ![Skärmbild 2025-12-01 005648](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/d/bd62e556818ac944cab29d9905b2ccccf5cd5e39.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:** [December 1, 2025, 12:04pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/338 "2025-12-01T12:04:57Z")

</div>

Seems OK, don’t see the issue

---

<div class="post-metadata">

**Author:** ![Sethakan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sethakan/32/55863_2.png) [@Sethakan](https://community.homey.app/u/Sethakan)\
**Post date:** [December 1, 2025, 1:00pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/339 "2025-12-01T13:00:32Z")

</div>

Its not between 08:00 and sunset, the card still shows yes. It’s in the middle of the night. I read the log wrong, sorry.

---

<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 1, 2025, 9:04pm UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/340 "2025-12-01T21:04:19Z")

</div>

aha, I see what you mean. I will check the code.

---

<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 2, 2025, 9:20am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/341 "2025-12-02T09:20:10Z")

</div>

Hi @Sethakan,

I have published a new test version; hopefully, this is fixed, as it is complicated switching between time zones. Could you please test it and let me know?

---

<div class="post-metadata">

**Author:** ![elfrigo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/elfrigo/32/7893_2.png) [@elfrigo](https://community.homey.app/u/elfrigo)\
**Post date:** [December 5, 2025, 7:41am UTC](https://community.homey.app/t/app-pro-sun-events-triggers-you-at-certain-positions-of-the-sun/71043/342 "2025-12-05T07:41:59Z")

</div>

First of all thanks for this very nice app. I’m using it in quite some flows in order to turn ON/OFF lights all around and inside the house. So far happy.

But (of course) with on exception. I’m trying to turn on lights when there is motion between sunset and sunrise. But this only seems to work between sunset - 0:00 / in the morning before sunrise is does not trigger. The flow states it’s not between sunset and sunrise.

See my screenshot. I’ve extended the time a bit by using the golden hours. But either using actual sunset/rise or golden hour does not matter. In the morning it does not trigger. Anyone knows how to fix this?

Screenshot below is taken **2 hours befor** e the Morning golden hour **ends**.

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

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

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