Connecting Xiaomi Vacuum Mop P to Smartphone and Wi-Fi: Full Instruction with Error Solutions

Xiaomi Vacuum Mop P (STYJ02YM and STYTJ01ZHM) has become one of the most popular cleaning automation solutions thanks to a combination of powerful suction, wet cleaning and integration into the Mi Home ecosystem. However, many users face difficulties already at the first connection stage: the device does not find the network, the application does not see the robot, or the pairing process is cut off at half. This article will help to understand all the nuances of connection – from basic configuration through the official application to alternative methods for experienced users.

We will look at not only the standard procedure through Mi Home, but also the options for connecting via Google Home, Apple HomeKit (with restrictions), as well as solutions for cases when the robot refuses to connect to Wi-Fi. Particular attention is paid to common errors such as router frequency incompatibility, blocking MAC- addresses or firmware failures. If you have already tried to connect the vacuum cleaner and received a message like β€œDevice is not responding” or β€œCan’t be added” – here you will find specific steps for diagnosis.

Important: the instruction is relevant for firmware Xiaomi Vacuum Mop P version 3.5.8_004026 and later. For older versions (before 2022 years), additional steps may be required to update the software via Mi Home or manually.

1.Preparation for connection: what to check before starting

Before you start pairing, make sure that all external factors meet Xiaomi’s requirements.About 30% of connection problems arise from non-compliance with basic conditions:

  • πŸ“Ά Wi-Fi frequency: The robot only supports 2.4GHz networks. If your router is running in 5GHz or 2.4+5GHz (Auto), you need to manually switch to 2.4GHz or create a separate network for IoT devices.
  • πŸ”’ Encryption type: WPA2-PSK (AES) Antiquated protocols (WEP, WPA) or modern protocols (WPA3) are not supported.
  • πŸ“± Application version: use the latest version of Mi Home (at least 6.5.400). For users from Russia, link your account to the "Russia" region in your profile settings.
  • πŸ”‹ Battery charge: The robot must be at least 20 percent charged, and at a level below 15 percent, the system blocks pairing.

If you are using a dual-band router (such as the TP-Link Archer C6 or Keenetic), check if the "Smart Connect" feature is enabled, which you need to disable in the router's web interface and create a separate 2.4 GHz network with a unique name (SSID).

⚠️ Attention: Some providers (such as Rostelecom or Beeline) default to 2.4GHz routers to save channels. Go to the router control panel (usually at 192.168.0.1 or 192.168.1.1) and activate this frequency.

πŸ“Š Which router do you use to connect smart devices?
TP-Link
Keenetic
ASUS
Zyxel
D-Link
Other

2. Standard connection via Mi Home: step-by-step instructions

The official method of pairing is through the Mi Home app (available for Android and iOS). Follow the instructions strictly by step - skipping any stage can cause a failure.

  1. Installation of the app: Download Mi Home from Google Play or App Store. Register an account or sign in through an existing one.
  2. Adding device: Press "+" β†’ "Add device" β†’ "Vacuum cleaner." Select the Xiaomi Vacuum Mop P model (if it is not listed, select "Other" and enter the name manually).
  3. Pair mode activation: Press and hold the power button on the robot body for 5 seconds until you hear an audible beep (two short beeps). The Wi-Fi indicator on the vacuum cleaner will flash orange.
  4. Network Connection: In the app, select your 2.4GHz network and enter a password.The robot will temporarily connect to your smartphone via hotspot to transfer data.
  5. Configure: Wait for the message "Device added." The process can take up to 3 minutes - do not close the application!

If at the stage of connecting to Wi-Fi there is an error "I failed to connect to the network", check:

  • πŸ”„ Restart the router (turn off power for 30 seconds).
  • πŸ“΅ Make sure that the router has turned off Client Isolation.
  • πŸ” Temporarily disable MAC- filtering and firewall in router settings.

Is the power saving mode on the smartphone turned off?|Robot is over 20 times charged%?|Router rebooted?|The Mi Home app selects the region "Russia"?|2.4 GHz and 5 GHz Wi-Fi networks have different names (SSID)?-->

3. Alternative ways to connect: Google Home and HomeKit

While Xiaomi Vacuum Mop P doesn’t officially support Apple’s HomeKit, it can be integrated into the Google Home ecosystem or use iOS workarounds through third-party services.

Connecting to Google Assistant

To manage your voice through Google Home:

  1. Open the Google Home app and click "+" β†’ "Set up your device" β†’ "Is there a device already?"
  2. Select Xiaomi from the list of brands and log in through your Mi Home account.
  3. Allow access to the device data. The robot will be on the list in 5-10 minutes.

Now you can use commands like:

  • 🎀 OK Google, turn on the vacuum cleaner in the living room.
  • 🎀 OK Google, set the cleaning power to maximum.

Unofficial integration with HomeKit (for advanced ones)

For iPhone owners, there is a workaround through Home Assistant or the HomeBridge plugin:

  1. Install HomeBridge on a Raspberry Pi or a computer with Node.js.
  2. Add the homebridge-mi-roborock plugin via the command: npm install -g homebridge-mi-roborock
  3. Configure config.json by specifying the access token from Mi Home (it can be obtained through MiIO Token Extractor).

⚠️ Warning: Unofficial methods of integration with HomeKit may violate the warranty of Xiaomi.In addition, after updating the firmware of the robot, the access token may reset, and the procedure will have to be repeated.

How to Get Mi Home Token for HomeBridge
1. Install the "Packet Capture" app on Android or use Fiddler on PC. 2. Log in Mi Home and search the API request with the token in the logs. 3. Copy the string after "token=" - this is your unique key.

4. Solving common connection errors

Even if all conditions are met, users face typical problems, and below is a table with errors and ways to fix them:

Mistake.Possible causeDecision
"Device is not responding."The robot is discharged or in sleep modeConnect to the docking station for 10+ minutes, then repeat the pairing
"I couldn't connect to Wi-Fi."Incorrect router settings (WPA3, hidden SSID)Switch to WPA2-PSK, disable network cover
"Error code: -1."Xiaomi servers are overloaded or blockedTry again in 15-20 minutes or use a VPN.
The device is already linked to another account.The robot was in use and not dropped.Reset: Hold the power button for 10 seconds before the beep

If the robot outputs "Error Code: 12," it indicates that regional settings are incompatible.

  1. In Mi Home, go to your profile and change region to China (even if you are in Russia).
  2. Remove the device from the list and add again.
  3. After successful connection, return the region back to Russia.

πŸ’‘

If the robot persists in not connecting to Wi-Fi, try creating a guest network on the router with minimal security settings (no MAC filtering, with a simple password).

5. Connect to third-party applications: Roborock, Home Assistant

The official Mi Home app isn't always easy to manage, with alternative solutions offering advanced features such as zoning, a day-of-week schedule or integration with other smart devices.

Roborock app (for Roborock firmware models)

Some versions of the Xiaomi Vacuum Mop P (for example, for the European market) support the branded Roborock app:

  1. Download Roborock from Google Play.
  2. Register (you can use the same account as you do on Mi Home).
  3. Press + β†’ Add device and select a model. Follow the instructions similar to Mi Home.

Benefits of Roborock:

  • πŸ—ΊοΈ More accurate maps with 3D- modeling support.
  • ⏱️ Flexible schedule settings (e.g. even-day cleaning).
  • πŸ”§ Extended suction and wet cleaning parameters.

Home Assistant: Full control of the robot

For automation enthusiasts, Home Assistant allows you to create complex scenarios, such as:

  • 🏠 Start cleaning in the absence of a house (by geolocation).
  • 🌑️ Cleaning when humidity drops below 40% (integrate with sensors).
  • πŸ”„ Automatic change of modes depending on the time of day.

To set up, add to configuration.yaml:

vacuum:


- platform: xiaomi_miio




host: IP_ADRESS ROBOT




token: YOUR TOKEN

πŸ’‘

Using Home Assistant requires a static IP- address for the robot. Set up DHCP reservation in the router to avoid loss of communication.

6.Firmware Update: Why It's Important for Connection

Xiaomi Vacuum Mop P robots with firmware older than the 3.3.9_003014 version may have a critical Wi-Fi module error, which causes the device to lose connection every 2-3 day. The firmware update solves this problem, as well as adds new features (for example, voice support for Alice from Yandex).

To update the software:

  1. Open Mi Home and go to the robot card.
  2. Press "..." β†’ "Device settings β†’ Firmware update."
  3. If the update is available, confirm the installation. Don't interrupt the process! The robot will restart automatically.

If the update is suspended during the "Preparation for installation" stage:

  • πŸ”Œ Disconnect the robot from the docking station and reconnect.
  • πŸ“Ά Reconnect to another Wi-Fi network (e.g., a mobile access point).
  • πŸ”„ Restart the router and try again.

⚠️ Warning: Once upgraded to 3.5.8_004026 and above, the robot may require re-pairing with the app. Keep a backup of the cleaning cards in advance if they are important!

7.Security: How to protect a robot from hacking

Xiaomi's smart devices have been targeted by hackers a number of times, and in 2023, a vulnerability in the MiIO protocol was discovered that allows remote control of robot vacuum cleaners to minimize the risks:

  • πŸ” Change your Wi-Fi password: Use a complex password (at least 12 characters with numbers and special signs).
  • 🌐 Disable Remote Access: In Mi Home, go to Profile β†’ Settings β†’ Remote Access and deactivate the option.
  • πŸ“‘ Create a separate network for IoT: Set a separate VLAN for smart devices in the router.
  • πŸ”„ Regularly update your firmware: enable automatic updates in the robot settings.

If you suspect that the robot has been hacked (for example, it started cleaning without a command or changed settings), do:

  1. Reset to factory settings (hold the power button for 10 seconds).
  2. Change your password from your Mi Home account and Wi-Fi network.
  3. Check the list of connected devices in the router for unknown MAC- addresses.

FAQ: Frequent questions about connecting Xiaomi Vacuum Mop P

Can I connect a robot to Wi-Fi without a smartphone?
No, you need to use Mi Home or Roborock on your smartphone for initial pairing, but once set up, you can control the vacuum cleaner via Google Assistant or Yandex Alice without using your phone directly.
The robot connects to Wi-Fi, but it shuts down immediately. What do we do?
This is a problem for networks that are enabled IPv6 or 802.11r (Fast Roaming). Disable these options in the router settings. Also check if the antivirus (for example, Kaspersky or Avast) blocks the traffic of the device.
How to reset the robot to factory settings if it does not respond?
If the robot doesn't respond to commands and doesn't connect to the application: Turn off power (remove the battery for 1 minute if possible). Hold the power button for 15 seconds until the beep (long beep). Connect to charging and re-pair. If that doesn't work, contact the service center - there may be a malfunction of the Wi-Fi module.
Can you use a robot without an internet connection?
Yes, the basic functions (manual cleaning, mode selection) work without Wi-Fi, but you lose: Remote control via the app; firmware and map updates; Integration with voice assistants; For local management without the Internet, you can use Home Assistant in offline mode.
Does Xiaomi Vacuum Mop P support work with Yandex Alice?
Yes, but with reservations: Officially supported only models with firmware 3.5.8_004026 and later. You need to link your Mi Home account to Yandex in the application settings. Commands are limited to the basic functions: "Start cleaning", "Go back to base." For advanced management (for example, "Clean the kitchen") you need Home Assistant or Roborock.