How do you know? IP-Xiaomi robot vacuum cleaner address: from Mi Home to command line

Why Xiaomi vacuum cleaner IP-address and where to find

IP-The address of the Xiaomi robot vacuum cleaner is not just a technical detail, but the key to the advanced control capabilities of the device. SSH To install custom firmware (for example, Valetudo), integrate it into home automation systems such as Home Assistant, or even simply diagnose problems with connecting to Wi-Fi. IP displayed in the network settings, Xiaomi vacuum cleaners this parameter is hidden - but it can be calculated in several ways.

In this article, we will discuss 5 working methods, from simple (via the Mi Home app) to advanced (network scanning and networking). API-We will pay special attention to the nuances for different models - from the Xiaomi Mi Robot Vacuum of the first generation to the Xiaomi Robot Vacuum-Mop 2 Pro - and the typical errors that cause the development of the new model. IP If you've been trying to find an address and you've come across a message like Device offline or Unable to connect, here's a solution.

Method 1: View IP in the Mi Home application (official method)

The most obvious way is to look at the vacuum cleaner settings through the companyโ€™s app, but not everyone knows where to look: the new Mi Home (4.6+) versions have a deeper IP path than before.

  1. Open Mi Home and select your vacuum cleaner from the device list.
  2. Put three points on it (โ‹ฎ) top-right corner of the device screen.
  3. Go to Settings โ†’ General settings โ†’ About the program.
  4. Scroll down to the Network Information block - here will be a line IP-address.

โš ๏ธ Note: If in this section IP It's not showing, check it out:

  • ๐Ÿ”„ Is the vacuum cleaner connected to the same Wi-Fi network as your smartphone (roaming between 2.4 GHz and 5 GHz can knock the connection down).
  • ๐Ÿ“ถ Internet availability โ€“ without it, Mi Home does not update device network data.
  • ๐Ÿ”„ Application version: in Mi Home 5.0+ interface โ€” IP Maybe in the settings. โ†’ The device โ†’ Network information.
๐Ÿ“Š What version of Mi Home are you using?
3.0โ€“4.5
4.6โ€“5.0
5.1 and newer
I don't know.

If you still don't see the IP, you can go to alternative methods, and maybe the vacuum cleaner is connected to the network, but it doesn't sync with the Xiaomi servers, which is a common problem after resetting.

Method 2: Search for IP through the routerโ€™s admin panel

The router can see all the devices on its network, including the vacuum cleaner, and to find its IP, follow these steps:

  1. Open your browser and enter your router address (usually 192.168.0.1, 192.168.1.1 or 192.168.8.1).
  2. Log in (logins / passwords by default, see the sticker of the router).
  3. Find the section with the list of connected devices. Depending on the router model, it can be: DHCP โ†’ DHCP Clients (for TP-Link) Local Area Network โ†’ Connected Devices (for ASUS) Wi-Fi โ†’ Hosts (for Xiaomi Mi Router)

roborock

miio

vacuum

Model routerThe path to the device listHow to Identify a vacuum cleaner
TP-Link ArcherAdditional settings โ†’ Local area network โ†’ DHCPHost name: roborock-vacuum-* or MAC-prefix 78:11:DC
ASUS RT-ACNetwork Map โ†’ ClientsManufacturer: Beijing Roborock
Xiaomi Mi RouterWi-Fi โ†’ Devices on the networkType of device: Smart home
KeeneticHome Network โ†’ Devices โ†’Roborock S5/S6 (even if you have a different model)

โš ๏ธ Note: If the vacuum cleaner does not appear on the list, check it out:

  • ๐Ÿ”Œ Is it connected to the socket and is the Wi-Fi module turned on (some models have a separate Wi-Fi Reset button).
  • ๐Ÿ”„ Does the router block the device by MAC-This is sometimes done by โ€œsmartโ€ functions such as Parental Control).
  • ๐Ÿ“ก Do you use a guest net โ€“ some vacuum cleaners donโ€™t connect to it.

๐Ÿ’ก

If there are many unknown gadgets in the list of devices, sort them by MAC-The vacuum cleaners. Xiaomi/Roborock It usually starts with 78:11:DC, 48:E1:E9 or F4:83:E1.

Method 3: Scanning the network with applications

If the router doesn't show IP or you don't have access to its admin panel, use specialized network scanning tools to analyze all connected devices and output their IP, MAC, and other data.

Recommended annexes:

  • ๐Ÿ“ฑ Fing (Android/iOS) โ€” Free version scans to 5 Devices, paid - without restrictions.
  • ๐Ÿ–ฅ๏ธ Advanced IP Scanner (Windows) โ€“ No installation required, device manufacturer shows.
  • ๐Ÿง nmap (Linux/macOS) โ€” console utility for experienced users.
  • ๐Ÿ“ฑ Network Analyzer (Android) โ€“ Supports the export of the list of devices to the Internet CSV.

Instructions for Fing (on the example of Android):

  1. Install the application and open it.
  2. Click Scan โ€“ the program will automatically identify your network.
  3. In the list of devices, find an entry with the name roborock, miio or unknown name, but with the MAC-Manufacturer's address is Beijing Roborock Technology.
  4. Slip on the device โ€“ a card with details will open, including: IP-address.

Disconnect all unnecessary devices from Wi-Fi|Reboot the vacuum cleaner (hold the power button) 10 seconds)|Check what the scanner is looking for in the right range IP (for example, 192.168.0.1/24)|Update the base. MAC-addresses in the scanner settings-->

โš ๏ธ Note: Some antiviruses (e.g. Kaspersky) block network scanning. IP Turn off network protection in antivirus settings.

Method 4: Use the command line (for power users)

If you prefer to work through a terminal, you can find an IP vacuum cleaner using standard network utilities, which is universal and works on Windows, macOS and Linux.

For Windows:

  1. Open the Command Prompt (Win + R โ†’ enter cmd).
  2. Run a command to view all devices on the network: arp -a In conclusion, look IP s MAC-address beginning on 78:11:DC or 48:E1:E9.
  3. If arp-a has not shown a vacuum cleaner, first ping the entire range of your network (e.g., for 192.168.0.1/24): for /L %i in (1,1,254) do ping -n 1 192.168.0.%i Then re-run arp-a.

For macOS/Linux:

  1. Open the Terminal.
  2. Run a network scan using nmap (install it via brew install nmap or sudo apt install nmap): nmap -sn 192.168.0.0/24 In the results, look for a host named Roborock or MAC-address of the manufacturer Roborock.

Critical nuance: If your vacuum cleaner is connected to 192.168.1.x and you scan 192.168.0.x, it will not be found. Specify your network's IP range in router settings or via the ipconfig (Windows)/ifconfig (macOS/Linux) command.

Method 5: Getting IP through Mi Home API (for developers)

If youโ€™re integrating a vacuum cleaner into a smart home system (like Home Assistant), you can extract IP directly from the Mi Home API, which requires token devices and access to miio protocol.

Steps to get IP:

  1. Install Python and Python-miio: pip install python-miio
  2. Get your vacuum cleaner token (for example, through the Mi Home app and the Packet Capture tool on Android).
  3. Run the script to survey the device: from miio import Vacuum vacuum = Vacuum(ip="ADRESS ROUTER", token="YOUR TOKEN") print(vacuum.info()) The output will be the line 'ip': '192.168.x.x'.

โš ๏ธ Attention: Use API caution:

  • ๐Ÿ” Do not pass your token to third parties โ€“ it can be used to control your vacuum cleaner.
  • ๐Ÿ”„ After updating the firmware vacuum cleaner token can be reset.
  • ๐Ÿ“ก If the vacuum cleaner is offline, API DeviceTimeout error will return โ€“ check the network connection first.
How to get a token without a root?
If you have an Android smartphone, install the Packet Capture app, start capturing traffic, open Mi Home and wait for the vacuum to sync. In the logs, search for api.io.mi.com and it will have the line "token": "...".

The solution to the problem is why the IP is not in place or constantly changing

Sometimes. IP-The vacuum cleaner's address "disappears" or changes with each connection:

Problem.Reason.Decision
IP is not displayed in Mi HomeThe vacuum cleaner did not sync with the servers XiaomiRestart the vacuum cleaner and router, wait for the status update in the application
IP changes after rebootingDHCP-The router server provides dynamic addressesReserve. IP post MAC-vacuum cleaner address in router settings
Vacuum doesn't respond to pingActive power saving function or router firewallTurn off the Green Network in the router or add a vacuum cleaner in exceptions
IP found, but no connection is establishedDo Not Disturb Vacuum or Wi-Fi DisabledPress the Wi-Fi Reset button on the vacuum cleaner (3 seconds) to reconnect

If none of the methods worked, reset the network settings of the vacuum cleaner:

  1. Press and hold the Power + Home button (or Wi-Fi Reset, if any) for 5-10 seconds.
  2. Wait for the beep (usually two short beeps).
  3. Connect the vacuum cleaner to the network again through Mi Home.

๐Ÿ’ก

If the vacuum cleaner is connected to Wi-Fi, but the IP is not determined by any means, the problem is most likely in the router. Try connecting the vacuum cleaner to another network (for example, a mobile hotspot) and repeat the IP search.

FAQ: Frequent questions about IP-Xiaomi vacuum cleaner addresses

Can I find out the IP vacuum cleaner without connecting to Wi-Fi?
No. IP-The address is assigned to the device only after it's connected to the local network, and if the vacuum cleaner is not connected to Wi-Fi, it doesn't have any. IP. In this case, first set up the connection via Mi Home.
Why does the IP vacuum cleaner start with 169.254.x.x?
It's APIPA-Address: Automatic Private IP Addressing), which is assigned to a device if it is unable to receive IP from DHCP-Reasons: The router is disabled or not giving out IP (check the settings DHCP). The vacuum cleaner is connected to a non-existent network (for example, after resetting the router). AP Isolation: Solution: Reboot router and vacuum cleaner, check settings DHCP.
How to fix static IP behind a vacuum cleaner?
There are two ways: through the router: Find MAC-vacuum cleaner address (for example, in Mi Home or through a network scanner) and reserve for it IP customized DHCP Manually vacuumed: Some models (e.g. Roborock) S7) maintain static IP through SSH. Connect to the vacuum cleaner and edit the file /etc/network/interfaces. โš ๏ธ After reservation IP reboot the vacuum cleaner.
Can I control the vacuum cleaner over IP without Mi Home?
Yeah, but it requires a token device. IP You can send commands to the token via: miio protocol (for Python scripts), Home Assistant (for Xiaomi Miio integration), Node-RED (for automation). --ip 192.168.0.100 --token YOUR_TOKEN clean
Why does the vacuum cleaner lose IP after updating the firmware?
A firmware update can reset network settings if: The new version changed the connection protocol (for example, from miio to miot), reset to factory settings (sometimes a firmware bug). Changed. MAC-Solution: Re-bind the vacuum cleaner to Mi Home or manually assign it. IP router.