0

weather forecast

Antoine Dury 4 weeks ago in General updated 4 weeks ago 3

I'd like to retrieve weather forecasts. Mainly solar irradiation forecasts so I can predict today's and tomorrow's photovoltaic production. Is this feasible? Thank you.

+1

Hello,

You'll have to create your own, by using an API like OpenWeatherMap, so you can extract the information you need.

I've check and they have Solar Irradiance and Energy Prediction:


Solar Irradiance & Energy Prediction - OpenWeatherMap

So yes, I think it's perfectly feasible.


Best regards

+1

Hi There,

Here's an example, I've moved from this to the Grok API for this kind of thing, you can feed the actual history back to it so it improves the prediction, still work in progress I'll share when I've got it nailed.


HOME-Solar Irradiamce.bos

I I succeeded with the forecast.solar website, but I can't isolate the data I'm interested in (3230) from this api jason array

{"result":{"2025-09-08":3230,"2025-09-09":2469},"message":{"code":0,"type":"success","text":"","pid":"2M1I3jhg","info":{"latitude":50.0021,"longitude":4.9154,"distance":0,"place":"Rue de Bourseigne-Vieille 12, 5575 Sart-Custinne, Belgium","timezone":"Europe/Brussels","time":"2025-09-08T20:26:18+02:00","time_utc":"2025-09-08T18:26:18+00:00"},"ratelimit":{"zone":"IP 2a02:a03f:a4ca:3c01:e65f:1ff:fed5:a3c6","period":3600,"limit":12,"remaining":10}}}

Image 5422


Image 5423

Any ideas?