Sun Event

Hi, I like to turn on lights 90 minutes before sunset, but the sun event only accept -60, how can I do to turn lights on 90 minutes before sunset?

Not exact what you are looking for but you can use the tag Golden Hour.
Depends on where you live but that can be about 1 hour before sunset and 1 hour after sunrise.

Afaik, the Sun Event App is limited to +/- 60 min.

But why don’t you use the build-in flow cards?

(Tested on HP23)

1 Like

Google translate to Dutch
The sun sets in = De zon gaat in

Reversed:
De zon gaat onder over xxx minuten = The sun goes down over xxx minutes.

We found out that -xxx minutes not can’t be saved on the canvas.
That also happened when you have changed something else on that canvas and have one of those sun set cards with -xxx min.
The old ones still working if you do nothing on the canvas where they are.

Now you can with the alternative not further then -60

Thanks for the replies, will try the Golden hour. Hope they don’t have the limit to 60 in the future.

Hoping won’t change anything :wink: You’d request it with the app developer.
Use the Sun Events app topic for that, he’ll get notified.
Links to app topics (and maybe other support links) are mentioned at the bottom of the homey.app store app pages.

After putting in the BLL app a question to get the HH:mm stamp out of a date I started also self to go further on the search.

Now I can get change that timestamp of sun-rice/-set to number of seconds. That are 2 number variables.
They go with an existing flow that get already the new sun-rice/-set for Homey.

For every device that you want to go on and/off, beside the solid sun-rice/-set values, is 1 string value for every timestamp.

If there is interesting in this work-around let me know.
Maybe people like to wait on the repair of the problem.

@Theo_de_Koning I’m interesting on your work-around. Thanks

Because I needed the sun rice/set values for my dashboard they already had variables.
Sun ↑ and Sun ↓ :wink:

By putting text in the pictures I don’t have to write here much more.


Making it easer so? :innocent:

For sun:

Rice
((“Zonsopgang”.slice(0,2)*3600) + (“Zonsopgang”.slice(3,5)*60))

Set
((“Zonsondergang”.slice(0,2)*3600) + (“Zonsondergang”.slice(3,5)*60))

“Zonsopgang” and “Zonsondergang” are the tag’s