Air Quality Widget Original

Plasma 5 Weather air_quality pollution weather

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

1
6 .3
Description:

(Now compatible with Kubuntu 16.04 and other distros using Kde Plasma 5.5 - thanks Cqoicebordel!)

This widget shows the latest pollution and weather data from aqicn.org (World Air Quality Project) by connecting to their Json API: https://aqicn.org/json-api/doc/
The World Quality Project team obtain their data from state EPAs.
The widget also uses a background texture from Freepik.com created by Kjpargeter.

FEATURES:
-Latest data for the 6 pollutants regulated by the US EPA - ground-level ozone, PM 2.5s, PM 10s, carbon monoxide, sulfur dioxide, and nitrogen dioxide
as well as 4 weather indicators (toggleable) - temperature, humidity, wind speed and pressure. (Availability varies by station)
-All elements rated and coloured according to the US EPA Air Quality Index as well as some other rating systems.
-3 versions - expandable, full and tray.
-The compact/tray representations' main element can be selected by clicking on it in the expandable version.
-A transparent look.
-The option to display the station name in an alphabet other than Roman for countries that use them, or both.
-The option to convert a station's last update time to your timezone (if you're interested in air quality worldwide or something)
-Automatic and manual updating.
-The option to use a custom WAQI token.

Please report feature requests, suggestions, bugs here (https://www.opendesktop.org/p/1275403) or at my email.
For info on how to translate the widget see (/home/$USER/.local/share/plasma/plasmoids/org.kde.plasma.waqiwidget)/contents/translations/How to translate.txt
Last changelog:

1.5 1 year ago

-Made the widget compatible with plasma versions down to 5.1 (Kubuntu 16.04)
-Optimised the widget for use with multiple desktops
-Changed the behaviour of the full representation window (closes on clicking anywhere outside it and other fixes)
-Made the station selection window scale with resolution
-Improved the tray error box
-Reverted the size of the temperature label in the full representation

C

nobleswagger

1 year ago

Oh, after you do this. You need to restart the plasmashell or reboot -
killall plasmashell
kstart5 plasmashell
And then put a new widget on the desktop/in the tray.

Report

jamiedemon

1 year ago

Error loading QML file: file:///home/jake/.local/share/plasma/plasmoids/org.kde.plasma.waqiwidget/contents/ui/Main.qml:3:1: module "QtQuick.Window" version 2.11 is not installed

Report

C

nobleswagger

1 year ago

What distro are you on (+version)?

Report

xavierdepedro

1 year ago

Same type of issue for me. I'm on Kubuntu 16.04

Report

C

nobleswagger

1 year ago

Sorry, it looks like at the moment the Widget is not compatible with anything below the Bionic Beaver (18.04). I have an update coming in a few days - I'll see if I can get it down to 16.04 (might not be possible), but I can certainly reduce dependencies to the Zesty Zapus (17.04). Thanks for reporting this!

Report

C

nobleswagger

1 year ago

I could probably make 2 versions as well.

Report

9

stroum

1 year ago

9 +

Report

C

nobleswagger

2 years ago

My mistake - I thought the GUI scaled with resolution, but it turns out it didn't at all. Checking that slipped my mind.
Version 1.1 makes the widget resolution dependent and fixes some scaling problems.

Report

C

nobleswagger

2 years ago

Thanks for the feedback. I'll look into this soon.

Report

9

avlas

2 years ago

9 +

Interesting, but unfortunately in my desktop numbers' font size is huge (numbers don't fit the square they are in). Wish there was a way to reduce it or a better way to self-adjust.

Report

1.5 1 year ago

-Made the widget compatible with plasma versions down to 5.1 (Kubuntu 16.04)
-Optimised the widget for use with multiple desktops
-Changed the behaviour of the full representation window (closes on clicking anywhere outside it and other fixes)
-Made the station selection window scale with resolution
-Improved the tray error box
-Reverted the size of the temperature label in the full representation

1.4 1 year ago

-Optimised and changed the automatic update system - Now a specific hourly update time can be set with an optional second one allowing the user to automatically download their data with the smallest delay possible.
-Added the option to either keep the user selected element across updates or always select the one with the highest reading on updating.
-Improved the config menu layout.
-Changed the font sizes of weather elements in the expandable representation.
-Fixed the weather unit symbols not scaling properly with resolution (and becoming displaced).
-Fixed the positioning of the expandable representation when opened from the tray.
-Made the widget compatible with plasma versions down to 5.9 (Kubuntu 17.04 Zesty Zapus)

1.3 2 years ago

-Adjusted the tray version's label sizes
-Added an error box for the tray version and fixed its error tooltip message
-Scaled up the size of the expandable versions' time label
-Got rid of the descriptions of temperature

1.2 2 years ago

Fixed the positioning of the error labels. Further improved the positioning of other labels.

1.1 2 years ago

The widget now properly scales with screen resolution. Also fixed a scaling problem not connected to resolution.

1.0b 2 years ago

Fixed Typo

12345678910
2
product-maker stroum Dec 01 2018 9 excellent
+
product-maker avlas Nov 19 2018 9 excellent
+ Interesting, but unfortunately in my desktop numbers' font size is huge (numbers don't fit the square they are in). Wish there was a way to reduce it or a better way to self-adjust.
Be the first to comment
xavierdepedro
Dec 27 2018
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.5
updated Jul 31 2020
added Nov 18 2018
downloads 24h
1
mediaviews 24h 0
pageviews 24h 6