Fire season has started in the West

did anyone manage to get a cop of the airquality.txt and airquality2.txt files when it was not working in WD?

Nuts! Sorry Brian, I was going to do that today. I hope Ken got a copy of them.

Yes, and I’m not showing as ‘online’ with purpleair.com map at this time.


airquality.txt (1.26 KB)

airquality2.txt (1.8 KB)

airquality4.txt (943 Bytes)

aqichart.gif

the airquality2.txt file has a “PM2_5Value”:“46.02”,
and WD is picking that up OK here
(and gives an AQI of 126)

I think the underlying problem is that some Purpleair stations are not getting good uploads and we appear to be in ‘bunches’ on the map … my station is offline to them right now, but a local check shows it is displaying current values. Very strange.

The WD graph is likely wonky due to the intermittent nature of the data on purpleair.com/json feed for the station.

My testtags.php shows

//==========
$purpleair2_5 = '46.0'; 	 //Value of 2.5 micron particle measure from purple air sensor (see in WD under setup, advanced/misc)
$purpleair1_0 = '186.2'; 	 //Value of 1.0 micron particle measure from purple air sensor
$purpleair10_0 = '282.3'; 	 //Value of 10.0 micron particle measure from purple air sensor
$purpleairaqi = '126.9'; 	 //AQI (air quality index) value from purple air sensor
$purpleairaqidescription = 'Unhealthy for Sensitive Groups ';	 //AQI description (e.g Good, moderate)
$purpleair60minmean10_0 = '287.0'; 	 //Last 60 minutes average PM 10.0 value
$purpleair60minmean2_5 = '46.8'; 	 //Last 60 minutes average PM 2.5 value
$purpleair24hourmean10_0 = '282.3'; 	 //Last 24 hours average PM 10.0 value
$purpleair24hourmean2_5 = '9.6'; 	 //Last 24 hours average PM 2.5 value
$purpleair60minmin10_0 = '282.3'; 	 //Min value in last 60 minutes PM 10.0 value
$purpleair24hourmin10_0 = '0.0'; 	 //Min value in last 24 hours PM 10.0 value
$purpleair60minmin2_5 = '46.0'; 	 //Min value in last 60 minutes PM 2.5 value
$purpleair24hourmin2_5 = '-1.0'; 	 //Min value in last 24 hours PM 2.5 value
$purpleair60minmax10_0 = '282.3'; 	 //Max value in last 60 minutes PM 10.0 value
$purpleair24hourmax10_0 = '282.3'; 	 //Max value in last 24 hours PM 10.0 value
$purpleair60minmax2_5 = '46.0'; 	 //Max value in last 60 minutes PM 2.5 value
$purpleair24hourmax2_5 = '56.0'; 	 //Max value in last 24 hours PM 2.5 value
$purpleair2_52 ='0.0'; //2nd sensor 2.5 reading
$purpleair1_02 ='0.0'; //2nd sensor 1.0 reading
$purpleair10_02 ='0.0'; //2nd sensor 10 reading 
$purpleairaqi2  ='179.8'; //2nd sensor aqi reading
$purpleairaqidescription2  = 'Unhealthy '; // 2nd sensor aqi description

so now the second sensor seems to be acting up. The local JSON shows

{"SensorId":"a0:20:a6:a:a2:7a","DateTime":"2018/11/11T22:32:11z","Geo":"AirMonitor_a27a","Mem":26264,"Id":397,"Adc":0.01,"lat":37.274700,"lon":-122.022903,"accuracy":0,"elevation":0.00,"version":"2.50i","uptime":15824,"rssi":-69,"hardwareversion":"2.0","hardwarediscovered":"2.0+OPENLOG+16021 MB+DS3231+BME280+PMSX003A+PMSX003B","current_temp_f":75,"current_humidity":9,"current_dewpoint_f":12.31,"pressure":1007.25,"pm1_0_atm_b":90.49,"pm2_5_atm_b":124.91,"pm10_0_atm_b":132.80,"pm1_0_cf_1_b":59.71,"pm2_5_cf_1_b":82.29,"pm10_0_cf_1_b":87.51,"p_0_3_um_b":13614.09,"p_0_5_um_b":4350.54,"p_1_0_um_b":661.03,"p_2_5_um_b":40.37,"p_5_0_um_b":9.34,"p_10_0_um_b":1.94,"pm1_0_atm":91.70,"pm2_5_atm":125.23,"pm10_0_atm":132.41,"pm1_0_cf_1":60.48,"pm2_5_cf_1":82.68,"pm10_0_cf_1":87.57,"p_0_3_um":15878.11,"p_0_5_um":4650.34,"p_1_0_um":680.86,"p_2_5_um":33.32,"p_5_0_um":11.14,"p_10_0_um":1.18,"responseCode":"504","responseCode_date":1541975527,"key1_responseCode":"200","key1_responseCode_date":1541962057,"key1_count":376476,"key2_responseCode":"200","key2_responseCode_date":1541962067,"key2_count":380139,"key1_responseCode_b":"200","key1_responseCode_date_b":1541962087,"key1_count_b":380002,"key2_responseCode_b":"200","key2_responseCode_date_b":1541975457,"key2_count_b":380852}

if you able to capture a data file when its not updating correctly in WD that would be good

Even though the AQI graphic and the chart are being generated okay, the Purpleair graph in the WD display is not working properly for me either. I see some green vertical lines but, nothing else. I tried restarting WD but, still the same. Here are copies of the WD display, airquality.txt and airquality2.txt anyway if that is any help. And I’ll be sure to copy it the next time it stops working.


airquality.txt (851 Bytes)

airquality2.txt (1.71 KB)

is the graph under view, purple air, OK?
I suspect the main screen graph might be going out of range
what is the current AQI?

No, it isn’t. In fact, while the aqi.gif looks okay, the aqichart.gif just went bananas again. Graphs and airquality text files are attached. According to the Purpleair map, current AQI is 174.


aqichart2.gif

airquality(1).txt (848 Bytes)

airquality2(1).txt (1.71 KB)

Here is a more current screenshot of thw WD display. All you see is green lins instead of the Purpleair graph.


I might have found something
try a new .zip update, ready now

Sorry Brian, it’s been a while. Don’t I just need to extract and replace the weatherdisplay.exe? I don’t need all those other files in the zip file do I?

just extract to where you have WD installed (using the .zip update from the WD download page)
make sure you exit WD first

Okay, update done. I’ll let you know what happens.

I made the update 3 hours ago and this is what I got. No graph in WD, the aqi.gif is showing zero however, it does show something in the aqichart.gif. The current AQI is 203. Files attached.


aqichart.gif

airquality(2).txt (854 Bytes)

This is the last attachment that goes with the previous post that I had to do separately due to file limit.


airquality2(2).txt (1.72 KB)

if you go to setup, advanced/misc
purple air
and click on test
does the correct values show there?
(does for here, using your airquality2.txt file)
i.e
155 PM2 and 205 aqi

I have found and fixed another issue
use build 84 .zip update

Right now, it shows 141.65 PM2 and 195.5 AQI. PurpleAir map shows 195. I’ll download and the latest update and let you know later in the AM. Kinda late now.

My PurpleAir is offline again on the map and looking at the unit using my php script shows

http://192.168.1.186/json status as of 12-Nov-2018 11:24:41 PST

responseCode 504 at 12-Nov-2018 11:23:37 PST (0:01:04)
key2_responseCode 200 at 12-Nov-2018 10:35:16 PST (0:49:25)
key1_responseCode_b 200 at 12-Nov-2018 10:35:36 PST (0:49:05)
key2_responseCode_b 200 at 12-Nov-2018 11:23:48 PST (0:00:53)

The 504 response code indicates the unit failed to upload conditions due to a SERVER FAULT at purpleair.com. Normally, the responseCode is 201 for a successful upload.