How to accurately determine the version of the gateway Xiaomi Gateway: from sticker to SSH

The Xiaomi Gateway is the central device of the Mi Home ecosystem, which depends on the version of sensor compatibility, stability and available features. However, the manufacturer does not always clearly label the models: the box can simply indicate โ€œGatewayโ€, and the application can be a generic name, which creates confusion, especially when buying used devices or updating firmware.

In this article, we will discuss all possible ways to determine the version, from visual inspection to technical methods using SSH and Telnet. You will learn how to distinguish Gateway v1 from v2 and v3, why it is important for integration with Home Assistant or Yandex Alice, and what to do if the gateway does not display the version in the application.

Why it is important to know the version of Xiaomi Gateway

The lock model depends on:

  • ๐Ÿ”Œ Compatible with sensors: Gateway v1 Does not support new MiJia devices (e.g. 2023 door opening sensors).
  • ๐Ÿ”„ Firmware capability: v3 requires a different process of updating than v1/v2.
  • ๐ŸŒ Integration with third-party systems: Home Assistant and OpenHAB work with different protocols for each version.
  • ๐Ÿ“ก Zigbee ranges: v3 It supports Zigbee 3.0 and v1 โ€” only Zigbee HA 1.2.

For example, if you plan to connect the gateway to Apple HomeKit, then Gateway v3 will cope with this task out of the box, while v1 will require additional software. And when buying a used device on Avito or AliExpress, sellers often indicate the wrong version โ€“ our guide will help to avoid fraud.

๐Ÿ“Š What version of Xiaomi Gateway do you use?
I don't know my version.
Gateway v1
Gateway v2
Gateway v3
Another model

Method 1: Visual inspection of the device and box

The easiest way is to look at the labels on the case and the packaging, and the manufacturer puts the labels on them, but they're not always obvious.

  • ๐Ÿ“ฆ Box: The back side below may be indicated DGNWG01LM (v1), DGNWG02LM (v2) or DGNWG05LM (v3).
  • ๐Ÿท๏ธ Sticker at the bottom of the gateway: Look for a Model line or TYPE. For example, LX06 โ€” it v3 European market.
  • ๐Ÿ” Color of indicator: Y v1 LED yellow, y v2/v3 โ€” white-coloured.
  • ๐Ÿ”Œ Power connector: v1 round-connector DC 5V, v2/v3 โ€” USB-Type C.

If the sticker is erased or the box is not, pay attention to the shape of the case:

  • v1 - square case with rounded corners, matte plastic.
  • v2 is the same square, but with a glossy front panel.
  • v3 - rectangular, with a notch under the button below.
How to distinguish the Chinese version from the global one?
Chinese versions (with suffix) CN In models) have limitations: do not work with servers outside China without changing the region in Mi Home, do not support Russian in the voice of the assistant (EU/RU) They are not affected by these problems, but they can cost more.

Method 2: Checking with the Mi Home app

The official Mi Home app displays basic information about the gateway, but doesn't always specify the exact version.

  1. Open Mi Home and go to the Devices tab.
  2. Find the Xiaomi Gateway in the list and tap it.
  3. In the upper right corner, press โ‹ฎ โ†’ Settings โ†’ About the device.
  4. Look for the line Model or firmware version.

What you'll see:

Lock versionDisplay in Mi HomeFirmware version (example)
Gateway v1lumi.gateway.v1 or DGNWG01LM1.4.1_177.0143
Gateway v2lumi.gateway.v2 or DGNWG02LM1.5.4_0046.0143
Gateway v3lumi.gateway.mgl03 or DGNWG05LM1.6.0_0055.0143
Gateway Aqaralumi.gateway.aqhm011.4.6_0059.0143

If the app only displays lumi.gateway without a version, try changing the region to China in your account settings - sometimes this reveals hidden data. Also check voice commands: v3 has Alice and Google Assistant support, whereas v1 only works with Mi AI.

๐Ÿ’ก

If the gateway doesn't show up in Mi Home, reset it to factory settings: press the button on the case for 10 seconds until the yellow indicator flashes. After reset, connect again.

Method 3: Analysis MAC-addresses and network data

Each version of the gateway has unique ranges. MAC-This method is useful if you don't have physical access to the device (for example, when buying online).

How do you know? MAC-address:

  1. Connect the gateway to the router.
  2. Go to the router control panel (usually at 192.168.0.1 or 192.168.1.1).
  3. Find a list of connected devices and copy MAC-gateway address (starts with 78:11:DC, 7C:49:EB or 48:E1:E9).

Compare the first 6 characters MAC-table-head:

Version.Prefix MAC-addressExample
Gateway v178:11:DC or 7C:49:EB78:11:DC:XX:XX:XX
Gateway v248:E1:E9 or 7C:49:EB (crosses v1!)48:E1:E9:XX:XX:XX
Gateway v378:02:F8 or 78:11:DC (new batches)78:02:F8:XX:XX:XX

โš ๏ธ Attention: MAC-addresses may overlap with v1 and v2 (for example, 7C:49:EB). In this case, use additional verification methods, for example, firmware analysis via Telnet.

Method 4: Connect via SSH/Telnet (for advanced)

If previous methods failed, you can connect to the gateway via SSH or Telnet and execute commands to determine the version, which requires skills in working with the terminal and disabling protection (on new SSH firmwares, it is disabled by default).

Instructions:

  1. Install PuTTY (Windows) or use the built-in terminal (Linux/macOS).
  2. Connect to IP-Gateway address (recognise it in the router) by port 22 (SSH) or 23 (Telnet. default login/password: root/password (firmware).
  3. Follow the command: cat /proc/cmdline Look for lines like board=lumi-gateway-v3 in the output.
  4. Alternative team: miio --info (It requires Python-Miio installation).

Example of output for Gateway v3:

board=lumi-gateway-mgl03


model=lumi.gateway.mgl03




firmware=1.6.0_0055

โš ๏ธ Note: On firmware newer than 1.5.4 SSH It's disabled by default. To enable it, you'll need to hack the firmware through Mi Home Hack or OpenMiHome, which cancels the warranty and can result in your device being locked.

Find out. IP-gateway

Install PuTTY or Terminal

Check the firmware version (new ones block SSH)

Prepare a backup copy of the gateway settings

Have a handy resetting instruction in case of error-->

Method 5: Disassembly of the gateway and analysis of the board

If the gateway doesn't turn on or you buy it "as is" without the ability to test it, it's all about disassembling the case and exploring the board, and this is an extreme method -- use it only if other options are not available.

What to look for on the board:

  • ๐Ÿ”ง Chip marking: Y v1/v2 Realtek is worth it. RTL8197D, bal v3 โ€” Realtek RTL8710BN.
  • ๐Ÿ“Œ The label on the board: May contain V1.0, V2.2 or V3.0.
  • ๐Ÿ”Œ Connectors: v3 It has an additional connector for the Zigbee antenna.
  • ๐Ÿ–ฅ๏ธ Memory: Y v3 Winbond chip installed 25Q128JV (16 MB), y v1 โ€” 25Q64 (8MB).

Photos of different versions of the boards:

โš ๏ธ Warning: Disassembling the gateway will void the warranty and may damage the device if you do not handle the Zigbee and Wi-Fi antennas carefully. If you are not sure about your skills, contact a specialist or use other version-finding methods.

๐Ÿ’ก

The most reliable way is a combination of visual inspection (sticker + connectors) and verification through Mi Home. SSH and disassembly are only needed in extreme cases.

Xiaomi Gateway Version Comparison: Which One to Choose

If you are just planning to buy a gateway, here is a quick comparison of versions:

CharacteristicsGateway v1Gateway v2Gateway v3
Year of release201620182020
Support for ZigbeeHA 1.2HA 1.2Zigbee 3.0
Max. Devices.304050
Integration with Home AssistantThrough Zigbee2MQTTThrough Zigbee2MQTTNatively + Zigbee2MQTT
Price (b/y)~1 500 โ‚ฝ~2 000 โ‚ฝ~2 500 โ‚ฝ

Selection recommendations:

  • ๐Ÿ  For basic automation (light, motion sensors) is suitable v2 โ€” cheaper v3, It supports most devices.
  • ๐Ÿ›ก๏ธ For integration with Home Assistant or Yandex, take Alice v3 โ€” It is more stable and supports new protocols.
  • ๐Ÿ’ฐ If the budget is limited, v1 You can find it for 1,000-1,500. โ‚ฝ, But note that it doesn't support new MiJia sensors after 2020.

FAQ: Frequent questions about the Xiaomi Gateway

Can I upgrade Gateway v1 to v3 through firmware?
No, the hardware (Zigbee chip, memory) is different, and you can only upgrade the firmware within your own version (e.g. v1 from 1.4.1 to 1.4.7).
Why does Mi Home show "lumi.gateway" without a version?
This is an app bug, especially on older firmware. Try: Update Mi Home to the latest version. Change region to China in your account settings. Delete and re-add the gateway. If it doesn't work, use methods with the same name. MAC-address SSH.
How to distinguish Gateway from Aqara Hub?
Aqara Hub (model) ZNMS11LM) Looks like a Gateway. v3, But: It has a round button (Gateway has a rectangular button) Supports additional protocols (e.g. Sub-GHz for water leak sensors). lumi.gateway.aqhm01.
Can Gateway v1 be used in 2026?
Yes, but with reservations: โœ… Works with sensors up to 2020 The first wave of the year (MiJia). โŒ Does not support new devices (e.g. Mi) Door/Window Sensor 2). โš ๏ธ May brake when connected >20 For new smart home systems, it is better to choose v3 or Aqara Hub.
Where to buy the original Gateway, not a fake?
Official sources: ๐Ÿ›’ Mi Store (Russia) - 1 year warranty, but prices are higher than the market. ๐ŸŒ AliExpress (Xiaomi Official Store, Mi Global Store) โ€“ check reviews. ๐Ÿ“ฆ Yandex Market or Ozon โ€“ look for sellers with a rating >95% Signs of counterfeit: no sticker with MAC-address, box without hologram, price below 1,800 โ‚ฝ for v3.