michaelahern / homebridge-airthings

A Homebridge plugin for Airthings air quality monitors via the Airthings Consumer API.
ISC License
38 stars 6 forks source link

Air Quality Level Not Correct #40

Closed qoodanny closed 6 months ago

qoodanny commented 9 months ago

There is only 3 levels of AQ (green yellow red) in Airthings, but there are 5 levels of AQ in HomeKit (Excellent, good, fair, inferior, poor), please correspond Airthings AQ level as numbers to each of the 5 level of HomeKit AQ. Currently the best level in HomeKit is Fair when Airthings AQ is the best (good)

michaelahern commented 9 months ago

Can you please provide a specific example and your sensor values? The readme contains a mapping of how the 3 Airthing's levels (green yellow red) map to HomeKit (excellent fair poor). The HomeKit AQ composite sensor looks at the 5 specific sensors listed (Radon, PM25, etc.) -- if 4 are green and 1 is yellow, then the HomeKit AQ sensor will reflect the worst sensor value (yellow / fair).