Problems with Sunset Flow Card

I’m a new user of Homey Pro Early 2023 and I have successfully set up several z-wave devices and flows, but I can’t seem to get one of my flows to work. I want to turn on lights 60 mins before sunset.
My flow card looks like this;

None of my lights turn ON as expected 1hr before sunset, but they do turn on if I manually run the flow card.

What am I missing?

Thank you.

Check your location

Thanks for the quick reply. It shows a map with my correct location, which looks to be automatically detected. I don’t see a way to manually enter a City.

And also check the Times in Tags

in the WebApp you can change by typing the address.

Where do I check Tags? I don’t see it anywhere in the menus?
Just Variables which I have none?

OK, I think I found Tags. When I open the flow and click on 60 there is a symbol at the right that opens a drop down box that appear to be tags. Sunset is not listed.

Various tags from a app called Sun Events is listed but I don’t think I’m using that. I’m trying to use the Homey built in function for sunset.

Is the When card I’m using a standard flow card in Homey? I’m a bit confused now.
If so, why wouldn’t Sunset be part of the tag list?


It is a text field, Add a THEN cart, timeline message and search for sun set in your own language.
It is a standard tag, from Date & Time.

Ok, thanks I found them and they’re wrong. They look like a fixed default.

Not sure why? The Developer System Information page shows the correct Date & Time, timezone, and country.

It’s definitely wrong. It will get its value from the internet I suppose. So maybe you have to search in that direction?

I’ve checked my firewall and pihole add blocker and neither is blocking anything.

What else can I try? Are those tags dependent on a Official Homey App? Maybe I deleted it?

The only odd thing I noticed was in my account page it shows that I don’t have any addresses yet

BUT the map shows correctly in the Homey App;

If I move the map around to a different house and return it shows the other house so it seems to “save”, but I don’t see an actual save button. Entering my address manually moves the map to the address.

I don’t know what else to try…

Thanks for your assistance!

There’s a big chance one of those is the cause of your problems, even though they supposedly aren’t blocking anything.

No, they are part of the system, so even if you delete all your apps, they are there.
When I request this tag from Homey Cloud, using the web app, I get the same results, see picture. Could it be you are working with HomeyCloud and Homey bridge and not with Homey Pro? You are working with Homey web app?

These seem to sample values, RMB? Odd…
Actually sending them to the timeline gives expected values here, also tested @ Homey cloud:

1 Like

That’s different and not related to your Homey’s location.

Almost there. To force set the correct time, temporary move the map to another timezone.
Wait for a minute, and move the map back to your location.
There’s no save button, which is a bit odd, but it gets saved after x secs.

About the time tags:
So, don’t look in the dropdown list for time & date values, but use a flow to send those tags to the timeline, to see the actual values.
(It is what it is. I didn’t write the firmware :sweat_smile: )

About the offset:
I might be wrong, but sun-event with offset 60 triggers the flow 60 minutes after sun-event. Try -60

And if I were you I’d add a timeline or log card to those flows, so you can check afterwards what happened, or didn’t happen.

Note, there’s also the Sun Events app, which is more flexible imho.

When I use the mobile app on my iPad connected to my HP2023 they show the actual values.
Using the web app in my iPad browser, they show the default values for HP2023 as well for Homey Cloud.
A bit confusing.

1 Like

My mobile app (android v6.x) shows no values at all in the dropdown. That’s less confusing in this case… :wink:

Yes, Homey Web App, with Homey Pro Early 23. Not Homey Cloud.

The location is definitely updating; I moved it to another time zone and the weather on the home page updated as expected, and then I moved it back to my address and it updated again, as expected.

I’ll add timeline as suggested.

When I use mobile app on my iPad or iPhone, the tag values do not show.
When I use the Web App the values show, but are incorrect and are the defaults.

If they are not there, might be the reason it does not trigger.
Using iPad, mobile App and HP23: