Package Exports
- homebridge-airly-v2
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (homebridge-airly-v2) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Homebridge-airly-v2
Homebridge plugin that is showing information about air quality from Airly API.
Project is based on homebridge-airly and homebridge-weather and homebridge-arinow.
Currently Airly is supporting only Polish localizations.
Instalation
- Install Homebridge using:
(sudo) npm install -g --unsafe-perm homebridge. - Install this plugin using:
(sudo) npm install -g homebridge-airly-v2. - Get API Key from Airly. Login here https://developer.airly.eu/login and generate it.
- Find out your coordinates (latitude and longitude). Based on that information Airly will show measurements from nearest sensor. You can use this page https://www.latlong.net/.
- Update your configuration file like the example below.
This plugin is returning data such as: AQI (Air Quality Index), PM2.5, PM10.
Configuration
Example config.json
"accessories": [
{
"accessory": "Air",
"apikey": "YOUR_API_KEY",
"latitude": "YOUR_LATITUDE",
"longitude": "YOUR_LONGITUDE",
"name": "Airly Air Quality"
}
]Config file
Fields:
accessorymust be "Air" (required).apikeyAPI key from Airly Developers (required).latitudeString with your latitude e.g."52.229676"(required).longitudeString with your longitude e.g."21.012229"(required).nameIs the name of accessory (required).