wiring up air quality viewer to use new API