How to set up a Xiaomi Wi-Fi outlet: full instructions from connection to automation

Xiaomi’s smart sockets are one of the most affordable ways to automate appliances in the home, allowing you to remotely turn on/off appliances, adjust your work schedule, and even integrate into complex smart home scenarios via Mi Home or Apple HomeKit (for compatible models), but many users face difficulties already at the first connection stage: the socket does not find the network, the application gives an error, or the device refuses to save the settings.

In this article, we will look at all the steps of setting up Xiaomi’s Wi-Fi outlet, from unpacking to creating automation, and also look at typical errors and how to fix them. The instructions are relevant for popular models: Mi Smart Plug (including versions with USB- port), Aqara Smart Plug and Redmi Smart Socket. We will pay special attention to the nuances of connecting to different types of routers (2.4/5 GHz) and solutions for cases where the socket is not visible in the application.

What models of Wi-Fi outlets Xiaomi exist and how they differ

Before setting up, it is important to understand which model you have purchased – the functions and connection process you support depend on it. All Xiaomi smart outlets are divided into three main lines:

  • πŸ”Œ Mi Smart Plug is a basic model with Wi-Fi 2.4GHz support, power monitoring (in some versions) and Google Assistant/Alexa compatibility. Suitable for most household appliances up to 2200W.
  • πŸ”Œ Aqara Smart Plug is an advanced version with support for the Zigbee protocol (requires the Aqara Hub hub), more accurate energy consumption accounting and the ability to work on a local network without the cloud.
  • πŸ”Œ Redmi Smart Socket is a budget option without power monitoring, but with a compact design and support for Wi-Fi 5 GHz (in recent versions).

The key difference is the type of connection:

Models with 2.4 GHz Wi-Fi (most Mi Smart Plug) are not compatible with 5 GHz networks. If your router only works in the 5 GHz band, the outlet will not connect.

Aqara requires a hub to work properly, but can manage devices even when the internet is off.

Redmi with support for 5 GHz is less common on sale, but is suitable for modern networks.

πŸ“Š What model of Xiaomi Wi-Fi outlet do you use?
Mi Smart Plug (classic)
Aqara Smart Plug
Redmi Smart Socket
Another model
I haven't bought it yet.

How do you know your model? Look at the box or sticker on the back of the device, and labels like ZNCZ02LM (for Mi Smart Plug) or SP-EUC01 (for Aqara) will indicate the exact modification, which can be useful when looking for firmware or solving problems.

Preparation for setting up: what to do before connecting

To avoid errors in settings, follow a few preliminary steps, which will save time and eliminate the need to reset the socket to factory settings.

Check the compatibility of the router (must support 2.4 GHz)

Install the Mi Home app (version no lower than 6.0)

Connect the socket to the 220V network (but not load the device)

Disable VPNs and Firewalls on your phone

Make sure the phone is connected to the same Wi-Fi network as the outlet-->

1. Check the Wi-Fi network:

Xiaomi outlets (except some Redmi models) only work with 2.4 GHz networks. If your router broadcasts both frequencies under the same name (SSID), temporarily disable 5 GHz in the router settings.

The network name (SSID) should not contain Cyrillic, special characters or spaces, the best option is Latin and numerals (for example, Xiaomi_Home_24).

2. Prepare the telephone:

Install the latest version of the Mi Home app (from Google Play for Android, from the App Store for iOS) and older versions may not support new devices.

Turn on Bluetooth and geolocation – they will be required for the initial binding of the socket.

If you use an iPhone, make sure that Settings β†’ Privacy β†’ Geolocation Services for Mi Home is set to Always.

⚠️ Warning: Some users experience an error called "Device failed" due to the phone's active power saving mode. Turn it off in the battery settings before setting up.

Step-by-step: how to connect Xiaomi Wi-Fi outlet to the network

Now, to the process of connecting, follow the instructions in a very simple way, and this minimizes the risk of errors.

Step 1. Put the power outlet on the network

Insert the socket into the socket block and make sure that the indicator on its body flashes orange (connection waiting mode).If the indicator is constantly lit or does not glow, press and hold the button on the case for 5 seconds until the blinking begins.

Step 2 Launch the Mi Home app

Open Mi Home and log in (if you haven’t already).

- Press + in the upper right corner β†’ select Add device.

- In the category list, select the Rosetta (or enter the model name manually in the search bar).

Step 3: Select a region and Wi-Fi network

The application will offer to choose a region (optimally - Russia or Mainland China, if the first option does not work).

- Specify your 2.4GHz Wi-Fi network and enter your password. Make sure your phone is connected to the same network!

Click Next and wait until the socket emits an audible signal (squeak) - this means that it is ready to be tethered.

Step 4. Complete the binding.

- After the beep, the socket will appear in the list of devices in the Mi Home, assign a name to it (for example, "Kettle in the Kitchen") and select a room (kitchen, living room, etc.).

Press Ready. The light on the socket should light up blue (normal operation mode).

πŸ’‘

If the outlet does not connect the first time, try resetting it to factory settings (hold the 10 seconds button until double blinking) and repeat the process.

Solving common errors in setting up

Even with the correct following of the instructions, there can be problems, and let's look at the most common mistakes and how to fix them.

Mistake.Possible causeDecision
"I couldn't connect to the device."The socket is too far from the router or the signal is weakMove the socket closer to the router or use a Wi-Fi repeater
"The wrong Wi-Fi password"Password contains Cyrillic or special charactersChange the network password to Latin + numbers, without spaces
The indicator flashes red.Error of connecting to Xiaomi serversCheck the Internet connection, disable the VPN, reboot the router
The socket does not appear in Mi Home after the tetherThe device is linked to another accountReset the socket (10 seconds) and log in to Mi Home under the same account you used before.

Mistake: the socket is connected, but immediately disconnects

This is a typical problem for networks with client isolation or MAC- filtering. Go to the router settings and:

  1. Disable Client Isolation (usually in the Wireless β†’ Advanced section).
  2. Add MAC- the socket address (specified on the sticker) to the list of allowed devices.
  3. Reboot the router and reconnect.

⚠️ Warning: If you use a guest network on a router, the outlet may not connect due to access restrictions. Transfer it to the main network.

Additional settings: schedule, energy monitoring and voice control

After successful connection, you can configure automation and integration with other devices.

1. Scheduling

Open the socket card in Mi Home β†’ Schedule β†’ Add.

Select the days of the week, the time of on/off and save.

Example

2. Power monitoring setup (available for Mi Smart Plug with USB and Aqara)

In the device card, go to the Energy Consumption tab.

- Here is a schedule of electricity consumption for the day / week / month.

To reset the statistics, click Clear Data.

Voice control

Xiaomi outlets are compatible with:

Google Assistant: Link your Mi Home account to Google Home via Settings β†’ Voice Assistants.

Alice (Yandex): Add Xiaomi smart home to Alice's skills.

Siri (HomeKit): Works only for models with HomeKit support (e.g. Aqara SP-EUC01).

πŸ’‘

If the outlet controls a powerful appliance (such as a heater), set up overheating protection in the Mi Home: set a limit on current or temperature (if supported by the model).

Security and optimization: how to protect the socket from hacking

Smart outlets, like any IoT device, can be targeted by hackers, and the following steps will help secure your network:

  • πŸ”’ Update your firmware: Check for updates to the outlet in Mi Home (Device Settings β†’ Software Update).
  • πŸ”’ Disable remote access: If you do not use control from outside the house, deny access to the socket via the Internet in the router settings (block outbound connections for it IP).
  • πŸ”’ Use a separate network for IoT: set up on the router VLAN or guest network specifically for smart devices.
  • πŸ”’ Change your Wi-Fi password: If the outlet was connected to a public network (such as a cafe), reset it and reconfigure it to your home network.

Critical vulnerability: Some Xiaomi socket models (released before 2022) have a flaw in the data exchange protocol that allows you to intercept device control over the local network.

How to check if your outlet is broken?

Open Mi Home and check the device activity log, if there are commands you didn't send, reset the socket and change the Wi-Fi password.

Use network scanning applications (such as Fing) to make sure the outlet doesn’t send suspicious data packets.

Integration with other Xiaomi devices: smart home scenarios

One of the key features of Xiaomi outlets is the ability to create automated scripts with other devices in the ecosystem.

  • πŸ’‘ Smart lighting: The socket turns on a desk lamp (Yeelight) when the motion sensor (Aqara Motion Sensor) is triggered.
  • β˜• Morning coffee: The socket starts the coffee maker at 7:00, and the smart speaker (Xiaomi Smart Speaker) turns on the radio.
  • 🌑️ Climate Control: The heater is turned off if the Aqara Temperature Sensor shows above +25 Β°C.

How to create a script in Mi Home:

1. Open the Automation tab β†’ Add β†’ Custom automation.

2. Select a trigger (e.g., Time or Door Opening Sensor).

3. Specify the action - turning on / off the socket.

4. Save the script and test it.

An example of a complex scenario
Trigger: Aqara Door Sensor (door open) + Xiaomi Motion Sensor (movement detected) + time from 20:00 to 6:00. Action: turn on the Yeelight Bedside Lamp for 5 minutes. This is useful for lighting the arrival in a dark room at night.

FAQ: Answers to Frequent Questions

Can I connect Xiaomi to a 5GHz network?
Most models (e.g., the Mi Smart Plug ZNCZ02LM) only work with 2.4 GHz. Except for some versions of the Redmi Smart Socket that support both ranges. Check the specifications of your model on the official website.
Why does the power outlet consume energy even when it is off?
This is normal: in the on-duty mode, the outlet consumes ~0.5-1 W to maintain communication with Wi-Fi and Xiaomi servers. You can completely turn off consumption only physically (take out of the outlet).
How to reset the socket to factory settings?
Hold the button on the socket body for 10-15 seconds until the indicator flashes orange twice.
Can I manage a socket without the Internet?
Yes, but only if the phone and the outlet are on the same local network, and for this purpose, Mi Home must be enabled with Local Control.
Does Xiaomi’s outlet support Home Assistant?
Yes, through Mi Home or Aqara integration (for the respective models), you will need to get a token access to your Xiaomi account and set up a configuration file configuration.yaml.