**Required 2.5.0 update** - New API key required for working widget and Plasma restart required
A Plasma 5 widget for showing data from Wunderground Personal Weather Stations.
Wunderground lets you upload data from Smart Ambient Weather stations through their API. You can view the data through wunderground or through Wunderground API. This widget lets you input the station ID then view the properties that the station sends up.
Feel free to comment on any errors or feedback you have here or on GitHub!
You can add translations for the widget on GitHub.
Version 2.5.0 has a required API key update. Make sure the widget is updated to that version, and Plasma needs to be restarted afterward.
Any combo of `killall plasmashell
I wish i could give a vote but for now it has two issues.
One is not as important, simply it doesn't seem to remember, after a reboot, the width of the window, and on the forecast tab, the one on the most right it's "cut", which is ugly to see.
The most annoying issue is the fact that the widget simply doesn't load the weather information at Kubuntu boot, until i restart plasmashell. Not sure if this problem is due to your widget or it's something on my side, but i can't find anything around the Internet cos no one talks about Plasma widgets.
[ Kubuntu 21.1, KDE Plasma 5.22.5, Qt 5.15.2, Kernel 5.13.0-22-generic, X11 ]
I have done some debugging of the widget. The size of the icon is not properly calculated when the widget first loads.
With my settings, the text should be 80px wide and the icon should be 64px wide. However, on first load the text is correctly 80px, but width of the icon is only 16px wide. Then, I have to change the font size under Appearance which then somehow the icon now calculated its width properly and the widget is correctly resized.
I cannot find anything on the internet about "KDE Plasma SVG icon size not calculated on first load" so I am going to look through the QML rendering engine and see about anything I might be able to do to solve this.
I am currently seeing about a hacky solution that would involve manually multiplying the size of the icon on first load.
For problem #2, I am sorry but this does sound like an issue related to how your OS/KDE is running widget. I will attempt to reproduce your problem and see if I can help though.
Thank you very much for understanding my busy schedule and delay!
Hello! If you search for Stations through the lat/long system, then the widget will set your station to the one geographically closest.
Then, it sets the lat/long to the exact coordinates of the station and not the lat/long that you searched with.
This would be simple enough to fix with an if statement and settings option not to change the coordinates on search.
Feel free to open an issue on the GitHub so I can keep track of this issue!
Thank you!
9awesome, but can we have an option of either always hiding the temperature decimal in the panel or always show it even if its a zero? i hate things that change size in the panel :)
Ratings & Comments
51 Comments
habrá version para plasma 6??
9 Excellent. Please add a way to change the icon size of the icon though. I can only change the text size and the icon looks giant in comparison :P
Hmm, is WUnderground API still working? I remember they closed it many years ago.
9 Almost perfect, would be nice if you could change the metric for wind speed though, e g from km/h to m/s.
Almost perfect, would be nice if you could change the metric for wind speed though, e g from km/h to m/s.
10 Excelent work bro! I would add more padding to the widget (no on the panel, in fact it have a lot and not configurable)
I must be doing something wrong. I can't get it to find a station. All I get is "Error: Request failed:" in the widget window.
Version 2.5.0 has a required API key update. Make sure the widget is updated to that version, and Plasma needs to be restarted afterward. Any combo of `killall plasmashell
combined with restarting plasmashell will work
10 10 the best
9 9 excellent
10 10 the best
10 O melhor de todos os tempos ! Teria tradução para PT-BR The best ever! There would be a translation for PT-BR
7 7 good
I wish i could give a vote but for now it has two issues. One is not as important, simply it doesn't seem to remember, after a reboot, the width of the window, and on the forecast tab, the one on the most right it's "cut", which is ugly to see. The most annoying issue is the fact that the widget simply doesn't load the weather information at Kubuntu boot, until i restart plasmashell. Not sure if this problem is due to your widget or it's something on my side, but i can't find anything around the Internet cos no one talks about Plasma widgets. [ Kubuntu 21.1, KDE Plasma 5.22.5, Qt 5.15.2, Kernel 5.13.0-22-generic, X11 ]
I have done some debugging of the widget. The size of the icon is not properly calculated when the widget first loads. With my settings, the text should be 80px wide and the icon should be 64px wide. However, on first load the text is correctly 80px, but width of the icon is only 16px wide. Then, I have to change the font size under Appearance which then somehow the icon now calculated its width properly and the widget is correctly resized. I cannot find anything on the internet about "KDE Plasma SVG icon size not calculated on first load" so I am going to look through the QML rendering engine and see about anything I might be able to do to solve this. I am currently seeing about a hacky solution that would involve manually multiplying the size of the icon on first load. For problem #2, I am sorry but this does sound like an issue related to how your OS/KDE is running widget. I will attempt to reproduce your problem and see if I can help though. Thank you very much for understanding my busy schedule and delay!
Yes, it seems like the second problem is on my side. I will find a solution. Have a nice day!
My long and lat keep changing not working.
Hello! If you search for Stations through the lat/long system, then the widget will set your station to the one geographically closest. Then, it sets the lat/long to the exact coordinates of the station and not the lat/long that you searched with. This would be simple enough to fix with an if statement and settings option not to change the coordinates on search. Feel free to open an issue on the GitHub so I can keep track of this issue! Thank you!
no work code ID
hello, you have the translation file available, i want to translate to pt-BR
Thanks! But I am still working on getting the translation files working. I will tell you when
Hello! I have the translation file available. You can open an issue or pull request on the GitHub with the translations. Thanks!
hello thank you very much, i will be translated into my language
9 awesome, but can we have an option of either always hiding the temperature decimal in the panel or always show it even if its a zero? i hate things that change size in the panel :)