How to set up a robot vacuum cleaner Xiaomi Mijia with LDS-laser: from unpacking to fine settings

Robot vacuum cleaner Xiaomi Mijia LDS (laser-scanner LDS) β€” One of the most popular solutions for automated cleaning thanks to accurate mapping, powerful suction and integration into the Mi Home ecosystem, many users face difficulties already at the initial setup stage, from connecting to Wi-Fi to calibrating sensors. This article will help you understand all the nuances – from basic steps to hidden functions that the manufacturer does not advertise.

We're not going to be limited to superficial instructions like "press the power button." Instead, you'll learn how to calibrate correctly. LDS-Scanner for accurate map construction, set up virtual walls and no-go zones without physical beacons, and optimize the cleaning schedule for your schedule. Particular attention will be paid to the problems that arise when changing the router, updating the firmware or moving to another room - these scenarios most often break standard instructions.

If you’ve tried to set up a vacuum cleaner using an official manual and have encountered errors like Device offline or Laser sensor error, here you will find solutions that have been proven in practice. And for advanced users, we will open up the possibilities of alternative firmware (like Valetudo) that allows you to bypass the limitations of the Mi Home and gain full control of the device.

1.Preparation for the first inclusion: what to do before setting up

Before connecting Xiaomi Mijia LDS To the application, follow a few critical steps, and ignoring them often leads to a laser scanner malfunction or Wi-Fi connection problems.

Clear the area around the docking station, the vacuum cleaner should be standing on a flat surface with a free zone of 0.5 m in front and 0.2 m on the sides.

  • πŸ”₯ Heat sources (batteries, heaters) - they distort the readings LDS-sensor.
  • πŸ“Ά Routers or other devices emitting signals at 2.4 GHz (may interfere with the frequency of the router).
  • πŸͺŸ Direct sunlight or reflections from mirrors – this blinds infrared sensors.

Check the condition of the brushes and wheels. New devices sometimes have transport locks (such as on the side brush) that need to be removed. Also make sure that the main brush rotates freely - jamming at this stage will lead to a Brush stuck error.

⚠️ Note: If you connect a vacuum cleaner to the network through an extension cord, only use models with grounding. Cheap Chinese extension cords without interference filter can cause malfunctions. LDS-module.

Prepare your smartphone:

  • πŸ“± Install the latest version of the Mi Home app (for Android – from APKCombo if there are no updates in Google Play).
  • 🌐 Switch your phone to 2.4GHz Wi-Fi – the vacuum cleaner does not support 5GHz networks.
  • πŸ”§ Turn off the phone settings. VPN and charge savings – they can block the connection to the device.
πŸ“Š What type of gender prevails in your home?
laminate
Tile.
linoleum
Carpet
Wooden floor

2. Connect to Mi Home: step-by-step instruction with error solutions

Xiaomi’s official instructions often miss details that cause users to get bugs like Connection failed or Device not found.

Step 1: Adding the device to Mi Home

  1. Open Mi Home and go to Profile β†’ Settings β†’ Region: Choose China, which will give you access to all vacuum cleaner functions (other regions may have restrictions).
  2. Press. + β†’ Addition of a device β†’ Vacuum and select the Mi Robot Vacuum-Mop model (even if you have another modification with the Vacuum-Mop). LDS).
  3. Hold the Home buttons and turn on the vacuum cleaner 3-5 seconds until you hear the beep.

Step 2: Connect to Wi-Fi

  • πŸ“Ά The app will tell you to select a network. If your Wi-Fi is running 802.11n/ac, switch router to 802.11b/g (router-setting).
  • πŸ”‘ Enter your Wi-Fi password. If your password contains Cyrillic or special characters, replace them with Latin, which is a common cause of failures.
  • ⏳ Wait until the connection is complete. If the process is stuck in the Connecting phase, restart the router and vacuum cleaner (hold the power button for 10 seconds).

Common mistakes and decisions:

Mistake.Reason.Decision
Device offlineThe vacuum cleaner cannot connect to Xiaomi serversTurn off the router settings AP Isolation and check if the firewall blocks ports 80, 443, 8080
Laser sensor errorPollution or damage LDS-moduleWipe the scanner glass with a napkin without a pile. If the error persists, you need to replace the module.
Unable to add deviceThe device is already linked to another accountReset the vacuum cleaner to factory settings: Keep Home + 15 seconds on.

⚠️ Note: If you use two-factor authentication in Mi Home, temporarily disable it while you connect. In some versions of the app, this causes conflict with Xiaomi servers.

β˜‘οΈ Checklist of successful connection

Done: 0 / 4

3. First cleaning setup: map construction and calibration LDS

Once connected to Wi-Fi, the vacuum cleaner will prompt the first cleaning to build the map, which is critical, and it will determine the accuracy of navigation in the future.

The optimal conditions for the first launch:

  • 🏠 The room should be well lit (but without direct sunlight).
  • πŸšͺ All doors in the rooms that need to be removed should be open.
  • πŸͺ‘ Remove small objects (wires, toys, shoes) from the floor – they can interfere with scanning.

The map construction process:

  1. In the Mi Home app, click Cleanup β†’ Start and select the Standard Mode.
  2. The vacuum cleaner will spiral through the room, scanning the room, and don't interrupt the process, which can lead to an incomplete map.
  3. Once you've cleaned it, you'll see a map in the app, check it for holes or distortions, and if the map is incomplete, start cleaning again.

Sizing LDS-scanner:

If the map is being built curved or the vacuum cleaner is "lost," calibrate:

  1. Turn over the vacuum cleaner and find a white plastic cap next to the LDS-Module (it is located under a transparent dome).
  2. Carefully turn the cap on 90.Β° counterclockwise and return to the starting position, which will reset the scanner settings.
  3. Start cleaning again - the vacuum cleaner will rebuild the map from scratch.

πŸ’‘

If the vacuum cleaner is constantly "stuck" in one place when building a map, stick black tape on the floor in this place (width). 2-3 This will help sensors recognize the obstacle and bypass it.

4. Advanced settings: zones, schedules and virtual walls

Once you've built the map, you can customize the automated cleaning to suit your needs, and we'll look at the key features that save time and improve cleaning.

Configuring cleaning areas:

  • πŸ“ In the Mi Home app, go to the Map β†’ Edit.
  • πŸ–οΈ Click Add area and circle the area that needs to be removed separately (for example, near the carpet).
  • πŸ”„ Choose the cleaning mode for the area: Intensive (for carpets), Quiet (at night) or Wet (if the model has a wash function).

Virtual Walls and No-Go Zones:

To limit the vacuum cleaner’s access to certain places (such as an animal bowl), use virtual barriers.

  1. In the map menu, click Add a virtual wall.
  2. Draw a line on the map - the vacuum cleaner will not cross it.
  3. For time constraints (for example, during feeding of the pet), set a timer in the wall settings.

Cleaning schedule:

To ensure that the vacuum cleaner works automatically:

  1. Go to the schedule. β†’ Add.
  2. Choose the days of the week and the time. For optimal results, adjust:

Quiet

turbo

How to get around the 5 zone limit in Mi Home?
Install an alternative firmware Valetudo or use the Mi Home Mod app (requires root rights on your phone), which allows you to create unlimited areas and flexibly configure routes.

5. Secret functions and alternative firmware

The official Xiaomi software hides some of the capabilities of the vacuum cleaner, we will reveal a few β€œfeatures” that can be activated without hacking, and also talk about alternative firmware for advanced users.

Hidden settings in Mi Home:

  • πŸ”§ Developer mode: 10 times click on the Software version in the vacuum cleaner settings. You will see a menu with extended logs and sensor tests.
  • πŸ“‘ Manual calibration LDS: In Developer Mode, select Laser Calibration and follow the instructions on the screen.
  • πŸ”„ Reset counters: To reset the statistics of cleaning (useful when selling), go to Settings β†’ General. β†’ Data resetting.

Alternative firmware:

Valetudo firmware allows you to control the vacuum cleaner without the Xiaomi cloud, adds support for Mqtt and advanced maps.

  1. Download Valetudo and firmware for your model.
  2. Connect the vacuum cleaner to the PC USB (need an adapter USB-TTL).
  3. Run the firmware script through Python (instructions in the repository).

⚠️ Warning: Installing alternative firmware will void warranty and may cause sensors to operate unstable. Before firmware, back up the original software via Mi Home. β†’ Backup).

Important: After installation Valetudo vacuum cleaner will cease to update through Mi Home. to return the official software, you will need a complete reset through the console (team) reset_to_factory).

πŸ’‘

Alternative Firmware Opens Access to API vacuum cleaner, which allows you to integrate it into the systems of the smart home (Home Assistant, OpenHAB) without the cloud Xiaomi.

Maintenance and troubleshooting

Even if you set it up properly, you can have problems over time, and we can look at the typical faults and how to fix them without going to the service.

Cleaning. LDS-scanner:

The glass contamination of the scanner is the main cause of navigation errors.

  1. Turn off the vacuum cleaner and turn it over.
  2. Moisten the lilaless napkin in isopropyl alcohol (at least 70%).
  3. Gently wipe the scanner glass with rotational movements (do not press!).
  4. Let dry for 10-15 minutes before turning on.

Mistakes and solutions:

Mistake.Possible causeDecision
Side brush errorThe sidebrush is jammed or broken.Remove the brush, clean the axis of the hair and check its rotation manually
Fan stuckThe fan got a piece of trash stuck in it.Turn over the vacuum cleaner, remove the lid and clean the fan blades
Battery Low (at 100% charge)Failure of battery calibrationCompletely discharge the vacuum cleaner, then charge to 100% without interruptions

Replacement of consumables:

  • 🧹 Change the filter every 2 months (or after 50 cleanings).
  • πŸŒ€ Side brushes: Replace bristles when worn (approximately every 6 months).
  • πŸ”‹ Battery: Reduce the operating time to 30 minutes requires replacement (original battery - Li-ion 5200 mAh).

7.Integration with a smart home: voice assistants and automation

Xiaomi Mijia vacuum cleaner LDS You can link to Alice, Google Assistant, or Home Assistant for voice control and automation.

Connection to Alice (Yandex):

  1. In the Mi Home app, go to Profile β†’ Settings β†’ Voice Assistants.
  2. Select Yandex and log in through your Yandex account ID.
  3. Tell Alice, "Run the vacuum cleaner" or "Right back the vacuum cleaner to base."

Integration with Home Assistant:

This will require the Xiaomi Miio component:

  1. In the configuration.yaml file, add:
vacuum:


- platform: xiaomi_miio




host: IP_Adress DUST




token: VACUUM_TOKEN

  1. To get a token, use the miio-cli script.
  2. After the Home Assistant reboot, the vacuum cleaner will appear in the interface as a managed device.

Examples of automation:

  • πŸ•’ Scheduled cleaning: Set up the vacuum cleaner start in Home Assistant by motion sensor (if no one is home).
  • πŸšͺ Cleaning when leaving: Integrate with geofences: vacuum cleaner will start cleaning when all family members leave the house.
  • 🌑️ Cleaning by humidity: Start the vacuum cleaner if the hygrometer sensor shows humidity above 60% (after rain or airing).

8. Frequent questions and answers

πŸ”Ή Why a vacuum cleaner doesn’t build a map or build it crooked?
It's a typical problem in low light or reflective surfaces (mirrors, glossy flooring). Try: Turn on extra light in the room. Cover the mirrors with a cloth while scanning. Calibrate. LDS (If the problem persists, check the scanner glass for scratches (if any, a module replacement is required).
πŸ”Ή Can you use a vacuum cleaner without Wi-Fi?
Yes, but with limitations: Cleaning can only be started from a button on the case. You can not configure schedules, zones or virtual walls. Map is not saved between cleaning (vacuum cleaner will scan the room again). For autonomous operation without loss of functions, install firmware Valetudo (see section 5).
πŸ”Ή How to Reset the Vacuum to Factory Settings?
There are two ways: Software Reset: In Mi Home, go to Device Settings β†’ General. β†’ Hardware reset: Hold the Home buttons and turn on for 15 seconds until you hear a double beep. Once reset, the vacuum cleaner will lose all settings, including maps and schedules.
πŸ”Ή Why doesn't the vacuum cleaner return to base?
Causes and solutions: πŸ”‹ Low charge: Battery discharged below 20% - plug vacuum cleaner to manually charge. πŸ“‘ Displacement of base: If the dock is moved, the vacuum cleaner will not find it. Move the vacuum cleaner closer to the base (1 m) and press Home. 🧭 Damaged card: Remove the current card in Mi Home and rebuild it again.
πŸ”Ή Can I turn off voice alerts?
Options: Install Valetudo firmware and turn off alerts in its settings. Use Mi Home Mod (requires root rights on your phone) to turn off the sound. Physically turn off the speaker (requires disassembly of the vacuum cleaner). In official Xiaomi software, you can not turn off the voice - this is a manufacturer's restriction.