Simple Weather Featured

Plasma 5 Weather

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/Zren/plasma-applet-simpleweather

2
Score 72.2%
Description:

A simple desktop weather widget based on the default KDE widget that shows the current temp, forecast, and min/max temperature.

While useful for users, this can also serve as an example widget for other developers to use as a starting point to create their own weather widget.

Layout based on: https://www.deviantart.com/speedracker/art/Simple-Weather-Conky-Manager-587605695

  • Shows Environment Canada weather warnings (can be turned off).



If you'd like to play around with the CurrentWeatherView, edit the files in:
~/.local/share/plasma/plasmoids/com.github.zren.simpleweather/contents/ui/

To test, use:
plasmawindowed com.github.zren.simpleweather

If you wish to upload a fork to the KDE Store, please make sure to edit X-KDE-PluginInfo-Name in metadata.desktop beforehand. Follow the instructions in the tutorial below:
https://zren.github.io/kde/docs/widget/
Last changelog:

v5 - May 25 2019 1 month ago

* Center align the current temp/icon when thinner than the forecast text
* Round current temp to an integer (only envcan needed it).
* Show the weather source's credits text and link.
* Brazillian Portegeus translations by @herzenschein (Pull Request #7)

migzulk

1 month ago

9 9 excellent!

Report

janet

2 months ago

How can I get the big temperature as shown in your screenshot? Instead I have the weather icon...

Report

C

Zren

2 months ago

The wetter.com data source does not have the "current temp" data. It only has the current day's "forecast" data which includes the weather type, icon, and min + max temp. I already display the min/max temp, so I used today's "forecast icon".

The solution is to use another data source if one is available.

Report

janet

2 months ago

I see. I was just irritated because your screenshot shows the current temperature. It's also fine with the icon. Is there a way to display the min/max temperature besode the icon in bigger font size?

Report

dequire

4 months ago

9 +The name says it all

Report

IkiruOG

5 months ago

9 +

Report

baltolkien

5 months ago

I found a bug. The temperature doesn't display in wetter.com, always show 0ºC. For example in Almassora, Valencia.

Report

C

Zren

5 months ago

Plasma's wetter.com data source either does not parse the current temperature from the API, or the API does not provide it. That is why this widget will instead show the current weather icon instead of the current temp.

https://github.com/KDE/plasma-workspace/blob/master/dataengines/weather/ions/wetter.com/ion_wettercom.cpp

Report

baltolkien

5 months ago

9 +1

Report

l4k1

5 months ago

9 +

Report

v5 - May 25 2019 1 month ago

* Center align the current temp/icon when thinner than the forecast text
* Round current temp to an integer (only envcan needed it).
* Show the weather source's credits text and link.
* Brazillian Portegeus translations by @herzenschein (Pull Request #7)

v4 - February 27 2019 4 months ago

* Show weather warnings (envcan only).
* Remove whitespace between min/max temp and current temp.
* Don't round weather icon to fixed sizes when medium/small.
* Updated Dutch translation (Pull Request #6)

v3 - February 2 2019 5 months ago

* Fixed compatibility with openSUSE Leap with Plasma 5.12 / KDE Frameworks 5.45 / Kirigami 2.4 (Issue #2) and wetter not displaying an icon (Issue #4).
* Fix widget min size when config button is shown.
* Fix min/max temp labels being 200px wide when empty (Eg: env canada).

v2 - January 30 2019 5 months ago

* Hide the min/max temp label if it's not populated (Eg: Env Canada).
* Show an icon in place of the current temp when it's not populated (Eg: Wetter).
* Added Dutch translation (Pull Request #1)
* Fix selecting the default font after changing to another font.

v1 - January 29 2019 5 months ago

* Implement a simple text weather forecast with min/max/current temps.

12345678910
5
product-maker migzulk May 26 2019 9 excellent
9 excellent!
product-maker dequire Mar 03 2019 9 excellent
+The name says it all
product-maker IkiruOG Feb 03 2019 9 excellent
+
product-maker baltolkien Jan 30 2019 9 excellent
+1
product-maker l4k1 Jan 30 2019 9 excellent
+
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
GPLv2 or later
version
5
updated May 25 2019
added Jan 29 2019
downloads today
61
page views today 22