I'm working on a Python script to grab the air quality index from my new Airlink.
Using Davis' AirLink Local API (v1), here's the data I just retrieved:
{
"data": {
"did": "[my station serial num]",
"name": "[my station name]",
"ts": 1601153631,
"conditions": [{
"lsid": 349391,
"data_structure_type": 6,
"temp": 64.9,
"hum": 77.7,
"dew_point": 57.7,
"wet_bulb": 60.0,
"heat_index": 65.1,
"pm_1_last": 2,
"pm_2p5_last": 3,
"pm_10_last": 5,
"pm_1": 3.74,
"pm_2p5": 7.01,
"pm_2p5_last_1_hour": 4.45,
"pm_2p5_last_3_hours": 3.82,
"pm_2p5_last_24_hours": 3.82,
"pm_2p5_nowcast": 4.02,
"pm_10": 17.38,
"pm_10_last_1_hour": 11.84,
"pm_10_last_3_hours": 11.08,
"pm_10_last_24_hours": 11.08,
"pm_10_nowcast": 11.32,
"last_report_time": 1601153631,
"pct_pm_data_last_1_hour": 100,
"pct_pm_data_last_3_hours": 91,
"pct_pm_data_nowcast": 22,
"pct_pm_data_last_24_hours": 11
}]
},
"error": null
}
I'm new to measuring air quality and don't know which of the above is relevant. If I was just posting a number for the air quality, does anyone happen to know which of those I'd post?
And what sort of key/legend I'd use to let people know what that means?
And I'd also like to graph it longterm, showing how the air quality has changed. Any tips on which values are relevant for that, if different?
Thanks for any help.