Control by moon phases

Heyas fellow home gadget enthusiasts,

I created a moon light that I want to hang in the bathroom that shows and transitions between different lighting set-ups, based on the current moon phase. I searched all apps for triggers I could use, I found that the Openweather API gives you the moonphase but I think it is the current phase in text, not a number indicating the transitional stage.
Also paying for another API is kind of not my thing at the moment.

Anyone know any other apps, or ways, or scripts or anyting?

This API is free for 500 requests/month.

3 Likes

Wonderful. Thank you!
Are there any apps using this?

Can’t find app store imfo, or forum topics regardig moon events.
But OpenWeather app provides for it.
This is an example of OpenWeather moondata:

"dt":1707130800,"sunrise":1707116380,"sunset":1707149293,"moonrise":1707104820,"moonset":1707128340,"moon_phase":0.83,"

Moon phase is presented as a number :wink:

It’s also present @ OpenWeather app, most probably as numeric value as well:

Just install it to find out, or ask in the OW app topic:

1 Like

Thank you for that!
The moon phase card in the app lets you check for 8 phases, it doesn’t pass on the gradient value. But in the end that will work out better, I think, I’m going with it. Thanks again!

1 Like