Open trmdi opened 5 years ago
The weather sources are supplied from the default weather widget's dataengine. This would mean adding a new weather "ion" to Plasma 5.16.
/u/frinring from this reddit thread wrote a template for creating an ion.
https://github.com/KDE/plasma-workspace/tree/master/templates/ion-dataengine
Weather Forecast: GitHub | All Bugs | New Bug | Phabricator | Pull Requests | New PR (Repo: Plasma Addons)
Weather Sources: GitHub | All Bugs | New Bug | Phabricator | Pull Requests | New PR (Repo: Plasma Workspace)
My first step will be to compile and modify the "env canada" weather ion. With that practice, I might be able to add an OpenWeatherMap ion.
There was a bug mentioning OWM, so there might even be a OWM api key somewhere. Since it was removed as a source, it's possible it no longer exists, which means we'll use the "free tier", with a limit of 60*60=3600
users/hour.
Some small cities can not be found with the current providers but they can be found on https://openweathermap.org/