
Product
Socket Brings Supply Chain Security to skills.sh
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.
homebridge-purpleair
Advanced tools
A Homebridge plugin to connect PurpleAir sensors.
This plugin only supports local sensors, if you want to use PurpleAir's paid API use Jacek Suliga's excellent Homebridge PurpleAir Sensor plugin.
Search for homebridge-purpleair in Homebridge UI, or install it via CLI:
$ sudo npm install -g --unsafe-perm homebridge-purpleair
You may configure this plugin using Homebridge UI, or by editing your config.json:
{
"bridge": {},
"accessories": [],
"platforms": [
{
"platform": "PurpleAir",
"conversion": "US_EPA",
"aqiInsteadOfDensity": true,
"sensors": [
{ "ip": "192.168.0.42" },
{ "ip": "192.168.0.47", "name": "PurpleAir Garage" }
]
}
]
}
| Option | Type | Default | Description |
|---|---|---|---|
conversion | string | US_EPA | The data correction used to determine the air quality index (AQI). |
aqiInsteadOfDensity | boolean | false | (Optional) HomeKit doesn't expose the air quality index (AQI). If enabled, the plugin will report the AQI in the "PM2.5 Density (µg/m³)" field. |
sensors | array | [] | An array containing the PurpleAir sensors. |
sensors[].ip | string | The IP address of the sensor on the local network. | |
sensors[].name | string | (Optional) The name of the sensor. Useful to distinguish multiple sensors. |
Courtesy of the United States Environmental Protection Agency Office of Research and Development, correction equation from their US wide study (updated version from October 22 2021) as applied on the AirNow Fire and Smoke Map.
FAQs
A Homebridge plugin to connect PurpleAir sensors.
We found that homebridge-purpleair demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.

Product
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.