npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

homebridge-airthings-hub

v2.0.0

Published

Homebridge plugin for Airthings devices via Consumer API (Hub/Cloud)

Readme

Homebridge Airthings Hub

A Homebridge plugin that brings your Airthings devices into Apple HomeKit via the Airthings Consumer Hub API (Cloud).

Features

  • Sensors Supported: Radon, CO2, VOC, Temperature, Humidity, and Battery.
  • Eve App Support: View historical graphs for your Radon levels natively in the Eve app!
  • Dynamic Configuration: You can select precisely which sensors to expose, to avoid clutter in your Home app.
  • Robust Reliability: Transparently handles token refreshes, handles API jitter, and keeps your HomeKit environment functioning.
  • Orphan Grace Period: Handles unreachable devices gracefully. Devices that go offline will not be immediately deleted from HomeKit, preserving your automations for a configurable grace period.

Prerequisites

To use this plugin, you must have an Airthings API Client.

  1. Go to your Airthings Dashboard Access Control page.
  2. Click New API Client.
  3. Give it a name (e.g., "Homebridge") and click Save.
  4. Note your Client ID and Client Secret. (They will only be shown once!).

Configuration

The easiest way to configure the plugin is through Homebridge Config UI X.

If you are configuring manually, add the following to your config.json inside the platforms array:

{
  "platform": "AirthingsHub",
  "name": "Airthings",
  "clientId": "YOUR_CLIENT_ID",
  "clientSecret": "YOUR_CLIENT_SECRET",
  "radonThreshold": 150,
  "radonUnit": "Bq/m3",
  "sensors": ["radon", "battery"],
  "enableEveCustomCharacteristics": false,
  "orphanGracePeriodDays": 14
}

Configuration Options

| Option | Type | Required | Default | Description | |--------|------|----------|---------|-------------| | platform | string | Yes | AirthingsHub | Must strictly be AirthingsHub. | | name | string | No | Airthings | The name of the platform. | | clientId | string | Yes | | The Client ID from your Airthings dashboard. | | clientSecret | string | Yes | | The Client Secret from your Airthings dashboard. | | radonThreshold | number | No | 150 | The Radon level at which a Leak sensor is triggered in HomeKit. Evaluated against the raw Bq/m3 API value (150 Bq/m3 ≈ 4.0 pCi/L). | | radonUnit | string | No | Bq/m3 | (Presentation Only) Select Bq/m3 or pCi/L for displaying Radon levels in apps that support custom characteristics (like Eve). | | sensors | array | No | ["radon", "battery"] | An array of sensors to expose to HomeKit. Valid options include: radon, co2, voc, temp, humidity, battery. | | enableEveCustomCharacteristics | boolean | No | false | Enable to expose the exact raw Radon Level as a custom characteristic viewable in the Eve app. | | orphanGracePeriodDays | number | No | 14 | Days to retain offline accessories before removing them from your Homebridge cache. | | ignoredDevices | array | No | [] | List of device IDs (serial numbers) to ignore. | | includedDevices | array | No | [] | List of device IDs to strictly include. If populated, devices not in this list will be ignored. | | debugMode | boolean | No | false | Enables verbose HTTP tracing and diagnostics. |

Tested Devices

  • Airthings View Plus
  • Airthings Wave Plus
  • Airthings Wave Radon

Note: The Airthings Hub is required to expose BLE devices to the Airthings Cloud.

Troubleshooting

Eve App Custom Characteristics Not Showing Up

If you enable Eve App custom characteristics but they do not appear in the Eve App:

  1. Ensure the enableEveCustomCharacteristics option is checked in your config.
  2. Force close the Eve app.
  3. If they still do not appear, you may need to clear your Homebridge accessory cache, as HomeKit firmly caches characteristic UUIDs upon initial pairing.

"No Response" or "API Rate Limit" Warnings

The Airthings API strictly enforces rate limits. The plugin employs caching, backoff, and startup jitter to avoid hitting these. If you see rate limit errors in your logs, ensure you are not running multiple Homebridge instances against the same API client, or polling heavily with external tools concurrently.