Xiaomi’s smart outlets have long been an integral part of the Mi Home and MiJia ecosystem, but few people think about what lies inside their compact bodies. Meanwhile, it is the “stuffing” that determines the reliability, reaction speed and even security of the device. If you’ve ever held a Xiaomi Mi Smart Plug or Aqara Smart Wall Outlet, you’ve probably wondered: how does this little box manage a load of up to 2200 watts, connect to Wi-Fi without overheating?
In this article, we will not only look at the physical design of Xiaomi outlets (from control board to relay), but also analyze the key components that are responsible for stable operation. You will learn what microcontrollers the company uses, how to implement protection against overload, and why some models support HomeKit and others do not. And we will compare the insides of different generations of outlets and find out whether to overpay for “advanced” versions.
If you are planning to buy a smart outlet or just curious about how Xiaomi equipment works from the inside, this material is for you. We will not limit ourselves to dry specifications: here you will find real photos of the boards, connection schemes and even exclusive data on hidden features that the manufacturer does not advertise.
1. Exterior case: why Xiaomi outlets are so compact?
The first thing that catches your eye when looking at Xiaomi’s smart outlet is its minimalist design, the body of most models (for example, Mi Smart Plug Wi-Fi or Aqara). SP-EUC01) It's made of fire-resistant ABS plastic with a matte texture that prevents slipping and fingerprinting. But why did the company's engineers make it so flat? Three factors play a role here:
- 🔌 Universal installation: thin case (usually 2-3 cm) allows you to install the socket even in tight spaces, for example, behind furniture or in double blocks.
- 🌡️ Heat scoop: Less air inside the enclosure reduces the risk of electronic components overheating.
- 📡 Wi-Fi antenna: In some models (for example, Mi Smart Plug 2), the antenna is built into the body around the perimeter, which improves signal reception.
However, there is a downside to compactness, such as the low-cost Xiaomi outlets (until 2020) often had the problem of overheating contacts at long-term loads close to maximum (16-2200 watts), which newer versions have solved by:
- 🔥 Use of copper contacts instead of aluminum.
- 🌀 Additional ventilation holes in the lower part of the body.
- 🛡️ Implementing a thermosensor that shuts off power at critical temperature (from 85)°C).
⚠️ Note: If your Xiaomi outlet is older than 2019 and warms up with a load of more than 1000 watts, do not use it for powerful appliances (heaters, boilers.
2. disassembly of the socket: what is under the cover?
To get to the insides of a smart outlet, you just need to unscrew 2-4 screws on the back (depending on the model).
- Printed circuit board with microcontroller, relay and power elements.
- Contact unit for connection to the 220B network.
- An indicator LED (blue/green) showing the status of the connection.
- Reset button (sometimes combined with the on button).
In the photo below is the board of the Xiaomi Mi Smart Plug (ZNCZ04LM) (2021: Pay attention to the key elements:
| Component | Appointment | Characteristics |
|---|---|---|
| Microcontroller | Logic management, Wi-Fi, energy monitoring | ESP8266 or BL602 (new models) |
| rela | Closing/breaking of chain 220B | 10A/250V, resource ~100 000 cycle |
| Transformer. | Reducing voltage to power the charge | 5V/0.5A (for the microcontroller) |
| Flash memory. | Storage of firmware and dens | 2-4 MB (depending on model) |
| Wi-Fi antenna | Wireless connection | 2.4 GHz, support 802.11 b/g/n |
The relay is particularly noteworthy, because it is responsible for turning the power on/off. Xiaomi’s budget outlets (such as the Mi Smart Plug Basic) use relays with mechanical contacts that can burn over time. T1) installed solid-state relays based on simistors - they are silent and last longer.
3. Microcontroller: the "brain" of the socket and its capabilities
The heart of any Xiaomi smart outlet is a microcontroller (MK), which most models used a chip until 2022. ESP8266 Espressif is a low-cost, but reliable solution with Wi-Fi support, but in newer devices (such as Mi Smart Plug 2 or Aqara). SP-EUC01) The manufacturer has switched to a more modern Bouffalo Lab BL602. Why?
- ⚡ Lower energy consumption: BL602 It consumes 30% less energy in standby mode.
- 🔒 Improved security: Support for hardware encryption (AES-128).
- 📶 Better Wi-Fi Stability: Less Communication Breaks with a Weak Signal.
Interesting fact: the firmware of the microcontroller in the outlets Xiaomi often contains undocumented features. ZNCZ04LM When connected via Telnet (port 23), you can access the console with commands for:
- 📊 Reading current energy consumption in real time (without delay, as in the application).
- 🔄 Forced firmware updates through a local network.
- 🔧 Changes to regional settings (e.g., with CN on EU circumvention).
⚠️ Note: Attempt to modify the firmware of the socket via Telnet or UART In some cases, the device can be blocked by Xiaomi servers for "unauthorized access».
How to connect to Xiaomi outlet via Telnet?
4.Relay and power unit: how does the outlet control the 220V?
The main task of a smart outlet is to safely switch high voltage (220V), which is responsible for relays, which can be of two types:
- Electromechanical (with physical contacts) – cheaper, but less reliable with frequent ons/offs.
- Solid state (on simistors) - silent, durable, but more expensive.
Xiaomi’s low-end outlets (e.g. Mi Smart Plug Basic) use Hongfa electromechanical relay HF115F It's about 100,000 cycles, which means that if you turn on or off the socket 50 times a day, it's about 5 to 6 years old. T1) Installation of Panasonic solid-state relay AQV212, which can withstand up to 1 million cycles.
The key parameter of the relay is maximum current. In most Xiaomi outlets, it is 10A (2200 W), but there are nuances:
- 🔌 Rosettes for Europe (EU) designed 10And/230V = 2300 Watt.
- 🇨🇳 Rosettes for China (CN) — on 10And/220V = 2200 Watt.
- 🇺🇸 Rosettes for the United States (US) — on 15And/110V = 1650 Watt.
If you are not using the socket in your area (for example, CN-The European version, you're at risk of exceeding the rated power:
- ⚡ Overheating of contacts and melting of the body.
- 🔥 Protection activation and automatic shutdown.
- ⚠️ Warranty loss (the manufacturer is not responsible for improper operation).
💡
To check the maximum power of your outlet, look at the marking on the case or in the Mi Home app in the Device section. → Settings → Information.
5. Energy monitoring: how does the socket count consumption?
Not all Xiaomi smart outlets are able to measure power consumption, and this feature is only available in models marked “Energy Monitoring” (for example, Mi Smart Plug with Energy Monitoring or Aqara). SP-EUC01). Two key components are used for measurement:
- A current-measuring shunt is a low-resistance resistor that measures current in a circuit.
- ADC (analog-to-digital converter) converts an analog signal from a shunt into digital data for a microcontroller.
The accuracy of the measurement depends on the quality of the components. In cheap outlets, the error can reach the level of the components. ±5-10%, while in premium models (for example, Aqara) it does not exceed ±And interestingly, some users have noticed a discrepancy between the power outlet and the power meter, and the reason is usually because of the fact that it's a problem:
- 📉 Low quality shunt (in budget models).
- 🔄 Incorrect calibration in the factory.
- 🌡️ Overheating of components that distorts readings.
To check the accuracy of your socket, you can use a simple test:
Connect to the socket a device with a known power (for example, a lamp at 60 W).
Start the timer for 1 hour.
Compare the socket readings with the estimated consumption (60 W) × 1 hour = 0.06 kWh).
Repeat the test with different loads (100 W, 500 W, 1000 W).
-->
If the discrepancies are greater than 10%, you should contact Xiaomi to recalibrate or replace the device.
6.Wireless modules: Wi-Fi vs Zigbee vs Bluetooth
The way a smart outlet connects to the network determines its functionality and compatibility with other devices. Xiaomi uses three main types of wireless modules:
| Type of connection | Socket models | Pluses | Cons |
|---|---|---|---|
| Wi-Fi (2.4 GHz) | Mi Smart Plug, Redmi Smart Plug | Easy to set up, direct work with the cloud | Router dependency, high power consumption |
| Zigbee | Aqara Smart Plug (requires hub) | Low power consumption, stability, support for Mesh-network | A base station (Aqara Hub) is required. |
| Bluetooth | Mi Bluetooth Smart Plug (rarely) | Low power consumption, fast connection | Small range, no remote control |
Wi-Fi remains the most common, but it has a serious drawback: if the router turns off, the outlet becomes unavailable for remote management. Zigbee outlets (for example, Aqara) are deprived of this drawback thanks to working through the Mesh network, but require the purchase of a hub (Aqara Hub). M2 Mi Home Gateway).
In 2023, Xiaomi began testing Matter-enabled outlets, a new smart home standard that will ensure compatibility with Google Home, Amazon Alexa and Apple HomeKit without additional hubs. SP-EUC01 (firmware 2.0.0 and higher).
💡
If you want a power outlet with maximum compatibility, choose models on Zigbee or with Matter support. Wi-Fi outlets are cheaper, but less reliable for Internet problems.
7. Hidden functions and undocumented capabilities
The manufacturer doesn’t always reveal all the features of its devices, and here are some hidden features that can be activated in Xiaomi outlets:
- 🔄 Local control without cloud: some models (e.g. Mi Smart Plug 2) support direct protocol commands MQTT, This allows you to manage them even without the Internet.
- ⚡ Night mode: in backlit sockets (for example, Aqara) T1) You can adjust the constant glow of the indicator to 10% brightness.
- 📡 Wi-Fi repeater: in experimental firmware, the socket can work as a signal repeater (function disabled in serial models).
- 🔧 Firmware Customization: Firmware enthusiasts spoil alternative firmware (e.g. Tasmota or ESPHome) by adding support for Home Assistant.
One of the most useful hidden features is real-time energy monitoring. By default, the Mi Home app updates its consumption data every 5-10 seconds, but after a few seconds, it can be used to monitor the energy in real-time. API Or Telnet can get readings every second:
- 📊 Monitoring of initiation currents (for example, when turning on the refrigerator).
- ⚡ Identification of “gluttonous” devices in standby mode.
- 🔧 Automatic Rules with High Accuracy.
To activate hidden functions, it is often required to:
- Get a device token (via Mi Home or Python scripts).
- Use unofficial applications (e.g. Mi Home Custom)
- Update the firmware through OTA modified.
⚠️ Warning: Modifying the firmware can cause the outlet to malfunction or even fail.In addition, Xiaomi may lock the device for using unofficial software.