These are the mijia Hub Gateway devices Compatible with all servers

Regional Restrictions

These are the mijia devices China server only compatible.
Make sure you set the region to China mainland in Mi Home app, as this region has support for more sensors.
recheck the exact version you have, there are also zigbee versions

There are many names for the old and new versions on the Internet:

  1. Mi Smart Home Hub
    Xiaomi Hub, Xiaomi Mijia Smart Multi-Mode Gateway, Xiaomi Smart Home Hub, Xiaomi Gateway 3, ZNDMWG03LM, ZNDMWG02LM, mgl03
  2. Xiaomi Smart Home Hub 2
    Xiaomi Hub 2, Xiaomi Mijia Smart Multi-Mode Gateway 2, Xiaomi Smart Home Hub 2, DMWG03LM, ZNDMWG04LM

Xiaomi Hub gateway gen 1
2015.01
Product Name: Mijia multi-function gateway gen1
Product model:DGNWG01LM Chinese version
internal model:lumi.gateway.v3

Xiaomi Hub gateway gen 2
2016.03
Product Name: Mijia multi-function gateway gen2
Product model:DGNWG02LM Chinese version

Xiaomi Hub gateway gen 3
2021.08
Product Name: Xiaomi Multimode Gateway gen1
Product model: ZNDMWG03LM Chinese version

Xiaomi Hub gateway gen 4
2022.03.23
Product Name: Mijia home hub gateway gen1
Product model: ZSWG01LM Chinese version

Xiaomi Hub gateway gen 5
2022.07.22
Product Name: Xiaomi Multimode Gateway2 gen2
Product model: DMWG03LM Chinese version

Xiaomi Hub gateway gen 6
2023.10.23
Product Name: Mijia home hub gen2-Xiaomi路由器6500 Pro:内置中枢网关 -小米中枢网关2 gen2
Product model: Chinese version

Note
Xiaomi does not officially support controlling devices from outside the Mi Home app.

The first thing you want to do is download the Mi Home App from Android and iOS stores and then connect the gateway to your WiFi router. Note that some mijia hub only WiFi 4 on 2.4Ghz is supported, so it’s important that your router supports the 2.4GHz band, otherwise it won’t connect.

Useful links
PiotrMachowski (Piotr Machowski) (github.com)

1 Like

There are different Xiaomi gateways available in the market, these is compatible with the hom assistant,

These gateway can be controlled via Mi Home app running on Android 5.0 or iOS 12.0 smartphones

mijia Home Gateway/ Hub - All versions explained (separate gateway)

1.2015年1月发布小米多功能网关, Mijia multi-function gateway 1 gen 1 Chinese version (Early 2015)

Product model:DGNWG01LM. 

Release date:

2.2016年3月发布小米多功能网关2代(升级版), Mijia multi-function gateway 2 gen 2 Chinese version (Early 2016)

Release date;
Product model:DGNWG02LM.

2016年11月29日,由小米正式更名为米

3.2019年11月28日,小米发布米家智能多模网关 Mijia Smart Multi-Mode Gateway 1 gen 3( The third generation gateway) Chinese version (Early 2019)

    "lumi.gateway.mgl03": ["Mijia", "Multimode Gateway 1 CN", "ZNDMWG03LM"]
    "lumi.gateway.mgl03": ["Mijia", "Multimode Gateway 1 EU", "ZNDMWG02LM/ YTC4044GL"],

Release date:
https://community.home-assistant.io/t/these-are-the-mijia-devices-compatible-with-all-servers/491449/7?u=msly

4.2022年3月23日,小米发布米家中枢网关 ( The fourth generation gateway) Chinese version gen 4 Chinese version (Early 2022.3)

Release date:March 2022

5.2022年08月16日,小米发布米家智能多模网关2 Mijia Smart Multi-Mode Gateway2 gen 5 ( The fifth generation gateway) Chinese version (Early 2022.8)
Release date:

    "lumi.gateway.mcn001": ["Mijia", "Multimode Gateway 2 CN", "DMWG03LM"],
    "lumi.gateway.mgl001": ["Mijia", "Multimode Gateway 2 EU", "ZNDMWG04LM"],

6.2023年08月16日,小米发布米家路由器6500 pro 内置中枢网关 Mijia home hub(Gateway)gen 2 ( The 6 generation gateway) Chinese version (Early 2023.08)

Release date:2023.08
 

source:https://www.mi.com/xiaomi-routers/6500pro/specs

1 Like

mijia gateway gen xx (Not released yet)

mijia gateway gen xx (blank)

mijia gateway gen 1

The first version features a night ligt, has a speaker.
DGNWG01LM - Mijia - first version

Mijia multi-function gateway 1 gen 1

Product model:DGNWG01LM.     Chinese version
internal model :lumi.gateway.v1
Firmware version:
Zigbee 1.2
Zigbee chip:JN5169
Product Name in Mi Home App:Mi Control Hub

This gateway only supported the Zigbee 1.2 protocol

Mi Home app yes
Aqara Home app no

Mi control hub in mi home app

Xiaomi Gateway (Aqara)
https://www.home-assistant.io/integrations/xiaomi_aqara

or

Xiaomi Miio
https://www.home-assistant.io/integrations/xiaomi_miio

mijia gateway gen 2

1. Mijia multi-function gateway 2 v2 gen 2

Product model:DGNWG02LM.   v2  (Chinese version)
internal model:lumi.gateway.v2, lumi.gateway.v3
Product Name in Mi Home App:Mi Control Hub

This gateway only supported the Zigbee 1.2 protocol

|Mi Home app|yes|
| — | — | — | — |
|Aqara Home app|no|

Xiaomi Gateway (Aqara)
https://www.home-assistant.io/integrations/xiaomi_aqara

or

Xiaomi Miio
https://www.home-assistant.io/integrations/xiaomi_miio

It uses a Chinese style plug, and it only works well if you set it to the Chinese server. in mi home app.

To enable developer mode or so called “LAN function” in Xiaomi Gateway 2 after the ability to do this was removed from Xiaomi Home App, use xiaomi-cloud-tokens-extractor and miiocli tools.
https://community.home-assistant.io/t/not-able-to-get-xiaomi-gateway-key/61795/289?u=msly

c#
C# Library supports **only Gateway version 2 (DGNWG02LM)
https://github.com/sergey-brutsky/mi-home

2.Mijia multi-function gateway 2 gen 2 Region releases

Second version 2016-now, in webshops often refered to as the “upgraded version”. The number indicates its region (02 through 05), with each region their corresponding plugs.
The 02 model is only meant for China, but supports the most devices.

Product model:DGNWG02LM.(Chinese version)  v2
internal model:lumi.gateway.v3

Product model:DGNWG03LM.    v2
internal model:lumi.gateway.mitw01

Product model:DGNWG04LM  v2
internal model:lumi.gateway.mihk01
Product model:DGNWG05LM(Europe version). v2
internal model:lumi.gateway.mieu01
Zigbee chip:JN5169
The European version of the gateway mieu01 from Xiaomi, with a European plug

(lumi.gateway.miXX01) mitw01,mihk01,mieu01

region - sg

Product model:DGNWG04LM  v2
internal model:lumi.gateway.mihk01
Firmware: 3.5.9_004

https://www.home-assistant.io/integrations/xiaomi_miio

region - hk

HK - 米家多功能智能網關
https://www.mi.com/hk/mi-control-hub/

2016 年 11 月 29 日起,「小米多功能智能網關 」 正式切換為 「 米家多功能智能網關 」
除了將logo由 “ MI ” 更新成 “ ” 之外,產品外觀和功能均無任何變化

網關插入插座通電
打開米家 App,
點選右上角 「+」 增加米家多功能網關
加入成功後,根據 App 提示綁定其他智能配件

accessories

https://buy.mi.com/hk/accessories/315

These gateways above only supported the Zigbee 1.2 protocol

Note
These devices were produced 6 or 7 years ago, which are hard to buy, and the latest XiaoMi devices are not in the catalog.

useful links

https://community.home-assistant.io/t/not-able-to-get-xiaomi-gateway-key/61795/292?u=msly

mijia gateway gen 3

Mijia Smart Multi-Mode Gateway

Product model:ZNDMWG03LM.  (China model)
internal model :lumi.gateway.mgl03
Firmware version:
Product Name in Mi Home App:Mi Smart Home Hub
Mi Home app yes
Aqara Home app no

These are the mijia devices Compatible with all servers

Mijia

Mijia Smart Multi-Mode Gateway has two models - ZNDMWG03LM (China model) and ZNDMWG02LM/YTC4044GL (Euro model). Both this models can be added to China or to Euro cloud servers.

This is the ONLY Xiaomi mijia gateway that has the same internal model for the China and Euro versions - lumi.gateway.mgl03. So the Hass component and the Xiaomi cloud servers see no difference between the models.

Xiaomi Gateway 3 for Home Assistant

https://github.com/AlexxIT/XiaomiGateway3

Note:
updated:20231009

On previous firmware versions of the gateway, only the MiHome token was required to open the telnet. On firmware 1.5.5 this method was blocked.

Integration Xiaomi Gateway 3 starting from version 3.3.0 supports adding a gateway on firmware 1.5.5 using a token and a key.

source:Support Xiaomi Multimode Gateway on firmware 1.5.5 · Issue #13 · AlexxIT/Blog · GitHub

HomeKit Controller

Hass recognizes automatically as HomeKit Controller.
No need for gateway key or lan access mode.

Mi Home app yes
Aqara Home app no

https://www.aliexpress.com/item/4000468885011.html

https://www.walmart.com/ip/Xiaomi-Mijia-Smart-Multi-Mode-Gateway-ZNDMWG03LM-2-4GHz-Wifi-Zigbee3-0-BT-5-0-Mesh-Hub-Voice-APP-Control-Smart-Linkage-Work-with-Apple-Homekit/709370625

Mijia Smart Multi-Mode Gateway 1 gen 1 Region releases

Product model:ZNDMWG03LM.(Chinese)
internal model:lumi.gateway.mgl03
Product model:.()
internal model:
Product model:().
internal model:
Product model:ZNDMWG02LM(Europe).
internal model:lumi.gateway.mgl03

It now supports Zigbee 3.0 (certified), which is backwards compatible with Zigbee 2.0 so you can connect the older Zigbee devices to it too.

1 Like

mijia hub(gateway) gen4

Xiaomi Smart Central Hub Gateway

Product model:ZSWG01CM.  (China model)
internal model :xiaomi.gateway.hub1
Firmware version:1.6.1_0014,2.0.0_0039,2.0.1_0025
Mi Home app yes
Aqara Home app no

mijia 中樞網關
release date:March 2022

**NOTE:This is the Chinese version, please select Mainland China when connecting

the gateway function of this product only support the connection between bluetooth mesh and bluetooth devices ,and does not suppport the connection of zigbee devices, you can schedule

zigbee devices through a multi-mode gateway 1 or multi-mode gateway 2 as a slave gateway.

Xiaomi Miot Auto Integration for Home Assistant
https://github.com/al-one/hass-xiaomi-miot

https://www.aliexpress.com/item/1005004123088062.html

https://www.aliexpress.com/item/4001139392543.html

1 Like

mijia gateway gen 5

Mijia Smart Multi-Mode Gateway2

2022.07.22 ,米家智能多模网关2上市,189元

Mijia Smart Multi-Mode Gateway 2

Product model:DMWG03LM.  (China model)
internal model :lumi.gateway.mcn001
Firmware version:
Product Name in Mi Home App:Mi Smart Home Hub2

Product Model:DMWG03LM, ZNDMWG04LM

There are many names for the versions on the Internet:

  1. Xiaomi Hub 2, Xiaomi Mijia Smart Multi-Mode Gateway 2, Xiaomi Smart Home Hub 2, DMWG03LM, ZNDMWG04LM

|Mi Home app|yes|
| — | — | — | — |
|Aqara Home app|no|

Xiaomi Gateway 3 for Home Assistant

https://www.aliexpress.com/item/1005004723644414.html

Mijia Smart Multi-Mode Gateway 2 gen 2 Region releases

Product model:DMWG03LM.(Chinese)
internal model:lumi.gateway.mcn001
Product model:.()
internal model:
Product model:().
internal model:
Product model:ZNDMWG04LM(Europe).
internal model:lumi.gateway.mgl001

It now supports Zigbee 3.0 (certified), which is backwards compatible with Zigbee 2.0 so you can connect the older Zigbee devices to it too.

|Mi Home app|yes|
| — | — | — | — |
|Aqara Home app|no|

Thanks for the thorough work!

Is any of these gateways capable of adding this outdoors security camera?
https://www.aliexpress.com/item/1005004071238019.html