Mistake 18 in Xiaomi robot vacuum cleaner: what does it mean and how to reset yourself

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.

πŸ“Š What Xiaomi vacuum cleaner mistake you have encountered?
Error 18 (LDS)
Mistake 10 (wheels)
Mistake 5 (battery)
Error 24 (collision)
Other

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:

  1. 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

Done: 0 / 4
  1. Open Mi Home and select your vacuum cleaner.
  2. Go to Settings β†’ General β†’ Error Reset (or State Reset).
  3. Click Reset LDS Error (or Error 18).
  4. 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.

  1. Turn off the vacuum cleaner with a long press on the power button (10-15 seconds).
  2. Turn the device over and remove the cover to access the LDS-sensor.
  3. Carefully disconnect the sensor plume (usually it is connected to the motherboard via a connector). J1 or LDS_CONN).
  4. Wait 30 seconds, then plug the plume back in.
  5. 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.

  1. Press and hold the Power + Home button (or Power + Spot Cleaning, depending on the model) for 10 seconds until you hear the beep.
  2. Release the buttons. The vacuum cleaner will start the reset process (the indicator will flash orange).
  3. 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.

Model vacuum cleanerReset via Mi HomePhysical reset (LDS disablement)Hard ResetNotes
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.

  1. Place the vacuum cleaner on a flat surface (for example, on a table).
  2. In the Mi Home app, go to Settings β†’ Additional β†’ Calibration of sensors.
  3. 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.

Frequent questions about the error 18 in the vacuum cleaners Xiaomi

Can I reset Error 18 without the Mi Home app?
Yes, but the methods depend on the model. For most Xiaomi and Dreame vacuum cleaners, a physical reset (disabling the LDS plume or hard reset buttons) is suitable. Alternative applications like Valetudo (for open API firmware) are a last resort, but this requires technical skills.
Why does Error 18 appear after a firmware update?
This is a typical problem when software versions are incorrectly updated or conflicted. Solutions: roll back the firmware to the previous version (if there is a backup), reset to factory settings. Contact Xiaomi with error logs (they can be exported to Mi Home).
How much is the repair cost LDS-sensor?
Cost depends on model and region: Replacement LDS-sensor: 1500-4000 β‚½ (Diagnosis: 500-1000 β‚½. Repair of the board (for oxidation of contacts): 2000–5000 β‚½. In official Xiaomi services, repairs are more expensive, but give a warranty of up to 6 months.
Can Error 18 cause other components to fail?
Error 18 does not damage the vacuum cleaner, but if you ignore it for a long time, there are possible consequences: LDS-Accelerated battery discharge (vacuum cleaner wastes energy on endless reboots) damage to board due to unstable power supply (if the error is related to the battery) Recommended to fix the problem within 1-2 weeks after the first appearance.
Where to buy the original LDS-switch-on?
Original parts can be ordered: AliExpress (sellers with a rating above 98% and reviews about compatibility with your model); Xiaomi official stores (for example, mi.com); local dealers (list on the Xiaomi Russia website). Attention: Before buying, check the article of the sensor for your model (for example, for Mi Robot Vacuum 1S it is LDS-X11-01).