Xiaomiβs smart sockets are one of the most popular home automation solutions, allowing remote control of appliances, monitoring power consumption and integrating devices into a single ecosystem. However, many users face difficulties when connecting for the first time: the socket does not find the network, the Mi Home app emits errors, or the device shuts down after a few minutes. In this article, we will analyze all the stages of settings, from unpacking to integration with voice assistants, and also reveal hidden functions that are not written in the official instructions.
It is important to understand that the connection process may vary depending on the socket model (e.g. Xiaomi Mi Smart Plug, Aqara Smart Plug or Xiaomi Smart Wi-Fi Socket), the firmware version and regional app settings. We will look at universal steps relevant to most devices, and also pay attention to the typical problems faced by owners in 2026.
1.Preparation for connection: what to check before starting
Before you start setting up, make sure all the conditions for a successful connection are met.Errors at this stage lead to 80% of problems with Xiaomi smart outlets.
First, check the outlet compatibility with your Wi-Fi network. Most models only work with 2.4GHz networks - if your router only broadcasts 5GHz, the outlet simply won't see the network.
- πΆ Wi-Fi signal stable at the place of installation of the socket (at least) 2-3 smartphone-splitting).
- π The socket is connected to the 220V network β some models require initial activation from the network.
- π± Mi Home app updated to the latest version (relevant for Android and iOS).
- π The region in Mi Home corresponds to the country of purchase (for example, for Russia β βRussiaβ, for Europe β βEurope").
Pay special attention to the power of the connected appliances. Most of Xiaomi smart outlets are designed for a maximum load of 2200-2500 watts. Connecting heaters, kettles or washing machines with higher consumption can lead to overheating or protection operation.
Installation and first activation of the socket
Start by physically connecting the device. Insert the smart outlet into the regular 220V. Most Xiaomi models have a light indicator that should flash orange or blue β this is a signal that the device is ready to set up.
- π Try to remove and re-insert the socket.
- π Check the efficiency of the outlet itself (connect another device).
- π Make sure that the socket has power (sometimes the machine in the shield works).
Next, run the Mi Home app (or Aqara Home if you have an Aqara brand outlet). + β Add the device and select the category "Rosette". the application will prompt you to scan. QR-code that is on the socket body or in the instructions. QR-code not scanned:
- π· Try turning on the flashlight on your smartphone for better lighting.
- π Enter. ID handheld devices (under the QR-code).
- π² Restart the application and try again.
Check that the router is broadcasting a 2.4 GHz network |
Make sure that the Wi-Fi signal is stable at the installation site|
Connect the socket to the 220V network and wait for the indicator to flash|
Update the Mi Home app to the latest version|
Select the right region in your account settings-->
3. Wi-Fi connection: step-by-step instructions
After the scan. QR-And the app will tell you to connect the outlet to the network, and here many users are faced with the error "failed to connect." To avoid problems, follow this algorithm:
- In the Mi Home app, select your 2.4GHz home network from the list. If the network is not listed, check your router settings (turn off Hide function). SSID").
- Enter your Wi-Fi password. Make sure you use the correct register (passwords are capitalized!).
- Wait for the outlet to connect to the network, and the indicator should change color from flashing orange to permanent blue or green.
- Assign a name to the outlet (such as βKitchen Teapotβ) and select a room in the app for easy management.
If the socket does not connect:
- π Restart router β sometimes a simple power outage for 30 seconds helps.
- π΅ Turn it off. VPN or proxy on a smartphone β they can block the connection.
- πΆ Try connecting to another 2.4GHz network (e.g., distribute internet from your smartphone).
What if the plug is connected but immediately disconnected?
4. Control and automation setup
Once successfully connected, the socket will appear in the main menu of the Mi Home app, and you can now configure the basic functions:
| Function | How to set up | Example of use |
|---|---|---|
| Remote on/off switching | Click on the socket icon in the app β "On/Off" button". | Turn on the heater 30 minutes before returning home. |
| Timer. | In the socket menu, select "Timer" β Add on/off time. | Automatically turn off the charger of the laptop after 2 hours. |
| Energy consumption monitoring | In the socket menu, open the tab "Electricity". | Control the energy consumption of the refrigerator for a month. |
| Voice control | Connect the socket to Alice, Google Assistant or Siri through the app settings. | Control the lights with a voice: "Alice, turn on the socket in the hall." |
For advanced scenarios, use the Automation section of Mi Home, for example, you can configure:
- π Turning on the coffee maker on the alarm (synchronization with the Mi Clock application).
- π₯ Automatic shutdown of the iron if the energy consumption falls below 50 W (means the iron is heated and turned off).
- π‘οΈ Temperature Control (Integration with Xiaomi Temperature & Humidity Sensor).
π‘
If the outlet often loses connection to Wi-Fi, try to fix it MAC-address in router settings (option "DHCP Reservation" or "Tie-in IP"). That'll prevent a shift. IP-Device addresses and improve communication stability.
5. Integration with Home Assistant and other systems
Xiaomi smart outlets can be connected not only to the native Mi Home app, but also to third-party smart home systems such as Home Assistant, OpenHAB or Apple HomeKit (using bridges such as HomeBridge).
For integration with Home Assistant:
- Install the Xiaomi Miio component via HACS or manually.
- Get your device token using the Mi Home Token Extractor app (available for Android).
- Add the socket to the configuration file configuration.yaml: switch: - platform: xiaomi_miio name: "Xiaomi Smart Plug" host: 192.168.1.100 # IP-token: YOUR_TOKEN_HERE
Once you restart Home Assistant, the socket will appear in the interface and be available to create automation, for example, you can configure:
- π Turning off all lighting in the house on schedule.
- π Turning on the backlight in the garage when opening the gate (integration with motion sensors).
- π Exporting energy consumption data to Google Sheets for analysis.
π‘
For stable operation of the socket in Home Assistant, it is recommended to fix it IP-address in the router and disable the energy-saving Wi-Fi functions.
Typical errors and their solutions
Even with the right setup, users face problems, and let's look at the most common errors and how to fix them:
| Mistake. | Possible cause | Decision |
|---|---|---|
| "I couldn't connect to the device." | The outlet is too far from the router or the signal is weak. | Use a Wi-Fi repeater or move the socket closer to the router. |
| The rosette flashes orange but doesn't plug in | The device is getting stuck in configuration mode. | Pull the socket out of the network for 10 seconds, then reconnect. |
| "Offline Device" at Mi Home | The router blocks Xiaomi traffic (firewall or parental controls). | Add in. IP-plug-in. |
| The plug is spontaneously shut down. | Protection against overheating or overload is activated. | Check the power of the connected device (no more than 2200 watts). |
If the outlet has stopped responding to commands:
β οΈ Note: Some Xiaomi models are reset to factory settings when disconnected from the network for longer periods (more than 5 minutes).To avoid loss of settings, use an uninterruptible power supply (UPS) for mission-critical devices.
To reset the socket to the factory settings:
- Hold the button on the socket body for 10-15 seconds until the indicator starts to flash quickly.
- Release the button and wait until the socket resets (the indicator turns orange).
- Repeat the connection process from scratch.
7. Compatible with other Xiaomi devices
Xiaomiβs smart outlets are perfectly integrated with other ecosystem devices, allowing for complex automation scenarios.
- π‘ Synchronization with smart lamps: turning on the light when the socket is activated.
- πͺ Work with door/window sensors: turning off the heater when opening the window.
- π‘οΈ Temperature control: Fan activation over 25Β°C (with Xiaomi Temperature Sensor).
To adjust the interaction between devices:
- Open the Mi Home app and go to Automation.
- Click on "Add Automation" and select a condition (e.g., "If the motion sensor is triggered").
- Add the action - turn on the socket.
- Save the script and test it out.
Example of a useful scenario:
β οΈ Warning: If you use an outlet to control an aquarium pump or other critical equipment, set up Loss of Communication Notices in Mi Home. To do this, turn on the "State Alerts" option in the device menu".
8. firmware update and hidden features
Regular firmware updates improve the stability of the outlet and add new features.
- Open the socket menu in Mi Home.
- Go to "Device Settings" β "Firmware update".
- If a new version is available, click "Update" and wait for the process to be completed (don't disconnect the socket from the network!).
Among the hidden features of Xiaomi smart outlets:
- π Nightlight mode β some models can glow in the dark (includes in settings).
- β‘ Real-time display of current power (Installation "Electricity").
- π‘ Wi-Fi Repeater Mode (not available on all models, requires firmware from Aqara).
For power users, some outlets support alternative firmware (e.g. Tasmota or ESPHome) that extend functionality, but this requires soldering and risks losing warranty.