I'm trying to find a way to include an air quality widget from World Air Quality Index.
As I get the message "You can’t post image, email or url links that are external to this domain", more info in attachments.
Is there a way to get the widget in Dashticz ?
World Air Quality Index (Waqi) widget
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 2
- Joined: Monday 19 April 2021 18:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Brussels
- Contact:
World Air Quality Index (Waqi) widget
- Attachments
-
- Waqi widget.jpeg (48.94 KiB) Viewed 1079 times
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: World Air Quality Index (Waqi) widget
Yes
WAQI provides a few standard widgets, which are easy to integrate. I'll make a Dashticz block for these:
https://aqicn.org/widgets/wordpress/brussels/
WAQI also provides a customizable widget, which will take a bit more effort to integrate, I'll add this to the Dashticz wishlist. See:
https://aqicn.org/faq/2015-07-28/air-qu ... oved-feed/
WAQI provides a few standard widgets, which are easy to integrate. I'll make a Dashticz block for these:
https://aqicn.org/widgets/wordpress/brussels/
WAQI also provides a customizable widget, which will take a bit more effort to integrate, I'll add this to the Dashticz wishlist. See:
https://aqicn.org/faq/2015-07-28/air-qu ... oved-feed/
-
- Posts: 2
- Joined: Monday 19 April 2021 18:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Brussels
- Contact:
Re: World Air Quality Index (Waqi) widget
Tks a lot for your response - I really can't wait to include the new Waqi block in my Dashticz screen !
-
- Posts: 3
- Joined: Wednesday 20 March 2024 14:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: World Air Quality Index (Waqi) widget
Hello Lokonli,
The readthedocs link fails to mention that the blocks must have the type: 'waqi'
In the block example: there is no type
And the parameters list has 2 times city but not type.
For clarity I believe it should be added.
Thanks for the work.
The readthedocs link fails to mention that the blocks must have the type: 'waqi'
In the block example: there is no type
And the parameters list has 2 times city but not type.
For clarity I believe it should be added.
Thanks for the work.
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: World Air Quality Index (Waqi) widget
Thanks for reporting.
If you can change it yourself on github (clone the repository, make the corrections, create a Pull Request (PR)) that would be great.
If you can change it yourself on github (clone the repository, make the corrections, create a Pull Request (PR)) that would be great.
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: World Air Quality Index (Waqi) widget
I updated the docs. PR #1188
Added type: 'waqi' to parameters
Code: Select all
//example for Amsterdam, large
blocks['My WAQI']= {
type: 'waqi',
layout: 'large',
city: 5771
};
Blah blah blah
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: World Air Quality Index (Waqi) widget
Thanks @HansieNL!
Verzonden vanaf mijn iPhone met Tapatalk
Verzonden vanaf mijn iPhone met Tapatalk
Who is online
Users browsing this forum: Bing [Bot] and 0 guests