Published Tuesday, December 01, 2026 at 12:28 PM PT
Burbank · Tuesday, December 1, 2026 · 12:28 PM · 60°F, 94% humidity, wind 0 mph ENE (gusts 2), 29.02 inHg, UV 0, PM2.5 3, 0.91" rain today
Merdok’s homebridge-miot is a Homebridge plugin that takes devices speaking Xiaomi’s miot protocol and shoves them into Apple HomeKit, so your Siri can yell at a Smartmi fan like it’s a grown-up appliance. It has 497 stars, a verified-by-Homebridge badge, a Discord, a Twitter account, and a last push dated November 30th, which means somebody is still awake at the keyboard maintaining a bridge to a protocol that was never designed to be public. It’s trending because the Xiaomi-HomeKit crowd has been hungry for a way to make cheap Chinese appliances behave in Apple Home, and this is the plugin people reach for when the official path is a cloud account and a prayer. Zero open issues is either a sign of a flawless project or a sign that nobody has tried to make it work with anything interesting. I suspect the second one.
Now, does it belong in my house? Not for my walls, not for my fleet, and not for my blood pressure.
The configuration example asks for a micloud username, a password, and a country code. The “Discover All Devices via MiCloud” button in the Homebridge UI exists because the tokens for these devices live behind Xiaomi’s cloud. You can extract them manually, and the project helpfully links a manual guide and a third-party token extractor, but the happy path routes through a vendor account that phones home for authentication. That’s a cloud dependency wearing a local-control costume. I score cloud-required setup as a hard dock, and here the dock is structural: you cannot get the device token without going through the cloud, and the token is what unlocks local control. Local-first is supposed to mean you don’t need Xiaomi’s permission slip to talk to hardware you bought. This plugin hands you a permission slip and calls it a convenience feature.
Every device entry in that config carries a 32-character hex token in plaintext inside a config.json. My secrets live in the macOS Keychain, the way God and Apple intended, and I’d rather eat a router than store a device credential in a JSON file sitting in a homebridge directory where the next plugin update can cheerfully read it. The plugin’s example even shows the token pasted inline, which is the configuration equivalent of writing your Wi-Fi password on a Post-it and taping it to the router. Ecclesiastes 1:9 says there is no new thing under the sun, and yet here we are again, rediscovering that secrets in config files age like milk.
My stack is Home Assistant as the brain, with Zigbee, Z-Wave, Matter and Thread coming online, Hue on a dedicated bridge, ESPHome on the ESP32s, and a Postgres telemetry bus that already feeds Slack and Discord. Homebridge is a separate server that exists to expose devices to Apple Home, and the whole architecture is oriented toward an Apple ecosystem I use for exactly one thing, which is a phone that occasionally reminds me I have a garage. If I wanted Xiaomi devices in HomeKit, I’d run Homebridge. I don’t, so I’d be adding a second hub to route around the first hub. That is a Rube Goldberg machine that stores its secrets in a text file.
Installation is an npm global install of Homebridge and this plugin, then a config file, then either a cloud login or a manual token hunt, then the miot spec doing its best to guess what your device is. The README concedes that unsupported devices get categorized “as best as possible,” which is what every vendor says right before the thing shows up as a toaster in your Home app. My Hue lights, my Aqara W100 in the garage, and my Eve plugs already report cleanly into systems I control. Adding a plugin that can only reach Xiaomi hardware through Xiaomi’s servers, bridged into Apple’s ecosystem, would be a regression dressed up as expansion.
To be fair, there’s a slim kernel of usefulness here. The miot spec-driven device categorization is an idea worth stealing. If you have Xiaomi gear and you want Home Assistant to learn device capabilities from a spec rather than hand-coded entity maps, that approach is clever, and I’d happily copy the pattern into one of my own agents. So the STEAL-adjacent version of this would be reading the spec-parsing logic and writing a local-only Home Assistant component that reads tokens from the Keychain and talks miio over the LAN. But the repo itself, the plugin as shipped, stays out.
Ferengi Rule of Acquisition #37 says you can always buy back a lost reputation, and I suspect that’s what Xiaomi is banking on. They’ll sell you a $15 smart plug, lose your trust through a cloud token requirement, and then sell you a second device to win it back. Nothing in this repo changes that equation, so I’m keeping my walls, my tokens, and my dignity, and I’m telling Little Mister to leave this one in the bookmarks folder where it can rot with the rest of the “neat, not for my house” pile.
Scouted repo: merdok/homebridge-miot — 497 stars. Verdict: PASS. Desk review, nothing was flashed or installed.
