How to change control on Xiaomi devices: from remote to voice assistant

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.

  1. Remove the batteries and clean the contacts with a cotton swab soaked in alcohol.
  2. Check the infrared LED remote through the camera of the smartphone: when you press the button should flash purple light.
  3. 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.

๐Ÿ“Š What remote do you use to control Xiaomi TV?
Original from Xiaomi
One for All (Philips, One for All)
Smartphone app
Voice Assistant (Alice, Google)
Other

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.

  1. Turn on the Xiaomi TV manually (button on the case).
  2. On the universal remote, press and hold the Setup (or Set) button until the indicator blinks.
  3. 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:

  1. Hold the Setup until you blink.
  2. Press Power and wait until the remote finds the working code (can take up to 5 minutes).
  3. As soon as the TV reacts, press OK preserve.

Third-party applications may require:

  1. Turn on ADB-Debugging on Mi Box: Settings โ†’ On TV. โ†’ Build number (click 7 times), then Settings โ†’ For developers โ†’ Debugging by USB.
  2. 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:

  1. Make sure your TV supports Yandex.Station (list of compatible models: Mi) TV 4S 55", Mi TV Q1 newer).
  2. Connect Yandex.Station or column with Alice to the same Wi-Fi network as TV.
  3. 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:

  1. Open Google Home on your smartphone.
  2. Click "+" โ†’ "Configure device" โ†’ "Configure new devices."
  3. Choose your Mi Box or Mi Box TV list.
  4. 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:

  1. Install the Home Assistant app on the Raspberry Pi or NAS.
  2. Connect Mi. TV via Xiaomi Miio plugin.
  3. 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
Google Assistant and Alice support over 100 commands to manage Xiaomi TV, including: - Playback control ("pause", "stop", "rewind for 5 minutes"); - Setting up the picture ("mode cinema", "increase brightness"); - Launch applications ("open YouTube", "find the series "Game of Thrones"); - Control HDMI-The full list of commands can be found in the official documentation of Xiaomi for your model.

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:

  1. Connect the Mi Box to your computer USB.
  2. Open the command line and check the connection: Adb devices
  3. 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:

ButtonCode (KEYCODE)Description
HOME3Return to the main screen
BACK4Back up.
DPAD_UP19Arrow up
VOLUME_UP24Volume +
POWER26Switching on/off

Method 2: Button Mapper Appendix

If ADB It seems complicated, use the Button Mapper app (requires root or ADB):

  1. Install Button Mapper from Google Play.
  2. Grant rights ADB via computer: adb -d shell pm grant flar2.homebutton FLAR2_HOME_KEY
  3. In the application, select the button to reassign (for example, MI Button on the Mi Box remote).
  4. 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):

  1. Use a Bluetooth adapter (if the TV does not have Bluetooth built-in).
  2. Go to Settings. โ†’ Remote and accessories โ†’ Add the device.
  3. 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 causeDecision
The remote does not turn on the TV, but the indicator flashesBatteries discharged or contacts oxidizedReplace batteries, clean contacts with alcohol
TV doesn't respond to any remote controlFailure IR-receiverReset the TV to factory settings: Settings โ†’ On TV. โ†’ Reset
Mi Remote app is not connectedTV and smartphone in different networksConnect both devices to the same 2.4GHz Wi-Fi network (5GHz may not be supported)
Voice search doesn't workThe microphone on the remote or in the settings is turned offTurn on the microphone: Settings โ†’ Remote and accessories โ†’ Voice input
The buttons on the remote are not working properly.Conflict with another IR-deviceReprogram the remote or use it RF-blaster (e.g. BroadLink) RM4)

If resetting the settings didn't help, try updating the firmware:

  1. Download the latest version of the software for your model from the official Xiaomi website.
  2. Copy the update.zip file to a flash drive (FAT32 format).
  3. Put the flash drive in the Mi TV and update through Settings โ†’ Update of the PO โ†’ Local Update.
What to do if the TV is stuck when you update?
If the Xiaomi TV is stuck on the logo after the update: 1. Turn off power for 10 minutes (take the plug out of the socket). 2. Press the Power button on the TV case and connect the power - this will start the recovery mode. 3. Connect the flash drive with the firmware and follow the instructions on the screen. If this does not help, contact the service center - possibly damaged memory (eMMC).

FAQ: Frequent questions about managing Xiaomi TV

Can I use the Mi Box remote control to control the Mi TV?
No, these remotes are incompatible. The Mi Box remotes are Bluetooth-powered and support voice input, and most Mis are. TV use IR-The exception is the Mi models. TV Q1/Q2, Support both types of connections.
How to manage Mi TV without a remote if it breaks down?
There are several ways: Use buttons on the TV body (usually Power, Volume, Source). USB. Install the Mi Remote app on your smartphone. If the TV supports CEC, control through the remote HDMI-devices (such as Xbox consoles).
Why voice search on the Mi remote TV doesn't work?
The reasons may be as follows: Microphone turned off in settings: Settings โ†’ Remote and accessories โ†’ Voice input. The remote is not synchronized with the TV (reconnect it); the voice assistant language is not supported (Russian, English, Chinese are available); weak Bluetooth signal (bring the remote closer to the TV).
How to reset the Xiaomi remote settings?
Reset: Remove the batteries from the remote for 30 seconds. Press and hold the Power buttons + Home within 10 seconds. Put the batteries back in and try reconnecting the remote to the TV. If that doesn't work, upgrade the TV firmware -- sometimes the remote crashes are software-related.
Can you control Xiaomi TV with Apple Watch?
There is no direct control, but you can configure a workaround: Install Home Assistant on a Raspberry Pi or NAS. Connect Mi. TV You can use the Xiaomi Miio plugin. Set up Apple HomeKit integration. You can now control TV through the Home app on the Apple Watch. Alternatively, use Shortcuts on your iPhone to send commands to your home. HTTP (requires programming skills).