New Xiaomi Mijia Multimode Smart Gateway

Based on AliExpress vendors, I get the impression that Russia is a major consumer of Xiaomi devices.

1 Like

Pretty exciting news for anyone that just wants an inexpensive, yet stable and fast way to get Xiaomi devices in Hubitat.

I updated to the latest version of this Xiaomi 3 integration mentioned above and I got it working with the Zigbee HA integration.

It's fast! It's as fast as my ConBee 2 directly connected to a MacBook Pro (which is instant). But here's what's so exciting, this is running on a Raspberry Pi Zero with a WiFi adapter and the Mijia Gateway has not been converted. It's also on WiFi. So for the cost of a RPi Zero W, a good Micro SD card, and an inexpensive Mijia Multimode Gateway, you can get Xiaomi devices into Hubitat using the Home Assistant Device Bridge app and driver. And you'll also get Xiaomi Bluetooth device support!

I'll follow up with a how-to post. There's a little bit of extra manipulation needed to get this going on RPi Zero W, but it's not too hard.

2 Likes

Folks - in the picture dictionary, Doug's use of the term "pretty exciting" would be the definition of understatement.

This is just awesome!

So if my brain has captured the essence of the ~300 posts in this and the linked thread, I can connect HA xiaomi devices to HE , with either a Conbee2 or a Mijia gateway.
I just so happen to have a gateway(V2?) but think it doesn't work for this, can anyone confirm?
TIA

Well, I think the V2 gateway can be connected to HA as well. But if it cannot, and you have opened the local LAN port on the V2 gateway, you can connect it to Node-RED, and then use Node-RED to bring in Xiaomi sensors into Hubitat using virtual devices. I did this for a while. Worked pretty well.

I think that one has the same requirements as when using it with the mi connector app

There’s a firmware you can flash to early Aqara and Mijia Gateways that turns them into a router. That’s probably more useful.

I noticed that the prices for the version 3 Mijia gateways have gone up a bit. Price is so close to a Conbee 2 that unless you’re really interested in Bluetooth, you’re better off with a Conbee 2. Supports a lot of devices for around $45 USD.

Or even one of these - about the same price as a Conbee, but work with a really wide range of devices (and supports zigbee 3.0 out of the box).

1 Like

OpenLumi router

2 Likes

I came so close to buying one when they were in stock, but got confused about which firmware. Almost chose zigbee2mqtt, but don't want to deal with mqtt at all

I already ordered the V3 gateway, 27.50 shipped. I have a V2 gateway and the xiaomi devices were very solid on that, but mi-connector never worked for me, so I gave up. Now I can use the gateway as a router. Looks like a fun project,Thanks

1 Like

Since you used this integration, should new devices added to the MI hub, automatically show up in HA? I'm only seeing the intial devices in MI Hub showup in HA, and only get newly added Mi devices, by killing the integration and re-adding it to HA.

Okay figured it out, you have to reload the integration to pickup new devices.

2 Likes

Okay so for those who come here after, this works with the older gateway DGNWG02LM. What is amazing is how insanely fast the Xiaomi gateway pairs with its own devices, and gives you a pairing confirmation, like IRIS used to do. I'm really enjoying playing with this integration, but for the long term not sure if having 2 more points of failure is a good thing? Or is it not really a significant issue?
Anyone know if plans exist to expand supported devices capabilities? Like vibration sensor & buttons/ "the cube" ?

2 Likes

That’s great to learn it works with the older version. I assume this is because you had yours working with Mi Connector before, so you have the right firmware version to give you access to the developer menu. Or was that not necessary?

The latest Mijia Multimode gateway can be easily reverted to earlier firmware, but it’s definitely not needed.

Right!? It’s mere seconds.

Yes :wink:

I did it on 1 earlier firmware than latest version. Then even updated to latest firmware, still works. The biggest issue is the app version, the newest version will not show the secret password(for this app) nor the secret token(not needed for this app but for mi-connector). Thankfully I had my older note8 with an older mi-app version where I could get the password. I actually have the Mi hub connected to 2 cellphones, and they both work, but only the older app has the hidden menu.

1 Like