Owners of Xiaomi smart appliances often face the fact that standard voice notifications of a robot vacuum cleaner sound monotonous and quickly eat up. The desire to personalize the device is understandable: everyone wants the gadget to please the ear with funny phrases or, conversely, strict commands. Fortunately, the ecosystem of Mi Home and Roborock provides ample opportunities for replacing the standard sound package with custom.
The process of installing new voice files does not require deep knowledge of programming, but requires accurate follow-up. Errors in folder structure or file formats can lead to the fact that the device simply ignores the new command. In this article, we will discuss in detail how to replace your assistantβs voice with a unique audio file.
It should be noted that support for third-party audio packages depends on the specific model of your device. flagship models of the Xiaomi Vacuum Mop or Roborock S5/S6 series have a more open file system compared to budget modifications. Compatibility check is the first step that will save you from unnecessary manipulation of files.
Preparation for modification of sound accompaniment
Before you start downloading audio files, you need to prepare the work environment and the gadget itself. You will need a stable connection to the 2.4 GHz Wi-Fi network, since most Xiaomi smart devices do not support the 5 GHz standard. Also make sure that the battery is charged at least 60% so that a sudden shutdown does not interrupt the process of writing data into internal memory.
The main tool for management will be a smartphone with the Mi Home app installed. Android users may need to access the file system through a built-in Explorer or a third-party file manager, for example, ES File Explorer or Total Commander. iOS users will have a little more difficult due to the closed system, but through the Files app and the Files on iPhone function, access to local robot data is also possible.
It is important to understand that voice packets are not easy. mp3-files that can be flipped over Bluetooth, the system recognizes only certain formats and directory structures, most often using files with the extension.ogg or.mp3 with a bitrate not higher than 128 kbit / s. High sound quality is not required here, since the speaker of the device is designed for the average frequencies of the human voice.
π‘
Use audio editors like Audacity to normalize volume and cut the silence at the beginning and end of the file, otherwise the robot may start cleaning with a delay or miss a command.
Finding and Creating a Corresponding Audio File
The Internet is full of ready-made voice packets created by enthusiasts. You can find archives with voices of famous characters, politicians or just funny phrases on forums dedicated to the smart home. However, if you want uniqueness, the best thing to do is create your own file. To do this, write down the desired phrase on a voice recorder or use speech synthesis services (TTS), which allow you to generate a voice from text.
When preparing a file, it is critical to comply with technical requirements: the duration of one command should not exceed 5-7 seconds, otherwise the robot may perceive this as a playback error. The file format should be strictly OGG (Vorbis codec) or MP3 (MPEG-1 Audio Layer III), Conversion is easy to perform in online services or through desktop programs like Format Factory.
- ποΈ Record clean sound without background noises and echoes so that the robot microphone (if used for activation) or speaker conveys it clearly.
- π Normalize the volume to the level -3 dB to avoid distortion when played through a small device speaker.
- π Call the file in Latin letters without spaces, for example, start_cleaning.ogg, So that the system reads it correctly.
Pay special attention to the file name. In some firmware, file names are reserved for certain actions (start, return to base, error). If you replace the system file with your own, the robot will voice your phrase at the appropriate time. The rename must be accurate, otherwise Mi Home will not understand what event to associate the sound.
Where do I get the finished packages?
Instructions for installing voice packet through Mi Home
The most common and safe way to replace your voice is to use the built-in language management function in the app, which doesn't require root rights or hard work with the file system. First, make sure your robot vacuum cleaner is connected to the network and appears on the list of devices as "Online."
Go to the device-specific settings in the Mi Home app. Find a section that could be called Voice Control, Language, or Voice Pack. Depending on the regional version of the firmware, the interface may differ. If you see a button called Download Voice or Manage Voice, you're on the right track.
βοΈ Voice installation algorithm
Once the file is selected, the system will begin the installation process. At this time, do not turn off the vacuum cleaner or close the application. The device will download the file to its server (if using the cloud method) or receive it directly over the local network. The indicator on the case can flash orange to signal the data record.
β οΈ Warning: If the Wi-Fi indicator flashes quickly during the loading process of the voice packet, and the robot emits an error beep, immediately interrupt the process. This may mean a conflict between the firmware and voice packet versions, which in rare cases leads to the "bricking" of the sound module.
Advanced method: Working with the file system
For users who want to have full control of the sound design, there is a method of directly recording files into the device's memory, which requires a connection to the robot's local network. IP-The address of your vacuum cleaner, which can be found in the router settings or in the Mi Home app (usually in the About Device sectionΒ»).
Using FTP or ADB (Android Debug Bridge) utilities, connect to the robot's file system. The path to voice files is usually /mnt/UDisk/voice or /data/robolang. The exact path depends on the model and firmware version. It is strongly recommended to back up the original files before making changes.
| Model robot. | Type of connection | The way to the voice folder | File format |
|---|---|---|---|
| Xiaomi Vacuum 1 | FTP / ADB | /data/robolang/ | .pkg |
| Roborock S50 | FTP | /mnt/UDisk/voice/ | .ogg |
| Xiaomi Mop Essential | Mi Home Cloud | Unavailable. | .mp3 |
| Roborock S6 | FTP / SSH | /data/robolang/ | .ogg |
Once you copy the file to the desired directory, you need to reboot the device. You can send a command to reboot through the application or physically press the turn on button. Once turned on, the robot must automatically pick up a new file if the name matches the system request.
π‘
Direct work with the file system gives 100% result on older models, but new devices with closed Android may require root rights, which voids the warranty.
Configuring voice-over scenarios in the application
Once you have a successful voice setup, you can go to fine-tuning your scripts. The Mi Home app allows you to create automation where audio plays a key role. For example, you can set the robot up so that when you start cleaning, it greets you with the phrase "Bams!" and when it finishes, it says "Work done, sir."
To do this, go to Scripts or Automation. Create a new script by selecting Start Cleanup or Return to Base as a trigger. Select Play Sound or Send Message (if smart home integration is supported) as an action, where you can link a previously downloaded audio file to a specific event.
- π Set the volume of the notification so that it is not too quiet in a large apartment.
- β° Set time limits so that the robot doesnβt wake you up with nightly cleaning reports.
- π Use logical cords, such as switching on sound only if cleaning is successful without errors.
The flexibility of the scripts allows you to turn a routine cleaning into entertainment, so you can program the robot to say "Danger!" when you're stuck under the couch, or "Help is needed!" when the dust container is overflowing, and the key is not to overdo it with the number of notifications so they don't get annoying.
Possible problems and ways to solve them
Even if you follow the instructions, you can have a lot of problems. One of the most common problems is that the robot ignores the new file and keeps speaking in a standard voice. This often happens if the bitrate of the audio file is too high or the encoding format doesn't match the firmware expectations. Try recoding the file in a lower quality.
Another common error is "file not found" or no sound at all. Check file permissions. If you've used the direct writing method, make sure the files have the correct executability attributes (chmod). Also, the problem may lie in the cache of the Mi Home app - try clearing the cache or reinstall the application.
β οΈ Warning: Frequent change of voice packets and constant overwriting of system files can lead to accelerated wear of flash memory of the device.
If the robot starts making strange sounds or stuttering, it may be damaged. Go back to the factory sound settings through the app menu. In extreme cases, a full reset of the device to the factory settings (Reset), but it will delete all maps and settings.