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?
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!
coming back to this. If I want the numeric float moon phase I am going to have to start sending http calls to openweather or the moon api and parse the return json, correct?
The 8-slice moon pizza just doesn’t work for me, I need gradual color change in my moonlamp :-/ so I’m back here
Edit01: I tried with the moon phase changed “when” card, but that also seems to trigger only 8 times a month, when it moves from one pizza slice to the next. I’ve been tracking since last weeks full moon, and it only triggered twice, at 0.59 and 0.7 phase number, to move to waning moon and waning half moon three days later.
Let me ask an actual question. Could anyone help me out and give me a starting point for how to query API’s with flow cards and how to parse the return JSON?
Hi, just read your post. Perhaps it’s better if I add a new numeric capability for the moon phase to OpenWeather app.
Just as tag and flow trigger hidden in device details.
Just as tag and flow trigger hidden in device details.
I don’t know exactly what a hidden trigger is, and I haven’t used tags so far, but if I can use it, I’m up for it. So thank you in advance, @RonnyW !!!
The daily forecast (OneCall).
But first you need a current weather device (OneCall) for your location - needing an OneCall API key and suscription with 1000 calls free.
In the API for Openweathermap is a lot of data for the weather.
The place for the data is Amsterdam. Not really local.
After the current situation is there for 1 hour precipitation/minute
Then hourly data for 48 hour.
And last for 7 day temperature for the parts of the day and min & max
There are also some Moon data: rise & set and moon_phase.
That’s not what I was looking for and it took a lot of time in the effort to find out.