It occurred to me today that I am hosting more and more services locally, but I still rely on a 3rd party weather app on my PC and phone. Generally, they suck as a class of applications - so much surveillance.
I searched around and found a couple Reddit threads from years ago, before Apple killed off the DarkSky API. But I think there are still free APIs, yes?
Are there any good FOSS current weather and forecasting self hosting options now? Thanks!
I’m in the US if that matters.
Are you planning to run your own weather station to collect the wind speed, air pressure, precipitation, temperature and so forth?
At least historically, supercomputers were used for weather forecasting, as it’s rather complex to calculate. I’m not it would be worth it to apply all that computing power to privately generate local weather forecasts.
Every weather “service” in the US uses the publicly available NWS data and applies it’s own spin to it. There’s no reason you can’t do this. Personal weather stations are also not expensive and almost-universally offer API support.
Any recommendations? I’d love to run a weather station at my house (especially if there was an AQI sensor that was semi remotely accurate). I remember we had one of these in middle school and one of us would record the data from the computer into a sheet of paper every day 😂😂
It depends on what country you’re in. If you’re in the US, the National Weather Service provides an excellent no-bullshit “please don’t abuse this” API.
https://www.weather.gov/documentation/services-web-api
If you just want a site to pull the weather down: https://weather.gov/
I’m really not sure what you’d gain from self-hosting this unless you own your own weather station though since you’d have to reach an authoritative source that provides the forecasts eventually.
I plug NWS into home assistant for a nice weather display in my kitchen.
Same! I think it works very well.
France provides the Open-Meteo API for europe too. I just tap into this source.
It is better than AccuWeather anyway often times. Foe Geometric weather it actually works too. With AccuWeather I wouldn’t get any air quality stats.
Is Geometric Weather displaying info on thebdetail cards for your chosen service? I changed it to OoenWeatherMap and still shows me accuweather cards
Yep! You might have to restart your phone the first time? Or force stop the app
Home Assistant comes with a weather app that you can use for scripting.
I got myself free API access to openweathermap.org and added it to Home Assistant. You can create some nice dashboard items from the data from it.
deleted by creator
Yr.no has an API that is free. https://developer.yr.no/
Why not use sth that is based on OpenWeather? Weather from FDroid comes to my mind. For Windows idk. You can find some Gnome Extensions for Gnome (Linux DE) which can use OpenWeather too.
Pirateweather is free, but I’m not sure if there are pre-built apps for that that’s self hosted.
That looks really promising. Thanks!
deleted by creator