Post by brenna on May 2, 2021 11:17:32 GMT -8
hi there!
I've recently been looking at the AQI data to see about adding it to the wunderground data reporter. The wunderground api doesn't accept a calculated AQI value, but it does have parameters for the PM 2.5 and PM 10 concentration values. I started working my way through SDL_Pi_HM3301/SDL_Pi_HM3301.py to add getters for those raw values so I could extend the state to include them and get the data to where I needed it.
I noticed the underlying HM3301 code returns both a "standard concentration" and an "atmospheric concentration" value and I wasn't sure which to use. The current AQI calculation uses the standard concentration values, so that's what I started with. I wanted to know what the difference was and some digging lead me to a note in the HM3301 docs on the seeedstudio wiki that indicates I probably want to use the atmospheric values instead.
I'm leaning towards the atmospheric values, but I honestly haven't noticed much of a difference in the readings when looking at the debug output so far. If I should be using the atmospheric values, is it possible the AQI calculation in SDL_Pi_HM3301/SDL_Pi_HM3301.py should also be updated?
I've recently been looking at the AQI data to see about adding it to the wunderground data reporter. The wunderground api doesn't accept a calculated AQI value, but it does have parameters for the PM 2.5 and PM 10 concentration values. I started working my way through SDL_Pi_HM3301/SDL_Pi_HM3301.py to add getters for those raw values so I could extend the state to include them and get the data to where I needed it.
I noticed the underlying HM3301 code returns both a "standard concentration" and an "atmospheric concentration" value and I wasn't sure which to use. The current AQI calculation uses the standard concentration values, so that's what I started with. I wanted to know what the difference was and some digging lead me to a note in the HM3301 docs on the seeedstudio wiki that indicates I probably want to use the atmospheric values instead.
The standard particulate matter mass concentration value refers to the mass concentration value obtained by density conversion of industrial metal particles as equivalent particles, and is suitable for use in industrial production workshops and the like. The concentration of particulate matter in the atmospheric environment is converted by the density of the main pollutants in the air as equivalent particles, and is suitable for ordinary indoor and outdoor atmospheric environments. So you can see that there are two sets of data above.
- wiki.seeedstudio.com/Grove-Laser_PM2.5_Sensor-HM3301/#software
- wiki.seeedstudio.com/Grove-Laser_PM2.5_Sensor-HM3301/#software
I'm leaning towards the atmospheric values, but I honestly haven't noticed much of a difference in the readings when looking at the debug output so far. If I should be using the atmospheric values, is it possible the AQI calculation in SDL_Pi_HM3301/SDL_Pi_HM3301.py should also be updated?