[APP][Pro] Sun Events - Triggers you at certain positions of the sun

Could you not reverse the card: ”it is not daytime” ?

Information from the Homey App Store:

So please config the flow card as follows:

It is between Morning golden hour ends (0) and Evening golden hour starts (0).

And use the orange connection point for connecting to the following flow card.

Btw, isn’t there an “All” flow card missing between the two “And…” and the two “Then…” flow cards? :thinking:

Unfortunately not, because the daytime period is different from the time between the golden hours.

Thanks Dirk, I did not see the breaking changes. Will change the flow accordingly and see how things go tomorrow. There is no card missing. I also need to turn the light on during the day but only when its dark enough (hence the lux < 20)

Seems to solve this problem. Thx Dirk (also thanks Wilfred - almost same suggestion)

Works fine. Thanks :smiley:

1 Like

Thanks Marcel. My problem is fixed. How ? I emptied the cache, and removed the old cards (replacing them by the same and new ones).

This App is the “#1 Must Have” as we all do things based upon the Sun.
Thank you so much for your time developing it! :heart:

1 Like

So can someone please help me and tell me what to do in this situation. After midnight it doesn’t trigger anymore. I do everything based on the sun. I love this app, but now it doesn’t work for half of the time. In the morning I want my lights to trigger but they won’t. When I test it during the day it works fine but after midnight I am done. I only want to trigger it from sundown till sunrise. Thank you

Posted and answered before, but here you go:
You’ll have to reverse the conditions twice, because the card you created spreads over 2 days.

Like,
“It is not between sunrise and sunset”

That condition has exactly the same result as you expect, but now it won’t spread over 2 days.
This should work for 100%.

2 Likes

Thanks man! Stupid I didn’t think of that.. I’ll see tomorrow morning if it works, but it should as now I understand I spread the event over 2 days lol.

1 Like

After updating overnight to v2.5.1 the app’s config for Times is showing:

And the Triggers are showing multiple sunset and sunrise events:

Obliviously this is playing havoc with some of my flows.

Is this expected or a bug with the update?

I can’t be certain, but with my time zone being GMT +11, it looks like the Times are for a 24-hour period based on GMT +0.

Is it also possible the Trigger issue is also related to time zones? Pure speculation as it makes no sense to me for multiple times for the same trigger in a 24-hour period.

Thanks

Ignore the query about Triggers, I just realised that these are offset times in existing flows.

The query about the Times I’ll still need some advice on, as it could mean adjustments to the logic I’ve used in flows to set lighting based on time of day and circadian rhythms.

hi @MarcelT can you update the github-page ( mentioned in the first post ) too?

Thanks for the hard work and updates

Hi, What is wrong with the github page:?

Hi, the github isn’t updated .. only the README.md

Can you point to the repo that can be cloned? or isn’t that public?

That’s not public indeed

Hi,

This flow used to work for me but then after the last app update it stopped. I’m pretty certain it’s not the blind card that is at fault as I use it in other flows too. But then again I also use “Sun Events” in other flows with sunrise/sunset and that works too. Hope for some insight/help. I tried the usual app restart and rebinding the cards.

Thanks.

Seems to work just fine. Please test it like this for example:

The time condition connected in series is superfluous.
When you’d like to use it as backup, or just as an alternative condition, you’d connect it in parallel to the azimuth condition. This would read as “or the time is 13:00h, or azimuth is 22”.

Second, you now have exactly one shot a day to match the azimuth value of 22.
I would use the “azimuth is between 22 and 25” condition; if for some reason 22 is missed or unavailable, it can still match on 23 or 24 or 25.
This is just my way of minimising Homey hickups.

1 Like

What changed that you decided to close-source it? I really like to view other developers software to learn and pick their brain a bit..

Hi, When someone picked my source change it a bit and bring out a similar app. Not this one but another and I have my development system in such a way that it is easier for me to have it local. But if you want to know a specific thing I am more than happy to help.

1 Like