-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App shows “-” instead of AQI #74
Comments
Oooh weird! Thanks for the report. It still works for me, so seems that some sensors don't return this. We should definitely fail a bit more gracefully! |
@skalnik just for my own education, is it possible to do this calculation without humidity? I’m wondering what a good solution would be. |
It looks like the humidity is needed for the calculation using the EPA recommended corrections. |
I think that's reasonable! Another idea would be cutting down the list of sensors just to those that have humidity? |
Hi,
I noticed that aqi.wtf has been showing
-
for the AQI recently:It is because the sensors are no longer returning the humidity:
aqi-wtf/app.js
Line 93 in 03e5090
Console output:
the undefined humidity causes aqiFromPM to return a hyphen instead of the AQI calculation.
The text was updated successfully, but these errors were encountered: