How to set up a smart socket Xiaomi WiFi: a complete guide with pictures and life hacks

Xiaomi smart outlets have become an integral part of modern smart home systems, allowing you to control household appliances remotely via a smartphone, voice assistants or on a schedule. However, many users face difficulties when connecting for the first time: the device does not find the network, the error indicator flashes, or the Mi Home app gives out incomprehensible messages. This article will help you understand all the nuances from unpacking to integration with Google Assistant or Apple HomeKit (if the model supports).

We will look at not only basic setup, but also hidden features: power limitation, child protection, energy monitoring (for models with a consumption sensor), as well as solutions to problems with connecting to 5 GHz routers or corporate networks.

If you've tried to set up an outlet before and you've got a "Device Not Responding" or "Unable to Connect to WiFi" error, there's a section at the end of this article that diagnoses and solves 90% of typical problems Step-by-step, and for power users, spoilers with alternative firmware and integration into Home Assistant without the Xiaomi cloud.

1. What models of Xiaomi smart sockets are and how they differ

Xiaomi has several lines of smart outlets, and their capabilities vary greatly, with the main differences being in protocols supported, maximum power and availability of power monitoring, and the key models that are relevant in 2026:

  • 🔌 Xiaomi Mi Smart Plug (ZigBee) – works through the Xiaomi Gateway hub, does not require WiFi, but needs additional equipment.
  • 📶 Xiaomi Mi Smart WiFi Plug is the most popular model with a connection directly to the router. Supports 2.4 GHz, a maximum power of 2200 watts (for Russia). USB-charging-port.
  • ⚡ Xiaomi Mi Smart Power Strip – Extension 3-6 Sockets with individual control, usually equipped with power monitoring and overload protection.
  • 🌍 Xiaomi Mi Smart Plug (EU/US versions - differ in the shape of the fork and maximum power (for example, 1800 Watt for EU). In Russia, they are sold unofficially, may not support local servers.

For this article, we will focus on WiFi models, as they are the most versatile and do not require the purchase of additional hubs. If you have a ZigBee outlet, the setup process will be different – you will first need to connect Xiaomi Gateway to the Mi Home application.

ModelProtocolMax Power (RF)Energy monitoringUSB-port
Mi Smart Plug (WiFi)WiFi 2.4 GHz2200 watts❌ No.❌ No.
Mi Smart Plug (WiFi + USB)WiFi 2.4 GHz2200 watts❌ No.✅ Yes (5V/2A)
Mi Smart Power StripWiFi 2.4 GHz2500 W (total)✅ Yes.✅ Yes (3 ports)
Mi Smart Plug (ZigBee)ZigBee 3.02200 watts❌ No.❌ No.

Before buying, check if the socket supports 220V/50Hz – some models for China or the United States are designed for 110V/60Hz and can burn when connected to the Russian network.

📊 What kind of Xiaomi smart outlet you use?
Mi Smart Plug (WiFi)
Mi Smart Power Strip
ZigBee version
Another model
I haven't bought it yet.

Preparation for setting up: what will be needed

Before you start connecting, make sure you have everything you need.

☑️ What you need to set up a smart socket Xiaomi

Done: 0 / 4

The most common mistake at this stage is trying to connect the outlet to a 5 GHz network. Xiaomi smart sockets only work with 2.4 GHz. If your router broadcasts both networks under the same name (for example, MyWiFi), you will have to temporarily separate them in the router settings or turn off 5 GHz during the setup.

Also check:

  • 🔋 The charge level of the smartphone – if it discharges during the setup, the process will have to start again.
  • 📶 WiFi signal at the location of the socket installation – if the network indicator on the router flashes red, the socket may not connect.
  • 🔌 Fork compatibility – some models have a Euro-fork and require an adapter for Russian sockets.

Tip: If you set up an outlet in an office or hotel that uses portal authorization (for example, entering a username / password in a browser), connection will not be possible. Xiaomi smart devices do not support such networks.

💡

If you have a dual-band router and there is no option to split networks in the settings, temporarily change the 5GHz network name (for example, add to the name "_5G"). This will force the socket to connect to 2.4 GHz.

3. Step-by-step instructions: how to connect the socket to WiFi

Now, to the process itself, follow the instructions strictly by step, and skipping any point can lead to an error.

Step 1 Installation of the Mi Home app

Download the official Mi Home app from the App Store or Google Play. Note: there are clones of the app (such as Mi Home Lite) that may not support all the features.

Step 2: Registration or login to your account

If you don’t already have a Xiaomi account, sign up. Link the socket to the same account as other smart home devices (like Roborock or Yeelight) so they can interact with each other.

Step 3: Connecting the power outlet to the power supply

Insert the socket into the network socket. The indicator on the case should flash orange (connection waiting mode). If the indicator is on blue, the socket is already connected to another network and it must be reset (instruction in section 5).

Step 4: Adding the device to Mi Home

  1. Open Mi Home and press «+» → «Add the device».
  2. Select the category "Rosettes" (or enter the name of the model in the search).
  3. Follow the instructions on the screen. The app will ask:

Wait until the connection is completed (it can take up to 2 minutes).

Step 5: Set up the name and room

After successful connection:

  1. Assign a unique name to the outlet (for example, “Kettlepot in the kitchen”).
  2. Select a room (or create a new one in the Profile menu) → Smart home»).
  3. Press "Ready."

How to set up:

  1. Open the socket card in Mi Home.
  2. Press "Timer» → «Add».
  3. Choose the time, days of the week and action (on/off).

2. Scenarios with other devices

If you have other Xiaomi devices (like a motion sensor or a light bulb), you can create a chain of action.

⚠️ Note: If the scenario involves devices of different brands (such as Xiaomi and Philips Hue), use Google Assistant or Home Assistant – native Mi Home app does not support cross-brand automation.

  • 🚪 If the door sensor is triggered → plug in.
  • 🌡️ If the temperature is below 18°C → heater.

3. Energy monitoring (for supported models)

Power sensor outlets (such as the Mi Smart Power Strip) show:

  • ⚡ Current power (in W).
  • 📊 Consumption per day/week/month (in kWh).
  • 💰 Estimated cost of electricity (manually adjusted according to the tariff).

This data helps to identify "gluttonous" appliances, for example, if a refrigerator consumes 500 watts instead of the usual 150 watts, it's time to clean the rear grille.

4. Protection from children

In the socket settings («⚙️ → Security may be included:

  • 🔒 Locking a physical button (so that the child does not manually turn off the socket).
  • ⚡ Maximum power limit (e.g. 1000 watts to prevent overloading).
How to get around the power limit of 2200 watts?
Some users connect devices with a power of up to 3000 watts (such as heaters) through a smart outlet. This is dangerous: the socket contacts are not designed for such a load and can melt. If you want control of a powerful device, use a smart relay module (for example, Shelly Plug S), which is installed in the switchboard.

5. Resetting the socket to factory settings

If the socket was previously connected to another account, or you forgot your WiFi password, you will need to reset.

Method 1: through a button on the body

  1. Make sure the socket is on (the indicator is on or blinking).
  2. Press the button on the body on 5-10 seconds until the indicator starts to flash orange quickly.
  3. Release the button - the socket will reset and will be ready for a new setup.

Method 2: Through the Mi Home app

If the plug is connected to your account but is not stable:

  1. Open the device card in Mi Home.
  2. Press «⚙️ → Remove the device».
  3. Confirm the deletion and reconfigure the setting.

⚠️ Warning: Once reset, the socket will lose all saved timers and scripts. If you plan to sell or transfer the device to another person, be sure to reset so that the new owner does not gain access to your WiFi network.

6. Solving typical problems when setting up

Even with the correct following of the instructions, errors can occur, and here are the most common ways to solve them:

Problem.Possible causeDecision
The rosette does not flash orange when turned onMalfunction or lack of nutritionCheck the socket with a tester, try another socket
The app does not find the deviceToo weak WiFi signal or interferenceBring the socket closer to the router (in the same room)
Error “I failed to connect to WiFi”Wrong Password or 5 GHz NetworkCheck the password, temporarily disable 5GHz on the router
The plug is connected, but disconnects after 5 minutesConflict IP-web-addressReboot the router or assign a static outlet IP
Voice control is not working.The rosette is not tied to Google/AlexaReconnect Xiaomi account in voice assistant settings

Problem: The socket connects but does not respond to commands

If the indicator is blue, but on/off via the app does not work:

  1. Check your internet connection on your smartphone.
  2. Make sure the socket is not locked in the “Settings” → Parental control».
  3. Restart the router – sometimes devices “hang” due to problems with the router DHCP.

Problem: Energy monitoring shows incorrect data

If the socket shows consumption of 0 W or inflated values:

  • 🔄 Reset the socket (take out and paste back in).
  • 📊 Reset the statistics in the settings ("Energy") → Reset the data»).
  • 🔌 Check if the device plug is tightly inserted - weak contact distorts the readings.

💡

If the outlet is permanently disconnected from WiFi, try reducing the 2.4 GHz channel width to 20 MHz in the router settings. This will reduce speed, but increase the stability of the connection for IoT devices.

7.Integration with Google Assistant, Alexa and HomeKit

Xiaomi’s smart sockets can be controlled via Google Assistant, Amazon Alexa or Apple HomeKit (for Matter-enabled models).

1. Connection to Google Assistant

  1. Open the Google Home app.
  2. Click + → Set up the device → Have there already been devices?
  3. Select Xiaomi from the list and log in to your account.
  4. Allow access to the devices and wait for synchronization.

Now you can say, “OK Google, turn on the kettle” (if the socket is so named).

2. Connection to Amazon Alexa

  1. In the Alexa app, go to the Smart Home» → «Add the device».
  2. Select Xiaomi and sign in to your account.
  3. After synchronization, say, “Alexa, turn on the socket in the bedroom.”

3. Connect to Apple HomeKit (for Matter devices only)

Models with Matter support (for example, Xiaomi Mi Smart Plug 2 for the EU) You can add it to HomeKit:

  1. Open the Home app on your iPhone.
  2. Press «+» → «Add an accessory».
  3. Scan it. QR-code from the socket body or enter PIN-code.

⚠️ Note: No Matter-enabled outlets can be directly connected to HomeKit, and you will need a Home Assistant or a HomeKit. HOOBS bridge-like.

8.Alternative firmware and advanced chips

For power users who lack standard features, there are ways to “pump” a smart outlet:

1. Tasmota firmware or ESPHome

Some models of Xiaomi smart sockets are built on a chip ESP8266, It supports alternative firmware. It allows you to do it:

  • 🔄 Manage the outlet without the Xiaomi cloud (locally).
  • 📊 Get more detailed consumption statistics.
  • 🔧 Integration with Home Assistant without restrictions.

The firmware will require:

  1. Set the case of the socket and connect to the contacts of the chip.
  2. Use a programmer (for example, FTDI).
  3. Swipe through Tasmotizer or PlatformIO.
Risks of flashing
Alternative firmware voids the warranty, and a firmware error can cause the device to fail, and some Xiaomi models have firmware protection (a closed-loop bootloader).

2. Local government without the Internet

If the Xiaomi cloud is not available (for example, when the Internet is turned off), the outlet can be controlled via the local network:

  1. In Mi Home, enable Local Network mode in your device settings.
  2. Use apps like Locally or Home Assistant for direct management.

3 Automation through Home Assistant

With Home Assistant, you can create complex scripts that are not available in Mi Home.

automation:


- alias: "Switch off the heater if the window is open"




trigger:




platform: state




entity_id: binary_sensor.window_contact




to: "on"




action:




service: switch.turn_off




entity_id: switch.xiaomi_plug

For integration:

  1. Add the Xiaomi Miio component to configuration.yaml.
  2. Get it. MIIO token through the Mi Home application (instructions on the official Home Assistant website).
  3. Set up the device in the interface HA.

Frequently asked questions

❓ Is it possible to connect Xiaomi smart socket to a 5 GHz network?
No, all Xiaomi smart outlets only work with 2.4GHz networks. If your router broadcasts both networks under the same name, temporarily disable 5GHz or split the networks in the router settings.
❓ Why does the plug shut down on its own?
Possible reasons: Protection against overloading worked (if the device is connected with power) >2200W) Power problems (voltage spikes or weak contact in the socket) The socket lost communication with the WiFi (check the router). Solution: check the load, reset the socket and router.
❓ How to Reset Your WiFi Password on a Socket?
The socket doesn't store the WiFi password, it's re-quested every time you connect. If you change the password from the network, just reset the socket to the factory settings (press the button for 10 seconds) and reconnect it.
❓ Can I use a smart socket with a refrigerator?
No, it is forbidden to connect refrigerators, freezers or air conditioners to smart outlets, and when power is turned off, these devices can fail, and re-energizing under load leads to surges of current, which is dangerous for the outlet.
❓ How to update the firmware socket?
Firmware updates come automatically through the Mi Home app. To check the relevance: Open the device card. Click «⚙️ → If a new version is available, follow the instructions on the screen. Do not turn off the power socket during the update!