Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Homebridge plugin for Xiaomi Mi Air Purifier

License

NotificationsYou must be signed in to change notification settings

torifat/xiaomi-mi-air-purifier

Repository files navigation

verified-by-homebridge

Control and monitor yourXiaomi 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 usingnpm:

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

Or, search forhomebridge-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 asHoobs) 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 toManual Config

Getting a Token

UseXiaomi 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. TapAdd Accessory, and selectI Don't Have a Code or Cannot Scan.

[8]ページ先頭

©2009-2025 Movatter.jp