Xiaomiβs robot vacuum cleaners are some of the most popular smart cleaning devices, but even they are not immune to technical failures. The code 18 error is one of the most common problems faced by Mi Robot Vacuum, Dreame, and Viomi models. It can appear suddenly, interrupting cleaning, or occur systemically after each turn on. Most of the time, the error is due to a malfunction of the laser rangefinder (LDS), but the causes can be different from sensor contamination to software glitches.
In this article, we will explain what error 18 means, how to diagnose and reset it correctly without going to the service center, you will learn step-by-step instructions for different models, and you will receive recommendations for prevention so that the problem does not recur. If your vacuum cleaner hovers on an error and does not respond to commands, do not panic: in 80% of cases, you can fix the problem yourself in 10 to 30 minutes.
What does error 18 mean in Xiaomiβs robot vacuum cleaner?
The error code 18 in Xiaomi's documentation stands for LDS-sensor failure, which is responsible for mapping the room, identifying obstacles and navigating. If the system detects a malfunction, the vacuum cleaner stops cleaning and issues an error, but in practice, the reasons may be broader:
- π΄ Pollution or damage LDS-sensor (dust, scratches on the lens, direct sunlight).
- π΄ Software failure after firmware update or reset settings.
- π΄ Power problems: weak battery or unstable voltage.
- π΄ Mechanical damage after a fall or impact.
- π΄ Conflict with the Mi Home app (for example, after changing region or resetting an account).
It is important to understand that error 18 is not always associated with a failure of the LDS. For example, in the Dreame D9 or Viomi V3 models, it can appear due to a gyroscope malfunction or improper calibration of the sensors. Before starting a reset, you should rule out the simplest reasons - for example, clean the sensor from dust or restart the device.
First steps: how to diagnose a problem before resetting
Before you reset the error, perform a basic diagnosis to make sure the problem is indeed in the LDS-It's a sensor, not something else:
- Check the cleanness of the sensors. Gently wipe the LDS lens (under the top cover) with a dry microfiber wipe. Do not use alcohol or wet wipes!
If you still have a problem, move on to reset, but remember that not all models support programmatically resetting error 18. For example, Xiaomi Mi Robot Vacuum-Mop 2 Pro may require you to physically disable the sensor.
π‘
If the vacuum cleaner makes unusual sounds (squeaking, crackling) when rotating LDS-If you're not resetting the sensor, it might indicate mechanical damage, so you don't need to replace the part.
How to Reset Error 18: How to Reset Error
There are several ways to reset the error, depending on the vacuum cleaner model and the cause of the failure, and we will look at three main methods: through the Mi Home app, physical reboot, and reset to factory settings.
Method 1: Reset via Mi Home (for most models)
This method works for vacuum cleaners Xiaomi Mi Robot, Dreame and Viomi with support for proprietary software.
βοΈ Preparing for reset via Mi Home
- Open Mi Home and select your vacuum cleaner.
- Go to Settings β General β Error Reset (or State Reset).
- Click Reset LDS Error (or Error 18).
- Confirm the action and wait for the vacuum cleaner reboot (may take up to 2 minutes).
If the Reset Error item is not on the menu, try the alternative path: Settings β About the device β Diagnostics β Sensor reset.
Method 2: Physical reset (for models without software support)
Some vacuum cleaners (e.g. Xiaomi Mi Robot Vacuum 1S or Dreame D9) do not allow you to reset Error 18 through the application.
- Turn off the vacuum cleaner with a long press on the power button (10-15 seconds).
- Turn the device over and remove the cover to access the LDS-sensor.
- Carefully disconnect the sensor plume (usually it is connected to the motherboard via a connector). J1 or LDS_CONN).
- Wait 30 seconds, then plug the plume back in.
- Turn on the vacuum cleaner and check if the error has disappeared.
β οΈ Attention: Disconnecting the plume requires care. If you're not sure about your skills, you better contact the service.
Method 3: Complete reset to factory settings
If previous methods didnβt work, do a hard reset.This will remove all settings, including room maps and cleaning schedules.
- Press and hold the Power + Home button (or Power + Spot Cleaning, depending on the model) for 10 seconds until you hear the beep.
- Release the buttons. The vacuum cleaner will start the reset process (the indicator will flash orange).
- After restarting, connect the vacuum cleaner to the Mi Home again, as when you first turn on.
This method is guaranteed to reset all errors, but requires reconfiguration of the device.
Table: Compatibility of resetting methods with popular models
| Model vacuum cleaner | Reset via Mi Home | Physical reset (LDS disablement) | Hard Reset | Notes |
|---|---|---|---|---|
| Xiaomi Mi Robot Vacuum 1/1S | β No. | β Yes. | β Yes. | Required to disconnect the LDS plume |
| Xiaomi Mi Robot Vacuum-Mop 2 Pro | β Yes. | β οΈ Partially. | β Yes. | Resetting through software only works on firmware above 3.5.8 |
| Dreame D9 / D10 | β Yes. | β Yes. | β Yes. | In the Dreame app there is a separate item Reset LDS |
| Viomi V3 / SE | β No. | β Yes. | β Yes. | Calibration of the gyroscope is often required after resetting |
What to do if the reset did not help: diagnosis of hardware problems
If error 18 reappears after reset, it is likely a hardware problem, and here are the most likely causes and ways to fix them:
- π§ Damaged. LDS-Check if it rotates when you turn on the vacuum cleaner. If it doesn't, it needs a replacement. Average cost of the sensor: 1500-3000 β½.
- π§ Contact oxidation, take the vacuum cleaner apart, check the board for corrosion, clean the contacts with alcohol and brush.
- π§ Motherboard malfunction: If the vacuum cleaner doesn't respond to buttons or doesn't turn on, the problem may be in the controller.
- π§ If the vacuum cleaner was working in a wet room, the circuit boards could oxidize, and then the only thing that would help is repair.
For accurate diagnosis, you can use the test mode (if supported by your model). For example, in Dreame D9, activate it like this:
1. Turn off the vacuum cleaner.
2.Put the Power + Spot Cleaning buttons and hold for 5 seconds.
3. After the sound signal release - the vacuum cleaner will turn on in diagnostic mode.
4. Check the rotation of the LDS: if the sensor does not rotate or creaks, it is defective.β οΈ Warning: If you have no experience in electronics repair, do not disassemble the vacuum cleaner yourself.Incorrect actions can lead to loss of warranty or permanent failure of the device.
Mistake 18: How to Prevent Reappearance
To avoid future error 18, follow these guidelines:
- π§Ή Clean regularly LDS-sensor (1 time per month) with a dry wipe. Avoid direct sunlight on the lens.
- π Keep your battery power in check. Do not let the discharge below 10% and do not leave the vacuum cleaner on charge for more than 24 hours.
- π± Update your firmware through the official app. Avoid "castomy" firmware from third-party developers.
- π« Do not drop the vacuum cleaner and avoid blows. LDS-sensor sensitive to mechanical damage.
- π‘οΈ Do not use the vacuum cleaner in extreme conditions (temperature below 0)Β°C or higher than 40Β°C, high humidity).
It's also useful to calibrate the sensors every 3 to 6 months.
- Place the vacuum cleaner on a flat surface (for example, on a table).
- In the Mi Home app, go to Settings β Additional β Calibration of sensors.
- Follow the instructions on the screen (the vacuum cleaner will perform several rotations to adjust the gyroscope and LDS).
π‘
If error 18 appears after a vacuum fell, the reset will not help - diagnostics are required in the service. LDS-sensors are not eliminated programmatically.