How to Manage Xiaomi Devices from a Computer: Full Guide 2026

Remote management of Xiaomi equipment from a computer opens up a lot of possibilities, from transferring files without cables to debugging a smartphone or configuring a smart home through a large screen. But how to do this correctly so as not to encounter connection errors or compatibility problems? In this article, we will analyze all the current methods, from standard tools to specialized software, as well as nuances for different types of devices: smartphones, TVs, routers and gadgets of the Mi Home ecosystem.

Many users mistakenly think that to manage Xiaomi with a PC is enough USB-And in practice, it depends on the purpose: do you just need to transfer files, mirror the screen, debug through the interface? ADB We've put together proven methods based on the latest updates from 2026, from official solutions to workarounds for older models.

Before you start, check if your device meets the minimum requirements:

๐Ÿ“Š What Xiaomi device you want to connect to your PC?
Smartphone (Redmi/POCO/Mi)
Television (Mi TV)
Router (Mi Router)
Smart home (lamps, cameras, sensors)
Other

1. Xiaomi smartphone control via USB (ADB and Mi PC Suite)

The most reliable way to connect a Redmi, POCO or Mi smartphone to a computer is to use USB debugging mode (ADB), which will allow you not only to transfer files, but also to control the device through the command line or specialized programs.

First, activate the developer option:

  1. Go to Settings. โ†’ The phone.
  2. Tap 7 times on the MIUI version.
  3. Back to Settings โ†’ Additionally. โ†’ For developers.
  4. Enable USB Debugging and USB Installation.

Now connect your smartphone to your PC via cable (preferably original!) and install the drivers:

  • ๐Ÿ”น Xiaomi drivers (select your model).
  • ๐Ÿ”น Android SDK Platform-Tools (to work with the ADB).

Check the connection by the team:

adb devices

If you get the serial number of the device, you're done.

  • ๐Ÿ“ฑ Control your smartphone via Vysor or scrcpy (screen mirroring).
  • ๐Ÿ“‚ Transfer files via adb push/pull.
  • ๐Ÿ”ง Install APK phone-free.

๐Ÿ’ก

If adb devices canโ€™t see the device, try changing USB connection mode to File Transfer (MTP) in the smartphone notification curtain.

2. Wireless control of the smartphone (Wi-Fi ADB and Mi Remote)

You want to mess with the cables? Connect Xiaomi to your PC over Wi-Fi!

  1. Activate Debugging over USB (as in the previous section).
  2. Connect your smartphone to your PC via cable and do:
adb tcpip 5555


adb connect [IP- address phone]:5555

Where [IP-Phone address โ†’ The phone. โ†’ General information โ†’ Status. โ†’ IP-address.

Once you've successfully connected, you'll turn off the cable, and you'll be able to control it over the air, and importantly, this only works on one Wi-Fi network, and you'll need to repeat the adb connect command when you reboot your phone.

To simplify the process, use:

  • ๐Ÿ–ฅ๏ธ Mi PC Suite โ€“ official backup software, updates and file transfer.
  • ๐Ÿ“ฑ Mi Remote โ€“ application for controlling PC from a smartphone (feedback).

Smartphone and PC connected to the same Wi-Fi network

USB debugging enabled

Installed ADB drivers on PC

Remembered. IP-phone-->

3. Controlling Xiaomi TV from a computer

Mi TVs (series A2, P1, Q2, etc.) support control from PC through:

  1. The Mi Home app (for the smart home)
  2. DLNA (media streaming) protocol.
  3. ADB for Android TV (advanced settings)

To start, turn on USB debugging on your TV:

  1. Go to Settings โ†’ Device โ†’ About the device.
  2. Slap 7 times on the Assembly Number.
  3. Go back to Settings โ†’ For developers and activate Debugging over USB.

Connect the TV to your PC over the network and use commands:

adb connect [IP-address TV]:5555


adb shell input keyevent [code buttons]

Examples of button codes:

Action.Code.
Volume +24
Loudness.25
Turn on/off26
Home.3
Back up.4

To manage media, use a VLC with DLNA or Kodi support.

How do you know? IP-Xiaomi TV address?
Go to Settings โ†’ Network โ†’ Network status. IP will be listed under Local Area Network. If the TV is connected over Wi-Fi, make sure the PC is on the same network.

4. Xiaomi Smart Home Control via PC

Xiaomi smart devices (Yeelight, Aqara, Mi Robot Vacuum, etc.) are managed via Mi Home or Mi Home API.

  • ๐ŸŒ Web version of Mi Home (limited functionality).
  • ๐Ÿ’ป Mi Home Assistant โ€“ an unofficial client for the Windows/Mac.
  • ๐Ÿ“Š Home Assistant โ€“ Automation System with Xiaomi Support.

To work with the API, you need a device token, and you can get it through:

  1. Mi Home (Charles Proxy traffic interception)
  2. Script get_token.py.

Example of a command to control the Yeelight lamp:

miio --ip 192.168.1.100 --token YOUR_TOKEN power on

๐Ÿ’ก

Xiaomi device tokens are tied to your Mi Account. When you change your password or region, the token is reset!

5. Control of Xiaomi router from computer

Mi Routers (e.g. AX6000, 4A Gigabit) have a web interface to configure with a PC.

  1. Connect to the router network.
  2. Enter 192.168.31.1 or miwifi.com.
  3. Log in (login and password from the sticker on the router).

For advanced settings (such as OpenWRT firmware), use SSH:

ssh root@192.168.31.1


Password: Admin (or your current password)

Official management software:

  • ๐Ÿ–ฅ๏ธ MiWiFi (Windows/Mac).
  • ๐Ÿ“ฑ Mi WiFi App (for the first time) Android/iOS).

๐Ÿ’ก

If you canโ€™t log into the routerโ€™s web interface, reset it with the Reset button (hold 10 seconds).

6. Solving Connection Problems

Frequent mistakes and their solutions:

Problem.Decision
ADB: device unauthorizedOn the smartphone, confirm the debugging permission (pop-up window).
PC does not see the smartphone on USBTry another cable/port, install drivers manually through Device Manager.
Mi Home does not connect to the deviceCheck the region in your account settings (should match the region of your device).
The TV doesn't respond to ADB-teamReboot the TV and repeat adb connect.

If a Xiaomi device is locked (for example, after a reset), you may need to unlock the bootloader through the Mi Unlock Tool.

โš ๏ธ Attention: unlocking the bootloader resets all data on the device and may take away warranty.For new models (e.g. Xiaomi) 13) wait 7-168 hours after account link.

7. Alternative management programmes

In addition to official tools, there are third-party solutions:

  • ๐Ÿ–ฅ๏ธ AirDroid - Remote management and file transfer.
  • ๐ŸŽฎ ApowerMirror โ€“ mirroring the screen of a smartphone.
  • ๐Ÿ”ง TeamViewer QuickSupport โ€“ support for Xiaomi devices.

For developers, it is useful:

  • ๐Ÿ› ๏ธ Android Studio (built-in) ADB and emulators).
  • ๐Ÿ“ฆ Scrcpy โ€“ Open source software for mirroring without delay.

When choosing a program, pay attention to:

  • ๐Ÿ”’ Availability of encryption (especially for smart home).
  • ๐Ÿ“ฅ Compatible with your Xiaomi model.
  • ๐Ÿ’ฐ Presence of paid features (for example, recording the screen in AirDroid).

๐Ÿ’ก

For maximum security, use official Xiaomi tools or open source software (such as scrcpy).

FAQ: Frequent questions

Can you run Xiaomi with a Mac?
For ADB, install Android Studio or use Homebrew: brew install android-platform-tools For Mi PC Suite, use a Windows emulator (e.g. Parallels).
How to run Xiaomi without root rights?
Root is not required for: Basic control via ADB. Screen Mirror (scrcpy, Vysor). Smart home management via Mi Home. Root may only be needed for deep system changes (e.g., removing embedded applications).
Why does the PC not see Xiaomi on Wi-Fi ADB?
Check: Smartphone and PC are connected to the same network (not to different bands 2.4/5 GHz!). Windows Firewall does not block port 5555. The smartphone is enabled Developer Mode and Wi-Fi Debugging. Reconnect the device with the command: adb kill-server & & adb start-server
Can I control the Xiaomi camera from a computer?
Yes, but with reservations: Mi Home Security cameras are controlled via Mi Home (web or software). YI Home (although it is not Xiaomi) has official software. Smartphone cameras can be connected like webcams via DroidCam. โš ๏ธ Attention: video transmission over the network can put a strain on the router. Use an Ethernet cable or a Mesh network for stable operation.
How to manage Xiaomi with Linux?
All tools (ADB, scrcpy, Mi PC Suite via Wine) run on Linux. Set dependencies: sudo apt install adb fastboot scrcpy For Mi PC Suite use: wine MiPCSuite.exe For problems with USB drivers add a rule for udev: echo 'SUBSYSTEM==='usb, ATTR{idVendor}=='2717, MODE='0666' | sudo tee /etc/udev/rules.d/51-android.rules.rules.