k-donn / plasmoid-wunderground

A Plasma 5/6 widget for showing data from Wunderground PWS
https://store.kde.org/p/2135799
GNU General Public License v2.0
40 stars 19 forks source link
kde-desktop kde-plasma-6 weather wunderground wunderground-pws

Wunderground PWS Widget for KDE 6

A Plasma 6 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 though Wunderground.com or through Wunderground API. This widget lets you input the station ID then view the properties that the station sends up.

Running

Configure the widget by finding weather stations (ie. KGADACUL1). You can get an overview of stations in your area at wunderground.com/wundermap.

Navigate to the settings page by clicking Configure Wunderground or right-clicking the widget. Then, under Station, click Choose.... This will open up the saved stations dialog. Enter the case-sensitive ID into the field then press Add or hit enter.

Once a station has been added to the list, it is automatically selected and will be highlighted. Otherwise, click on the desired station ID then press Select at the bottom right.

Then, the station ID will appear on the config page and the settings can be applied to change the station.

Furthermore, some stations update at different rates so you can set the refresh rate.

Removing Stations

Navigate back to the saved stations dialog and select the station to be removed. Click the Remove button at the bottom left and then confirm the removal. You can then close the window or click Cancel. If you have removed all of the stations, you can close the window or click Cancel as well.

Translating

Translations welcome!

Follow the file in plasmoid/translate for directions.

Meta

Big thanks to @bluxart and @pyconic for Meteocons the free icons.

Big thanks to Zren for files from applet-lib and applet-simpleweather.

Upstream changes have also been merged back in from rliwoch's plasmoid-wunderground-extended.

Portions of CompactRepresentation and IconAndTextItem are from org.kde.plasma.weather.

The text coloring utilities are thanks to @Gojir4 on the QML forum.

Known Problems

Text coloring for dark/transparent themes is currently buggy in Plasma 6. The first time a widget loads the text may not be colored correctly.

Changing the transparency then back again seems to solve this issue. See #58. Under Appearance in the widget settings, toggle "Show Background."

TODO