How to set up Xiaomi Mijia: a complete guide to the smart home

The modern smart home is no longer a fantasy and has become an accessible reality for millions of users thanks to Xiaomi products. The Mijia ecosystem combines hundreds of different devices, from simple light bulbs and sockets to complex air purification systems and robot vacuum cleaners. However, in order for all these gadgets to work as a single organism, rather than a set of disparate devices, you need to properly perform the initial configuration and choose the right software.

The process of integrating devices into your home network may seem complicated only at first glance. The key here is understanding the network architecture and choosing the right regional server, which is often overlooked by beginners. In this guide, we will break down all the nuances that will help you avoid typical errors and create a stable automation system.

Before you start setting up via your smartphone, make sure you have a stable Wi-Fi connection and an account in the Mi Account system. These two components are the foundation on which all further work with gadgets is built. Without proper preparation of the basic settings of the phone, connecting the peripherals can take hours instead of minutes.

You'll need to download the official app to get started. There are two main options available at the moment: the classic Mi Home and the new Xiaomi Home. The choice depends on the year of release of your devices and personal preferences, but for most new gadgets, it is recommended to use the latter.

Once you install the application, you need to log in. The account region is a critical parameter that determines device availability and server response speed, and if you choose the wrong country, some devices may not be on the network.

πŸ’‘

If you bought the device in China but live in Europe, try changing the region in the app to "China" to make the gadget determined, and then return your region. Not all devices support cross-regional work.

Selecting and installing the right application

The first step to successful customization is choosing software. For a long time, the de facto standard was the Mi Home app, which supported almost the entire line of devices. However, the company is actively moving users to the Xiaomi Home platform, which has an updated interface and improved security protocols.

When installing the app, pay attention to the version and download source. For Android devices, it is best to download the installation file from the official website or a trusted Google Play store to avoid modified versions with malicious code. On iOS, the app is available on the App Store, but can be hidden in some regions, which will require changing the account region.

It's important to understand the difference between communication protocols. Some devices work directly over Wi-Fi, others require a gateway that uses Zigbee or Bluetooth Mesh, and the application must be able to work with all of these standards, as implemented in the latest versions of Xiaomi's software.

  • πŸ“± Mi Home – a classic application that supports legacy devices and a wide range of old equipment.
  • 🏠 Xiaomi Home – a new platform with Matter support, recommended for all new products 2023-2026 year-end.
  • 🌍 Regional versions - Chinese version of the app (Mi Home) CN) It has more features, but the interface is entirely in Chinese.

⚠️ Note: When you first start up, the app will request multiple permissions to access geolocation, Bluetooth, and the local network. Without all the requested rights, the process of searching and pairing devices will not be possible, since modern OSes block peripheral scanning without the explicit consent of the user.

πŸ“Š What app do you use to manage your home?
Mi Home (Old)
Xiaomi Home (New)
Home Assistant
Others/I don't know

Network preparation and account creation

The stability of a smart home depends on the quality of your home network. Xiaomi devices often require a connection to 2.4 GHz, as many budget modules do not support the 5 GHz standard. If your router broadcasts one common name network (SSID) for both bands, there may be problems with detecting gadgets.

It is recommended to temporarily split networks or create a guest network only at 2.4 GHz for a smart home, this isolates IoT devices from the main gadgets and improves security, and also make sure that the router settings do not include client isolation (AP Isolation), which prevents devices from seeing each other inside the local network.

Mi Account creation is best done via a web browser on your computer or phone to easily enter data and confirm email. Link your phone number for access recovery, as the account will become the key to managing all your property.

Network parameterRecommended valueImpact on work
Wi-Fi frequency2.4 GHzCritical for most sensors and lamps
EncryptionWPA2/WPA3Provides traffic protection
DHCP Lease Time24 hours and morePrevents frequent IP address changes
IPv6Included (optional)Improves remote access on some networks

After registration, log in to the app using the created credentials. The system will suggest selecting a region of residence. Choose the country corresponding to your actual location, not the country of purchase of the device, unless you are using specific Chinese gadgets that require servers in China.

The process of connecting the first device

Adding a gadget to a system usually follows an algorithm that is almost identical to all products in the ecosystem, so you first need to put the device in pairing mode. For most devices, this is done by pressing the reset button for a long time or simultaneously pressing two keys until the indicator starts flashing.

In the app, click the + button in the upper right corner. The system will automatically start scanning. If a device is found, it will appear in the Available Devices list. If the automatic search fails, manually select the device from the catalog, sorted by category.

β˜‘οΈ Checklist before pairing

Done: 0 / 5

During the setup process, the app will ask you to enter your Wi-Fi password, make sure you enter it error-free, observing the character register, and then the configuration process will begin, which can take anywhere from 10 seconds to several minutes, while you don't turn off your smartphone screen and keep the device close to the router.

Successful connectivity will be confirmed by the sound of the gadget and the appearance of its card in the application. Immediately rename the device by giving it an understandable name (for example, β€œLamp in the living room”, not β€œMi Smart LED Bulb 3”) to simplify the management of voice assistants in the future.

What to do if the device is not located?
Make sure that the router does not have a filter. MAC-Try to get your phone as close to your device as possible. Restart your router. If nothing works, perform a full Hard Reset of the device by holding the reset button for more than 10 seconds.

Setting up scenarios and automation

The real magic of the smart home begins where devices start to interact with each other without you being involved. The Scenarios (or Automation) tab allows you to create if-then action chains, a powerful tool that turns a set of gadgets into an intelligent system.

The baseline scenario consists of a condition (trigger) and an action being executed. The trigger can be a time of day, a sensor reading, or a user action. The action is turning on the light, sending a notification, or launching another device. The logic of scripting allows you to combine several conditions for greater accuracy.

For example, you could create a Good Morning scenario that would run on an alarm clock or sunrise, open the curtains, turn on the lights by 30%, and start the coffee maker if it's connected to a smart outlet, or a security scenario: if the motion sensor is triggered while you're away (the phone's geolocation shows you're far away), the camera turns on and a push notification is sent.

  • ⏰ Scheduled - turning on the humidifier at 22:00 and off at 07:00.
  • 🌑️ Under the conditions of the environment - start the air purifier, if the level PM2.5 exceeds the norm.
  • πŸšͺ The event is a flashing red lamp if the door is open when the "Security" mode is turned onΒ».

When creating complex scenarios, it is important to consider network delays. The command can go to the cloud and back up to 2-3 seconds. For critical tasks (for example, alarms), it is better to use local scenarios if you have a gateway with local execution support, which guarantees operation even in the absence of the Internet.

⚠️ Warning: Don’t create cyclical dependencies in scenarios. For example, β€œIf the lights go on, turn it off” will lead to an endless cycle and can overload the network or drain the battery of a smart switch in minutes.

πŸ’‘

Local scenarios run faster and run without the Internet, but require a compatible gateway. Cloud scenarios are universal, but depend on the speed of the connection to the Xiaomi server.

Integration with voice assistants

Voice control is the most convenient way to interact with a smart home. the Xiaomi ecosystem is great friends with Google Assistant, Amazon Alexa and Apple HomeKit (via bridges or natively in new devices).

To link accounts, go to Profile -> Other Platforms (or Works with Google/Alice) to find the service you want, click Link and enter your account details in the relevant service, and after authorization, all devices will appear in the Assistant app.

It's important to properly distribute the devices in the voice assistant app, so you can use contextual commands like "Alice, turn off the lights" while in the living room, and she turns the lights off exactly where you are, rather than in the whole apartment at once.

Apple HomeKit is a little more complicated, but officially it's limited, but many new devices are labeled "Works with Apple HomeKit," and you'll find that there's a box or manual on the device. QR-code to add to the Home app. Older devices will require an Aqara gateway or third-party software like Homebridge.

Solving typical problems and maintenance

Even the most reliable system sometimes fails, and most users are faced with the problem "Device is not online", which means that the gadget lost communication with the router, the reasons can be different: changed the Wi-Fi password, the router rebooted and distributed new ones. IP-address, or the device simply went into a deep sleep to save energy.

Another common problem is delaying commands. If you press a button in the app and the lamp lights up after 5 seconds, check the load on the Wi-Fi channel. Neighborhood routers may be causing interference, and it is worth changing the channel in the router settings to a less loaded one (usually 1, 6 or 11).

Regularly update your device firmware. The app often displays a red update indicator in your device profile; the firmware contains security bug fixes and improvements to connection stability; ignoring updates can cause your device to stop working properly with new versions of the application.

Why is the device displayed as β€œoffline” when Wi-Fi works?
Often the problem lies in the fact that the router assigned the device a new one. IP-You can try to reboot the router and the device itself, if it doesn't work, remove the device from the application (forget it) and add it again.
Can you run a house without the internet?
Full management without the Internet is impossible through the official cloud application, as commands go through Xiaomi servers. However, if you have local scripts configured through the gateway, automation (triggers) will continue to work.
How to reset your device if it does not respond?
Find the Reset button, which can be recessed on different devices (you need a paper clip) or regular. Press it for 5-10 seconds before the characteristic beep or flashing indicator, and then the device will return to pairing mode.
Is it safe to use Xiaomi smart devices?
The company places a great deal of emphasis on security using data encryption, but it is recommended to use complex passwords for Mi Account, enable two-factor authentication, and regularly update firmware devices to close potential vulnerabilities.
What is Matter and does Mijia devices support it?
Matter is the new universal smart home standard. New Xiaomi devices are starting to get Matter support, allowing them to be networked with Apple, Google and Amazon devices without complex bridges.