airQualityUS Broken - Easy to implement fix

Post Reply
User avatar
Dehatter
Professional
Professional
Posts: 350
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

airQualityUS Broken - Easy to implement fix

Post by Dehatter » Mon Jul 31, 2023 5:12 pm

OK ... I know that the new 19 is around the corner but I noticed this block was broken and came up with an easy fix using the AirNow EPA widget.

Download the replacement file here (PLEASE always keep a copy of the old file).

https://drive.google.com/file/d/1dylGeo ... sp=sharing

-Change the name of your displayed location in the title. Mine is 'Matthews, NC'
Screenshot 2023-07-31 124553.jpg
Screenshot 2023-07-31 124553.jpg (5.84 KiB) Viewed 3395 times

-Change the name of your desired location in the iframe line. Mine is "city=Matthews&state=NC"
Screenshot 2023-07-31 124635.jpg
Screenshot 2023-07-31 124635.jpg (5.99 KiB) Viewed 3395 times

Copy the new airQualityUSBlock.php file to your Block/airQualityUSBlock directory.

No settings changes or anything else to do. Should come out looking like this.
Screenshot 2023-07-31 130510.jpg
Screenshot 2023-07-31 130510.jpg (24.45 KiB) Viewed 3395 times
Any questions, just ask away!

Tom
Image

cw3beck
Observer
Observer
Posts: 33
Joined: Sun Aug 20, 2017 5:48 pm
Location: Huntsville, AL
Station model: Davis Pro 2
Software: Weather Display
Contact:

Re: airQualityUS Broken - Easy to implement fix

Post by cw3beck » Sat Aug 05, 2023 5:46 pm

Works like a champ. Thanks for sharing!

Post Reply