MallocArray / airgradient_esphome

ESPHome definition for an AirGradient DIY device to send data to HomeAssistant and AirGradient servers
GNU General Public License v3.0
224 stars 34 forks source link

Update AQI breakpoints #74

Closed richli closed 1 week ago

richli commented 1 month ago

I noticed that recently the US EPA updated the AQI formula. They changed a few of the breakpoints, such as lowering the first PM 2.5 bin from 12 μg/m³ to 9 μg/m³.

The AQI calculation in files such as sensor_pms5003.yaml cites the Wikipedia page for AQI, and it has already been updated with the changes.

MallocArray commented 1 month ago

Thank you. I wasn't aware of the update.

Looking at it.

MallocArray commented 1 month ago

Testing now https://github.com/MallocArray/airgradient_esphome/pull/76

MallocArray commented 1 week ago

Included in the 4.0.5 release