What to connect to Xiaomi Gateway 3: a complete guide to compatible devices

Gateway Xiaomi Gateway 3 (model) ZNDMWG03LM) β€” It is a central element of Xiaomi’s smart home ecosystem that integrates dozens of sensors, switches and actuators into a single system. Unlike previous versions, the third generation of the gateway supports the Zigbee 3.0 protocol, which significantly expanded the list of compatible gadgets - now you can connect not only Xiaomi brand devices, but also products of Aqara, Moes and other manufacturers working on this platform.

However, not all devices integrate equally well with the gateway: some require firmware through Mi Home, others work only in Aqara Home, and others need manual binding through the gateway. Zigbee2MQTT. In this guide, we will look at all possible connectivity options, from officially supported sensors to hacks for custom gadgets, and learn how to avoid typical device addition errors and what to do if the gateway does not see new equipment.

Officially supported Xiaomi and Aqara devices

The manufacturer claims compatibility of Xiaomi Gateway 3 with all Zigbee-based devices released under the Xiaomi and Aqara brands after 2018, which means that you can connect to the gateway:

  • πŸ”Ή Security Sensors: Opening Doors/Windows (Xiaomi) Door/Window Sensor 2), Aqara Motion Sensor (AQARA Motion Sensor) P1), The Xiaomi Water Leak Sensor).
  • πŸ”Ή Managed sockets and switches: Xiaomi Smart Plug Zigbee, Aqara Wall Switch (No Neutral).
  • πŸ”Ή Lighting equipment: Yeelight lamps with support for Zigbee, LED tapes Xiaomi LED Ceiling Light.
  • πŸ”Ή Climate sensors: Aqara Temperature & Humidity Sensor, atmospheric pressure sensors.
  • πŸ”Ή Executive devices: smart curtains (Aqara Curtain Motor), fans, valves for heating radiators.

Important: Xiaomi devices older than 2018 (such as first-generation sensors) may not connect to Gateway 3 due to outdated firmware, in which case you will need to upgrade through the Mi Home or use alternative gateways (such as the Aqara Hub). M2).

πŸ“Š Which brand of smart devices do you prefer?
Xiaomi
Aqara
Moes/Danfoss
Other (write in the comments)
Not yet.

To check the compatibility of a particular model, use the official lists on the sites:

- Mi Home (Smart Home section)

- Aqara (Compatibility tab)

⚠️ Note: If you connect Aqara devices to Xiaomi Gateway 3, some features (such as latency scenarios) may not work properly.

Unofficial compatibility: third-party devices

Thanks to the openness of the Zigbee 3.0 protocol, you can connect gadgets from other brands to Xiaomi Gateway 3, but with reservations:

  • πŸ”Œ Smart sockets: Moes Zigbee Smart Plug, Sonoff ZBMini (requires manual addition via Zigbee2MQTT).
  • πŸ’‘ LED lamps: Philips Hue (only basic models without Hue Bridge support), IKEA Tradfri.
  • πŸšͺ Sensors: Tuya Zigbee (e.g. Moes opening sensors) ZSS-ZK-THL), Danfoss Ally (thermostats for radiators).
  • 🌑️ Climate systems: Samotech sensors, Xiaomi Mijia hygrometers (some models).

Connecting such devices will require:

  1. Install alternative software on the gateway (for example, Zigbee2MQTT or Home Assistant).
  2. Add the device manually through YAML-configurator.
  3. Set up integration with Mi Home (if you need to manage through the original app).
How to check if the device is supported informally?
You just have to look at the Zigbee Device Compatibility database, and you can type a model of a device into the search box, and it can show you which gateways it works with and which features it supports. ZSS-ZK-PLUG Notes as compatible with Xiaomi Gateway 3, but without power monitoring support.

Critical nuance: once the gateway is firmware with alternative software, you will lose the ability to update it through Mi Home. JTAG-programmer.

Step-by-step instruction: how to connect the device to the gateway

The process of adding a gadget to the Xiaomi Gateway 3 depends on the type of device and application used (Mi Home or Aqara Home).

  1. Gateway Preparation: Make sure the gateway is connected to a 2.4 GHz network (not supporting 5 GHz!). Update the firmware through Settings β†’ About the device β†’ Update Software: Transform the gateway into pairing mode: press and hold the button on the case for 5 seconds until the blue indicator flashes.

Addition to Mi Home

  • Open the app, go to the smart home β†’ Add the device.
  • Select a category (e.g., "Sensors" or "Lighting").
  • Follow the instructions on the screen (usually you need to press the button on the device).

Gateway connected to 2.4 GHz outlet and network|The device is discharged by at least 50% (for battery sensors)|Mi Home app updated to latest version|In the settings of the phone enabled Bluetooth and geolocation

-->

If the device is not determined:

  • Check that it is unlocked (for example, Aqara sensors need to remove the plastic pad from the battery compartment).
  • Reset the gateway (turn off power for 10 seconds).
  • Try connecting your device via Aqara Home – sometimes it works even for β€œincompatible” models.

⚠️ Note: When connecting battery-powered devices (such as motion sensors), make sure they are not in sleep mode. To do this, press the reset button before adding it (usually hidden under the lid).

Compatibility with other ecosystems: Home Assistant, Yandex Alice, Google Home

Xiaomi Gateway 3 can be integrated with popular smart home platforms, but with limitations:

PlatformConnection methodLimitationsIs firmware required?
Home AssistantIntegration of Xiaomi Miio or Zigbee2MQTTNot all devices are displayed correctly (for example, Aqara sensors can be duplicated)No (but recommended for stability)
Yandex AliceThrough the application Yandex Smart Home β†’ "Add the device" β†’ Mi HomeVoice control works only with basic commands (on/off, open/close)No.
Google HomeThrough Mi Home. β†’ "Working with other services" β†’ Google AssistantComplex scenarios (e.g., motion sensor triggers) are not supportedNo.
Apple HomeKitOnly through Home Assistant + HomeKit Bridge pluginRequires a permanent server (Raspberry Pi) NAS)Yes (for some devices)

For full work with Home Assistant, it is recommended to flash the gateway with alternative software (for example, Zigbee2MQTT). That'll allow it:

  • Manage devices without Xiaomi cloud (locally).
  • Set up complex automations (for example, β€œif the motion sensor is triggered 3 times in a row, turn on the lights for 5 minutes”).
  • Integrate gadgets that are not officially supported.

πŸ’‘

If you use Home Assistant, add the discovery line to configuration.yaml: below the zigbee: section, which will automatically find all Zigbee devices on the network, even if they are not displayed in Mi Home.

Top.-5 Non-obvious devices that can be connected to the Gateway 3

In addition to standard sensors and outlets, you can connect gadgets to the gateway, about which few people know:

  • πŸŽ„ Smart lights: Xiaomi Mijia Smart LED String Light (managed via Mi Home, supports 16 million colors).
  • 🚰 Water valves: Aqara Water Valve Controller (allows you to remotely block water in case of leakage).
  • πŸ”‹ Battery sensors: Xiaomi Smart Battery Sensor (monitoring the level of battery charge in other devices).
  • πŸ“‘ Zigbee Repetitors: Aqara Range Extender (increases network range to 200 meters).
  • πŸ”Š Smart Sirens: Xiaomi Smart Alarm (volume up to 100 dB, battery life 3 years).

The Aqara Vibration Sensor is particularly interesting, and it can:

  • Monitor the opening of doors by vibration (if there is no magnetic sensor).
  • Monitor the washing machine (notifies the end of the cycle).
  • Signal about falling objects (for example, if a vase fell from the shelf).

To connect non-standard devices, you sometimes need to change the gateway region in Mi Home (for example, to "China" or "Europe"). β†’ Region, but note that after the region change, all previously added devices will have to reconnect!

Frequent problems and their solutions

Even with officially supported devices, there can be difficulties, and let's look at the typical errors and how to fix them:

  • Device connected but not working: Update the gateway and device firmware (in Mi Home go to Device Settings) β†’ Update. Check if the device is in conflict with others on the network (e.g., two motion sensors on the same frequency). Remove the device and add it again.

⚠️ Warning: If the gateway has stopped seeing part of the devices after the firmware update, reset to factory settings (click the button for 20 seconds).This will remove all the attached gadgets, so take screenshots of their settings in advance!

πŸ’‘

Before buying a new device, check its compatibility with your region in Mi Home.For example, Aqara sensors for the Chinese market may not work in the European version of the app.

Alternative firmware: when to reflash the gateway

The original Xiaomi Gateway 3 has a number of limitations:

  • There is no local management (all teams run through the Xiaomi cloud).
  • Limited automation functionality (e.g., you can’t create a script with a delay of more than 1 hour).
  • No support for devices from third-party manufacturers (for example, IKEA Tradfri).

These problems are solved by alternative firmware:

FirmwareAdvantagesDeficienciesComplexity of installation
Zigbee2MQTTLocal management, support for 1000+ Devices, Integration with Home AssistantRequires a permanent server (Raspberry Pi), there is no original Mi Home appMedium (Linux skills required)
TasmotaSupport MQTT, Simple configuration via web interfaceLimited compatibility with devices Xiaomi/AqaraLow.
OpenBekenWi-Fi and Zigbee support, low power consumptionUnstable operation with some sensorsHigh (programmer needed)

Reflashing will require:

  1. Download the firmware from the official website (for example, Zigbee2MQTT).
  2. Connect to the lock on UART (need USB-TTL adapter).
  3. Fill firmware through esptool or Tasmota Web Installer.

Important: after flashing, you lose the gateway warranty and the ability to update through Mi Home. JTAG-programmer.

How do I get my original firmware back?
This will require: 1. to purchase JTAG-programmer (e.g. programmer, CH341A). 2. to be soldered to contacts on the gateway board (there is a spinning in the forums) 4PDA). 3. Download the original firmware from Xiaomi site (the file usually has the.bin extension). 4. Swipe through Flash Tool (e.g. espflash"!

FAQ: Answers to Frequent Questions

Can I connect devices with AliExpress (like Tuya Zigbee) to Gateway 3?
Yes, but with reservations, Tuya Zigbee chips (like Moes outlets or Sonoff sensors) can only be connected via alternative firmware (Zigbee2MQTT). The original Mi Home software doesn't support them. Before you buy, check the model of the device in the Zigbee Device Compatibility database.
How many devices can be connected to a single gateway?
Official limit β€” 128 devices on one Xiaomi Gateway 3. In practice, however, more than one connection 50-60 For larger systems, it is recommended to use multiple gateways (e.g. one for sensors, another for lighting); add a Zigbee repeater (e.g. Aqara Range Extender); optimize the location of the gateway (it should be in the center of the house).
How to reset the gateway to factory settings?
There are two ways: Software reset: in the Mi Home app, go to Gateway Settings β†’ About the device β†’ Delete the device. Hardware reset: press the button on the lock body for 20 seconds until the indicator flashes yellow, and then the gateway will return to factory settings, and all attached devices will be removed. ⚠️ After reset, the gateway will have to be re-associated with the Mi Home account!
Can I use Gateway 3 without the internet?
In the original Mi Home software, the gateway doesn't work without the Internet, all the teams go through the Xiaomi cloud. Zigbee2MQTT β€” This will allow you to manage your devices locally. Use Home Assistant with Xiaomi Miio integration (partially local control), set up automation directly in the gateway (e.g., "if the motion sensor is working, turn on the lights") - they will work without the Internet. Note that without the Internet will not be available voice assistants (Alice, Google Assistant) and remote control through the application.
How to connect the gateway to Home Assistant?
For integration of Xiaomi Gateway 3 With Home Assistant, follow the following steps: Install Xiaomi Miio component HACS Get the token gateway with the help of the utility miio-cli: miio discover --sync Add to configuration.yaml: xiaomi_miio: devices: - host: IP_ADRES TOKEN HOUSE: YOUR_TOKEN model: lumi.gateway.mgl03 Reboot Home Assistant. After that, all devices connected to the gateway will appear in the Home Assistant interface.