Gateway Xiaomi Gateway 3: a complete guide to the capabilities and configuration of a smart home

The Xiaomi Mi Smart Home Gateway 3 (or just the Xiaomi 3 gateway) is a logical extension of the Mi Home ecosystem’s central device line. Unlike previous versions, it’s not only a redesigned backlit cube-shaped model, but also a more advanced technical experience. If you’re just planning to buy it or are already a lucky owner, it’s important to understand what it does β€” beyond the manufacturer’s standard instructions.

In this article, we will take a closer look at all the gateway features, from the basic ones (connecting sensors and controlling lights) to the hidden ones (integrate with Home Assistant, work with ZigBee 3.0 and create complex automations). We will focus on the differences from Xiaomi Gateway 2 – why the third version is worth its money even if you already have the old one.

Spoiler: This gateway is capable of more than just flashing a light bulb when the motion sensor is triggered, but to unlock its potential, you need to know a few nuances, and we'll talk about them.

Specifications: What is inside the Xiaomi Gateway 3

Let's start with the hardware. Gateway Xiaomi Gateway 3 (model) ZNDMWG03LM) It is based on the Realtek chip. RTL8197D At 600 MHz, 200 MHz faster than its predecessor, RAM has been increased to 128 MB (versus 64 MB for Gateway 2), and flash memory has been increased to 16 MB. These changes have improved stability, especially with a large number of connected devices.

Key features of the ZigBee 3.0 protocol:

  • πŸ”„ Backward compatibility with ZigBee 1.2 devices (e.g. older Aqara sensors)
  • πŸ“Ά Increased range of action - up to 100 In the open area (in the apartment) 20-30 m through walls)
  • πŸ”’ Support for encryption AES-128 data protection
  • 🌐 Mesh network capability (each device can relay the signal)

ParameterXiaomi Gateway 3Xiaomi Gateway 2
ProcessorRealtek RTL8197D, 600 MHzRealtek RTL8196C, 400 MHz
RAM128MB64MB
ZigBee version3.01.2
Max. Devices.Up to 128.Up to 32.
IlluminationRGB, 16 million flowersWhite/yellow

Important: Gateway 3 does not support Thread or Matter out of the box – it will require additional software to integrate with these ecosystems (e.g., Home Assistant with a plugin). Zigbee2MQTT).

Another key difference is the built-in speaker with support for melodies and voice alerts (though without a full-fledged voice assistant like Alice), which allows the gateway to be used as part of a security system: for example, when a smoke sensor is triggered, it can play a loud alarm.

πŸ“Š How you use the Xiaomi gateway?
Only for sensor connection
Controlling lights and sockets
I'm building automation.
Integrated with Home Assistant
Other

Basic functions: what the gateway "out of the box" can do

Even without deep customization, the Xiaomi Gateway 3 performs a number of useful tasks, and here are the main features that are available immediately after connecting to the Mi Home app:

  • πŸ”Œ Centralized management of all devices Xiaomi/Aqara on the ZigBee protocol: sensors of opening, movement, temperature, buttons, sockets, etc.
  • πŸ’‘ Control of the backlight of the gateway itself: you can choose a color from the palette RGB, adjust brightness or turn on one of the preset modes (for example, "Night" with smooth attenuation).
  • πŸ”” Local alerts: The gateway may emit audible signals when sensors are triggered (e.g., a siren when motion is detected or a door is open).
  • ⚑ Automation through the Mi Home app: simple scenarios like β€œIf the motion sensor is triggered” β†’ light up".
  • 🌐 Remote access to devices via the Xiaomi cloud (if the gateway is connected to the Internet).

An example of basic automation: you can set the gateway so that when you open the front door (Aqara Door Sensor), the gateway lights up in red and then goes out 30 seconds later, or that when the traffic sensor in the hallway is triggered at night, a smart light bulb Yeelight is turned on at 50% brightness.

Limitation: The standard Mi Home application does not allow you to create complex multi-level scenarios (for example, with delays of more than 1 hour or time of day conditions).

πŸ’‘

If the gateway does not detect new devices, try resetting it to factory settings: press the reset button (the hole on the back panel) for 10 seconds until the indicator flashes yellow.

3. Advanced features: what is hidden from the user

Xiaomi doesn’t always document all the features of its devices, but here are some hidden features that you can activate:

  • πŸ”§ Developer mode: if you connect to the gateway via Telnet (port 23), you can access the console with commands to diagnose the ZigBee network. For example, the zigbee networkmap command will show the network topology and signal strength between devices.
  • 🎡 Custom melodies download: only standard sounds are available through Mi Home, but if you download the file in format.mp3 (before 10 seconds, mono, 16 kHz SD-map and rename it to alarm.mp3, The gateway will lose it when alarmed.
  • πŸ”„ Backup of settings: in the gateway menu (available on IP-address in the local network) there is an option to export the configuration, which can be restored on another device.
  • 🌍 Local control without cloud: if you disconnect the gateway from the Internet, it will continue to work on the local network through the protocol LAN (You will lose access to voice assistants and notifications).

To activate some functions, you will need firmware from third-party developers, for example, Zigbee2MQTT However, this voids the warranty and can lead to unstable work if something is done wrong.

⚠️ Note: When using custom firmware, the gateway may lose compatibility with the official Mi Home app. Before experimenting, back up the original firmware through the MiFlash utility.

How to turn on the developer mode?
1. Connect the gateway to the router via Ethernet or Wi-Fi. 2. Find him. IP-address in the router's device list (usually starting with 192.168.x.x). 3. Connect to Telnet: Telnet 192.168.x.x 4. Default login/password: admin/password (New versions may be different). 5. Enter the help command to see the list of available commands.

4.Integration with other smart home systems

One of the main advantages of Xiaomi Gateway 3 is the ability to work with third platforms.

PlatformConnection methodOpportunities
Home Assistantthrough the Xiaomi Miio component or Zigbee2MQTTComplete control of devices, complex automation, local management
Google HomeThrough the Mi Home cloud (account binding required)Voice control, grouping of devices
Apple HomeKitHomebridge Bridge with homebridge-mi-aqara pluginManage via Siri, Automation in Apple Home
Node-REDNode-red-contrib-mi-home or MQTTVisual programming of scenarios, data processing from sensors

For integration with Home Assistant, the most reliable way is to use the Zigbee2MQTT. That'll allow it:

  • πŸ“Š Obtain detailed telemetry from sensors (e.g., battery level to within 1%)
  • ⚑ Configure instant reactions to events (without cloud delays)
  • πŸ”§ Use unofficial devices (e.g., Tuya sensors flashed on ZigBee)

Example of settings Zigbee2MQTT:

  1. Install Home Assistant on a Raspberry Pi or other server.
  2. Connect. USB-ZigBee adapter (for example, CC2531 or ConBee II).
  3. Add to Configuration.yaml: zigbee2mqtt: data_path: /config/zigbee2mqtt devices: devices.yaml mqtt: base_topic: zigbee2mqtt server: mqtt://localhost serial: port: /dev/ttyACM0
  4. Move your devices from the Xiaomi gateway to the new network (via the pairing process).

⚠️ Note: When transferring devices from the Xiaomi gateway to the Zigbee2MQTT They're going to be removed from the Mi Home ecosystem, and to get them back, you're going to need to reset every sensor.

πŸ’‘

Integration with third-party systems allows you to bypass the limitations of the Xiaomi cloud (for example, delays in the cloud). 1-2 Seconds to manage devices and create a truly smart home with instant reactions.

5. Comparison with Xiaomi Gateway 2: Should I Upgrade?

If you already have a second gateway, should you move to a third? The answer depends on your tasks. Here are the key differences:

CriteriaXiaomi Gateway 3Xiaomi Gateway 2
Protocol ZigBee3.0 (more devices, more stability)1.2 (restriction on 32 devices)
ProductivityFaster than 50%, more memory.Can hang around 20.+ device
IlluminationRGB, 16 million colors, brightness 200 lmWhite/yellow, 50 lm
DynamicianAye (melodies, alerts)No.
Price (2026)~3500 β‚½~2500 β‚½ (if you find it on sale)

When it makes sense to update:

  • 🏠 You have more than 30 devices on the ZigBee network – the third version will do better.
  • 🎨 You're important. RGB-lighting to create an atmosphere (for example, a night light with a smooth change of colors).
  • πŸ”Š Local audible alerts are needed (for example, a siren when the smoke sensor is triggered).
  • πŸ› οΈ Home Assistant integration: Gateway 3 is more stable Zigbee2MQTT.

When can I stay on the second version:

  • πŸ’° Budget is limited – the price difference is not always justified.
  • πŸ”„ You have fewer than 20 devices and the current gateway is coping.
  • πŸ”Œ You do not use lights and sound alerts.

If you buy a gateway from scratch, the choice is obvious: take the third version. It's not only more powerful, but it has better community support (for example, for the first time). Zigbee2MQTT It is regularly updated under Gateway 3).

πŸ“Š What a gateway you have?
Xiaomi Gateway 3
Xiaomi Gateway 2
Another brand
I haven't bought it yet.

Typical problems and their solutions

Even a reliable device like the Xiaomi Gateway 3 can be a hassle, and here are the most common problems and ways to solve them:

  • πŸ”΄ Gateway does not connect to Wi-Fi: Check if the gateway supports your network: it only works with 2.4 GHz (not 5 GHz!). Turn off the router's Smart Connect feature (combining 2.4 and 5 GHz to one network). WPA3, switch over WPA2 β€” gateway doesn't support it.
  • πŸ”„ Devices fall off the network: Check distance: maximum distance between gateway and sensor β€” 10-15 Add a repeater (e.g., a smart Aqara outlet connected to ZigBee) and update the gateway firmware via Mi Home (Settings section). β†’ Update of the PO).
  • πŸ”Š Audible alerts do not work: Make sure the gateway settings have sound signals enabled. Check the volume in the Settings menu β†’ Sound. If you've downloaded custom tunes, make sure the file is called. alarm.mp3 and lies SD-map.
  • πŸ’‘ Backlight flashes or doesn't turn on: Reset the gateway settings (reset button on the 10 Check the power supply - it's required. 5V/1A. If the lighting is not working properly, update the firmware.

If nothing helps, try a full lock reset:

1. Disconnect the airlock from power.

2. Press and hold the reset button (hole on the back panel).

3. Connect the power without releasing the button.

4. Hold the button. 10-15 seconds until the indicator flashes yellow.

5. Release the button and wait for the reboot (the indicator will turn blue).

-->

⚠️ Warning: Once reset, all ZigBee devices will be disconnected from the gateway, and you'll have to reconnect them, like when you first set them up. If you have a lot of sensors, take a picture of their location or make a diagram.

7. Alternative firmware: why and how to sew

The official firmware of the gateway has a number of limitations: closed source, dependence on the Xiaomi cloud, lack of support for some devices. Zigbee2MQTT Or Tasmota, let me:

  • πŸ”“ Get rid of cloud dependency – all data stays on the local network.
  • πŸ”§ Connecting unofficial devices (e.g., sensors from Tuya or IKEA).
  • ⚑ Speed up system response – no delays in sending commands to the cloud.
  • πŸ“Š Get advanced telemetry (e.g., ZigBee signal strength for each device).

Step-by-step instructions for firmware Zigbee2MQTT:

  1. Download the latest version of the firmware from the official website.
  2. Connect the gateway to your computer via USB-Type C (a data-enabled cable is required).
  3. Install drivers for the Realtek chip RTL8197D (If Windows does not recognize the device).
  4. Start the Flash Tool utility (for example, flash.sh for Linux or FlashTool for Windows).
  5. Select a firmware file and start the process (usually takes up a file). 2-3 minute).
  6. After restarting, connect to the gateway IP-address (default) 192.168.x.x) tune in Zigbee2MQTT.

Risks of alternative firmware:

  • 🚨 Loss of warranty (if gateway to warranties, it is better not to experiment).
  • πŸ”„ Possible bugs (not all devices can work stably).
  • πŸ”§ Difficulty rolling back to the original firmware (requires a backup copy).

If you are not confident in your abilities, start with tests on a separate gateway or use Home Assistant paired with official firmware - this is enough for most tasks.

8 Examples of automation: from simple to complex

Now, to the most interesting, practical scenarios that can be implemented with the Xiaomi Gateway 3, let’s start with simple and end with complex multi-level automation.

Level 1: Basic scenarios (via Mi Home):

  • πŸŒ… "Imitation of presence": If the time > 20:00 No one is home (by smartphone geolocation) β†’ accidentally turn on the lights in different rooms on 5-15 minute.
  • πŸšͺ "Smart corridor: If the motion sensor is triggered β†’ Turn on the light for 2 minutes. If you don't move for 2 minutes. β†’ turn off.
  • 🌑️ "Climate control: If the temperature > 25Β°C and the window is closed. β†’ turn on the air conditioner (through a smart socket).

Level 2: Advanced scenarios (via Home Assistant):

  • 🚨 "Security system": automation: - alias: "Anxiety: door open at night" trigger: platform: state entity_id: binary_sensor.door_window_sensor_158d0001234567 to: "on" condition: condition: and conditions: - condition: time after: "22:00:00" before: "06:00:00" - condition: state entity_id: group.family state: "not_home" action: - service: light.turn_on entity_id: light.gateway_light_7811dcf12345 data: color_name: "red" brightness: 255 - service: media_player.play_media entity_id: media_player.gateway_speaker data: media_content_id: "/local/alarm.mp3" media_content_type: "The door is open at night and the hosts are not at home. β†’ turn on red light and play back the alarm.
  • πŸ’§ "Leak protection": If the leak sensor is triggered β†’ shut off the electric faucet, send a notification to the phone and turn on the siren.

Level 3: Complex Automation (with Node-RED):

For the most complex scenarios, it is convenient to use Node-RED, a visual automation editor.

Smart Morning Scenario: 1 If 07:00 and weekday β†’ smoothly increase the brightness of the light in the bedroom (simulated sunrise). 2. After 10 minutes, turn on the coffee maker (smart socket). 3. If after 30 minutes no one got up (motion sensor in the bathroom did not work) β†’ Send reminders to Telegram. 4. If the weather is cloudy (data from OpenWeatherMap) β†’ light up.

Such a scenario would require:

  • Install Node-RED as an add-on to Home Assistant.
  • Connect nodes to work with Zigbee2MQTT, Telegram and OpenWeatherMap.
  • Build a diagram from visual blocks (examples are available at flows.nodered.org).

πŸ’‘

Start with simple automation in Mi Home, and then gradually move on to Home Assistant and Node-RED. This will help you avoid errors and understand the logic of the system.

FAQ: Answers to Frequent Questions

πŸ”Ή Can you use Xiaomi Gateway 3 without the internet?
Yes, the gateway will work on the LAN, but with limitations: Only devices connected directly to the gateway will be available (without Xiaomi cloud services); voice assistants (Alice, Google Assistant) will not work; no notifications will come to the phone (only audio signals at the gateway itself); automations that depend on time or geolocation may not work; Home Assistant is recommended for full offline work.
πŸ”Ή How many devices can be connected to one gateway?
The official limit is 128 devices per gateway, but in practice: 30.+ You can have delays in your ZigBee network, and you can have a stable operation, and you can divide the devices into zones, like one gateway to the first floor, and the other to the second floor. If you want to connect more than 50 devices, you can consider using this. Zigbee2MQTT and a dedicated coordinator (e.g., ConBee) II).
πŸ”Ή How to transfer devices from the old gateway to the new?
Unfortunately, there's no direct way to transfer.