Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

homebridge-xiaomi-mi-air-purifier

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-xiaomi-mi-air-purifier

A short description about what your plugin does.

  • 2.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

verified-by-homebridge

Control and monitor your Xiaomi Mi Air Purifier purifier with HomeKit.

Features

  • Air Purifier Accessory
    • Turn on/off
    • Control Fan Speed
    • Toggle Child Lock
    • Change Mode (Auto/Manual)
    • Filter Live Level
    • Filter Change Warning
  • Air Quality Sensor
    • Air Quality
    • PM2.5 Density
  • Temperature Sensor
  • Relative Humidity Sensor

Prerequisites

Installation

Install using npm:

npm install -g homebridge-xiaomi-mi-air-purifier

Or, search for homebridge-xiaomi-mi-air-purifier in Plugins.

Note that it might be neccessary to enter the search string inside double quotes i.e. "homebridge-xiaomi-mi-air-purifier" in some Homebridge UI variants (such as Hoobs) in order to find it among the plethora of similarly named plugins.

Configuration

Configure the plugin in the GUI / Homebridge Config UI X (highly recommended), otherwise head over to Manual Config

Getting a Token

Use Xiaomi Cloud Tokens Extractor to get a token for your device.

Manual Config

Add this to your homebridge config.json file.

{
  "accessories": [
    {
      "name": "Air Purifier",
      "address": "<YOUR_DEVICE_IP_ADDRESS>",
      "token": "<YOUR_DEVICE_TOKEN>",
      "enableAirQuality": true,
      "enableTemperature": true,
      "enableHumidity": true,
      "filterChangeThreshold": 5,
      "enableFanSpeedControl": true,
      "enableChildLockControl": true,
      "accessory": "XiaomiMiAirPurifier"
    }
  ]
}

HomeKit pairing

  1. Open the Home app on your device.
  2. Tap the Home tab, then tap .
  3. Tap Add Accessory, and select I Don't Have a Code or Cannot Scan.

Keywords

FAQs

Package last updated on 03 Dec 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc