Why to program the Xiaomi remote for the TV and what you need
Xiaomi remotes โ especially Mi Remote, Mi TV Stick Controller, or universal IR panels from a suite of smart devices โ can replace the original remotes from Samsung, LG, Sony, and other brands. But they need to be set up correctly. Unlike standard remotes, where buttons are tightly tied to functions, it requires programming through an app or manual code entry.
The main reasons for reconfiguring the remote:
- ๐ Replacement of the lost/broken original remote
- ๐ฎ Simplification of control (one remote for TV, consoles, air conditioning)
- ๐ฑ Integration with the Mi Home ecosystem for voice control
- ๐ฐ Savings on buying a new remote from a TV manufacturer
For successful configuration you will need:
- ๐ฑ Smartphone on Android or iOS with the Mi Remote app (download in App) Store/Google Play)
- ๐ Xiaomiโs charged remote (make sure the battery isnโt drained)
- ๐บ TV on with working IR receiver (check if it responds to the original remote)
- ๐ถ Stable Internet connection on a smartphone (to download the code base)
How to Program Xiaomi Remote: Which to Choose
There are three main methods of setting up, and their choice depends on the remote and TV model:
- Automatic search: The app picks up the code by sending signals to TV, and it works for 90 percent of today's TVs.
- Manual code entry โ if the automatic search didnโt work, you can enter the manufacturerโs code manually.
- Button learning is a rarely used method where the Xiaomi remote "remembers" signals from the original remote.
The most versatile and simple way is automatic search, which works even if you don't know the TV model, manually typing codes is relevant for older TVs (released before 2010) or rare brands, and learning buttons can come in handy if your TV isn't supported by Mi Remote, but it takes longer.
Step-by-step: Automatic setup via Mi Remote
This method is suitable for Mi Remote (white or black), Mi TV Stick Controller and other Xiaomi IR remotes with app support.
- Install the Mi Remote app on your smartphone and open it. When you first start, allow access to Bluetooth and Camera (you need to sync with the remote).
- Click Add Device โ Select Television Category.
- Turn on the TV and point the Xiaomi remote to it. The app will start sending test signals.
- Once the TV reacts (e.g., changes channel or volume), click Yes, it works in the app.
- Save the setting by assigning a name to the device (such as Samsung Bedroom).
If the TV doesn't respond:
- ๐ Try repeating the search by placing the remote closer to the TV (at a distance of 10โ30 cm).
- ๐ Check the battery charge of the remote (on some models the indicator burns when you press the buttons).
- ๐ฑ Make sure your smartphone has Bluetooth enabled and the app is allowed access to it.
Install the Mi Remote app|Turn on Bluetooth on your smartphone|Allow access to the camera|Turn on the TV.|Check the battery charge of the remote-->
Manufacturer codes for manual setting
If the automatic search didnโt work, try to enter the code manually. Below is a code table for popular brands. For Xiaomi Mi TVs, use code 10178 or 11158, which works with most models from 2018-2026.
| TV brand | Codes for Mi Remote | Notes |
|---|---|---|
| Samsung | 10052, 10178, 10060, 11158 | For 2015-2023 models, the 10060 code often works with QLED. |
| LG | 10171, 10056, 11158, 10064 | Code 10056 is suitable for OLED-television |
| Sony | 10000, 10170, 11158, 10062 | For Android TV, use 10000 or 11158 |
| Xiaomi (Mi TV) | 10178, 11158, 10066 | 10066 for PatchWall models (India) |
| Philips | 10054, 10172, 11158, 10068 | For Android TV, try 10068. |
How to enter the code manually:
- In the Mi Remote app, select Add Manually.
- Specify the brand of the TV (if it is not on the list, select Other).
- Type the first code from the table and press Test. If the TV doesn't respond, try the next code.
- After a successful test, save the setting.
๐ก
If neither code fits, try entering code for another brand in the same group, such as for TCL TVs, codes from Roku (10176) are sometimes used, and for Hisense codes from Sharp (10173).
Learning buttons: if nothing works
This method requires the original remote control of the TV, and the point is that the Xiaomi remote "remembers" the signals from the original remote and plays them back.
- In the Mi Remote app, select Button Learning (or Customize in English).
- Direct both remotes with IR transmitters to each other at a distance of 2-3 cm.
- Press the button on the original remote (e.g., On/Off), then the same button on the Xiaomi remote.
- Repeat for all the necessary buttons: Volume +/-, Channels, Menu, OK.
Limitations of the method:
- โณ It takes 10-15 minutes (you need to train each button separately).
- ๐ Not all Xiaomi remotes (check in-app support).
- ๐ถ Some functions (such as voice search) cannot be taught.
What if Xiaomiโs remote doesnโt save the trained buttons?
Common problems and solutions
Even after a successful setup, failures can occur, and here are the typical situations and ways to fix them:
โ ๏ธ Note: If Xiaomiโs remote controls the TV, but some buttons donโt work (like Netflix or Prime Video), thatโs OK. These buttons are often tied to the TV firmware and donโt duplicate on the universal remotes.
| Problem. | Possible cause | Decision |
|---|---|---|
| The remote is not synchronized with TV. | Battery discharged or incompatibility of IR protocols | Replace the battery, try another setup method (manual code entry) |
| Buttons are running with a delay | Weak signal or interference from other IR devices | Direct the remote closer to the TV, eliminate sources of IR radiation (for example, lamps) |
| After updating the firmware TV remote stopped working | IR protocol changed in the new version of TV | Reconfigure the remote again through automatic search |
| Voice search buttons are not working | The function is tied to the original remote | Use voice search via Google Assistant or Alice on your smartphone |
If the Xiaomi remote controls the TV, but periodically "forgets" the settings:
- ๐ Reboot the remote (remove the battery for 10 seconds).
- ๐ฑ Update the Mi Remote app to the latest version.
- ๐ง Reset the remote settings in the application (Settings) โ Reset) and reset.
๐ก
If the TV is responsive to Xiaomiโs remote but not all buttons, check if it conflicts with other IR devices (air conditioning, music center). Try using the remote in another room โ if the problem is gone, look for the source of interference.
Additional features: what else can Xiaomi remote
Xiaomi's remote can not only replace the original remote, but also expand its capabilities.
- ๐ฎ Control consoles: Mi Box, NVIDIA Shield, Apple TV (Select the category Configure in Mi Remote).
- ๐ Adjusting the sound bar or soundbar (if they support IR control).
- ๐ก Manage Yeelight or Philips Hue smart lighting via Mi Home (requires a connection to a single Wi-Fi network).
- ๐ฑ Using a smartphone as a remote (Virtual remote in Mi Home).
To control multiple devices at the same time:
- In the Mi Remote app, add all devices (TV, console, soundbar).
- On the main screen of the application will appear a panel with tabs โ switch between them with one touch.
- For frequently used commands (e.g., On TV + console), create scripts in Mi Home.
If you're using a Mi TV Stick, you can set the remote to control both the console and the TV at the same time.
- Connect the console to the TV and complete the initial setup.
- From the Mi TV Stick menu, go to Settings โ Remote and Bluetooth โ Set up the TV remote.
- Choose a brand of TV and follow the instructions on the screen.