Posting this here as I don't see a 'release' thread for this driver.
Being a property manager one task was to inform tenants if AQI was poor. It's an offshoot I think from the big fires we had in the state a few years back.
Initially, I used AQI from AirNow driver written by @csteele. I ended up working with the dev to improve it some for my needs and it worked perfectly.
(I colorized my porch light to reflect current AQI color when not ideal). Actually got kudo's for that btw.
Anyways - later, OpenWeatherMap implemented AQI. Now I had two sources - but I recognized they reported differently. I tracked it to the sensor being used. AirNow used Salem, OR (the closest sensor they have to me) while OWM reported more locally.
I no longer manage a property but I still change some living rom ambiance lights when AQI gets poor. In my HD+ tile, I use TileBuilder to colorize a table and the whole things is just perfect.
I wanted to tweak the tile so as to display the source. I could easily have hand typed but wanted it dynamic. However, the AirNow device didn't report the source. Only by dumping the json could I see the 'ReportingArea' and 'StateCode'.
I had forked the driver years ago for my personal needs, but wanted to post that I've added a couple additional attributes so I could pull them into my HD+ tile. A snap of the actual tile:
.
I'm not publishing this fork, @csteeles work is already excellent. Just wanted to share this change in case it may be valuable to others.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.