Introduction: Why the standard method doesnβt work without a router
Xiaomiβs robot vacuum cleaners (including Mi Robot Vacuum-Mop 2 Pro, Dreame Bot Z10 Pro and Viomi V3) are traditionally connected via the Mi Home app, with the obligatory condition: a home Wi-Fi router. But what if the router is not at hand and you need to manage the device right now? For example, you rented an apartment without Internet, are in the country, or just want to test the vacuum cleaner before buying a router.
The problem lies in the MiOT protocol architecture that Xiaomi uses to connect smart devices. By default, the vacuum cleaner searches for a local network with Internet access to log in to the company's servers and get a unique DID (Device ID). Without this ID, the application will not see the device, even if it is in the range of Bluetooth. However, there are workarounds - and we will consider everything from the official to the little-known.
In this article you will find:
- πΉ Connection methods via the phoneβs hotspot (including settings for Android and iOS)
- πΉ Alternative applications that run without a router (like Valetudo for open source firmware)
- πΉ Manual methods through ADB Telnet for advanced users
- πΉ Frequent errors and their solutions (e.g. code 19406 or "offline device")
Method 1: Connect via the hotspot on the phone (Android/iOS)
The most reliable method is to turn a smartphone into a router and connect the vacuum cleaner to this temporary network, which works on all Xiaomi models released after 2018, but requires the correct DNS configuration.
Instructions for Android:
- Open Settings β Network and Internet β Access Point and modem.
- Turn on the Wi-Fi Access Point and ask: π Name of the network (SSID): Xiaomi_Vacuum_AP (gapless) π Password: minimum 8 symbols, only Latin and numbers (for example, 12345678) π‘ Range: 2.4 GHz (5 GHz is not supported)
Wi-Fi
Mi Home
+ β Adding the device β Vacuum cleaner
For iPhone, the algorithm is similar, but in the settings of the access point (Settings β Modem) you need:
- π Disable maximum compatibility (if any)
- π Set a password without special characters (for example, qwerty12)
βοΈ Checking before connection
β οΈ Warning: If the vacuum cleaner doesn't connect, check if your phone is blocking local connections, MIUI 14) you need to manually allow access to the local network in the settings of the access point.
Method 2: Using the Valetudo application (for open source firmware)
If your vacuum cleaner supports alternative firmware (for example, Viomi V3 or Dreame Z10 Pro with modified software), you can do without the Xiaomi cloud completely. Valetudo is open source software that allows you to control the vacuum cleaner through a local network without authorization on the manufacturer's servers.
Steps for installation:
- Check the compatibility of your model on the official website of Valetudo.
- Download the firmware for your model (e.g. valetudo-dreame-vacuum-mop-p2046.release-2026.05.0.zip).
- Connect the vacuum cleaner to the computer USB (will require an adapter USB-A β Micro-USB/Type-C model-wise).
- Fly the device via Telnet or SSH (the instructions are in the GitHub repository).
| Model vacuum cleaner | Valetudo support | Complexity of installation |
|---|---|---|
| Xiaomi Mi Robot Vacuum-Mop 2 Pro | β Yes (since 2023) | Medium (need root) |
| Dreame Bot Z10 Pro | β Yes. | Lightweight (via web interface) |
| Viomi V3 | β Yes. | Tall (sweater iron required) |
| Xiaomi Mi Robot Vacuum 1S | β No. | β |
β οΈ Note: Valetudo installation voids Xiaomi warranty and can result in device lock if firmware is installed incorrectly.We recommend using this method only for experienced users.
What to do if the vacuum cleaner does not turn on after the firmware?
Method 3: Manual connection via ADB (for Android)
If the access point is not working, you can try emulating the router through ADB (Android Debug Bridge), which is suitable for phones with root rights or unlocked bootloader.
Instructions:
- Connect your phone to your computer and enable USB Debugging (Settings β About Phone β Assembly Number β tap 7 times).
- Install ADB on PC (you can download from the official Android website).
- Execute commands in the terminal: adb shell settings put global tether_dun_required 0 svc wifi disable svc wifi enable This will disable the authentication of the Internet connection.
- Create an access point and connect the vacuum cleaner, as in Method 1.
If the commands didnβt work, try an alternative method through NetGuard:
- π± Install NetGuard from Google Play.
- π§ In settings, disable Internet connection check for the com.xiaomi.smarthome process.
- π Reset the access point and reconnect.
π‘
If the vacuum cleaner produces a 19406 error (βUnconnectedβ), try changing the Wi-Fi channel to 6 or 11 in the phone hotspot settings. Some Xiaomi models do not support automatic channels.
Method 4: Connect via Bluetooth (limited functionality)
Most of Xiaomiβs robot vacuum cleaners support Bluetooth Low Energy (BLE), but this protocol only allows:
- π Track the location of the vacuum cleaner (if it is lost)
- π Check the level of charge
- βοΈ Start/stop cleaning (no maps or schedules)
How to connect:
- Turn on Bluetooth on your phone and vacuum cleaner (press the Home button for 3 seconds).
- In the Mi Home app, go to Profile β Settings β Local Devices.
- Select a vacuum cleaner from the list of Bluetooth devices.
Important: Bluetooth is not possible to update maps of the premises or configure cleaning areas, and this method is only suitable for basic management.
Method 5: Connecting through third-party applications (e.g. Home Assistant)
If you have a Home Assistant smart home system installed, you can integrate a vacuum cleaner without Xiaomi cloud.
- Install Home Assistant on a Raspberry Pi or other server.
- Add the lines to configuration.yaml: vacuum: - platform: xiaomi_miio host: 192.168.1.100 # IP-vacuum address: YOUR_TOKEN_HERE (Tokens can be obtained through Mi Home or Packet Capture).
- Connect your phone and vacuum cleaner to the same local network (even without the Internet).
Advantages of this method:
- π Full control without the Xiaomi cloud
- π Advanced analytics (cleaning history, water consumption, etc.)
- π Automation (for example, starting cleaning on the motion sensor)
β οΈ Note: Token will require HTTP proxy traffic interception (e.g. Fiddler or Charles) which may violate Xiaomiβs privacy policy, so use the method at your own risk.
π‘
Home Assistant is the only way to get full control of Xiaomi vacuum cleaner without cloud and router, but requires technical skills.
Frequent mistakes and their solutions
Even with the right connection, there can be failures. Let's take a look at the most common ones.
| Mistake. | Reason. | Decision |
|---|---|---|
| 19406 ("Unable to connect to the network") | The vacuum cleaner can't get IP-address | Change Wi-Fi channel to 6 or 11, disable IPv6 in access point settings |
| "Offline device" | No connection to Xiaomi servers | Use Valetudo or Home Assistant for local management |
| Blinking red Wi-Fi indicator | Incorrect password or incompatible type of encryption | Set a password with only numbers (e.g. 1234567890) |
| Appendix "does not see" vacuum cleaner | The region in Mi Home does not coincide with the vacuum cleaner region | Change region to China (in profile settings) |
If none of the methods worked, check:
- π Charging the vacuum cleaner battery (should be) > 20%)
- πΆ Wi-Fi signal level (vacuum cleaner should be no further than 3 meters from the phone)
- π± Mi Home Version (Update to the Last)