Ephemerides
Every twilight, golden hour and moon phase for your home, computed offline.
Homey knows sunrise and sunset. That is two instants out of fourteen. Between “the sun is up” and “the sun is down” sit the three twilights, the golden hour and the blue hour, the moments that actually matter if you are driving shutters, outdoor lighting or a camera. This app computes all of them for the exact position of your home, along with where the sun and the moon are in the sky right now.
It makes no network call at all
Nothing is fetched. Every instant is computed on your Homey from its own coordinates, so the app works with the internet unplugged, nothing about your home leaves it, and there is no service that can go down or change its API. The one thing it needs is your Homey’s location, which it already knows.
Requirements
- Homey Pro running firmware 12.2.0 or newer.
- Not available on Homey Cloud: the app runs locally only.
- Your Homey’s position must be set that is the whole input.
- The public holidays device covers France, mainland or Alsace-Moselle. The sun and moon work anywhere on Earth.
Two devices
Ephemerides — the sky above your home.
| Sun | Phase, altitude, azimuth, day length, next solar event and its time |
| Moon | Phase name, illumination, age, altitude, azimuth, distance, and whether it is above the horizon |
Public holidays (France) — today’s and tomorrow’s holiday, the next one, its date, and how many days until it.
Two widgets
Sun and moon puts the current sun and moon position on the dashboard. Public holidays shows what is coming.
Flow cards
Twenty-one of them. The interesting part is not the count but the offsets.
Triggers
| Card |
|---|
| [event] happens |
| [minutes] minutes from [event] |
| The sun goes up / down past ° |
| The moon rises / The moon sets |
| The moon phase becomes [phase] |
| Today is a public holiday / Tomorrow is a public holiday |
Conditions
| Card |
|---|
| It is / is not daytime |
| The sun is / is not above ° |
| It is / is not the golden hour |
| It is / is not the blue hour |
| It is / is not between [start] and [end] |
| The moon is / is not above the horizon |
| The moon phase is / is not [phase] |
| The moon is / is not more than % lit |
| Today / Tomorrow is / is not a public holiday |
| The next public holiday is / is not within days |
| Today is / is not [named holiday] |
Action Recompute now.
Why “minutes from” matters
“At sunset” is rarely the moment you want. Shutters want to close twenty minutes after it, outdoor lights want to come on fifteen minutes before, and a greenhouse vent wants an hour either side. Rather than fourteen separate cards with hard-coded offsets, there is one card: pick the event, pick the number of minutes, before or after.
Twilights that do not exist
At high latitudes and in Paris in June, which surprises people some twilights simply do not occur. The sun never goes far enough below the horizon.
The app says so rather than inventing a time. A Flow waiting on astronomical twilight in a Norwegian summer will not fire, and that is the correct answer, not a bug.
Languages
English, French, German, Spanish, Italian, Dutch.
Reporting a problem
Post here with your Homey firmware version, the app version, your approximate latitude, and the event concerned. Latitude matters more than anything else for this app: half the odd behaviour people report turns out to be a twilight that genuinely does not exist that day.
Feedback and testers welcome.
Have Fun ![]()



