Have you ever noticed on the top of a Xiaomi smartphone or a remote from Mi? TV Box is a little dark window that looks like a camera lens, and it's not a decorative element, it's not a light sensor, it's an infrared window (IR) A port that many users ignore as a relic of the past, and this tiny module has the potential to turn your gadget into a universal remote control for dozens of devices, from air conditioners to multimedia systems.
In the age of smart homes and voice assistants, it may seem that infrared is obsolete, but in 2026 it remains relevant for millions of Xiaomi users, especially in regions where smart devices have not yet replaced traditional technology. IR-port in smartphones and accessories Xiaomi, but also reveal hidden scenarios of its application โ from the management of household appliances to automation of routine tasks.
What is it? IR-Port and how it works in Xiaomi devices
Infrared port (IR-port is a module for wireless data transmission using infrared radiation (wavelength) ~Unlike Bluetooth or Wi-Fi, which run on radio frequencies, an infrared port uses light pulses that are invisible to the human eye:
- โ Low power consumption โ ideal for remote control.
- โ High compatibility โ works with 99% of home appliances produced in the last 30 years.
- โ Security โ the signal does not pass through walls, which excludes interception.
- โ Limited range โ effective distance up to 10 meters.
- โ Direct Visibility โ Obstacles block the signal.
In Xiaomi devices IR-port integrated:
- ๐ฑ Smartphones (Redmi Note series, POCO, Mi 10/11 etc.).
- ๐บ Media players (Mi) TV Box S, Mi Box 4).
- ๐ Smart sockets and controllers (e.g. Xiaomi Mi Smart) IR Remote Controller).
Note: starting in 2022, Xiaomi gradually abandons the IR-ports in flagship smartphones (for example, Xiaomi 13 Pro does not have it), but saves them in budget and mid-budget models. IR-port in your model can be in the specifications on the official website or using the application CPU-Z (sensors).
Main functions IR-Port in Xiaomi: from remote to smart home
Most users use the majority of IR-The port is purely a replacement for remote control, but its capabilities are much broader:
- Home appliances management โ air conditioners, TVs, audio systems, fans and even some refrigerator models.
- Automating routine tasks โ for example, turning on the air conditioner on a schedule or synchronizing the work of the TV and the sound panel.
- Smart Home integration โ bundled with Mi Home or Google Home for voice control.
- Diagnostics of malfunctions โ some service menus of equipment are opened only through IR commands.
- Gaming controllers are rare, but some retro consoles (such as the Nintendo Wii) support control through the console. IR.
The most popular software for working with IR-port:
- ๐ฑ Mi Remote (official app preinstalled on most devices).
- ๐ง AnyMote (advanced settings, support for rare brands).
- ๐ค Tasker + AutoInput (to create complex automation).
๐ก
IR-The port in Xiaomi can work not only as a remote, but also as a trigger for a smart home. GPS) The smartphone can automatically turn on the air conditioner through IR-team.
Step-by-step instructions: how to set up IR-port on a Xiaomi smartphone
If your smartphone is equipped with IR-You can activate it in 3 minutes by port:
- Make sure you have a port โ check the top of the device (usually next to the speaker) or the model specifications.
- Install the app: For basic management: Mi Remote (available from Google Play or App Gallery). For advanced features: AnyMote Universal Remote or BroadLink.
Add the device.
1. Open Mi Remote.
2. Press + โ select category (e.g., โTVโ).
3. Select a brand from the list (if yours isn't, try "Universal").
4. Point your smartphone to the equipment and follow the instructions on the screen.Test the teams
Power
Volume+
Channel+
โ๏ธ Preparation for setup IR-port
If the app does not recognize your technique:
- ๐ Try another brand from the list (for example, for the LG Sometimes Samsung's profile is appropriate).
- ๐ Manually add command codes (anymote has a database of custom presets).
- ๐ง Write in support of Xiaomi with the model of the technology โ they can add it in the next update.
โ ๏ธ Note: Some modern TVs (e.g. Sony Bravia 2023)+) They use Bluetooth remotes and they don't support IR control. Check this in the manual for the device.
IR-Smart home port: how to connect Xiaomi with other devices
IR-The port is a real godsend for smart home owners, especially if there is equipment in the ecosystem without Wi-Fi or Zigbee:
- ๐ก๏ธ Control air conditioning via Mi Home by voice (using Alice or Google Assistant).
- ๐ฌ Synchronize the work of the TV and sound panel with one team.
- โฐ Set up a schedule โ for example, turn on the heater 30 minutes before you get home.
For integration IR-The port to the smart home will need to be:
- Smart hubs like Xiaomi Mi Smart Home Hub or Aqara Hub.
- The app is called Mi Home, Home Assistant or Yandex Smart Home.
- IR-blaster (if you are not operating from a smartphone) โ for example, BroadLink RM4 Pro.
Example of automation settings in Mi Home:
1. Open Mi Home โ Automation โ Create.
2. Select a trigger (e.g., "Geolocation: Coming Home").
3. Add the action โ Devices โ Select IR-devices (e.g., air conditioning).
Specify the command (e.g., "Include 24ยฐC temperature").
5. Save the script.| The device | Example of automation | Equipment required |
|---|---|---|
| Air conditioner | Incorporation at temperatures above 28ยฐC | Xiaomi Smartphone + temperature sensor (e.g. Aqara) |
| Television | Turn off at 23:00 if no one is watching | IR-blaster + motion-sensor |
| Music centre | Turn on in the morning with an alarm clock | Xiaomi Smartphone + Smart lamp (for a smooth awakening) |
How to circumvent the line of sight restriction?
Problems with IR-Port of Xiaomi: Reasons and Solutions
Even a device as simple as IR-The port may be malfunctioning.-5 problems and ways of eliminating them:
- ๐ด The port doesn't respond to commands: Check if the port is covered with a cover or film. Reboot your smartphone. Update the Mi Remote app.
- ๐ Delayed commands: Make sure there is no interference (bright sunlight can interfere with the IR signal.
- โ Not all buttons work: Try a different brand profile in settings. Add the device manually through codes (anyMote has a database).
Critical information: if IR-The port stopped working after a smartphone fell or moisture got in, most likely the module itself was damaged, in which case repair is possible only in the service center - self-replacement requires soldering and specialized equipment.
โ ๏ธ Note: Some users are trying to โdisperse" IR-The port, increasing the signal power through the engineering menu (#36446337##.) This can cause the module to overheat and fail. Xiaomi's official firmware is already optimized for safe operation.
IR-port. Bluetooth/Wi-Fi: What is best for managing technology
Comparison. IR-Port with modern wireless technology to understand when to use it:
| Parameter | IR-port | Bluetooth | Wi-Fi |
|---|---|---|---|
| Range. | Up to 10m. | Up to 30m | Up to 100m. |
| Energy consumption | Minimum | Average. | High. |
| Compatibility | 99% of old equipment | Only modern devices | Only "smart" technology. |
| Signal delay | Instantly. | 100-300 ms. | 200-500 ms. |
When to use IR-port:
- ๐ For the management of old equipment (released before 2010).
- โก When you need minimal power consumption (for example, in standalone remotes).
- ๐ If local security is important (the signal is not intercepted outside the room).
When is the best choice Bluetooth/Wi-Fi:
- ๐ Remote control (for example, turn on the heater on the way home).
- ๐ค For integration with voice assistants (Alice, Google Assistant).
- ๐ If feedback is needed (for example, the current temperature of the air conditioner).
๐ก
If your TV supports you and IR, Bluetooth, configure both methods of control. IR Use for fast commands (on/off) and Bluetooth for complex scenarios (e.g., transferring sound to headphones).
Hidden chips IR-The port in Xiaomi, which few people know about
In addition to standard management of equipment, IR-Xiaomi port can be used in unexpected ways:
- ๐ฎ Retro console game controller โ some emulators (e.g. Dolphin for Nintendo Wii) support IR-It requires applications like the WiiMote Controller.
- ๐ Diagnostics of equipment malfunctions โ some service menus (for example, in Samsung TVs) are opened only through the sequence of IR commands, 4PDA).
- ๐ก Transfer of small files in the 90s IR-The port was used to exchange data between phones (IrDA standard), which Xiaomi has disabled, but it can be returned through custom firmware (for example, LineageOS).
- ๐ Authentication โ Some smart locks (e.g. Xiaomi Mi Smart Door Lock) support IR unlocking as a backup method.
For experiments with IR-These applications are useful for the port:
- ๐ ๏ธ IR Universal Remote โ Expanded Team Base.
- ๐ IR Test โ check the portโs performance.
- ๐ง Tasker + AutoRemote โ Creating complex automations.
Example of non-standard use: if you have a Xiaomi Mi Band and a smartphone with a IR-You can set up the automatic shutdown of the TV when you fall asleep:
1. In the Mi Band, turn on sleep tracking.
2.In Tasker, create a task:
- Trigger: "State โ Plugin โ AutoWear โ Sleep detected."
Action: "Plugin โ Mi Remote โ Turn off the TV."