Xiaomi Redmi Smart Home: How the Ecosystem Works and How to Set It Up

Xiaomi Redmi Smart Home is not just a set of gadgets, but a complex system of interaction of devices that turns a normal apartment into a smart space. Unlike the classic smart solutions, where each device works independently, all the components are united by a single control center, communication protocols and cloud services. But how exactly does it work under the hood? Why does the Yeelight light up when you open the door with an Aqara sensor, and the Mibot Vacuum robot vacuum cleaner start cleaning when you leave the house?

In this article, we will explore the architecture of Xiaomi Redmi’s smart home system, from communication protocols (ZigBee, Wi-Fi, Bluetooth Mesh) to the logic of scripting in the Mi Home app. You will learn which devices are mandatory to start, how they interact with each other, and why some combinations of gadgets work only in China. And also how to circumvent Xiaomi’s regional restrictions and make informal devices in Russian firmware work.

The main components of the ecosystem: what you need to start

To make a smart home work, it's not enough to buy a couple of light bulbs and a motion sensor, but you need to understand the hierarchy of the devices and their roles.

  • πŸ“± The central hub is the brain of the system. In the Xiaomi ecosystem, it's the Mi Home Gateway (or Aqara Hub for advanced scenarios), without which most ZigBee devices will not be able to connect to Wi-Fi and be controlled remotely.
  • πŸ”Œ The lights are light bulbs (Yeelight, Mi) LED Bulb, sockets (Mi Smart Plug), robot vacuum cleaners, smart locks. They execute commands, but they can't initiate actions themselves.
  • πŸ‘οΈ Sensors: Motion Sensor (Aqara Motion Sensor), Door Opening (Mi) Door/Window Sensor, water leaks, temperatures, they collect data and transmit it to the hub.
  • πŸ€– Mi Home is an interface for scripting, device firmware and monitoring. Android/iOS, However, there are regional limitations.

Importantly, not all Xiaomi devices are compatible, for example, Mi Band can not directly control the light bulb, and Aqara sensors require their hub.

Type of deviceProtocol of communicationNeed a hub?Examples of models
Light bulbs.Wi-Fi / Bluetooth Mesh❌ No.Yeelight Color, Mi LED Bulb Essential
Sensors (movement, door)ZigBeeβœ… Yeah. v3)Aqara Motion Sensor, Mi Door Sensor 2
RosettesWi-Fi❌ No.Mi Smart Plug, Redmi Smart Plug
Robot vacuum cleanersWi-Fi + LiDAR❌ No.Mi Robot Vacuum-Mop 2

⚠️ Note: Devices with the ZigBee protocol 3.0 (Aqara sensors are incompatible with old Mi Gateway hubs v1/v2. They need a Gateway. v3 or Aqara Hub. M2.

2. Communication protocols: how devices communicate

One of the key benefits of Xiaomi's ecosystem is that it supports multiple wireless protocols, each optimized for a specific task, and we'll look at the pros and cons of these.

  • πŸ“Ά Wi-Fi (2.4 GHz): Used for high-speed devices (cameras, robot vacuum cleaners) and low-power and router dependency.
  • πŸ”— ZigBee: low-energy protocol for sensors and buttons. It runs at 2.4 GHz, but it creates its own mesh network (devices relay each other's signals) and supports up to 128 devices per hub.
  • πŸ”΅ Bluetooth Mesh: ZigBee alternative for non-hub devices (e.g. Mi light bulbs) LED Bulb Mesh allows you to control light without Wi-Fi, but has range limitations.
  • πŸ“‘ RF 433 MHz: outdated protocol for older devices (e.g. Mi Remote Control) Not recommended for newer systems.

The most common mistake of beginners is to try to connect the ZigBee sensor directly to Wi-Fi, which is impossible: these devices only communicate with the hub, and the hub already transfers data to the Xiaomi cloud.

ZigBee Sensor β†’ Hub (Mi Gateway) β†’ Wi-Fi router β†’ Xiaomi Cloud β†’ Mi Home App

Wi-Fi devices (such as Yeelight light bulbs) connect directly to the router and can operate without a hub, but a hub will still be needed to create complex scenarios (such as, β€œIf the motion sensor is triggered, turn on the lights and send a notification”).

πŸ“Š What protocols are your Xiaomi devices using?
Only Wi-Fi.
ZigBee + hub
Bluetooth Mesh
I don't know.

3. Mi Home app: Registration, regions and hidden settings

Xiaomi’s smart home is managed through the official Mi Home app (available for Android and iOS), but there are a few pitfalls:

  1. Regional reference: the first time you run the app, you can choose a country, which depends on which devices will be available in the catalog, for example, in the "Russia" region, many Aqara sensors do not show.
  2. Xiaomi account: without it, you can't add devices. Registration requires a phone number or email.
  3. Hidden Settings: Some features (such as Local Scenarios or Developer Mode) are hidden in the depths of the menu.

To change the region in Mi Home after registration:

  1. Open the application and go to Profile β†’ Settings β†’ Country/Region.
  2. Choose China, it will open access to all devices, but the interface will be in Chinese.
  3. Return to settings and change the language to English (Settings) β†’ Language β†’ English).

⚠️ Note: If you change region to China, some devices may stop working with voice assistants (Alice, Google Assistant) due to Xiaomi restrictions.

πŸ’‘

If the Mi Home doesn’t show the device you want, try adding it manually via Add the device. β†’ You can find the codes on the box or in the documentation.

Automation scenarios: from simple rules to complex chains

The main advantage of a smart home is the ability to create automatic scripts that run on triggers (time, event from the sensor, voice command).

  • ⏰ Simple: one condition β†’ Example: If the motion sensor is triggered, turn on the light".
  • πŸ”„ Complex (chains): several conditions and actions. Example: If the temperature is above 25Β°C And no one's home, turn on the air conditioner and close the curtains".

To create a script:

  1. In Mi Home, go to Automation section β†’ Create β†’ Add a condition.
  2. Select a trigger (such as a motion sensor). β†’ Traffic detected).
  3. Add an action (for example, the light bulb β†’ Enable).
  4. Save the script and activate it.

Advanced users can use logical operators ("And", "OR", "NO") to create complex rules, such as:

IF (Door Sensor = Open) AND (Time between 22:00 and 06:00)


THIS Switch on the siren and send a notification to the phone

Select the correct condition (sensor, time, geofence)

The action is compatible with the device (for example, the light bulb supports color change)

Scenario activated (slider in position "On")

Test check (for example, simulated movement in front of the sensor)-->

Xiaomi Limitation: No more than 5 terms and 5 actions can be used in one scenario.To circumvent this limitation, experienced users use Home Assistant or Node-RED to integrate with Xiaomi API.

5. Voice control: Alice, Google Assistant and Siri

Xiaomi Smart Home supports voice control through popular assistants, but with reservations:

AssistantSupported devicesLimitationsHow to connect
Alice (Yandex)Light bulbs, sockets, robot vacuum cleanersIt doesn't work with ZigBee sensors.Through the skill "Xiaomi Smart Home" in the application Alice
Google AssistantAll devices with Mi Home supportRequires a "U.S." or "UK" regionMi Home β†’ Profile β†’ Settings β†’ Voice assistants
Siri (HomeKit)Only HomeKit-enabled devices (e.g. Yeelight Pro)Limited list of compatible gadgetsThrough the Home app on iPhone

To connect to Alice:

  1. Open the Yandex app with Alice.
  2. Go to Settings. β†’ Smart home. β†’ Add the device β†’ Xiaomi Smart Home.
  3. Log in to your Xiaomi account and allow access.
  4. Say to the command, "Alice, turn on the light in the living room."

⚠️ Note: If Alice does not see the device after connecting, check: Region in Mi Home (should be "Russia" or "China"). Device name in Mi Home (should not contain special characters.

6. Common Problems and Their Solutions

Even Xiaomi’s well-functioning smart home system has a recurring failure, and here are the most common ones and ways to fix them:

  • πŸ”Œ Device does not connect to Wi-Fi: Check that the router is running at 2.4GHz (Xiaomi does not support 5GHz for most devices). Reboot the hub or the device itself (pull out the battery for 10 seconds). Reset the device to factory settings (usually hold the button for 5-10 seconds).
  • πŸ”„ Scripts don't work: Make sure all devices in the script are tied to the same room in Mi Home. check if conditions are conflicting (e.g., two scenarios with the same trigger). Update the hub and devices firmware.
  • πŸ“΅ Hub not visible on the network: Connect the hub to the router with an Ethernet cable (if the model supports). Check if the router firewall blocks traffic on port 8080 or 443. Reset the hub to factory settings (hold the reset button for 20 seconds).

If the problem is not solved, use the hub logs:

  1. At Mi Home, go to Devices β†’ Choose a hub. β†’ Settings β†’ Journal of events.
  2. Check for errors (e.g., ZigBee device offline or Wi-Fi connection failed).
  3. Copy the error code and find the solution in the forums (for example, 4PDA ordredit).
What to do if the hub flashes orange?
The orange indicator on the Mi Gateway signals an error in connection to Xiaomi servers. This can be caused by: 1. IP-Xiaomi addresses from your provider (try using them) VPN). 2.Old Hub firmware (update via Mi Home) β†’ Hub settings β†’ Software Update. 3. Failure in the Xiaomi cloud (check status services on status.mi.com). If the blinking doesn't stop, reset the hub and reconfigure it from scratch.

7. Alternative management systems: Home Assistant and others

The Mi Home app is convenient for basic settings, but has limitations:

  • It is not possible to create scripts with a delay of more than 1 hour.
  • There is no support for user scripts.
  • Device data is stored in the Xiaomi cloud (privacy risks).

For enhanced control, many users are switching to alternative platforms:

  • 🏠 Home Assistant: open system with Xiaomi support through Xiaomi Miio integration, allows you to create complex automation, work without the cloud and integrate with other ecosystems (Google, Apple, Samsung).
  • πŸ”§ Node-RED: Visual editor for creating automation streams, suitable for tech-savvy users.
  • ☁️ IOBroker: German platform with support for more than 200 adapters, including Xiaomi.

To connect Xiaomi to Home Assistant:

  1. Install Home Assistant on a Raspberry Pi or other server.
  2. In the configuration.yaml file, add the following lines: miio: username: YOUR_XIAOMI_ACCOUNT password: YOUR_PASSWORD discovery_retry: 5
  3. Reboot Home Assistant and check for devices in the Entities section.

Advantages of this approach:

  • Local management without depending on the Xiaomi cloud.
  • The ability to create scenarios with delays, cycles, and conditions.
  • Integration with other systems (e.g., managing Xiaomi devices via Alice voice commands, even if they are not officially supported)

πŸ’‘

Using Home Assistant allows you to bypass Xiaomi’s regional restrictions and manage devices that are not officially supported in your country.

FAQ: Answers to Frequent Questions

❓ Can you use Xiaomi devices without a hub?
Yes, but with limitations. Wi-Fi devices (Yeelight bulbs, Mi Smart Plug sockets) work without a hub, but they don't have complex sensor scenarios. ZigBee devices (motion sensors, buttons) require a hub.
❓ Why Mi Home doesn’t show up on some devices?
This is due to regional restrictions. In the "Russia" region, many devices (especially Aqara) are hidden. Solutions: Change region to "China" in the account settings. Add the device manually through Add the device β†’ Enter code. Use alternative apps like Mi Home (Xiaomi Home) for Android with a patch to display all devices.
❓ How to reset the Mi Gateway hub to factory settings?
Reset: Turn off the hub. Press and hold the reset button (usually located on the back panel). Connect the power without releasing the button. Hold the button for 10-15 seconds until the indicator flashes yellow. Release the button - the hub will reset and will be ready for a new setup. ⚠️ Note: After resetting all devices tied to the hub will have to connect again.
❓ Can you manage a Xiaomi smart home without the Internet?
Partially. Local scenarios (e.g., if the motion sensor is triggered, turn on the lights) work without the Internet if: Hub and devices are connected to the same LAN. The script is configured as Local (in Mi Home, select the option to run locally when you create it), Remote management (through an app outside the home) and cloud scenarios require the Internet.
❓ What Xiaomi devices are best for beginners?
For the first experience, we recommend: Mi Home Gateway v3 β€” Hub for ZigBee devices. Yeelight Color Bulb is a smart light bulb with a light bulb. 16 Millions of colors (wi-fi). Mi Door/Window Sensor 2 β€” The Mi Smart Plug is a remote control outlet for household appliances, which allows you to customize basic scenarios (for example, turning on the light when opening a door) and understand the principles of the system.