Weather Underground’s Next Frontier: Air Quality

I have added some max/min/av data now in the latest update

also the AQI number now has a font with a shadow so when yellow colour its easier to read

I have added more to the av/ext data in the latest .zip update now

Brian, I’ve noticed that if the AQI is a value from 50.00 through 50.99, the description tag %purpleairaqidescription% is blank.

Using ZIP update Version on 16 September 2017 - 22:47:30.

fixed in the latest .zip update

Refreshing the topic. I had installed a home-made air quality sensor using the sensor from Sharp (GP2Y1010AU0F/GP2Y1010AU0F posted in this forum) and a MQ131 sensor (for ozone). I’ve been logging for a while now but don’t get any exciting result. I do readouts either every 1 second or do a 10-sec average and log to a file.

I’ve noticed a difference between two sensors: GP2Y1010AU0F has an offset of about 0.4-0.5 V which is what the specifications say. The GP2Y1010AU0F has no offset (or 0.04-0.05 V).
I’ve attached a log for one day from both sensors that are installed side by side.

Either our air is that clean or something does not work OK. Can someone post a log for one day from the PurpleAir sensor? I wonder if the dynamics is more interesting there.
PS: I made a smoke from a candle and both sensors reacted immediately. So they should be connected alright. ??

Thanks.


1010.png

1014.png

Smoke is a good test. You may want to check the sensitivity specifications for those sensors to calibrate your expectations for general air quality sensing.

I have added some more custom tags (max/min average etc) to the latest .zip update

With the Napa wildfires, I have to say that the Purple Air sensor was a good investment. The air quality around here has really sucked the last several days.

https://www.purpleair.com/map?&zoom=9&lat=37.63535527254023&lng=-122.14039448730466&clustersize=30&inc=317376|317379&orderby=L&latr=0.8417428274285896&lngr=2.197265625

Purpleair sensor installed up here in norway.
Thanks a lot to all people involved and to Brian for integrating this in weather display.

https://www.purpleair.com/map?&zoom=11&lat=62.353017178137534&lng=5.81874351882937&clustersize=30&orderby=L&latr=0.27942960720533705&lngr=1.295013427734375

Aren’t you glad you don’t live here?

https://www.purpleair.com/map?&zoom=12&lat=28.59584382915855&lng=77.19488693515619&clustersize=30&inc=317376|317379&orderby=L&latr=0.11665860240820791&lngr=0.274658203125

I have added more custom tags for use with your purple air sensor now to the latest .zip update
(see the tagslist.txt file)
i,e average monthly values

Could anyone help me find my sensor ID?
Sensor name on PurpleAir map: Pleasant Grove
Location NE Kansas

Thanks!

Just to be sure:

  • Pleasant Grove, Kansas
  • Lat: 38.864466
  • Lon: -95.26798

If those coordinates are right then the PurpleAir sensor ID should 4415

Is there a graph for the purple air (see attached) that I can add to my site? I do not see any files/gifs being created by WD.

https://www.purpleair.com/map?&zoom=15&selected=372331|372333&lat=43.099301700000005&lng=-93.60997041957398&clustersize=30&orderby=L&latr=0.027105227212864236&lngr=0.0823974609375


see in the setup,advanced/misc

Can you direct me to find the PurpleAir sensor ID and the file where the new tags for the PurpleAir is?

Here is my sensor: https://www.purpleair.com/map?&zoom=15&lat=43.0993496&lng=-93.61029459999997&clustersize=30&orderby=L&latr=0.028045270954208945&lngr=0.08166790008544922

Attached is my airquality.txt:


airquality.txt (820 Bytes)

Garner, Iowa “ID”:4874

New tags for testtags.txt are:

//Air Quality
//==========
$purpleair2_5 = '%purpleair2_5%'; 	 //Value of 2.5 micron particle measure from purple air sensor (see in WD under setup, advanced/misc)
$purpleair1_0 = '%purpleair1_0%'; 	 //Value of 1.0 micron particle measure from purple air sensor
$purpleair10_0 = '%purpleair10_0%'; 	 //Value of 10.0 micron particle measure from purple air sensor
$purpleairaqi = '%purpleairaqi%'; 	 //AQI (air quality index) value from purple air sensor
$purpleairaqidescription = '%purpleairaqidescription%  ';	 //AQI description (e.g Good, moderate)
$purpleair60minmean10_0 = '%60minmeanpurpleair10_0%'; 	 //Last 60 minutes average PM 10.0 value
$purpleair60minmean2_5 = '%60minmeanpurpleair2_5%'; 	 //Last 60 minutes average PM 2.5 value
$purpleair24hourmean10_0 = '%24hourmeanpurpleair10_0%'; 	 //Last 24 hours average PM 10.0 value
$purpleair24hourmean2_5 = '%24hourmeanpurpleair2_5%'; 	 //Last 24 hours average PM 2.5 value
$purpleair60minmin10_0 = '%60minminpurpleair10_0%'; 	 //Min value in last 60 minutes PM 10.0 value
$purpleair24hourmin10_0 = '%24hourminpurpleair10_0%'; 	 //Min value in last 24 hours PM 10.0 value
$purpleair60minmin2_5 = '%60minminpurpleair2_5%'; 	 //Min value in last 60 minutes PM 2.5 value
$purpleair24hourmin2_5 = '%24hourminpurpleair2_5%'; 	 //Min value in last 24 hours PM 2.5 value
$purpleair60minmax10_0 = '%60minmaxpurpleair10_0%'; 	 //Max value in last 60 minutes PM 10.0 value
$purpleair24hourmax10_0 = '%24hourmaxpurpleair10_0%'; 	 //Max value in last 24 hours PM 10.0 value
$purpleair60minmax2_5 = '%60minmaxpurpleair2_5%'; 	 //Max value in last 60 minutes PM 2.5 value
$purpleair24hourmax2_5 = '%24hourmaxpurpleair2_5%'; 	 //Max value in last 24 hours PM 2.5 value

New graphic of aqichart.gif (graph) and aqi.gif (gauge) also available.

Just curious… :oops:

I know that Weather Display produces those two data files: ‘airquality.txt’ and ‘airquality2.txt’.

Since March, when I purchased my Purple Air sensor (and before the facility was added/included into Weather Display), I have been extracting the data from my sensor using a PHP script that downloads (directly from the sensor) and processes the information.

What I am wondering is if the two data files produced by Weather Display (those mentioned above) are automatically uploaded and how often - it would really be interesting if the two data files were automatically produced and automatically uploaded at the same location and at the same frequency as the ‘clientraw.txt’ near-real-time data file.

uploaded to your web site?
they aren’t
but you could
via the general ftp upload