If you are deep in coding mode and cannot afford to turn your head or even your eyes to look through the window at outside to check the current weather… or if you are deep down below ground plumbing at your black hole farming machine and now preparing your way home and are unsure whether to put on a rain jacket or the sunglasses… what is there to help you? A widget on your computer telling you about the weather, right.
Plasma5 so far was missing the port of the weather widgets which were part of the Plasma Addons package with the older Plasma. While there are nice Plasma5 weather widgets on kde-apps.org (1, 2) I wanted the weather widget back I was used to.
Time for “Scratch your itch!”. Starting myself with no clue about Plasma dataengines and also about the new Plasma5 QML-centric widget technology, there was enough material to be found and samples to copy from to port the old weather widget code over to the new Plasma5 world. Also was there great support by the Plasma developers (special thanks to Kai-Uwe and Marco) who quickly helped out with questions, gave good review or the next day fixed bugs elsewhere I hit on the way.
This week there was the feature freeze for Plasma 5.6, and of course it would be nice to share this widget already with everybody again. Did we make it in time?
Teaser: Yes 🙂
Seems its time for rain jacket in Geneva, while sunglasses are okay in Lisbon 🙂
There is one bigger issue currently known: sometimes after configuring a new weatherstation to be used, there is no instant data update, so the widget will be blank. This blank widget should heal itself on the next weather report update interval (or on the next Plasma restart). Hopefully we soon find the reason to fix this.
There is still the Weatherstation widget left in Plasma Addons, waiting for a port as well (nothing I am interested in, so no itch to scratch here). Feel encouraged to give it a go to port it yourself and become the happy maintainer of a Plasma5 widget as well 🙂