Xiaomiβs smart home concept is based on centralized device management through a gateway, a device that connects sensors, lamps, sockets and other gadgets into a single network. However, not everyone knows that not only devices like the Mi dedicated Gateway can play the role of a gateway, but also many other devices in the ecosystem, from routers to TVs. This article will help you understand which Xiaomi models can become a gateway, how to configure them and what limitations should be considered.
The main problem when choosing a gateway is compatibility with the ZigBee, Bluetooth Mesh or Thread protocols, which use most smart home devices. Classic gateways (for example, Mi Gateway 3) support ZigBee 3.0, but what to do if you want to save money or already have another Xiaomi device? It turns out that many routers, speakers and even smart displays can partially or completely replace the dedicated gateway. Next, we will discuss each of these devices, their capabilities and nuances of integration.
1. Xiaomi's classic gateways: Mi Gateway and Aqara Hub
Starting with dedicative solutions, devices that were originally designed as gateways for the Mi Home ecosystem (now the Mi Home App or Xiaomi Home), which offer maximum compatibility and stability, but have limitations on the number of devices connected and protocols supported.
The most popular models:
- πΉ Xiaomi Mi Gateway 3 - Up-to-date version with support for ZigBee 3.0, backlighting and nighttime operation. Supports up to 32 devices at a time.
- πΉ Aqara Hub M2 β A gateway from Aqara subsidiary, compatible with Mi Home. IR-blaster.
- πΉ Xiaomi Mi Gateway 2 is an outdated model (released until 2019), supports only ZigBee 1.2 and has problems with some new devices.
The main advantage of classic gateways is that they automatically integrate into the Xiaomi ecosystem without the need for manual adjustment.
- π« Limited number of connected devices (usually up to 32β64 per gateway).
- π« No Thread or Matter support (relevant for devices from other brands).
- π« Requires a permanent connection to the cloud Xiaomi, which can be a problem with poor Internet.
β οΈ Note: If you plan to use a gateway with Home Assistant or other third-party systems, classic Mi Gateways will require alternative firmware (e.g., the Home Assistant or other third-party systems, Zigbee2MQTT). This will void the warranty and may lead to unstable work.
2. Xiaomi routers with built-in gateway: Mi Router 4A Gigabit, AX3600 others
Not everyone knows, but some Xiaomi routers have built-in support for ZigBee or Bluetooth Mesh, which allows you to use them as a gateway for a smart home.This is convenient if you do not want to buy a separate device or seek to reduce the number of gadgets on the network.
List of routers with built-in gateway:
- πΆ Xiaomi Mi Router 4A Gigabit Edition β supports ZigBee 3.0 via an optional module (activation required in Mi Home App).
- πΆ Xiaomi AX3600 β It has built-in Bluetooth 5.0 and can control devices on this protocol (e.g. Mi Sensor sensors).
- πΆ Xiaomi Mi Router AC2100 β Outdated model with limited support ZigBee (only for Xiaomi devices).
How to set up a router as a gateway?
- Connect the router to the Mi Home App and update the firmware to the latest version.
- Go to Settings. β Smart home. β Add a lock.
- Select the protocol type (ZigBee or Bluetooth) and follow the instructions.
It is important to understand that routers as gateways have limitations:
- π Support only for devices Xiaomi/Aqara (Incompatible with other brands on ZigBee).
- π No more than 10-15 devices can be connected (vs. 32 for dedicated gateways).
- π When resetting the router, all connected smart home devices are untied.
π‘
If your router does not support ZigBee out of the box, you can buy more USB-module CC2531 (~1500 rubles.) and flash it through Z-Stack. This will allow you to use the router as a full gateway for Home Assistant.
3.Smart speakers and displays: Mi AI Speaker, Redmi Smart Display
Xiaomiβs smart speakers and smart displays often have Bluetooth and Wi-Fi modules built in, allowing them to be used as a limited gateway to control other devices. AI Speaker or Redmi Smart Display Pro can interact with temperature, lighting and even some sockets.
Models with gateway support:
- π€ Xiaomi Mi AI Speaker β manages Bluetooth Mesh devices (e.g. Yeelight lamps).
- π₯οΈ Redmi Smart Display Pro 8 has a built-in IR-blaster and can work as a gateway for IR devices (air conditioners, TVs).
- π€ Xiaomi Smart Speaker IR Control - a specialized model with support for ZigBee (rarely found on sale).
How to connect devices to the column?
- Open the Mi Home App and select your column.
- Go to Settings β Smart Home β Add the device.
- Follow the instructions for connecting compatible gadgets.
Limitations of columns as gateways:
- π΅ Support only Bluetooth Mesh and Wi-Fi (no ZigBee for most models).
- π΅ It is not possible to connect security sensors (for example, Mi). Door/Window Sensor).
- π΅ Dependence on the voice assistant Xiao AI, which only works in Chinese or English.
How to get around the limit on the number of devices?
4. Xiaomi TVs with IoT support: Mi TV 4S, Redmi Smart TV
Modern Xiaomi TVs (starting with the 2020 models) have a built-in IoT module that allows you to control some smart home devices directly from the screen. Functionality is limited, but for basic tasks (lights on, sensors check) this is enough.
Models with gateway support:
| Model | Supported protocols | Max. Devices. | Features |
|---|---|---|---|
| Mi TV 4S 55" | Bluetooth, Wi-Fi | 10 | Management through PatchWall |
| Redmi Smart TV X55 | Bluetooth Mesh | 8 | Support for Mi Home from the box |
| Mi TV Q1 75" | ZigBee (required) USB-module) | 16 | The most stable implementation |
To use the TV as a gateway:
- Connect the TV to the Mi Home App.
- In the settings, find the Smart Home section.
- Add compatible devices (e.g. Yeelight lamps or Mi Smart Plug sockets).
β οΈ Note: Xiaomi TVs do not support ZigBee without additional modules. USB-Adapters (e.g. Sonoff Zigbee 3.0) USB Dongle).
5.Alternative solutions: Mi Box S, Mi Home Security Camera
In addition to the obvious devices, some Xiaomi gadgets can act as a gateway in non-standard scenarios.
- πΊ Mi Box S β Android console TV Can manage devices via Google Home, but does not have direct ZigBee support.
- πΉ Mi Home Security Camera 360Β° β Some models have a built-in Bluetooth module for communication with motion sensors.
- π Mi Smart Plug β Wi-Fi-enabled outlets can act as a bridge for other devices (e.g. Yeelight lamps).
These solutions are suitable for limited tasks:
- πΈ Managing Lighting with Google Assistant or Alice.
- πΈ Integration with cameras for security automation.
- πΈ Using sockets as triggers for other devices (e.g. turning on the heater at low temperature).
Example of setting up the Mi Box S as a gateway:
- Connect the console to Google Home.
- Add compatible devices (such as the Mi Bedside Lamp).
- Configure voice commands through Google Assistant.
The device supports ZigBee/Bluetooth Mesh|Gateway and device from one brand (Xiaomi/Aqara)|The Gateway Firmware Updated to the Latest Version|The device is within radius. 10 lock-yard-->
6. Comparison of Xiaomi devices as gateways: which one to choose?
To facilitate the choice, we will summarize the key characteristics in a table:
| Type of device | Protocols | Max. Devices. | Pluses | Cons |
|---|---|---|---|---|
| The Classic Gateway (Mi Gateway 3) | ZigBee 3.0 | 32 | Maximum compatibility, stability | Limited number of devices, cloud binding |
| Router. 4A Gigabit) | ZigBee, Bluetooth | 15 | Save space, no additional devices | Limited device support, instability |
| Smart speaker (Mi AI Speaker) | Bluetooth Mesh | 10 | Voice control, compactness | No ZigBee, dependency on Xiao AI |
| Television (Mi) TV Q1) | Bluetooth, Wi-Fi | 8β16 | Convenient interface on the big screen | Demands. USB-module |
Selection recommendations:
- π For a full-fledged smart home: classic gateway (Mi Gateway 3 or Aqara Hub) M2).
- π° For savings: router Mi Router 4A Gigabit (if you already have a compatible model).
- π€ For voice control: smart column Mi AI Speaker + Home Assistant.
- π₯οΈ For visual control: TV Mi TV Q1 s USB-ZigBee module.
π‘
If you need to connect more 30 device or device Thread/Matter, Xiaomiβs classic gateways wonβt work β consider Home Assistant solutions + Zigbee2MQTT.
7.Setting up the gateway to work with Home Assistant
Many users prefer to use Home Assistant over Mi Home App because of the greater flexibility and lack of cloud-based connectivity.
- Switching to alternative software (for example, Zigbee2MQTT Mi Gateway).
- Connect the gateway to Home Assistant via MQTT or ZHA.
- Configure automation through YAML-configs or visual editor.
Example configuration for Zigbee2MQTT:
#configuration.yaml for Home Assistant
zigbee2mqtt:
data_path: /config/zigbee2mqtt
devices: devices.yaml
mqtt:
base_topic: zigbee2mqtt
server: mqtt://localhost
serial:
port: /dev/ttyACM0 # port of your gateway
adapter: zstackAdvantages of this approach:
- π§ Complete control of devices without depending on the cloud Xiaomi.
- π§ Support for devices of other brands (for example, IKEA Tradfri or Philips Hue).
- π§ Advanced automation (e.g., sensor communication with non-sensors)-ZigBee device).
β οΈ Warning: Firmware on alternative software to Xiaomi gateways voids warranty and may lead to "bricking" of the device.Be sure to back up the original firmware before the procedure.
8. Frequent problems and their solutions
When using Xiaomi devices as gateways, users face typical problems, and consider the most common and ways to solve them:
Problem 1: Devices are disconnected from the gateway.
- πΉ Check the distance between the gateway and the devices (maximum 10-15 meters in line of sight).
- πΉ Update the gateway and devices firmware through the Mi Home App.
- πΉ Make sure there is no interference from other Wi-Fi or Bluetooth devices (e.g. microwaves) on the network).
Problem 2: The gateway is not finding new devices.
- πΉ Reboot the gateway (turn off power for 30 seconds).
- πΉ Reset the device to factory settings (usually by holding the button for 5-10 seconds).
- πΉ Try connecting your device through another app (e.g. Aqara Home instead of Mi Home).
Problem 3: Delays in the operation of automation.
- πΉ If you use cloud services (Mi Home), check the Internet speed (minimum 5 Mbit / s).
- πΉ For local solutions (Home Assistant), make sure the gateway is connected via cable, not Wi-Fi.
- πΉ Reduce the number of devices on one gateway (optimally, no more than 20).