How to set up a Xiaomi remote for controlling a TV: all methods and codes

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:

  1. Automatic search: The app picks up the code by sending signals to TV, and it works for 90 percent of today's TVs.
  2. Manual code entry โ€“ if the automatic search didnโ€™t work, you can enter the manufacturerโ€™s code manually.
  3. 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.

๐Ÿ“Š What brand is your TV?
Samsung
LG
Sony
Xiaomi
Philips
TCL
Other

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.

  1. 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).
  2. Click Add Device โ†’ Select Television Category.
  3. Turn on the TV and point the Xiaomi remote to it. The app will start sending test signals.
  4. Once the TV reacts (e.g., changes channel or volume), click Yes, it works in the app.
  5. 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 brandCodes for Mi RemoteNotes
Samsung10052, 10178, 10060, 11158For 2015-2023 models, the 10060 code often works with QLED.
LG10171, 10056, 11158, 10064Code 10056 is suitable for OLED-television
Sony10000, 10170, 11158, 10062For Android TV, use 10000 or 11158
Xiaomi (Mi TV)10178, 11158, 1006610066 for PatchWall models (India)
Philips10054, 10172, 11158, 10068For Android TV, try 10068.

How to enter the code manually:

  1. In the Mi Remote app, select Add Manually.
  2. Specify the brand of the TV (if it is not on the list, select Other).
  3. Type the first code from the table and press Test. If the TV doesn't respond, try the next code.
  4. 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.

  1. In the Mi Remote app, select Button Learning (or Customize in English).
  2. Direct both remotes with IR transmitters to each other at a distance of 2-3 cm.
  3. Press the button on the original remote (e.g., On/Off), then the same button on the Xiaomi remote.
  4. 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?
The problem may be incompatibility of the IR protocols. Try: 1. Update the remote firmware via the Mi Home app. 2. Use another original remote (for example, from the console of the same brand). 3. Reset the Xiaomi remote settings to factory (Settings โ†’ Reset in the application).

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 causeDecision
The remote is not synchronized with TV.Battery discharged or incompatibility of IR protocolsReplace the battery, try another setup method (manual code entry)
Buttons are running with a delayWeak signal or interference from other IR devicesDirect the remote closer to the TV, eliminate sources of IR radiation (for example, lamps)
After updating the firmware TV remote stopped workingIR protocol changed in the new version of TVReconfigure the remote again through automatic search
Voice search buttons are not workingThe function is tied to the original remoteUse 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:

  1. In the Mi Remote app, add all devices (TV, console, soundbar).
  2. On the main screen of the application will appear a panel with tabs โ€“ switch between them with one touch.
  3. 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.

  1. Connect the console to the TV and complete the initial setup.
  2. From the Mi TV Stick menu, go to Settings โ†’ Remote and Bluetooth โ†’ Set up the TV remote.
  3. Choose a brand of TV and follow the instructions on the screen.

FAQ: Frequent questions about setting up Xiaomi remote

My TV doesn't respond to Xiaomi's remote. What do I do?
Check this out: Make sure your TV supports IR control (some current models only use Bluetooth or Wi-Fi). Try auto-search 2-3 times - sometimes the signal "does not reach" the first time. If you have a Samsung or LG 2020+, you may need a Bluetooth remote (IR may not be supported).
How to reset the Xiaomi remote settings to factory?
There are two ways: via the app: Mi Remote โ†’ Settings โ†’ Reset. Hardware reset: Remove the battery, then press the On + Volume + button for 10 seconds, insert the battery back. Once reset, the remote will be like new - it needs to be reconfigured.
Can I use one Xiaomi remote for two TVs?
Yes, but with reservations: In the Mi Remote application, you can save several profiles (for example, TV in the hall and TV in the bedroom). Physically, the remote control will control the device that is aimed at (the IC signal does not pass through the walls); To switch between profiles, you need to open the application on your smartphone.
Why did Xiaomiโ€™s remote control stop working after the TV firmware update?
Manufacturers sometimes change the IR protocols in new versions of the software. Solutions: Reconfigure the remote via automatic search. Try manually entering the codes (they could update). If nothing helps, use the original remote or buy a Bluetooth remote from the same brand as the TV.
How to check if the IR transmitter works on the Xiaomi remote?
Turn on your smartphone camera and point the remote to the lens (5-10 cm). Press any button โ€” if the IR transmitter is good, you will see a glimmer of purple light in the viewfinder. If there is no flicker: Check the battery. Clean the IR transmitter (it is on the end of the remote) of the dust with a cotton swab. If the remote is falling, perhaps the board is damaged, you will need a replacement.