Homebridge plugin that is showing information about air quality from PurpleAir API.
Project is based on homebridge-weather, homebridge-arinow and the original homebridge-purpleair.
(sudo) npm install -g --unsafe-perm homebridge
.homebridge
was installed in (e.g. /usr/local/lib/node-modules
)homebridge-purpleair
in that directoryindex.js
and package.js
into this directoryhomebridge
configuration file like the example below.This plugin supports Air Quality, PM2.5, Temperature and Humidity.
Example config.json
"accessories": [
{
"accessory": "PurpleAir",
"purpleID": "PURPLE_AIR_STATION_ID",
"updateFreq": 90,
"name": "PurpleAir Air Quality",
"statsKey": "v",
"adjust": "NONE",
"includePM10": true
}
]
Fields:
accessory
must be "PurpleAir" (required).purpleID
PurpleAir Station ID (a number).updateFreq
minimum number of seconds between reads from PurpleAir API (a number - default is 90 seconds)name
Is the name of accessory (required).statsKey
Selects the key from the sensor to report. The sensor reports various time based averages which can be selected. These are: v (real time), v1 (10 minute average), v2 (30 minute average), v3 (1 hour average), v4 (6 hour average), v5 (24 hour average), v6 (1 week average).adjust
Adjust the raw PM2.5 value based on various algorithms. These are: NONE (raw values), EPA, LRAPA and AQANDU.includePM10
Include PM10 measurements in the AQI calculation. The highest AQI calculated from PM2.5 and PM10 will be used to calculate the air quality. The AQI calculations from PM2.5 and PM10 are not the same. Value should be a literal true or false, not string quoted.To find your specific "PURPLE_AIR_STATION_ID" (a string):
Homebridge 是一个轻量级 NodeJS 服务器,它模拟 iOS HomeKit API,提供从 HomeKit 到“智能家居”设备制造商提供的各种第三方 API 的基本桥接。通过 Homebridge 的桥接,可以让 Siri 控制完全不支持 HomeKit 的设备。 此外 Homebridge 支持插件。
PurpleAir Homebridge Accessory Plugin This is a Homebridge accessory plugin for monitoring air quality in Apple HomeKit. It creates virtual HomeKitair quality sensors based on real PurpleAir sensors.
homebridge-vsx homebridge-vsx is a plugin made for homebridge,which allows switching on and off your Pioneer AV receiver. All AV receivers (VSX and SC),which work with the iControl AV5 App are support
homebridge-sesame Control and monitor your Sesame smart lock with HomeKit integration. Prerequisites Installation of Homebridge iOS 11 or later Sesame lock with enabled cloud integration Sesame Wifi A
homebridge-panasonictv A homebridge plugin for turning on and off your Panasonic Viera TV. The plugin also has experimental support for changing the volume and channel. These characteristics are not r
Quick Start | Contribute A Wake on Lan plugin for Homebridge Turn your PCs, laptops, servers and more on and off through Siri Quick Start To install the plugin, head over to the machine with Homebridg