Home › Forum › Support › Get AQI from JSON › Reply To: Get AQI from JSON
October 3, 2018 at 5:53 pm
#6078
Participant
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.