I’m downloading data directly from my own sensor (sensor index 256753). On the Purple Air map, this sensor is currently reporting a PM2.5 AQI value of 91. Similarly, if I access its json data directly from its local IP address, it reports a value of 92 for pm2.5_aqi and 91 for pm2.5_aqi_b. So far so good, everyone’s in agreement! Historical data downloaded from the map also shows a series of values around ~90.
But if I access the same sensor data via the API, it reports a value of 31.0 for pm2.5. All of the other various pm2.5 values are also in the ~30 range, none of them is near 90. And if I download the historical data from the API (I have to pick pm2.5_alt or pm2.5_atm since pm2.5 isn’t available for historical download for some reason), the recent numbers are also around ~30; there’s nothing around ~90.
What is going on with this discrepancy? Am I misunderstanding the meaning of these fields? Is there a dramatic difference in semantic meaning between the pm2.5 number in the API and the pm2.5_aqi value via direct JSON?
More to the point, how should I get the same number from the API that’s reported on the map?
Thank you!
David