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-xiaomi-air

v0.0.4

Published

Xiaomi air purifier plugin for Homebridge

Readme

homebridge-xiaomi-air

npm version

Homebridge plugin for Xiaomi/Mijia air treatment products: air purifier, air conditioner, and dehumidifier.

Note: I only own few of the listed devices, so not all have been tested. If you encounter any bugs, please report them via issues.

Supported Devices

Air Purifier

| No. | Device | Series | Model IDs | |:-:|---|:-:|---| | 1 | Xiaomi Air Purifier | 1 | zhimi.airpurifier.v1 | | 2 | Xiaomi Air Purifier Pro | 1 | zhimi.airpurifier.v6, zhimi.airpurifier.v7 | | 3 | Xiaomi Air Purifier 2 | 2 | zhimi.airpurifier.m1, zhimi.airpurifier.m2 | | 4 | Xiaomi Air Purifier 2S | 2 | zhimi.airpurifier.ma2 | | 5 | Xiaomi Air Purifier 3 | 3 | zhimi.airpurifier.ma4 | | 6 | Xiaomi Air Purifier 3H | 3 | zhimi.airpurifier.mb3, zhimi.airp.mb3a | | 7 | Xiaomi Air Purifier 3C | 3 | zhimi.airpurifier.mb4, zhimi.airp.mb4a | | 8 | Xiaomi Air Purifier 4 | 4 | zhimi.airp.mb5, zhimi.airp.mb5a | | 9 | Xiaomi Air Purifier 4 Lite | 4 | zhimi.airpurifier.rma1, zhimi.airpurifier.rma2, zhimi.airp.rmb1 | | 10 | Xiaomi Air Purifier 4 Pro | 4 | zhimi.airp.va2, zhimi.airp.vb4 | | 11 | Xiaomi Air Purifier 4 Compact | 4 | zhimi.airp.cpa4, xiaomi.airp.cpa4 | | 12 | Xiaomi Air Purifier 5 | 5 | xiaomi.airp.mp5 | | 13 | Xiaomi Air Purifier 5 Pro | 5 | xiaomi.airp.va5 | | 14 | Xiaomi Air Purifier 6 | 6 | xiaomi.airp.mc6, xiaomi.airp.ma6 | | 15 | Xiaomi Air Purifier 6 Pro | 6 | xiaomi.airp.va6 |

Air Conditioner

| No. | Device | Model IDs | |:-:|---|---| | 1 | Mijia Air Conditioner Pro Eco 5-Star 1.0 PK Inverter | xiaomi.airc.ra4r00 |

Dehumidifier

| No. | Device | Model IDs | |:-:|---|---| | 1 | Xiaomi Smart Dehumidifier Lite | xiaomi.derh.lite |

Prerequisites

  1. Install Homebridge 2.x.x, please follow it's README.
  2. Get device 32 digits token

Configuration

You can config the plugin via Homebridge UI or manually edit the JSON Config.

For configuration example, please refer to file sampleConfig.json.

Credits

Changelog

See CHANGELOG.md for release notes and version history.