Only inairquality and dustpm10 return non-zero values over the full day I queried the IOCare API directly (not through Home Assistant, I was running a local script on my computer once per minute). Plotting inairquality vs dustpm10 gives me the following graph:
I’m pretty suspicious of the inairquality calculation. It’s not consistent with EPA guidelines for calculating the air quality index. Any thoughts on this?
I am seeing a similar behavior.
Having said this, I observed that indoor AQI seems not to be calculated/presented in line with outdoor AQI by air purifiers in general. Dyson, e.g. simply uses “the higher of” each of the PM (either 2.5) readings (and some magic for mapping NO2 and CO2 levels on the same scale) and displays this as the current Indoor Air Quality.
Overall, I am not sure how much the iocare API readings can be trusted. Either the underlying API is seriously out of date and there are newer Control/Request Status Codes for getting better readings, which requires serious re-engineering (I played around with this a little bit, yet I did not have time to really dive into it), or it is overall unreliable. I was thinking of looking into the data upstream from the Airmega, but again… Time… Anyhow: Specifically, VOC, PM2.5,CO2 and humidity always only show 0. And PM10 readings seem to “bounce” between 0 and some value rather often.
Anyway, as I am mixing Dyson and the Airmega, I simulate the iAQ of Dyson by simply having a template sensor mapping the dustPM10 reading shown also as iAQ. This (aside the constant bouncing between 0 and a value) gives me some meaningful -if only relative- data.