Xiaomi’s smart outlets have become an integral part of today’s smart home systems, offering convenience, security and energy efficiency. These compact devices allow users to control household appliances remotely, adjust switch-on/off schedules, and even monitor power consumption. But how exactly does Xiaomi’s smart outlet work, what technologies are at its core, and how to properly operate it?
In this article, we will discuss in detail the device of Xiaomi smart sockets (including popular models Mi Smart Plug, Aqara Smart Plug and others), their technical characteristics, the principle of working with the Wi-Fi protocol and ZigBee, as well as give step-by-step instructions for connecting and configuring.
What is a Xiaomi smart outlet and why you need it
Xiaomi's smart socket is an electronic device that connects to a standard power grid and allows you to control the power of connected devices through a mobile app, voice assistants or automated scenarios. Unlike conventional outlets, smart models are equipped with:
- 📶 Built-in Wi-Fi or ZigBee module for wireless connection;
- 🔌 Relay – an electromechanical or solid-state switch that physically opens/closes a circuit;
- 📊 Power consumption sensor (in some models) for power monitoring;
- 🔋 Microcontroller with firmware for command processing.
The main tasks that a smart outlet solves:
- ⏰ Automation of household processes - turning on the kettle on the alarm clock, turning off the heater when the window is open;
- 🔒 Increased safety – protection against overheating, imitation of the presence of the house;
- 💡 Energy saving – tracking “gluttonous” devices and turning them off in standby mode;
- 📱 Remote control – control of devices from anywhere in the world via the Internet.
It's important to understand that a smart socket is not just a timer switch, but a full-fledged element of the Mi Home ecosystem that can interact with other devices: motion sensors, cameras, lamps, and even robot vacuum cleaners. For example, when a gas leak sensor is triggered, the socket can automatically turn off the stove.
Technical characteristics and models of smart outlets Xiaomi
Xiaomi has several smart socket lines that feature communication protocol, design and functionality, and the following are the key models and their parameters:
| Model | Protocol | Max. Power. | Energy monitoring | Features |
|---|---|---|---|---|
| Mi Smart Plug (ZNCZ04LM) | Wi-Fi (2.4 GHz) | 2200 W (10 A) | Yes. | Completed USB-Charging port compatible with Google Assistant and Amazon Alexa |
| Aqara Smart Plug (SP-EUC01) | ZigBee 3.0 | 2500 W (10 A) | Yes. | Aqara Hub Requires Local Scenarios without Cloud |
| Mi Smart Plug Mini | Wi-Fi (2.4 GHz) | 1800 W (8 A) | No. | Compact size, no. USB-port, budgetary version |
| Xiaomi Smart Plug Pro | Wi-Fi (2.4/5 GHz) | 3500 W (16 A) | Yeah (exactly) | Support for high-power devices, dual-band Wi-Fi |
Key differences between the models:
- 📡 Wi-Fi outlets (Mi Smart Plug) are connected directly to the router and managed through the Mi Home cloud, their main advantage is ease of setup, minus the dependence on the Internet.
- 🕸️ ZigBee-outlets (Aqara) work through a local network with a hub, which increases reliability and response speed, but requires additional equipment.
- ⚡ Maximum power varies from 1800 to 3500 watts – this limitation is important to consider when connecting heaters or air conditioners.
Important: ZigBee-enabled outlets (such as Aqara Smart Plug) are incompatible with conventional Wi-Fi routers – they need an Aqara Hub or Mi Home Gateway to work.
The principle of the smart outlet: how it controls the devices
The work of the smart socket Xiaomi is based on a combination of hardware and software solutions.
- Physical connection: The socket is inserted into a standard 220V network and connected to it by a household appliance (for example, a lamp or extension cord) inside the socket is a relay - an electromechanical or electronic key that breaks / closes the circuit on command.
- Wireless communication: For Wi-Fi models: the socket is connected to the router via the protocol IEEE 802.11 b/g/n (only 2.4 GHz, except for the Pro version. Data is transmitted to Xiaomi servers, where commands are sent to the mobile application. For ZigBee models, communication is via a mesh network with a hub on frequency. 2.4 GHz (ZigBee protocol) 3.0). Teams are handled locally, without cloud.
Team processing
Feedback
Features of the relay:
- 🔌 Electromechanical relays (in most models) emit a slight click when triggered and have a limited resource - about 100,000 cycles.
- ⚡ Solid state relay (in premium versions) works silently and can withstand up to 1 million cycles, but costs more.
The following protocols are used for data transmission:
- 📡 MQTT — Lightweight messaging protocol used in Mi Home to interact with the cloud.
- 🔗 ZigBee HA 1.2 – a protocol for a smart home, providing low power consumption and reliability.
How does the socket save energy?
How to connect and configure a smart socket Xiaomi: step-by-step instructions
The setup process depends on the type of outlet (Wi-Fi or ZigBee), but the overall scheme is the same for most models. Consider the connection using the example of Mi Smart Plug (Wi-Fi):
Download the Mi Home app (App) Store/Google Play)|
Make sure the router supports 2.4 GHz |
Place the socket in the zone of a confident Wi-Fi signal|
Connect the socket to the 220V network (do not connect devices yet)
-->
Step 1: Adding the device to Mi Home
- Open the Mi Home app and log in.
- Press «+» → «Add the device» → Choose the category "Rosette».
- Hold the button on the socket for 3-5 seconds until the indicator starts flashing orange.
- Enter the Wi-Fi password (2.4GHz network only!) and wait for the connection.
Step 2: Set up the parameters
- 🔄 Rename: Set a clear name (e.g., “Kettlepot in the Kitchen»).
- 🏠 Room binding: Choose a location in the house for easy management.
- ⏰ Timers and schedules: Example of schedule: - Turn on at 07:00 (alarm clock) - Turn off after 30 minutes (automatics) - Repeat on weekdays
Step 3: Integration with voice assistants
To control the socket with your voice:
- At Mi Home, go to Profile» → «Settings» → «Voice assistants».
- Connect to a Google or Amazon Alexa account.
- Say a command, for example, “OK Google, turn on the kettle.”
For ZigBee sockets (Aqara):
- First, connect the Aqara Hub to the router.
- In the Aqara Home app, add a socket through “Add Device» → «ZigBee».
- Press the button on the hub for pairing mode, then on the socket.
💡
If the outlet does not connect to Wi-Fi, try resetting it to factory settings: hold the button for 10 seconds until the indicator flashes yellow 3 times. Also check whether the router blocks the connection of new devices (turn off filtering by MAC).
Hidden functions and advanced settings
Most users use Xiaomi smart outlets only for basic control, but the devices also support hidden features:
- 📈 Consumption statistics: In the Mi Home app, go to the socket card → «Electricity: This displays hour/day consumption charts and electricity cost calculations (manually adjusted to your region's tariffs).
- 🔄 Automatic scenarios: Create a chain of actions, such as: If [motion sensor is triggered] and [time after 18:00], then [turn on the socket with the lamp] and [send a notification» → «Add» → «Customized».
- 🔌 Night mode: Some models (e.g. Mi Smart Plug with the USB) have a built-in backlight, which can be turned on in the settings as a permanent light source.
- 🛡️ Protection from children: Physical locking of nests (in models with a lid) and software - turning off the socket on a schedule (for example, during the absence of a home).
Firmware and updates
Xiaomi outlets periodically receive firmware updates through the Mi Home app. To check the relevance:
- Open the device card.
- Press «⋮» (three-point) → «Update firmware».
- If a new version is available, confirm the installation.
💡
Firmware updates can add new features (e.g. support) IFTTT) You can fix security vulnerabilities, always install them, but don't interrupt the process, because it can cause the outlet to fail.
Integration with Home Assistant
For advanced users, Xiaomi outlets can be connected to the Home Assistant system:
- Install the Xiaomi Miio component via HACS.
- Get the token device with the help of the utility miio-cli.
- Add the socket to configuration.yaml: switch: - platform: xiaomi_miio name: "Xiaomi Plug" host: 192.168.1.100 token: YOUR_TOKEN_HERE
Safety and Common Errors in Use
Despite its reliability, Xiaomi smart outlets require compliance with operating rules to avoid breakdowns or dangerous situations.
⚠️ Warning: Never connect inductively loaded appliances (such as refrigerators or compressors) to a smart socket if their starting current exceeds 10–16 A (check in the device passport!
Common mistakes:
- 🔌 Power overload – connecting devices over 2200 W (for most models) leads to overheating and automatic shutdown.
- 📶 Unstable Wi-Fi - if the signal is weak, the outlet can "hang" in the "offline" state.Solution: use a network repeater.
- ⚡ Ignoring Updates – Outdated firmware may contain vulnerabilities that allow hackers to access your network.
- 🔄 Frequent on/off switches – relays have limited resource; for devices requiring frequent switching (e.g. aquarium compressors), it is better to use mechanical timers.
How to protect the socket from hacking:
- 🔐 Use a complex Wi-Fi password (at least 12 characters with alphanumeric combinations).
- 🌐 Turn off the function. WPS on the router - it is vulnerable to brute force attacks.
- 📱 Enable two-factor authentication in your Mi Home account.
- 🔄 Regularly check the list of connected devices in the router for the presence of unfamiliar gadgets.
⚠️ Warning: If the socket starts to warm or smell like a burn, immediately disconnect it from the network! This may indicate a malfunction of the relay or a short circuit in the connected device.
Comparison with analogues: why Xiaomi?
There are dozens of brands on the smart socket market, from budget TP-Link to premium Philips Hue. What are Xiaomi outlets?
| Criteria | Xiaomi Mi Smart Plug | Aqara Smart Plug | TP-Link Kasa | Philips Hue |
|---|---|---|---|---|
| Protocol | Wi-Fi (2.4 GHz) | ZigBee 3.0 | Wi-Fi (2.4/5 GHz) | ZigBee (requires hub) |
| Energy monitoring | Yes. | Yes. | Yes, in models. HS110) | No. |
| Max. Power. | 2200 watts | 2500 watts | 1800-3600 W | 2300 W. |
| Price (2026) | ~1500 ₽ | ~2000 ₽ | ~2500 ₽ | ~4000 ₽ |
| Features | USB-Port, compatibility with Mi Home | Local scenarios, high reliability | Support IFTTT, dual-band Wi-Fi | Integration with Hue, premium design |
Benefits of Xiaomi:
- 💰 Price/Quality – Some of the Most Affordable Smart Sockets With Energy Monitoring.
- 🏡 Ecosystem – full compatibility with other Mi Home devices (sensors, lamps, cameras).
- 📱 Simplicity of settings – an intuitive application with a Russian interface.
Disadvantages:
- 📶 Cloud dependency (for Wi-Fi models) – without the Internet, management is possible only over a local network.
- 🔌 Power limit – not all models are suitable for heaters or boilers.
When to choose an analogue?
- 🔄 If you need dual-band Wi-Fi (2.4/5 GHz – Pay attention to TP-Link Kasa.
- 🎨 For interior design – Philips Hue (but they are more expensive and require a hub).
- 🏠 Full local automation – Aqara with Home Assistant.