Xiaomi Smart Home System: What is included in the basic configuration and how it works

Modern homes are no longer just a collection of walls and furniture, becoming a complex interactive environment where every device is ready to interact. Xiaomi smart home has become one of the most affordable and popular solutions for those who want to automate everyday processes without having to be a professional programmer or engineer. This ecosystem attracts users with its scalability: you can start with a single smart light bulb and gradually expand the system to a full-fledged control center of the whole house.

Many beginners are wondering what to buy for the start and how individual gadgets are combined into a single network. The answer lies in the Mi Home architecture, which is based on the use of a central control device, gateways and many peripheral sensors. Understanding what goes into the system of Xiaomi smart home will help to avoid unnecessary costs and pick up the components that will really improve the quality of life, and will not be dusty on the shelf.

In this article, we will discuss in detail the composition of a typical system, the role of communication protocols and the specifics of the operation of various automation scenarios, you will learn why some devices require a hub, while others work independently, and how to properly build a hierarchy of equipment for maximum stability.

Ecosystem architecture: central hub and gateways

The foundation of any advanced automation system from Xiaomi is a gateway, often called a hub or Gateway, which acts as a bridge between your smart gadgets and the Internet, and between different communication protocols. Most sensors and actuators in the ecosystem use the energy-efficient Zigbee protocol, which can not directly connect to your Wi-Fi router without an intermediary.

The gateway takes over the task of broadcasting signals, allowing devices to be controlled remotely via the Mi Home app even when you are in another country. Without this component, many motion sensors, temperatures or wireless switches will only work locally or will not work at all. Current gateway models, such as the Mijia Smart Home Hub or the gateways from the Aqara sub-brand, support integration with voice assistants and can perform simple scenarios even in the absence of the Internet.

⚠️ Note: When choosing a gateway, pay attention to the region of the anchorage. Devices purchased for the Chinese region may not see the gateways configured for Europe or the United States, which will break the unified control network.

Importantly, there are hybrid gateways that support not only Zigbee but also Bluetooth Mesh.This extends the system's compatibility by allowing newer devices like Yeelight smart bulbs or thermostats to connect, which use this communication standard for fast data transfer.

Sensors and sensors: eyes and ears of your home

To respond to environmental changes, it needs data that collects sensors. Motion sensors are among the most popular elements; they capture the movement of people or animals and can trigger lights on or notifications to a smartphone. Xiaomi’s lineup includes both compact models with a 170-degree viewing angle and more advanced versions with a photosensitive element.

Just as important are the two-part door and window opening sensors, the magnet and the main unit, which are used not only for security functions but also for automation: for example, when opening a window, the system can turn off the air conditioner or start airing, and the system includes temperature and humidity sensors, which are often combined with displays to visually monitor the indoor climate.

  • 🔍 Motion sensor with viewing angle 170° night lights to run security scenarios.
  • 🚪 Opening sensor of doors / windows with instantaneous signal transmission to the hub.
  • 🌡️ Combined temperature and humidity sensor with e-ink screen.
  • 💧 A water leak sensor that gives an audible signal and sends a push notification.

Special attention should be paid to water leakage sensors and smoke detectors: the former are placed on the floor in potentially dangerous areas (under the sink, near the washing machine) and when in contact with water emit a loud alarm; the latter, as part of the security system, respond to smoke and can automatically unlock smart locks for evacuation.

Actuators: Light and energy management

Once the sensors are signaled, the system has to perform an action, and here the actuators come in. The simplest and most popular solution is smart sockets, which allow you to remotely turn on and off the power of the connected appliances, and also monitor the power consumption in real time through the application.

Smart switches and relays are used to control lighting. Smart relays (like Aqara Relay) hide behind a conventional wall switch or directly into the chandelier mounting box, making any existing light "smart" -- ideal for those who don't want to change interior design or buy expensive smart lamps.

If you prefer smart lights, the ecosystem offers a wide range of solutions from the Yeelight brand, which allows you to change the color temperature, brightness and even the color of the glow.

⚠️ Warning: When installing smart switches with neutral function, be sure to check for zero wire in the subplet. Models without neutral can work incorrectly with low-power LED lamps, causing them to flicker.

Also, actuators include smart curtain controllers (curtain drives), which automatically open and close curtains on a schedule or sunrise, and IR panels that turn a conventional air conditioner or TV into part of a smart home.

Security and video surveillance in Xiaomi system

Security is a priority for many users, and Xiaomi’s smart home system provides powerful tools to protect the home. IP-cameras that support night vision, two-way audio and motion detection with frames sent to a cloud server or local memory card.

A special category is smart video intercoms, such as the Mijia Smart Doorbell, which replaces the traditional eye and allows you to see through your smartphone even if you are not at home. Some models have a screen inside the apartment to display pictures from the camera at the door.

The perimeter is protected by a combination of glass breakers and vibration sensors that are attached to windows, and when coupled with a siren that is part of some security kits, the system can effectively deter uninvited guests. NAS-storage or cloud, which provides access to the history of events at any time.

📊 What aspect of a smart home is most important to you?
Security and cameras: Saving electricity: Light automation: Climate management

Automation scenarios and logic of work

The main magic of the smart home is revealed in scenarios (automations). These are the If → That logical chains that you create in the application. For example, the scenario could be: "If the motion sensor has detected activity And now it's 23:00 to 6:00, then turn on the nightlight at 5% brightness."

The complexity of the scenarios is limited only by your imagination and the set of equipment: you can create a mode "I left", which with one button turns off all the lights, closes the smart curtains, launches a robot vacuum cleaner and puts the house on guard. Or the mode "Cinema", which dims the lights, closes the curtains and turns on the TV.

An example of the logic of a complex scenario:


IF (Time = 07:00) AND (Day of the Week = Weekday) AND (Motion Sensor = Active)




THEN




1. Open the curtains by 50%




2. Turn on the coffee maker (through a smart socket)




3. Play the news on a smart column




Set the thermostat at 22°C

The Mi Home interface offers a visual constructor where you consistently select conditions (triggers) and actions, and supports delays in execution of actions and complex logical operators (And, OR, NOT).

Comparison of protocols: Wi-Fi, Zigbee and Bluetooth

Understanding the differences between communication protocols is critical to building a stable network. Xiaomi’s ecosystem uses three basic standards, each with its own advantages and disadvantages depending on the task.

Wi-Fi devices connect directly to the router. They don't require a gateway, but they consume a lot of power and can overload the wireless network with a lot of gadgets. Zigbee creates a mesh network (mesh), where devices amplify each other's signal, run for years on a battery and do not load the router. Bluetooth (especially Mesh) is often used for lamps and remotes, providing a fast connection to a smartphone.

CharacteristicsWi-FiZigbeeBluetooth Mesh
Energy consumptionHigh.Very low.Low.
The need for a lockNo need.Mandatory.Desirable (for remote access)
Range of actionDepends on the router.Up to 100m (with relay)Up to 30-50m.
Network stabilityMedium (with many devices)Tall.Tall.

⚠️ Note: When building a large Zigbee network, try to ensure that there is no more distance between devices running from the network (outlet, relay). 5-7 They act as repeaters of the signal, increasing the coverage.

Management through the Mi Home app

The power of the system is concentrated in the Mi Home app (or Xiaomi Home), where you can first set up, add devices and create scripts. The app interface allows you to group devices into rooms, which makes it easier to navigate when you have more than 50 gadgets on the system.

The app supports the creation of profiles for different family members, which allows you to customize individual scenarios. For example, when a child’s smartphone leaves the geozone “School”, parents may receive a notification, and integration with voice assistants is also available: Google Assistant, Amazon Alexa and Yandex Alice (through third-party skills or direct integration depending on the region).

An important feature is the ability to create "Home Pages" with widgets. You can bring the most important switches or temperature graphs to the home screen so you don't search for them in the depths of the menu. Regular updates to the application add new features and improve the stability of existing scenarios.

☑️ Checking before purchasing devices

Done: 0 / 1

FAQ: Frequently Asked Questions

Do you need the Internet to run a Xiaomi smart home?
For initial setup and remote control via smartphone, the Internet is mandatory. However, if you have set up local scenarios (automation) and you have a gateway or devices with local logic, they will continue to work even when the Internet is turned off, for example, the motion sensor will continue to light the lamp according to the painted logic, but you will not receive notification on the phone.
Can devices from different regions be combined in one application?
Officially, the Mi Home app requires you to select one region when you sign in, and the devices are tied to the servers of that region, but there are workarounds: creating multiple accounts or using the “family access” method, where devices from one account (e.g. China) are shared with the main account (Europe/Russia), which allows you to manage everything from one interface, but can limit the creation of cross-regional scenarios.
Which gateway is better to choose: Aqara or Mijia?
Both brands are owned by the Xiaomi ecosystem. Aqara gateways are often considered more stable and have better support for third-party platforms (like HomeKit). Mijia gateways are usually cheaper and perfectly integrated into the native application. For a beginner planning to use only the Mi Home app, the difference will be minimal, the main thing is support for the right protocols (Zigbee 3.0).
Does the system work without Xiaomi cloud?
Xiaomi’s cloud cannot be completely abandoned in the standard Mi Home app, as authorization and basic logic are tied to their servers. However, for advanced users, there is an option of integration through the Home Assistant platform, which allows you to manage devices locally, without depending on the manufacturer’s servers, but this requires a separate server (for example, Raspberry Pi) and technical knowledge.