Xiaomiโs robot vacuum cleaners (including the Dreame, Viomi and Mijia brands) connect to a home Wi-Fi network for remote control via applications like Mi Home or Dreamehome. IP-The device address, for example, to set up integration with Home Assistant, manual firmware updates, or diagnose network problems. IP displayed in the settings, in vacuum cleaners this parameter is hidden.
In this article, we will discuss all the current ways of obtaining IP-Addresses for Xiaomi 2018-2026 models, including methods through the application, router, terminal and third-party utilities, with a special focus on nuances for devices with Mi Home, Dreamehome and customized firmware (for example, Valetudo). If your vacuum cleaner does not connect to the network or โhangsโ at the authorization stage, here you will find solutions for such cases.
Why do you need it? IP-Xiaomi vacuum address?
Many users mistakenly believe that IP-The address of the robot vacuum cleaner is only required by IT professionals, and it's actually useful in everyday scenarios:
- ๐ง Integration with smart home systems (Home Assistant, ioBroker, Node-RED) IP It is not possible to add the device as a local API-client.
- ๐ Manual firmware update through ADB or SSH (relevant to Dreame models D9, Xiaomi S7 etc.).
- ๐ ๏ธ Diagnostics of network problems: if the vacuum cleaner does not respond in the application, ping IP It will help determine whether the router or the device itself is to blame.
- ๐ Blocking access to the vacuum cleaner in router settings (for example, to limit traffic or protect against hacking).
Moreover, some custom firmware (for example, Valetudo for Xiaomi Vacuum Gen) 1/2) require IP-without this step, you will not be able to use alternative software with advanced features.
โ ๏ธ Attention: IP-The address of the vacuum cleaner in the local network can change if the router is turned on DHCP (Automatic address allocation: To avoid problems, secure IP behind the device in the router settings (see section 4).
Method 1: Mi Home or Dreamehome
The easiest method is to use an official application, but it doesn't work for all firmware models and versions.
- ๐ฑ Mi Home (versions 6.0 and later)
- ๐ Dreamehome (all versions)
- ๐ Xiaomi Home (for European regions)
Steps for Mi Home:
- Open the app and go to the Devices tab.
- Choose your vacuum cleaner from the list.
- Press three points (โฎ) top-right โ Settings.
- Scroll down to the General Information or Network block โ there will be a line IP-address.
For Dreamehome, the path is different:
- Launch the application and select a vacuum cleaner.
- Put it on the gear icon (โ๏ธ) top-right.
- Go to Network Settings โ Network Information.
Restart the vacuum cleaner (hold the power button for 10 seconds)
Update the Mi Home/Dreamehome app to the latest version
Check the connection of the vacuum cleaner to Wi-Fi (the indicator should burn in blue)
Reconnect the device to the network (forget the network in the vacuum cleaner settings and connect again)-->
If IP-The address is not displayed, it could mean:
- ๐ The vacuum cleaner is connected to the network via an access point (not as a Wi-Fi client).
- ๐ The device is in firmware update mode.
- ๐ซ The router includes customer isolation (AP Isolation, which blocks data exchange between devices.
Method 2: via the router web interface
If the app doesn't show IP, the most reliable way is to look at the list of connected devices in the router control panel, which works for all Xiaomi vacuum cleaners, regardless of the firmware.
Instructions for popular routers:
| Mark the router | The path to the device list | How to find a vacuum cleaner |
|---|---|---|
| TP-Link | Additional settings โ Local Network โ DHCP โ Customer List | Look for a device called roborock.vacuum., dreame.vacuum. or by MAC-address (see sticker on vacuum cleaner). |
| ASUS | Network Map โ Clients | Filter by IoT type or search by name (e.g. miio:*). |
| Xiaomi Mi Router | Devices โ Connected devices | The vacuum cleaner will be marked with an icon ๐ค sign Roborock/Dreame. |
| Keenetic | Home Network โ Devices โ | Use the search on MAC-address (indicated on the bottom of the vacuum cleaner). |
If there are many devices on the list, focus on:
- ๐ Host Name: usually contains miio, roborock, dreame or vacuum.
- ๐ข MAC-Address: Compare with the sticker on the vacuum cleaner body (format) 78:11:DC:XX:XX:XX Xiaomi).
- ๐ก Connection protocol: must 802.11 b/g/n (2.4 GHz).
โ ๏ธ Note: Some routers (such as MikroTik) hide dynamic devices by default IP. Enable the display of leased addresses in the settings DHCP-server.
Method 3: via terminal (Windows/macOS/Linux)
For power users, the quickest way is to use the command line, which is universal and works even if the vacuum cleaner is not displayed in the application.
Steps for Windows:
- Open the Command Prompt (Win + R โ enter cmd).
- Follow the command: arp -a It'll show you the match table. IP and MAC-address.
- Compare. MAC-address from the output with the address on the vacuum cleaner sticker.
For macOS/Linux:
- Open the Terminal.
- Do: nmap -sn 192.168.1.0/24 (replace 192.168.1.0/24 with your router's subnet, such as 192.168.0.0/24).
- In the results, look for a device with an open port 54321 (used by MiIO).
๐ก
If nmap is not found, install it using brew install nmap (macOS) or sudo apt install nmap (Linux).
Example of output arp -a for vacuum cleaner Xiaomi Mi Robot Vacuum-Mop 2 Pro:
Interface: 192.168.1.100 --- 0x12
Internet Address Physical Address Type
192.168.1.105 78-11-dc-ab-34-cd dynamic โ is a vacuum cleaner.If the ARP table is empty, first ping the broadcast address:
ping 192.168.1.255Method 4: Using mobile applications
If you're uncomfortable with the terminal, you can use specialized network scanning applications that show all the connected devices with IP, MAC and manufacturer.
Top.-3 Android and iOS apps:
- ๐ฑ Fing (free, premium): Scans the network in 10 to 20 seconds, shows open ports (useful for diagnostics). MAC (Like Roborock. S7).
- ๐ Network Analyzer (free): Supports ping and traceroute. Can export a list of devices to CSV.
- ๐ก๏ธ IP Tools (for Android): Includes WHOIS There's a widget for quick access to the scan.
How to use (in the example of Fing):
- Install the application and open it.
- Press Scan (button in the center of the screen).
- Wait until the scan is completed (usually 10 to 30 seconds).
- In the list, find a device named Xiaomi, Roborock or Dreame.
โ ๏ธ Note: Some applications (e.g. Fing) may request access to geodata to determine external data. IP, It's not for scanning the local network, you can deny access without losing functionality.
How to distinguish a vacuum cleaner from other Xiaomi devices on the list?
Method 5: via MiIO (for advanced users)
If you use custom firmware (like Valetudo) or want to get IP software, you can use the MiIO protocol, which all Xiaomi devices use to exchange data.
You'll need:
- ๐ป Python 3 computer and python-miio library.
- ๐ Token of your vacuum cleaner (can be obtained through the Mi Home app or the Miio extractor utility).
Instructions:
- Install the library: pip install python-miio
- Run the command to scan the network: miio discover --sync
- The results will be IP-address, token and device model.
Example of conclusion:
Device ID: 12345678
Model info: roborock.vacuum.s5
Address: 192.168.1.105
Token: 55aabbccddeeff001122334455667788 via auto-tokenThis method also allows you to control the vacuum cleaner through an API, for example, send commands:
miio --ip 192.168.1.105 --token 55aabbccddeeff001122334455667788 vacuum clean๐ก
MiIO uses port 54321. If the vacuum cleaner doesn't respond to commands, check if the port blocks the router firewall or antivirus.
Frequent problems and solutions
If none of these methods worked, check the following points:
| Problem. | Possible cause | Decision |
|---|---|---|
| The vacuum cleaner does not appear in the list of router devices | Connected to another network (such as a neighbor) | Reset your Wi-Fi settings on the vacuum cleaner (hold Home + Power for 5 seconds) and reconnect. |
| IP-There is an address, but ping does not pass | The router includes customer isolation (AP Isolation) | Turn it off in the router settings (usually in the Wireless โ Advanced section). |
| Mi Home app shows "Device offline" error | Xiaomi servers are not available (relevant to China) | Change the region in the app to Mainland China or use a VPN. |
| MAC-The address on the router does not match the sticker | The vacuum cleaner is connected via a Wi-Fi repeater | Check the MAC repeater โ it will be listed as an intermediate device. |
If the vacuum cleaner does not connect to Wi-Fi at all, try:
- ๐ Reboot router and vacuum cleaner.
- ๐ถ Switch router to 2.4 GHz mode only (Xiaomi vacuum cleaners do not support 5 GHz).
- ๐ Turn off the router. WPA3 (use WPA2-PSK).
- ๐ต Make sure that the name of the network does not have Cyrillic or special symbols.