Adding a new button to Xiaomiโs remote is a challenge faced by owners of smart TVs, Mi TV Stick consoles or Mi Remote universal remotes, most often to control additional devices (such as a sound bar or air conditioner), activate the voice assistant, or restore lost functions after resetting. In this article, we will examine all the current ways to add buttons, from standard settings in the menu to manual programming using engineering codes.
It is important to understand that the configuration options depend on the remote model and the firmware of the device. For example, the remotes for Xiaomi Mi TV 4S/5 TVs support adding buttons through the settings menu, whereas for the universal Mi Remote Controller, a mobile application may be required. We will consider solutions for all popular scenarios, including cases where the button is physically absent on the body, but its function can be emulated software.
1. Ways to add buttons on Xiaomi remotes
There are three main methods of setting up additional buttons on Xiaomi remotes:
- ๐บ Through the TV/set-top box menu โ suitable for built-in Mi TV and Mi Box remotes. Allows you to reassign existing buttons or activate hidden functions.
- ๐ฑ With a mobile app โ relevant for universal remotes Mi Remote (white or black version) requires a connection to a smartphone via Bluetooth.
- ๐ง Manual code programming is an advanced method for adding support for third-party devices (air conditioners, fans, etc.) through engineering commands.
The choice of method depends on your goal, for example, if you want to add a Netflix button to your TV remote, you need to have standard settings, and to control Gree air conditioning through Mi Remote, you need an application and codebases, and then we'll go through each method in detail.
2. Add buttons via the TV menu (Mi TV, Mi Box)
Modern Xiaomi TVs (Mi TV 4S, 5, Q2, A2) and Mi Box S/Mi TV Stick consoles allow you to customize the remote buttons directly in the system settings. This method works to reassign existing buttons (for example, make a long press on Home opening voice search) or activate hidden functions.
Instructions for televisions:
- Open Settings โ Devices and accessories โ Remote DU.
- Select button settings (or personalization of the remote in new firmware).
- Tap the button you want to reassign (e.g. F1 or F2).
- In the action list, select the desired function: launch the application, voice assistant, adjust the volume of the sound panel, etc.
For the Mi Box consoles, the path is slightly different:
Settings โ Preferences โ Accessibility โ Remote control settingsMake sure the remote is paired with the TV (the indicator is green)
Update the TV firmware to the latest version
Connect your TV to the Internet to download the list of available features
Remember the current button settings (you can take a picture of the screen)
-->
Method limitations: you canโt add a physically missing button (for example, if the remote does not have a Mute, it can not be created out of thin air) and not all models support reassignment โ in budget TVs (for example, Mi TV 4A), this option may not be available.
๐ก
If you donโt have a feature in the list (like running a specific app), try adding a shortcut to the TVโs main screen first, and then the option may appear in the remote settings.
3. Set up the universal remote Mi Remote through the application
Xiaomi Mi Remote (white or black version with touch panel) is customized exclusively through the Mi Home mobile application (available for Android and iOS), which allows you to add support for new devices (air conditioners, fans, projectors) and customize additional buttons.
Step-by-step:
- Install the Mi Home app and log in to your Xiaomi account.
- Add the remote to the application: press + โ Add the device โ remotes DU.
- Select your remote model (Mi Remote White or Black) and follow the on-screen instructions for pairing.
- After adding, go to the remote settings and select Add a new device.
- In the category list, select the type of device (such as Air Conditioning or TV).
- Follow the customization wizard: the app will suggest selecting a brand (e.g. LG, Samsung) and testing the buttons.
If your device is not in the database, you can try:
- ๐ Use the Manual Code Search function in the application (you need to enter the codes sequentially until the remote controls respond).
- ๐ Contact Xiaomi to request that you add your model to the database (specify the exact make and model of the device).
- ๐ ๏ธ Use alternative applications like BroadLink or eControl to program IR commands.
How to find codes for manual programming?
Important: After the remote firmware update in July 2023, some users experienced a problem resetting settings. Before updating, back up the configuration in the Mi Home app (Remote Settings โ Backup).
4 Manual programming of buttons using engineering codes
For advanced users, it is possible to add buttons through the engineering menu or special ADB commands.
- ๐ง Add support for a device that is not in the Mi Home database.
- ๐ Reassign system buttons (e.g., make Power run Google Assistant).
- ๐ It is necessary to emulate buttons that are not physically present on the remote (for example, Input to switch signal sources).
For Xiaomi TVs based on Android TV, you can use ADB- commands. Example of adding a button to launch the YouTube app:
adb shell am start -a android.intent.action.VIEW -d "https://www.youtube.com" -n com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.ShellActivityFor universal Mi Remote remotes, the engineering codes are entered through the Mi Home app in developer mode to activate it:
- Open Mi Home and go to your account profile.
- Click 5 times in a row on the application version (bottom of the screen).
- Return to the remote settings and a new Engineer Mode section will appear.
- Enter the device code in the BRAND_MODEL_FUNCTION format (e.g., LG_TV_VOLUME_UP).
โ ๏ธ Warning: Incorrect use of engineering codes can cause the remote to malfunction. Before experimenting, back up your settings in Mi Home and write down the factory codes of the devices (you can find them in the About section of the remote settings).
| The device | Example of code | Function |
|---|---|---|
| Samsung TV | SAMSUNG_TV_101_POWER | Switching on/off |
| Gree AC | GREE_AC_205_TEMP_UP | Temperature rise |
| Xiaomi Soundbar | XIAOMI_AUDIO_301_VOLUME_DOWN | Turning down the volume |
| LG Projector | LG_PJ_402_INPUT_HDMI1 | Switch to HDMI1 |
5. Solving typical problems when adding buttons
Even when following instructions, users often face difficulties, and consider the most common mistakes and ways to fix them:
- ๐ด The remote does not respond to new buttons Check if the remote is paired with the TV (the indicator should burn green). If you use Mi Remote, reconnect it to Mi Home. For Xiaomi TVs, try resetting the remote: Settings โ Devices โ DU remote โ Reset.
- ๐ No device in the Mi Home database Try to choose a similar model (for example, for Ballu air conditioner, select Gree). If this does not work, use Manual Code Search or contact support to request the addition of the device.
- ๐ The buttons are not working properly (e.g., turn up the volume instead of switching the channel) This means that the wrong IR protocol is selected. In Mi Home, delete the device and add it again by selecting another brand from the list. For TVs, check if the remote settings conflict with the functions of HDMI-CEC (turn off Settings โ CEC).
- ๐ฑ The Mi Home app doesn't see the remote, make sure: Remote is charged (the indicator flashes when you press the buttons). Bluetooth on your smartphone is on. You're using the original app (not a clone). The remote is in pairing mode (press Home + Back for 5 seconds).
โ ๏ธ Warning: If customized buttons are missing after the TV firmware update, this is due to Xiaomi's policy of resetting custom configurations. To avoid losing settings, export them via Settings before upgrading โ System โ Backup (available on Android TV 9+ TVs).
๐ก
If the remote stopped working after adding new buttons, reset to the factory settings. To do this, press the Home + Menu buttons for 10 seconds (for Mi Remote) or select Reset option in the TV menu.
6. Alternative ways to control without adding buttons
If you canโt add a button to the remote, consider alternative options:
- ๐ฎ Using Game Controllers Connect a Bluetooth gamepad (e.g., Xiaomi Game Controller) to your TV. In Settings โ Devices โ Game Controller, you can assign gamepad buttons to any action, including launching apps or adjusting sound.
- ๐ฃ๏ธ Voice assistant Activate Google Assistant or Alice (for Russian firmware) and control the TV with your voice. For example, "OK Google, turn on Netflix on your TV." You need to link your Xiaomi account to Google Home.
- ๐ฑ Remote app on your smartphone Install Mi Remote (for Android) or Xiaomi TV Remote (for iOS). These apps allow you to emulate all the features of the physical remote, including hidden buttons.
- ๐ฑ๏ธ Mouse and keyboard over Bluetooth Connect the wireless keyboard to the TV via Settings โ Devices โ Bluetooth. This is convenient for navigating menus and typing text.
Xiaomi TVs with Android TV 10+ have a Quick Action feature, which allows you to create shortcuts for frequently used commands right on the home screen, such as adding a button to switch to Game Mode or launch Disney+.
7.Where to find official support and codebases
If the self-configuration did not bring results, refer to the official resources of Xiaomi:
- ๐ Official Support Site: mi.com/support โ Here you can find instructions for specific models of remote controls and TVs.
- ๐ง Feedback in Mi Home: in the app, go to Profile โ Feedback and describe the problem with adding a button (attach screenshots).
- ๐ฌ Xiaomi community on 4PDA: the Mi Remote theme โ where users share codes for rare devices and solutions to non-standard problems.
- ๐ Developer documentation: iot.mi.com โ if youโre proficient in JSON and API, you can find technical specifications for custom commands.
The following resources are also useful for searching IR device codes:
| Resource | Description | Reference |
|---|---|---|
| IRDB | IR code database for 1000+ brands | irdb.tk |
| Remote Central | Forums and code bases for remote control | remotecentral.com |
| GitHub (code projects) | Repositories with user databases (e.g. mi-remote-codes) | github.com |
If you found working code for a rare device, share it in the comments to this article โ it will help other users save time!