Why Internet is Not a Problem: How Local Government Works
Xiaomi's robot vacuum cleaners are no longer just smart, they're autonomous. But what if the Internet is turned off and you don't want to cancel the cleaning? It turns out you can control the Mi Robot Vacuum, Mi Robot Vacuum-Mop 2 or even Dreame Bot without access to the cloud, and the main thing is to set up the local network between the phone and the vacuum cleaner.
In this article, we will discuss all the ways from the official Mi Home application offline to alternative programs like Valetudo or Home Assistant, and also tell you how to avoid typical errors when the vacuum cleaner “can’t see” the phone or vice versa. Spoiler: for most Xiaomi models, it is enough to connect to Wi-Fi once, then control the device exclusively over the local network.
But first, a little test: Have you ever tried to operate a vacuum cleaner without the internet?
Method 1: Official Mi Home application in local area network mode
The easiest method is to use Mi Home, but with one caveat: the vacuum cleaner must connect to your home Wi-Fi network at least once, after which it stores data about the router and can work in local mode even without access to the Internet.
Here's what we need to do:
- 📱 Make sure your phone and vacuum cleaner are connected to the same Wi-Fi network (even if the internet is off).
- 🔄 Reboot your router if the vacuum cleaner is “hanging” in the cloud (sometimes resetting helps). DHCP).
- 🔌 In the Mi Home app, open the vacuum cleaner card and wait for the words “Local control” at the top of the screen.
- 🚫 If an error “Device offline” appears, check if the router firewall blocks local traffic.
Important: some features (like voice assistant or map updates) will not work locally, but the basic commands — start cleaning, return to base, select mode — will remain available.
Connect the vacuum cleaner to Wi-Fi at least once | Make sure that the phone and vacuum cleaner are on the same network |Reboot the router if you make errors | Update the Mi Home app to the latest version | Check the status of "Local control" in the device card
-->
⚠️ Warning: If you have dropped the vacuum cleaner to the factory settings (hold the power button for 10 seconds), you will need the Internet again to reconnect to the Mi Home. Local mode works only after the first link to the account.
Method 2: Alternative applications (Valetudo, Home Assistant, DreameHome)
If Mi Home refuses to work offline, third-party solutions come to the rescue.
| Annex | Supported models | Is root/firmware required? | Functions without the Internet |
|---|---|---|---|
| Valetudo | Xiaomi Mi Robot 1S/2, Dreame D9, Viomi V3 | Yeah (Castom firmware) | Full control, maps, cleaning areas |
| Home Assistant | All models with Mi Home API support | No (integration through token) | Basic commands, automation |
| DreameHome | Dreame Bot L10, Z10 Pro, W10 | No. | Local management, maps, schedule |
For example, Valetudo is an open source firmware that completely replaces the standard vacuum cleaner software, and once installed, it is managed via a web-based interface on the local computer. IP-address (e.g, http://192.168.1.123). Disadvantage: you will have to disassemble the vacuum cleaner and sew it through USB.
But Home Assistant is for those who don't want to risk the guarantee, and you just have to get a token from Mi Home (via tools like Mi Home Token Extractor) and add a vacuum cleaner to your smart home system, and then all the commands will be sent directly over the local network.
How to get a token from Mi Home?
Method 3: Control via Bluetooth (for new models)
Some Xiaomi vacuum cleaners (such as the Mi Robot Vacuum-Mop 2 Pro or Dreame Bot L20 Ultra) support direct Bluetooth connectivity, which means that basic commands (start, stop, return to base) do not need the Internet at all.
How it works:
- Turn on Bluetooth on your phone.
- Open Mi Home and select a vacuum cleaner.
- If the device supports Bluetooth, the “Connect Direct” option will appear.
- After connecting, you can send commands without Wi-Fi.
Limitations:
- 📵 It only works at a distance of up to 10 meters.
- 🗺️ Maps and cleaning areas are not available (basic commands only).
- 🔋 Quickly drains the phone battery (permanent Bluetooth connection).
💡
If the vacuum cleaner doesn’t find your phone over Bluetooth, try turning off your smartphone’s Wi-Fi – sometimes this helps avoid connection conflicts.
Method 4: Voice assistants without the Internet (Alice, Google Assistant)
Can you control a vacuum cleaner without the Internet? Partly, yes, but with reservations. For example, Alice from Yandex offline supports only basic commands for smart devices, if they were previously associated with an account.
What works without a network:
- 🎤 «Alice, turn on the vacuum cleaner - start cleaning.
- 🏠 «Alice, bring the vacuum cleaner back to base – return to the dock.
- ⏸️ «Alice, stop cleaning. — pause.
What's not working:
- 🗺️ Cleaning by zone or room (requires cloud maps).
- 🔄 Scheduling.
- 📊 Cleaning statistics.
For Google Assistant, the situation is similar: without the internet, it will only be able to send simple commands over a local network if the vacuum cleaner was previously configured in Google Home.
⚠️ Note: If you use the Xiaomi Home App (Chinese version of Mi Home), voice control may not work in offline mode due to regional server restrictions, in which case changing the account region to China or Europe will help».
Common Mistakes and How to Fix Them
Even with the right local control setup, there can be problems, and here are the most common solutions.
| Mistake. | Reason. | Decision |
|---|---|---|
| "Device offline" at Mi Home | The vacuum cleaner does not respond to ping on the local network | Restart router and vacuum cleaner, check DHCP |
| Teams are sent but not executed | Conflict IP-address | Set the vacuum cleaner static IP in the router settings |
| Bluetooth is not connected | The version of the vacuum cleaner firmware is outdated | Update the software via Mi Home (Internet required) |
| Home Assistant can't see the vacuum cleaner | wrong token or IP-address | Check the token with Mi Home Token Extractor |
If nothing helps, try resetting the network vacuum cleaner settings:
- Hold the power button and stay home for 5 seconds.
- Wait for the sound signal (squeak).
- Connect the vacuum cleaner to the Wi-Fi again.
💡
90% of local management problems are solved by restarting the router or assigning a static router. IP-vacuum-cleaner.
How do you check if local management is working?
To make sure that the vacuum cleaner is actually managed without the internet, follow the following steps:
- Turn off the Internet on the router (or put the phone in airplane mode, leaving only Wi-Fi).
- Open Mi Home and try sending a command (e.g., Start Cleaning).
- If the command is executed, local management works.
- Check the ping vacuum cleaner from your phone: ping 192.168.X.XXX (where 192.168.X.XXX — IP-address of your vacuum cleaner, it can be found in the router settings).
If the ping passes (0% loss), but the commands do not execute, the problem is in the settings of the Mi Home or the vacuum cleaner firmware, in which case reinstall the application or reset the device will help.
💡
To find out quickly IP-vacuum cleaner address, use applications like Fing or IP Scanner for scanning the local network.