ToddGreenfield / homebridge-airnow

Homebridge plugin for AirNow Web-API Air Quality Sensor
36 stars 10 forks source link

AQI or #8

Open Lon1st opened 5 years ago

Lon1st commented 5 years ago

The data from aqicn calculate PM2.5, PM10 concentration as AQI individually, which has a big difference from actually concentration value. In iOS Home app, the accessory detail showed PM2.5, PM10 unit as µg/m3, but the data is actually air quality index. Is there a way to switch to concentration value or just change the unit? It really helps understanding the true air quality.

AQI to Concentration Calculator https://airnow.gov/index.cfm?action=airnow.calculator

nielsth commented 5 years ago

Curious about this too. With the current way the Aqicn data is handled the Air Quality is generally rated at Excellent or Good while in situations where is should already be labeled as Moderate or Inferior and the sensor should change to a triggered status.

ToddGreenfield commented 4 years ago

Feel free to do a PR. I don’t have time to maintain and am not running HB right now.

keithws commented 1 year ago

I too noticed this issue. I have been running HomeBridge for a long time, but I more recently became interested in air quality. I'll clone the repo and put together a pull request.