Why You Might Need to Reset Xiaomi Hub and When You Shouldnโt
Xiaomiโs smart hubs (including the Mi Home Hub, Aqara Hub M1S/M2/M3, and Mi Smart Gateway) are the central devices in the Mi Home ecosystem that control sensors, lamps, and other smart appliances. Factory reset removes all associated devices, automation settings, and network data โ a radical solution that should only be resorted to in extreme cases.
The main reasons for resetting: the hub stopped responding to commands, there were sync errors with the Mi Home cloud, the device is locked after a failed firmware update or you sell / transfer the hub to another user. However, do not rush to reset in case of temporary failures - often helps reboot or reconnect to Wi-Fi.
Important: Once reset, all the devices connected to the hub (motion sensors, sockets, lamps) will unplug and require reconfiguration, and if you have a complex automation system with dozens of devices, recovery can take several hours.
Method 1: Reset via physical button on the Hub body
The most reliable method, which works even if the hub does not connect to an application or Wi-Fi, is suitable for all models, including the Aqara Hub M2 and Mi Smart Gateway 3. You will need only the hub and the clip (or other thin object).
Instructions:
- ๐ Turn off the hub from power (remove the plug from the socket).
- ๐ Find a small hole on the back with the inscription RESET (usually near the power supply).
- ๐๏ธ Insert the paperclip into the hole and hold the button RESET.
- โก Without releasing the button, connect the hub to the power supply.
- ๐ Hold the button for another 10-15 seconds until the indicator flashes yellow/orange.
- ๐ Release the button โ the hub will reset and restart (the process takes up a lot of time). ~2 minutes).
After a successful reset, the indicator will light up in blue (connection waiting mode), and the hub is now ready to be configured as a new device.
Shut off the hub.|Found a hole. RESET case|Prepared a paperclip or pin|I know that after the reset, all the devices will be untied.|Ready to reset the hub-->
โ ๏ธ Note: On the Aqara Hub models M1S Mi Smart Gateway 2 Holding the button RESET less than 5 seconds leads to a reboot, not a reset. Make sure the indicator starts flashing, which is a sign of successful start-up.
Method 2: Reset via the Mi Home mobile app
If the hub is connected to your network and displayed in the Mi Home app, you can reset software, which saves some data (e.g., event history) but removes all connected devices and automation settings.
Step-by-step:
- Open the Mi Home app and go to the Devices tab.
- Select your hub from the list (e.g. Aqara Hub M2).
- Press three points. โฎ in the upper right corner and select Device Settings.
- Scroll down and tap Remove Device (or Reset Settings in newer versions of the app).
- Confirm the action - the hub will begin the reset process (it will take ~ 1 minute).
Once reset, the hub will disappear from the list of devices in the application. To connect it again, click Add Device (+) and follow the instructions.
What to do if the Delete Device button is inactive?
| Hub model | Resetting through a button | Resetting through the application | Time to reset |
|---|---|---|---|
| Mi Smart Gateway 3 | โ Yes, 15 seconds) | โ Yes. | ~2 minutes |
| Aqara Hub M2 | โ Yes, 10 sec) | โ Yes. | ~1 minute |
| Mi Home Hub (round) | โ Yeah, 20 sec) | โ No* | ~3 minutes |
| Aqara Hub M1S | โ Yes, 12 seconds) | โ Yes. | ~1.5 minutes |
* For the Mi Home Hub (round model), application reset is often unavailable โ use the physical button.
Method 3: Reset via web interface (for advanced users)
Some hub models (such as the Aqara Hub M2 with 2.0.7+ firmware) support reset via a local web interface, which is useful if the Mi Home app doesnโt see the hub but itโs connected to your network.
Instructions:
- Find out locally. IP-The router's hub address (usually starts with 192.168.x.x).
- Enter the IP in the browser address bar (e.g. http://192.168.1.100).
- Log in (the default login and password is often admin/admin or an empty field).
- Go to the System Tools section โ Factory Reset.
- Confirm the reset - the hub will reboot.
If the web interface is not available, check:
- ๐ Hub and computer connected to the same network.
- ๐ Firewall or local connection blocking is disabled in the router.
- ๐ IP-Hub address has not changed (use arp) -a search-line).
๐ก
If you forgot. IP-Hub address, use the Fing app (Android/iOS) The hub is usually displayed as a device called lumi-gateway or aqara-hub-.
What to do after reset: connecting the hub and restoring devices
After a successful reset, the hub will return to the factory settings and be ready to reconfigure.
- Add a hub to the Mi Home app: Open Mi Home โ Add the device (+) โ Choose a hub model. Bring your phone to the hub and wait for the beep (or type in). PIN-Connect the hub to Wi-Fi (use the same network as before to avoid device problems).
Reset the automation
- Open the Automation section in Mi Home and restore the scenarios (e.g., โIf the motion sensor is triggered, turn on the lightsโ).
- The previously exported settings can be imported from the backup (if it was created).
If the hub does not connect to Wi-Fi after resetting:
- ๐ถ Check that the router is running at 2.4 Hz (Xiaomi hubs do not support 5 Hz).
- ๐ Make sure that the network name does not contain Cyrillic symbols or spaces.
- ๐ Reboot router and hub.
๐ก
Save a backup of the hub settings in Mi Home (Settings โ Backup) before the reset. This will speed up the recovery of automation after setup.
Common Resetting Mistakes and How to Avoid Them
Even when following the instructions, users often encounter problems, and here are the typical errors and solutions:
| Problem. | Reason. | Decision |
|---|---|---|
| Hub doesn't drop through a button | The RESET button is not pressed long enough | Hold the button for at least 15 seconds after power connection |
| After the reset, the hub does not turn on | Discharge process interrupted (power cut off) | Wait 5 minutes, then reset. If it doesn't work, check the power supply. |
| Hub does not connect to Wi-Fi after reset | The wrong region in Mi Home or 5 Hz network | Change region to China (in profile settings), use 2.4 Hz network |
| Devices do not connect to the hub | Devices not reset or hub not updated | Reset each device (hold the 5 sec button), update the hub firmware |
If the hub after reset behaves unstable (spontaneously reboots, does not save settings), check:
- ๐ Power supply โ use the original adapter (hubs are sensitive to voltage).
- ๐ก๏ธ Overheating โ make sure the hub is not in an enclosed space (e.g. behind a TV).
- ๐ก Interference from other devices โ router and hub should be at least 1 meter away from microwaves, wireless speakers.
โ ๏ธ Note: If you are dropping the Aqara Hub M2 With a Zigbee-repeater connected (like the Aqara Range Extender), the repeater will also be disabled after reset, and it will need to be manually reconnected through the Aqara Home app.
How to Reset Xiaomi Hub if Itโs Blocked or Not Reacting
If the hub doesnโt turn on, is stuck on the update, or doesnโt respond to the reset button, try the following methods:
Forced reset:
- Turn off the power for 30 seconds.
- Connect back and wait 2-3 minutes (even if the indicator is not on).
- Repeat the reset via the RESET button.
2.Discharge via ADB (for advanced users):
If the hub is connected to the network but does not respond to commands, you can try resetting via ADB (Android Debug Bridge).
adb connect [IP- Hub address]
adb shell
reset_factoryThis method only works on Android Things-based firmware hubs (such as some versions of the Mi Smart Gateway 3).
3. Manual firmware update:
If the hub freezes due to damaged firmware, download the latest version from the official Xiaomi website and run through the web interface or Mi Home:
- Download the firmware for your model (for example, gateway_3_v2.0.7_20230315.bin).
- In the web interface of the hub, go to System Tools โ Firmware Update.
- Download the firmware file and wait until it is completed (donโt turn off the power!).