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-rabbitair

v1.0.6

Published

Homebridge plugin for RabbitAir air purifiers

Downloads

110

Readme

Homebridge RabbitAir Plugin

This plugin allows you to control RabbitAir air purifiers through HomeKit using Homebridge.

Features

  • Power Control: Turn your RabbitAir air purifier on and off
  • Mode Selection: Switch between Auto and Manual modes
  • Fan Speed Control: Adjust fan speed (Silent, Low, Medium, High, Turbo)
  • Air Quality Monitoring: Real-time air quality sensor readings
  • Filter Status: Monitor filter life and receive replacement notifications
  • HomeKit Integration: Full HomeKit support with Siri voice control

Installation

  1. Install Homebridge if you haven't already: npm install -g homebridge
  2. Install this plugin: npm install -g homebridge-rabbitair
  3. Add the plugin to your Homebridge configuration

Configuration

Add the following to your Homebridge config.json:

{
  "platforms": [
    {
      "platform": "RabbitAir",
      "name": "RabbitAir",
      "devices": [
        {
          "name": "Living Room Air Purifier",
          "host": "192.168.1.100",
          "token": "0123456789ABCDEF0123456789ABCDEF",
          "port": 9009
        }
      ]
    }
  ]
}

Configuration Parameters

  • platform (required): Must be "RabbitAir"
  • name (required): Display name for the platform
  • devices (required): Array of RabbitAir devices
    • name (required): Display name for the device
    • host (required): IP address or hostname of the device
    • token (required): 32-character access token from the RabbitAir app
    • port (optional): UDP port for communication (default: 9009)

Getting the Access Token

To get the access token for your RabbitAir device:

  1. Open the RabbitAir mobile app
  2. Go to the device control page
  3. Tap the "Edit" button
  4. Quickly tap "Serial Number" several times until you see the access token

The token is a 32-character hexadecimal string (e.g., 0123456789ABCDEF0123456789ABCDEF).

Supported Devices

This plugin is based on the python-rabbitair library and supports the same RabbitAir models:

  • MinusA2
  • BioGS
  • A3

HomeKit Services

Each RabbitAir device will appear in HomeKit with the following services:

  • Air Purifier Service

    • Active (on/off)
    • Current Air Purifier State (inactive/idle/purifying)
    • Target Air Purifier State (manual/auto)
    • Rotation Speed (fan speed)
    • Filter Change Indication
    • Filter Life Level
  • Air Quality Sensor Service

    • Air Quality (excellent/good/fair/poor)

Troubleshooting

  • Ensure your RabbitAir device is connected to the same network as your Homebridge server
  • Verify the access token is correct and 32 characters long
  • Check that the device IP address is correct and reachable
  • Make sure no firewall is blocking UDP port 9009

Development

This plugin is built with TypeScript and uses the Homebridge Plugin Template. To contribute:

  1. Clone the repository
  2. Install dependencies: npm install
  3. Build the plugin: npm run build
  4. Run linting: npm run lint

Release Process

Releases are automated through GitHub Actions:

  1. Update the version in package.json
  2. Create and push a version tag: git tag v1.0.1 && git push origin v1.0.1
  3. The GitHub Actions workflow will automatically:
    • Create a GitHub release
    • Publish the package to npm

Make sure to set up the NPM_TOKEN secret in your repository settings for automatic npm publishing.

License

This project is licensed under the Apache 2.0 License.

Credits

Based on the python-rabbitair library by the RabbitAir team.