Customizable Weather Plasmoid (CWP)
Plasma 4 Extensions
Description:

For >=KDE-4.2 (no plasma 5 support)

****************************************
NEWS: I currently don't have the time to update the plasmoid or even work on a plasma 5 version. Sorry! But I will be happy to have either someone else take over the project or to publish corrected xml files to at least maintain the kde 4 version of this plasmoid
****************************************

This is another weather plasmoid.
It aims to be highly customizable, but a little harder to setup than other weather plasmoids.
Nearly any weather forecast provider can be used, as long as the data is provided as html files (no flash).
The information how to extract the information from these html files is stored inside xml files.
Commands like grep, head, tail, sed, awk, ... will do this job.

For now, xml files for the weather providers

br.weather.com (°C) (city identifier example: BRXX0043)
de.weather.com (°C) (city identifier example: 80331 or UKXX0085)
espanol.weather.com (°C) (city identifier example: Ciudad-de-Mexico-MXDF0132)
fr.weather.com (°C) (city identifier example: Paris-FRXX0076)
in.weather.com (°C) (city identifier example: New-Delhi-INXX0096)
uk.weather.com (°C) (city identifier example: London-UKXX0085)
wetter.com (°C) (city identifier example: DE0006515)
myforecast.com (°C) (city identifier example: 12844)
myforecast.com (°F) (city identifier example: 12844)
www.weather.com.cn (°C) (city identifier example: 101010100)
accuweather.com US (°C) (city identifier example: 85001)
accuweather.com US (°F) (city identifier example: 85001)
accuweather.com world (°C) (city identifier example: 305448)
accuweather.com world (°F) (city identifier example: 305448)
ilmeteo.it (°C) (city identifier example: Roma)
pogodynka.pl (°C) (city identifier example: Warszawa)
www.gismeteo.com (°C) (city identifier example: 4944)
openweathermap.org (°C) (city identifier example: id=2643743 or q=London,UK)
openweathermap.org (°F) (city identifier example: id=5506956 or q=Las Vegas,US)

are included, but feel free to write your own ones.
Please note, that some of the xml files might not work properly for all locations.
If they don't, try to update your definition files: either install latest cwp release or/and download latest xml definition
file package from
http://www.kde-look.org/content/show.php/show.php?content=98925
and unpack the xml files into ~/.kde4/share/apps/cwp (the cwp application folder inside your kde directory).

To access extended information about current weather condition, left-click inside the current weather description!
The time, when the provider updated his weather information is shown italic when clicked on update time.

CWP saves current weather data on exit inside $HOME/./share/apps/cwp folder, so after crashes you might want to clean up
this directory, or completely remove it.

Parts of the source code are taken from weather plasmoid 0.4, KDE 4.2, qimageblitz, yaWP.
Thanks to the developers!

If you experience any bugs, please report them here.
Running
plasmoidviewer plasma_applet_cwp
or starting plasma from the console
might give you some debug information.

Changelog:

1 year ago

1.12.1
======
- xml: wetter.com updated (thanks to Evi1M4chine)

1.12.0
======
- xml: removed www.weather.com support because the website is unparsable now
- xml: splitted openweathermap.org into celsius and fahrenheit versions
- modifications for locating correct data path

1.11.1
======
- xml: br.weather.com: location fixed
- xml: de.weather.com: location fixed
- xml: fr.weather.com: location fixed
- xml: in.weather.com: links fixed
- xml: pogodynka.pl: fixes
- xml: weather.com.cn: fixed

1.11.0
======
- xml: gismeteo.com: fixed
- removed freemeteo.com due to severe site changes, rendering access impossible

1.10.2
======
- xml: gismeteo.com: city name fixed in some cases

1.10.1
======
- xml: wetter.com: Current temperature fixed
- xml: openweathermap.org: north wind symbol fixed (thanks to wettermeister)
- xml: gismeteo.com: city name fixed in some cases

1.10.0
======
- weather information is stored on disk each time updates are downloaded
- xml: weather.com: current weather description fixed

1.9.1
=====
- xml: gismeteo.com: location fixed for some locations

1.9.0
=====
- xml: openweathermap.org: initial support (WARNING: all configurations need to be updated!)
- xml: uk.weather.com: sunrise / sunset fixed
- xml: espanol.weather.com: sunrise / sunset and wind direction fixed
- xml: in.weather.com: sunrise / sunset fixed

1.8.3
=====
- xml: gismeteo.com: fixes

1.8.2
=====
- xml: gismeteo: icon fixes
- xml: www.weather.com.cn: fixes

1.8.1
=====
- xml: wetter.com: fixes (thanks to Evi1M4chine). Weather icons from weather provider should be preferred over system icons!
- xml: [in,espanol,uk].weather.com: UV index fixed

1.8.0
=====
- xml: myforecast.com: update time added
- xml: wetter.com: weather description modified
- xml: gismeteo.com: current weather icon fixed
- xml: accuweather.com (World): possibly wrong temperature fixed
- increased number of possible weather icons

1.7.3
=====
- xml: accuweather.com: fixes for some URLs

1.7.2
=====
- xml: www.weather.com: fixes (thanks to jcasoliva)
- xml: accuweather.com: 5th day fixed

1.7.1
=====
- xml: ilmeteo.it: fixes (thanks to Maurizio A.)
- xml: gismeteo.com: location fixed
- xml: www.weather.com: current weather conditions fixed
- xml: accuweather.com (US): fixed (new location code)
- xml: accuweather.com (World): fixed (new location code)

1.7.0
=====
- icon for calm wind conditions
- xml: all: inserted "calm" wind condition if possible
- xml: www.weather.com: fixed
- xml: ilmeteo.it: changed (thanks to Maurizio A.)
- xml: espanol / in / uk.weather.com fixed
- xml: gismeteo: location fixed

1.6.13
======
- xml: wetter.com: fixed (thanks to Evi1M4chine)

1.6.12
======
- xml: accuweather.com (US): fixed location
- xml: accuweather.com (world): fixed location etc.

1.6.11
======
- xml: accuweather.com (US): feels like temperature and additional information fixed

1.6.10
======
- xml: br.weather.com: fixed
- xml: de.weather.com: fixed
- xml: fr.weather.com: fixed

1.6.9
=====
- xml: www.wetter.com: wind fixed

1.6.8
=====
- xml: www.wetter.com: wind and additional info fixed

1.6.7
=====
- xml: gismeteo.com: location name fixed

1.6.6
=====
- xml: accuweather.com (US): fixed

1.6.5
=====
- xml: gismeteo.com: fixed (thanks to Dreid)
- xml: accuweather.com (US): fixed forecast
- xml: accuweather.com (world): fixed forecast

1.6.4
=====
- xml: ilmeteo.it: fixed apostrophe character in location names
- xml: pogodynka.pl: fixed wrong low temperature in some cases
- xml: accuweather.com (US): fixed location names
- xml: accuweather.com (US): fixed forecast after midnight

1.6.3
=====
- xml: de.weather.com: fixed wind directions
- xml: br.weather.com: fixed wind directions
- xml: espanol.weather.com: fixed wind directions
- xml: ilmeteo.it: fixed wind description
- xml: gismeteo.com: fixed country names

1.6.2
=====
- xml: accuweather.com (US): fixed wrong data at night time

1.6.1
=====
- xml: accuweather.com (US): fixed wrong weather data

1.6.0
=====
- Greek translation (thanks to pkoukousoulas)
- xml: satellite_images: new images
- xml: accuweather.com (World): port to new location code
- xml: www.weather.com: fixed

1.5.14
======
- xml: gismeteo.com: current wind condition fixed

1.5.13
======
- xml: www.wetter.com: current temperature fixed (thanks to Steffen)
- xml: accuweather.com (World): forecast temperature fixed

1.5.12
======
- xml: www.wetter.com: complete rewrite
- xml: www.weather.com: current weather description fixed

1.5.11
======
- xml: gismeteo.com: fixed (thanks to Dreid)
- xml: www.weather.com.cn: fixes

1.5.10
======
- xml: gismeteo.com: negative temperature values fixed

1.5.9
=====
- xml: accuweather.com (World): mostly fixed (thanks to Jota Jota)
- xml: accuweather.com (US): bugs fixed
- xml: gismeteo.com: wind and location bugs fixed
- xml: uk.weather.com: variable wind bug fixed
- xml: in.weather.com: variable wind bug fixed
- xml: espanol.weather.com: variable wind bug fixed

1.5.8
=====
- xml: weather.com: location fixed
- xml: accuweather.com (US): wrong days for forecast fixed

1.5.7
=====
- xml: accuweather.com (US): fixed

1.5.6
=====
- xml: accuweather.com (US): fixed
- xml: pogodynka.pl: fixed

1.5.5
=====
- xml: accuweather.com (US): Forecast icon for 1st day fixed
- xml: weather.com: Fixed
- xml: pogodynka.pl: Fixed

1.5.4
=====
- xml: ilmeteo.it: icon and description fixes

1.5.3
=====
- xml: accuweather.com (US): links and location fixes

1.5.2
=====
- xml: espanol.weather.com: date name fixes
- xml: fr.weather.com: date name fixes
- xml: in.weather.com: date name fixes
- xml: uk.weather.com: date name fixes
- xml: accuweather.com (US): update time fixed
- xml: www.weather.com: current weather icon fixed

1.5.1
=====
- ru.po updated (thanks to Boris Pek)
- new cwp-app directory not used in some cases
- xml: gismeteo.com: add some icon codes
- xml: www.weather.com.cn: fixes

1.5.0
=====
- on request: changed app directory from ~/.cwp to ~/.[kde4]/share/apps/cwp
- xml: gismeteo.com: display N.A. if no update time is available
- xml: gismeteo.com: add some icon codes

1.4.0
=====
- on request: export / import settings from configuration dialog

1.3.4
=====
- xml: accuweather.com (US): fixed temperature not shown in some cases
- xml: ilmeteo.it: fixed icon and forecast information issues

1.3.3
=====
- xml: www.weather.com: update time fixed, weather description fixed
- xml: www.weather.com.cn: current weather description fixed
- xml: www.accuweather.com (US): fixed

1.3.2
=====
- xml: www.gismeteo.com: location fixed (thanks to yurikirin)
- xml: pogodynka.pl: fixed
- xml: wetter.com: fixed rain forecast
- xml: ilmeteo.it: fixed missing weather description

1.3.1
=====
- xml: pogodynka.pl: fixed forecast for 1st day

1.3.0
=====
- display invalid weather data rather than spinning circle
- xml: www.gismeteo.com: links to www.gismeteo.ru now
- xml: accuweather.com (US): fixed
- xml: pogodynka.pl: fixed
- xml: others: small fixes

1.2.3
=====
- xml: www.weather.com: fixed

1.2.2
=====
- tiny spelling fix (thanks to tehnick)
- debug information for icon codes added
- xml: ilmeteo.it: fixes for some locations like Roma
- xml: accuweather.com (US): night icon fixes

1.2.1
=====
- xml: accuweather.com (World): small fixes (thanks to naradla)
- xml: gismeteo.com: location name fixed
- xml: www.weather.com: wind & encoding fixed
- xml: ilmeteo.it: fixes (thanks to lbonco)
- xml: www.weather.com.cn: icon description fixed
- xml: accuweather.com (US): special icons fixed
- xml: gismeteo.com: some missing icons added

1.2.0
=====
- use KDE's scheduler for download jobs (let KDE limit kio_http process number to 30)
- xml: accuweather.com (World): new URL to find location code

1.1.1
=====
- xml: fr.weather.com: fixed wind direction
- xml: espanol.weather.com: fixed wind direction
- xml: www.weather.com: fixed
- xml: accuweather.com (World): fixed (both °C and °F)

1.1.0
=====
- fixed namespace bug in xml files
- fixed panel bug in KDE 4.5
- xml: gismeteo.com: fixed

1.0.5
=====
- xml: freemeteo.com: fixed & added new languages support

1.0.4
=====
- xml: accuweather.com (World): fixed (thanks to Jota Jota)
- xml: accuweather.com (US): fixed

1.0.3
=====
- xml: satellite_images: broken links fixed
- xml: accuweather.com (World): fixed wrong icon code

1.0.2
=====
- xml: accuweather.com (World) fixed (both °C and °F)

1.0.1
=====
- xml: www.gismeteo.com: location fixed
- xml: wetter.com: update time fixed, current weather icon fixed
- xml: weather.com.cn: day names fixed

1.0.0
=====
- update function (xml files in .cwp folder preferred over xml files from install directory)
- weather-windy icon: fixed (newer kde versions don't load scalable icons any more)
- xml: accuweather.com: US celsius and fahrenheit: fixed
- xml: ilmeteo.it: fixed (thanks to Pasquale Ceres)
- xml: www.weather.com: fixed

1 day ago

LaysanA

Just wanted to say thanks. I've been using CWP for years, and I find myself missing its constant presence. Seems these desktop plasmoids just aren't in style now - even my standby YAWP isn't available for kde5.
Anyway, that's neither here, nor there, I wanted to say thank you for creating and maintaining such a really nice weather display for my desktop, for such a long time.
I'm off to struggle with conky now...

Report

2 months ago

Evi1M4chine

Hey, wäre es möglich, das Plasmid einfach als normales eigenständiges Programm umzubauen? Dann ließe es sich nämlich in *jeder* Desktopumgebung als Widget benutzen.
Hier am Beispiel von Enlightenment erklärt: http://simotek.net/tech/projects/opensuse-e/enlightenment-wallpaper-changers-photo-frames-and-system-monitors/

Report

2 months ago

Evi1M4chine

Translation: Hey, would it be possible, to convert the Plasmid into a standalone program? Because then, it could be used as a widget, in *every* desktop environment.
Explained here, in the case of Enlightenment: http://simotek.net/tech/projects/opensuse-e/enlightenment-wallpaper-changers-photo-frames-and-system-monitors/

Report

2 months ago

noric

I would really like it.

Report

2 months ago

Evi1M4chine

For the time being, you can run »plasma-windowed plasma_applet_cwp« and use that. (--help-all for more parameters. E.g. -b to get a border, if you need one.)

Report

2 months ago

noric

This is excellent. Will this work on Plasma5? I'm still on KDE4 for now.

Report

2 months ago

Evi1M4chine

Only if you can install KDE4 and Plasma5 at the same time. I guess with separate install locations, this would always work. It might be messy though, because KDE4 is probably not made to be installed in weird places and load its libraries from there too. So it might load KDE5 libraries from the default directories and use KDE5 config files, and crash.
Also, I don’t know if Plasma5 has a pin-to-desktop functionality. KWIN is pretty powerful, so if nothing helps, its scriptability might still make it possible. It would be work though.

Report

3 months ago

Comandante1977

Gismeteo changed identifiers. So, not working at all. :(

Report

5 months ago

noric

www.ilmeteo.it is no longer working. I've fixed it and I'm sharing the fixed xml with you: http://pastebin.com/mtYCtrCA

Also, I advise that you go in the settings and change the translation of "rain" into "Precipitazioni", because it shows both rain and snow.

Enjoy!

Report

5 months ago

noric

Sorry, there was a stupid mistake. Here is the new link: http://pastebin.com/iaUPMgC1

Report

4 months ago

noric

Again, there was another minor change on ilmeteo.it side.
Here is the updated xml: http://pastebin.com/m5986xVi

Report

1 month ago

noric

Still another minor update: http://pastebin.com/MQZMTk4Y

Report

5 months ago

gstnet

www.accuweather.com (World) no longer works well due to site changes.

Report

6 months ago

bmonnier39

I just moved for Linux Mint 18 KDE with plasma 5. And I realized that my excellent CWP doesn't work anymore... No hope for a new version ??

Report

8 months ago

Evi1M4chine

@jaegerschnitzel: How about migrating this to Lumina instead of KDE5/Plasma5?
I heard it is much easier to do. And frankly, CWP is the only thing keeping me from switching to another DE. (They’re all shit. :) Lumina seems like a much better choice, given its easy extensibility and it not being designed for idiots.

Report

8 months ago

Evi1M4chine

UPDATE for wetter.com: http://pastebin.com/9Gui5c5k

Report

8 months ago

Evi1M4chine

Hey, wetter.com hat noch zwei Fehler (KeineTemperaturen und falsche Icons für die 7 Tage).
Ich habs mal korrigiert: http://pastebin.com/Mv4FHQg7

Report

8 months ago

Evi1M4chine

Korrektur: In der obigen Version war noch ein Fehler in den URLs. Deswegen auch die falsche Icons.
Die Version hab ich getestet und sie geht einwandfrei: http://pastebin.com/rQR1s5Yx

Report

1 year ago

janet

Can you please update wetter.com xml? They have changed the website layout = no information at all with the current xml file :(

Report

8 months ago

Evi1M4chine

I fixed it. Look at my comment with a pastebin link above.
Beware though that wetter.com has a design that makes any parser very unstable, since they use no fixed ids anymore. Even though I tried to make it as reliable as possible, any change might break it again. Also the website misses a lot of data that the app has. So using the same data source the app uses would be a much better idea. But I have more important things to do. if you want, you can do it…

Report

1 year ago

bmonnier39

I live in France. I used fr.weather.com for a long time. But as this site doesn't work anymore, I changed for "myforecast.com (C°)", with KDE native weather icons (the icons from the site are very ugly). But since this morning, I have a grey empty icon instead. However, the icons from the site (beurk) are still available.

Report

1 year ago

bmonnier39

As a complement to my precedent post : for =today=, everything works fine : T°, KDE' icon (a sun with passing clouds), commentary ("passing clouds, chilly), wind (direction and speed). Nothing for the others days (I use "disposition 5 days horizontal compact")

Report

1 year ago

bmonnier39

I solved my problem using "accuweather.com US (C°)". It shows KDE's weather icons, forecast and T° for today and all of the 5 following days.

Report

1 year ago

bmonnier39

And, at last, myforecast.com works again...

Report

1 year ago

bmonnier39

I live in France. I used fr.weather.com for a long time. But as this site doesn't work anymore, I changed for "myforecast.com (C°)", with KDE native weather icons (the icons from the site are very ugly). But since this morning, I have a grey empty icon instead. However, the icons from the site (beurk) are still available.

Report

Supporters

Recent Donations

Be the first to donate
Filename Version Description Filetype Packagetype License Downloads Date Filesize Install
Score 92%
92.00 Likes
8 Dislikes

0 Supporters for Customizable Weather Plasmoid (CWP):

Recent Donations:

Be the first to donate
show all
Details
version
1.12.1
updated Feb 13 2016
added Feb 06 2009
downloads
page views 14275
support jaegerschnitzel
For The Product
Customizable Weather Plasmoid (CWP)
5 - 10 - 25 - 50 - 100 - 200 - 500