Xiaomi Technique Management โ Be it Smart TV Mi TV, The Mi Box, or even the projector, sometimes requires reconfiguration, and the reasons are different: the remote is broken, you want to use your smartphone as an alternative, or you need to adapt the buttons to your habits. In this article, we will analyze all the ways to change control on Xiaomi devices, from basic remote replacement to fine-tuning gestures and voice commands.
It is important to understand that under the "control" here means not only physical replacement of the remote, but also software methods: button binding, setting up IR-We'll look at the solutions for different scenarios, from basic to advanced, based on firmware features, and even integration with smart home systems. MIUI TV Android TV.
If your Xiaomi remote is out of order, don't rush to buy a new one. 80 percent of the time, it's software-based: resetting the remote, updating the TV's firmware, or reconnecting via Bluetooth. And for those who want more flexibility, there are ways to customize buttons or control TV through Google Assistant and Alice.
Replacement of the physical remote: original vs alternative
The first thing that comes to mind when you break a remote is to buy a new one, but it's not always the best solution.
- ๐ Original remote: Perfect, but more expensive than its peers. TV 4S Mi Box S can be ordered with the original model code LYWSD02MM (check the compatibility!).
- ๐ฐ Universal remotes: Cheaper, but require customization. Popular models: Xiaomi Mi Remote (supports up to 50,000 devices) or BroadLink RM4 Pro IR- and RF-management.
- ๐ฑ Double-doubler remotes from other brands: One For All or Philips, for example. It's important to choose a model that supports Android. TV.
- ๐ง Homemade solutions: If you have an Arduino or Raspberry Pi, you can build a remote on the base LIRC (Linux Infrared Remote Control).
Before you buy a replacement, check if the old remote is working because of dead batteries or contaminated contacts.
- Remove the batteries and clean the contacts with a cotton swab soaked in alcohol.
- Check the infrared LED remote through the camera of the smartphone: when you press the button should flash purple light.
- If the Bluetooth-type remote is (like the Mi) TV Q1), Try reconnecting it in TV settings: Settings โ Remote and accessories โ Add the device.
โ ๏ธ Note: Remotes for Mi Box and Mi TV They're not interchangeable! They use a Bluetooth voice-enabled remote, and they use TVs โ IR- hybrid (IR + Check the type of remote on the sticker at the back.
2. Customize a universal remote for Xiaomi TV
If you've chosen a universal remote, you need to set it up correctly. Most models support Xiaomi out of the box, but sometimes you need to manually enter the code.
- Turn on the Xiaomi TV manually (button on the case).
- On the universal remote, press and hold the Setup (or Set) button until the indicator blinks.
- Enter the code for Xiaomi: For Mi TV (2018โ2023): 0171, 0180, 0226. For Mi Box: 0060 or 0178. For older models (until 2017): 0030 or 0056.
Power
Setup
If none of the code works, try auto-search:
- Hold the Setup until you blink.
- Press Power and wait until the remote finds the working code (can take up to 5 minutes).
- As soon as the TV reacts, press OK preserve.
Third-party applications may require:
- Turn on ADB-Debugging on Mi Box: Settings โ On TV. โ Build number (click 7 times), then Settings โ For developers โ Debugging by USB.
- Connect to TV on the phone IP-address (you can find it in the settings) โ Network).
โ ๏ธ Attention: When in use ADB Do not connect to unknown networks - this could put your Mi Box at risk of being hacked. ADB post-tuning.
4.Voice control: Alice, Google Assistant and Siri
Voice assistants make interaction with Xiaomi much easier TV. Letโs see how to set up each of them.
๐ค Alice from Yandex
To manage through Alice:
- Make sure your TV supports Yandex.Station (list of compatible models: Mi) TV 4S 55", Mi TV Q1 newer).
- Connect Yandex.Station or column with Alice to the same Wi-Fi network as TV.
- Say, "Alice, find the devices." Once you find the TV, confirm the link.
Supported teams:
- Turn on TV / Turn off the TV.
- "Put the volume on 50%."
- "Open Netflix on the TV"
- ยซSwitch to HDMI 1ยป.
๐ค Google Assistant
For the Mi Box and the new Mi TV Android TV:
- Open Google Home on your smartphone.
- Click "+" โ "Configure device" โ "Configure new devices."
- Choose your Mi Box or Mi Box TV list.
- Tie to a room (for example, "living room").
Now you can use commands:
- "OK, Google, turn on Mi Box."
- "Play the movie Interstellar on TV"
- "Grow volume by 20%."
๐ Siri (for iPhone owners)
Configure via HomeKit:
- Install the Home Assistant app on the Raspberry Pi or NAS.
- Connect Mi. TV via Xiaomi Miio plugin.
- Add your TV to Apple Home and control it with Siri:
Hey, Siri, turn on the TV in the living room on NTV.List of all voice commands for Xiaomi TV
5. Reassignment of remote buttons (advanced setting)
If you don't like the standard layout of the buttons, you can reassign them, which is true, for example, if you're used to the Samsung remote and want the buttons to work the same way. ADB or special applications.
Method 1: Use of ADB
This will require:
- Computer installed ADB (download).
- Mi Box or Mi TV plugged ADB-debugging.
- Knowledge of the button code (list below).
Steps:
- Connect the Mi Box to your computer USB.
- Open the command line and check the connection: Adb devices
- Use the command to reassign (example: swap buttons) HOME and BACK): adb shell settings put secure tv_user_action_map "3:KEYCODE_HOME,4:KEYCODE_BACK,23:KEYCODE_DPAD_UP"
Popular button codes:
| Button | Code (KEYCODE) | Description |
|---|---|---|
| HOME | 3 | Return to the main screen |
| BACK | 4 | Back up. |
| DPAD_UP | 19 | Arrow up |
| VOLUME_UP | 24 | Volume + |
| POWER | 26 | Switching on/off |
Method 2: Button Mapper Appendix
If ADB It seems complicated, use the Button Mapper app (requires root or ADB):
- Install Button Mapper from Google Play.
- Grant rights ADB via computer: adb -d shell pm grant flar2.homebutton FLAR2_HOME_KEY
- In the application, select the button to reassign (for example, MI Button on the Mi Box remote).
- Set up a new action (opening the application, voice search, etc.).
โ ๏ธ Warning: Don't reassign the button POWER (shutting down the TV โ this can make it impossible to turn on the TV without physically disconnecting from the network. VOLUME_UP/DOWN, if you use CEC-management HDMI.
๐ก
Button reassignment is a powerful tool, but it requires caution. Always write down the original settings before the changes to return them in case of problems.
6. Alternative ways of controlling: from the keyboard to the smart home
If the remote is lost or broken, and the smartphone is not at hand, there are other ways:
- โจ๏ธ Keyboard and mouse: Connect to USB Or Bluetooth to the Mi Box. All standard combinations work: Win + D for the main screen, Alt + Tab for switching apps.
- ๐ฎ Gamepad: Xbox, PlayStation and 8BitDo. Settings: Settings โ Remote and accessories โ Add a gamepad.
- ๐ Smart Home: Integration with Home Assistant, Yandex Smart Home or Apple HomeKit allows you to control TV through scripts. For example, the Start of the Movie team can turn on the TV, dim the lights and start Kodi at the same time.
- ๐ฅ๏ธ Remote Access: Through TeamViewer or AnyDesk (requires Mi Box with the app installed).
To connect the keyboard/mouse to the Mi TV (Mi Box):
- Use a Bluetooth adapter (if the TV does not have Bluetooth built-in).
- Go to Settings. โ Remote and accessories โ Add the device.
- Select โKeyboardโ or โMouseโ and follow the instructions.
Critical nuance: on some models Mi TV (Like Mi. TV A2 43") USB-The ports are disabled for the periphery by default. To activate them, you need to enter the engineering code: Settings โ On TV. โ Press sequentially: Up โ Up. โ Down. โ Down. โ Left. โ Right. โ Left. โ Right. โ Up. โ Up. โ Then the menu will appear. USB Debugging.
7. Problem Solving: The remote is not working, the TV is not responding
If after all the manipulations the control has not recovered, check the following points:
| Problem. | Possible cause | Decision |
|---|---|---|
| The remote does not turn on the TV, but the indicator flashes | Batteries discharged or contacts oxidized | Replace batteries, clean contacts with alcohol |
| TV doesn't respond to any remote control | Failure IR-receiver | Reset the TV to factory settings: Settings โ On TV. โ Reset |
| Mi Remote app is not connected | TV and smartphone in different networks | Connect both devices to the same 2.4GHz Wi-Fi network (5GHz may not be supported) |
| Voice search doesn't work | The microphone on the remote or in the settings is turned off | Turn on the microphone: Settings โ Remote and accessories โ Voice input |
| The buttons on the remote are not working properly. | Conflict with another IR-device | Reprogram the remote or use it RF-blaster (e.g. BroadLink) RM4) |
If resetting the settings didn't help, try updating the firmware:
- Download the latest version of the software for your model from the official Xiaomi website.
- Copy the update.zip file to a flash drive (FAT32 format).
- Put the flash drive in the Mi TV and update through Settings โ Update of the PO โ Local Update.