-
-
Notifications
You must be signed in to change notification settings - Fork 3
Installation
Ben edited this page Jul 19, 2026
·
1 revision
Simply go to the 'Plugins' page, search Air and install the @homebridge-plugins/homebridge-air plugin.
This will only work if you are using a platform which installs plugins globally.
sudo npm i -g @homebridge-plugins/homebridge-airIf you use the Homebridge UI then a configuration screen will appear after installing the plugin where you can add your air-quality locations, choosing AirNow or AQICN as the provider and entering that provider's API key.
- Obtain an API key from AirNow or Aqicn as applicable for your location.
- Enter your provider, API key, city and location details in the plugin settings.
- City names can be ambiguous, so also enter your latitude and longitude for accuracy (4 decimal places is sufficient). AirNow also requires your zip code.
- Click Save and restart Homebridge.
See the Configuration page for JSON configuration templates and other optional settings if editing the configuration manually.
And voila, your configured air-quality locations should be added to your Homebridge instance.
Setup
Help/About