Connecting Xiaomi fan to Wi-Fi and Mi Home: full instruction with error solutions

Xiaomi fans are among the most popular smart home devices due to their combination of affordable prices, modern design and extensive remote management capabilities. However, the process of connecting them to the Mi Home app or alternative platforms (such as Google Home or Apple HomeKit) often raises questions among users, and it is especially difficult to figure out how to set up Wi-Fi if the router uses non-standard security settings or the device was previously tied to another account.

In this article, we will take a closer look at all the steps of connecting Xiaomi fans (including Mi Smart Fan, Smartmi Fan, Dreo, and others) – from device preparation to integration with voice assistants. You will learn how to avoid typical errors (for example, Error 10040 or Device offline), what router settings can interfere with connection, and what to do if the fan is not identified in the application.

If you have just purchased a Xiaomi fan or are planning to buy one, this guide will help save time and avoid common problems. For experienced users, advanced settings are provided, including working with Token devices and manually adding through Mi Home. API.

1. Preparation of the fan Xiaomi to connect

Before you start setting up, make sure your device is ready to connect, and most problems arise from missing steps at this point.

The first thing you need to do is check the equipment. In the box with the Xiaomi fan should be:

  • πŸ“¦ Fan itself (with or without blades, depending on the model).
  • πŸ”Œ Power supply (if the model does not run on battery).
  • πŸ“„ Instructions in Chinese/English (often with a QR-Download code for Mi Home).
  • πŸ”‘ A short connection guide (sometimes on a separate sheet).

Pay special attention to the power supply. Some models (e.g. Smartmi Fan) 2S) require connection to a voltage outlet 220V, While portable fans (such as Mi Portable Electric Fan) operate from USB Connecting the device to an inappropriate power supply may cause firmware failure or physical failure.

Also check that the fan body has a power button or touch panel – without it, the device will not turn on even after a successful connection to Wi-Fi. On some models (for example, Dreo Tower Fan), the button is hidden under the top cover.

πŸ’‘

If your Xiaomi fan has been previously used by another owner, reset to factory settings. To do this, hold the power button for 10-15 seconds until the indicator flashes quickly (usually in yellow or blue).

2. Installation and configuration of the Mi Home app

The Mi Home app (also known as Xiaomi Home) is the official tool for managing all devices in the Xiaomi ecosystem, and can be downloaded for free from the App Store or Google Play, but there are a few nuances:

  • 🌍 Account Region: Select Russia (or China mainland if you plan to use Chinese firmware) when registering, and the region depends on the functionality available and compatibility with voice assistants.
  • πŸ“± App version: Outdated versions of Mi Home (below 6.0) may not support new fan models.Update app before plugging in.
  • πŸ”’ Permits: Give Mi Home access to geolocation, Wi-Fi and notifications, without which device connectivity will be impossible.

After installation of the annex:

  1. Register a new account or sign in to an existing one (via email, phone number or Mi Account).
  2. Go to the Profile section β†’ Settings β†’ Region and select Russia (unless it is set by default).
  3. Return to the main screen and press. + β†’ Add the device.

If you already have other Xiaomi devices (like light bulbs or sensors), they will show up on the home screen.A fan is added similarly - through category search or scanning. QR-code.

πŸ“Š What kind of smart home ecosystem do you use?
Only Xiaomi Mi Home
Google Home
Apple HomeKit
Home Assistant
Another.
I don't use it.

3. Step-by-step connection of the fan to Wi-Fi

Now, to the most important step, connecting the fan to your home network, the process may vary slightly depending on the model, but the overall pattern is the same for most devices.

Step 1. Turn on the fan.

  • Connect the device to the outlet (or insert batteries if it is a portable model).
  • Press the power button on the body. Some models (such as the Mi Smart Standing Fan 2) have the button combined with the touchpad.
  • Wait until the indicator flashes orange or blue, which means that the device is ready to pair.

Step 2. Start adding the device to Mi Home:

  1. Open Mi Home and press + β†’ Add the device.
  2. Select the Fans category (or enter the model name manually in the search bar).
  3. Follow the instructions on the screen. The app will prompt you to connect to the device's time network (the name usually begins with the device's time network). Xiaomi_ or Smartmi_).

Step 3: Connect to your home Wi-Fi network:

  • Go back to the basic Wi-Fi settings on your phone and connect to your home network (unless the app did so automatically).
  • Make sure the router is running in 2.4 GHz mode – most Xiaomi fans don’t support 5 GHz.
  • Wait for the message of a successful connection. The fan should appear in the list of devices in the Mi Home.

The router is running in 2.4 GHz mode|

The fan is on and flashes the indicator|

Mi Home app updated to latest version|

The phone is connected to the same Wi-Fi network as the fan|-->

If there is an error at some point (for example, you failed to connect to the device), try:

  • πŸ”„ Reboot the router and fan.
  • πŸ“Ά Move the phone closer to the router (sometimes a weak signal interferes with pairing).
  • πŸ” Temporarily shut down WPA3 in the router settings (use) WPA2-PSK).

4. Fan setup via Mi Home: basic features

Once successfully connected, the fan will appear in the main Mi Home menu. Click on its icon to open the control panel. Depending on the model, the following options can be available here:

FunctionDescriptionAvailable on models
Speed adjustmentSmooth or step setting of turns (usually from 1 to 100%).All models.
Timer.Automatic shutdown after a predetermined time (from 1 to 12 hours).Mi Smart Fan, Smartmi 2/3, Dreo
Sleep regimenGradual reduction of speed for comfortable sleep.Smartmi Fan 2S, Dreo Tower Fan
Oscillation (oscillation)Automatic rotation of the body for uniform blowing.Mi Standing Fan, Smartmi 3
Voice controlIntegration with Alice, Google Assistant or Siri.All models with Wi-Fi

For example, the Smartmi Fan 3 has a Natural Wind mode that simulates the variable airflow rate, as in the natural environment.

  1. Open the device card in Mi Home.
  2. Click on the icon. βš™οΈ (Settings).
  3. Select Wind Mode β†’ Natural.

You can also activate Child Lock, which blocks physical buttons on the fan body, which is useful if you have small children or pets in the house.

How to reset the fan settings if it does not connect?
If the Xiaomi fan has previously been tied to another account or does not respond to connection attempts, perform a full reset: 1. disconnect the device from the power. 2. Press the power button and hold it for 15-20 seconds (even after turning it on). 3. The indicator should start flashing quickly red - this is a reset signal. 4. Connect the fan again and repeat the pairing procedure. Attention: after resetting, all user settings (timers, modes) will be deleted.

5. Solving common connection errors

Even with all the steps done correctly, users often encounter errors, and let's look at the most common ones and how to fix them.

Error 10040: "I failed to connect to the device"

This error usually occurs due to:

  • πŸ“Ά Incorrect Wi-Fi mode (router only runs on 5 GHz).
  • πŸ”’ Blocking ports with firewall or antivirus.
  • πŸ“± The outdated version of Mi Home.

Decision:

  1. Switch the router to 2.4 GHz mode or enable support for legacy devices.
  2. Temporarily turn off the firewall on your phone/router.
  3. Update your Mi Home to the latest version.

Mistake: "Device offline"

If the fan is connected, but after a while it became unavailable:

  • πŸ”„ Restart router and fan.
  • πŸ“‘ Check if your Wi-Fi password has changed.
  • 🌐 Make sure the fan is not connected to the guest network (some routers block interaction between devices in guest mode).

Error: β€œI failed to get the device token”

This problem is typical of devices previously linked to another Mi Home account.

  1. Perform a full fan reset (see spoiler above).
  2. If the reset doesn’t help, ask Xiaomi to untie the device from the previous owner (a check or serial number will be required).

πŸ’‘

If the Xiaomi fan doesn’t connect despite all attempts, check it out. MAC-Filtering on the router. Some models are blocked due to restrictions on the router. MAC-address.

6. Alternative methods of control of the fan

Not all users are comfortable using Mi Home. Fortunately, Xiaomi fans support integration with other smart home platforms.

Google Home / Google Assistant

To control the fan through Google Home:

  1. Open the Google Home app.
  2. Press. + β†’ Set up the device β†’ Already tuned in?.
  3. Choose Xiaomi Mi Home from the list of compatible services.
  4. Log in to your Mi Home account and allow access.

After that, the fan will appear in Google Home and you can control it with your voice (e.g., β€œOK Google, turn on the fan at 50%”).

Apple HomeKit

Xiaomi fans don’t officially support HomeKit, but they can be connected over a bridge (like Home Assistant or the HomeKit). HOOBS). For that:

  1. Install Home Assistant on a Raspberry Pi or other server.
  2. Add Mi Home integration through HACS.
  3. Get your Xiaomi account Token (instructions are available on the Home Assistant forums).
  4. Set up a bridge between Mi Home and HomeKit.

Local management without cloud

If you are not satisfied with the dependence on Xiaomi servers, you can control the fan through the local network using the MiIO protocol.

  • Install the Mi Home app on Android.
  • Get Token and Device ID Fan via Packet Capture (instructions are available on the 4PDA).
  • Use Python scripts or Home Assistant to send commands directly.

πŸ’‘

For the Smartmi Fan 3 and Dreo models, there is an informal Smartmi Fan Controller software (available on GitHub) that allows you to control a device without Mi Home over a local network.

7. Compatible with other Xiaomi devices

Xiaomi fans integrate perfectly with other devices in the ecosystem, allowing you to create complex automation scenarios.

  • 🌑️ Automatically turn on at high temperature. If you have a Xiaomi Temperature & Humidity Sensor, you can configure the rule: "If the temperature is high, then you can set the rule: > 25Β°C, turn on the fan at 70%".
  • πŸšͺ The bundle with the motion sensor, the fan will turn on when you enter the room and turn off 30 minutes after you leave.
  • πŸ’‘ Synchronization with lighting. For example, the fan and the Yeelight lamp are switched on simultaneously on the command "Alice, Mode Mode Mode".

To set up automation:

  1. Open Mi Home and go to Automation (or Scripts)
  2. Press. + β†’ Create a script.
  3. Select a condition (for example, temperature) > 25Β°C) and action (Set the fan on).
  4. Save the script and activate it.

Xiaomi fans can also be linked to smart outlets (such as Xiaomi Smart Plug) to control power consumption or turn off power on a schedule.

πŸ’‘

For stable automation, make sure that all Xiaomi devices are connected to the same Mi Home account and are located in the same region (e.g. Russia).

Xiaomi’s fan range includes both budget desktop models and premium flooring devices with advanced features.

ModelTypeFeaturesPrice (2026)
Mi Smart Standing Fan 2Floor-like7 blades, wobble at 120Β°, Control via Mi Home, timer.5,000 β‚½
Smartmi Fan 3Floor-likeNatural Wind Mode, Display, Google Home Compatibility7,500 β‚½
Mi Portable Electric FanPortableWork from USB/battery, folding structure, 3 speed.2,500 β‚½
Dreo Tower FanTowerQuiet engine, remote control, integration with Alexa.9,000 β‚½

When choosing a model, pay attention to:

  • πŸ“ Size and type: table fans are suitable for small rooms, floor fans for bedrooms and living rooms.
  • πŸ”Š Noise level: Tower fans (such as Dreo) are usually quieter than classic fans.
  • πŸ”‹ Power supply: Portable models are convenient for travel but require regular charging.

If you want maximum automation, choose MiOT-enabled models (like the Smartmi Fan 3) – they’re better integrated with other Xiaomi devices.

How to distinguish the original fan Xiaomi from a fake?
Fake Xiaomi fans often have: - Low-quality plastic with a pungent smell. - No QR-- Inconsistency of serial number (can be checked through Mi Home). - Low price (30-50% cheaper than official sellers). Buy devices only from authorized retailers (for example, Xiaomi Store, Svyaznoy, M. Video) or on sites with buyer protection (Wildberries, Ozon).

FAQ: Frequent questions about Xiaomi fans

πŸ”Ή Why Xiaomi fan doesn’t connect to Wi-Fi, even though router runs in 2.4 GHz mode?
The problem may be the router's security settings. Try: Disable WPA3 leave only WPA2-PSK. Temporarily shut down MAC-Filtering. Make sure the network name doesn't have Cyrillic symbols or spaces. If it doesn't work, try connecting the fan to another network (e.g., via a mobile hotspot).
πŸ”Ή Can you control the fan Xiaomi without the application Mi Home?
Yes, there are several alternatives: via Google Home or Apple HomeKit (bridge required); via Home Assistant with MiIO integration; via Tasker (Android) with AutoMi plugin; and some models support control via Infrared remote (e.g. Dreo Tower Fan).
πŸ”Ή How to Reset Xiaomi Fan if It Doesn't Respond to the Buttons?
Do a hardware reset: Turn the fan off the power. Press the power button and, without letting it go, plug the device into the socket. Hold the button for another 10 to 15 seconds until the light flashes quickly. If that doesn't help, contact the service center - the control board may be faulty.
πŸ”Ή Why Xiaomi fan periodically disconnects from Wi-Fi?
Frequent causes: Weak Wi-Fi signal (move router closer or use repeater); Automatic power saving switch off on router (disable Wi-Fi Multicast Filtering); Conflict IP-Addresses (set up static) IP Also check if the Wi-Fi password has changed, in which case the device will lose communication.
πŸ”Ή Can I use a Xiaomi fan on the street or in the bathroom?
Most Xiaomi fans are not designed to be used in high humidity or rain. IPX4 (For example, Mi Portable Fan 2, which are spray-proof. For the street, it is better to choose specialized outdoor fans with protection. IP54 higher.