Skip to content
Homebridge TestFlight
Xiaomi, Mijia, Smartmi

Xiaomi (KM81)

homebridge-xiaomi-km81 · v2.5.2

Local + cloud

Adds Xiaomi fans, air purifiers, power strips, air monitors and humidifiers to HomeKit.

What it says it supports

Brands

  • Xiaomi
  • Mijia
  • Smartmi
  • Qingping
  • Deerma
  • Dmaker

Devices it names

  • fans
  • air purifiers
  • power strips
  • air monitors
  • humidifiers

Shows up in Apple Home as from its README

Sensor readings in its code

How it connects

Local + cloud

Local miIO by IP and token, optional MiCloud fallback

You’ll need

  • Device IP and token

Compatibility

Verified by HomebridgeNo
Homebridge versions>=1.10.0
Homebridge 2.0No
Node.js>=18.15.0
Settings in Homebridge UIYes
MatterNo
Platform nameXiaomiKm81
LicenseMIT

Community signals

Downloads a week37
Downloads a month1,004
GitHub stars0
Open issues0
Closed issues0
Last code push2026-10-01
Latest version2.5.2 (2026-10-01)
First published2026-05-17
Releases69

In ReReHome

Whatever this plugin publishes reaches Apple Home as a normal HomeKit accessory behind your Homebridge bridge, so ReReHome shows and controls it like any other.

Bridges get their own settings page listing the accessories behind them.

Caveats from the README

  • Some newer devices need MiCloud

HomeKit services in its code

Found by scanning the published npm package. A plugin can register a service only for some devices.

  • AirPurifier
  • AirQualitySensor
  • Battery
  • BatteryService
  • CarbonDioxideSensor
  • Fanv2
  • FilterMaintenance
  • HumidifierDehumidifier
  • HumiditySensor
  • Lightbulb
  • Switch
  • TemperatureSensor