Well, I query the local JSON every 10 seconds or so (might be more, I forget what I set telegraf to), and I’d hate to hit your API every 10s as well.
If I keep the historical data of the device, can I calculate the AQI as well? I’m using a formula I saw online that takes the moving average of the last 50 readings and use that as the baseline for the gas resistance readings, but I don’t think I’m doing this right.