Xiaomi smartphone owners often face the challenge of finding an infrared transmitter on the device body, confusing the proximity sensor needed to dampen the screen during a conversation with the IR port, which turns the phone into a universal remote.
Modern Xiaomi and Redmi models are equipped with complex sensor systems hidden under the display or in the top frame. If you plan to control household appliances or adjust automation in a smart home system, you need to know exactly the location of components. In this article, we will discuss in detail the physical location of elements and software settings.
Itβs important to note that not all smartphones have an integrated IR emitter, and the presence of an infrared port depends on the deviceβs specific model and price segment, so you should start by checking the specifications of your device, and then move on to visual inspection and software.
Physical location of the IR port on the case
The hardware search starts with an external inspection, and in most cases, engineers place an infrared diode on the top of the device, which is standard for the Mi flagship series and many Redmi Note models, and it looks like a little black spot, often hidden under glass or plastic, next to a noise reduction microphone.
However, in budget models or devices with bangs, the physical port may be completely absent. In such cases, manufacturers rely on software solutions or external accessories. If you donβt see the characteristic dark window on the end, your smartphone probably does not support direct control of infrared signals without additional devices.
And we also have to mention the light and proximity sensor, which is often located next to the speaker on the front, and although technically these are sensors, they're not about sending commands to televisions or air conditioners, but they're about responding to (the environment) and bringing the phone to the ear.
β οΈ Warning: Do not attempt to clean the IR port hole with sharp objects or alcohol, which can damage the diode lens or introduce dust into the housing, leading to irreversible disruption of signal transmission.
To determine the port's presence accurately, you can use another phone's camera. Turn on the camera and point the top of your Xiaomi lens. Press the power button or launch the "Mi Remote" app. If you see a purple or white glow on the camera screen, then the infrared emitter is present and functioning.
Software search through the Mi Remote application
The main tool for working with infrared signals is the system application Mi Remote, which is through this interface, you can customize and emulate the signals of various devices, find it in the Tools folder on your desktop or through a global search system.
When you first start up, the app automatically scans for a hardware IR port, and if the port is detected, you will be asked to add a new device, and if the app reports no hardware, it confirms that the physical module in your smartphone is not installed by the manufacturer.
Inside the application, settings are in the control menu. By clicking on the device icon (like a TV), you access the virtual control panel. You can set the buttons, change the layout, and check the infrared transmitter. If the commands don't work, try changing the signal encoding in the specific remote settings.
βοΈ Verification of the IR port
Sensors in the Xiaomi Smart Home Ecosystem
If you were asking for smart home devices instead of your phone, that's a game changer. In Xiaomi Smart Home, motion sensors are separate, stand-alone devices that connect to the Gateway or directly to the hub via Zigbee or Bluetooth Mesh protocols.
Such sensors are usually small white cylinders or cubes with the Mi logo. PIR-A sensor (passive infrared sensor) that responds to the movement of thermal objects, and installing these devices requires a basic gateway that acts as a bridge between the sensor and the Internet.
To set up, go to the Mi Home app. After authorization, click the add-on button and select the category "Security" or "Sensors." The system will suggest choosing a model for your motion sensor. The pairing process usually requires you to press a button on the device body before the indicator flashes.
| Type of device | Protocol of communication | We need a lock. | Where to put it |
|---|---|---|---|
| Xiaomi Motion Sensor | Zigbee | Yes. | Corner of the room, height 2-2.5m |
| Aqara Motion Sensor | Zigbee 3.0 | Yes (Aqara/Xiaomi) | Corridor, entrance group |
| Mi Smart Home Set | Z-Wave/Zigbee | Yes. | Near windows or doors |
| Detection camera | Wi-Fi | No. | Ceiling, viewing angle |
It is important to choose the right place for installation. PIR-sensors do not respond well to movement perpendicular to the direction of their work, it is best to set them so that the trajectory of the person's movement crosses the sensor's view sector, and avoid placing heat sources or windows where the sun shines.
Hidden Sensitivity Settings
Setup of automation scenarios
The motion sensor itself is just a tool for capturing an event, and its real value is revealed in conjunction with other devices through automation scenarios. In the Mi Home app, go to the Scripts tab and create new automation.
As a condition ("If"), select your motion sensor and the "Motion Detected" event. The action ("That") is to turn on the lights, send a notification to your phone, launch the camera, or turn on the robot vacuum cleaner. The combinations can be almost anything, limited only to your imagination and a list of compatible equipment.
For example, the popular Nightwatch scenario: if the sensor detects movement in the corridor between 23:00 and 6:00, the smart lamp turns on at 10% brightness, which allows you to safely move around the house at night without turning on the main lights and without leaving the household with a bright flash.
β οΈ Note: When creating scenarios with notification to the phone, consider network latency. Between the sensor operation and the sound on the smartphone can take from 1 to 5 seconds, which is critical for security systems.
For more advanced users, integration through the Home Assistant platform or voice assistants is available, allowing you to connect devices from different manufacturers and create complex logical chains that go beyond the standard functionality of the Mi Home application.
Diagnostics and troubleshooting
If you find that the motion sensor has stopped responding or is not functioning stable, the first thing to do is check the power cell. In autonomous sensors, the CR2032 battery is a consumable and requires replacement approximately every 1-2 years depending on the frequency of the alarms.
The second common problem is the loss of communication with the gateway. If the sensor indicator has started flashing red or lighting up often, try bringing the device closer to the hub to re-pair. Sometimes you need a full reset of the sensor by pressing the button for a long time.
In the case of a phone, if the IR port stops working, check if the case is blocking. Dense silicone or metal bumpers can shield the signal. Remove the protection and check the remote again. Also make sure that the Mi Remote app selects the correct region and device model.
π‘
If the motion sensor often gives false positives, try rubbing its lens with a soft dry cloth. Dust and spider webs can distort infrared radiation, causing the system to react.
Software failures are treated by updating the firmware of the sensor or gateway itself. Go to the device profile in the application and check for updates. Sometimes the manufacturer releases patches that improve motion recognition and power consumption algorithms.
Use of external IR adapters
For smartphones that lack an integrated infrared port, there are external solutions: small jack adapters (3.5 mm) or devices connected via a charging port (USB Type-C / Micro-USB), which allow any Android smartphone to control the equipment.
Once you have connected the adapter, you need to install a third-party application that supports external transmitters, such as "ZaZa Remote" or "Anymote". In the application settings, you need to select the type of connection (external IR) and calibrate the device.
The advantage of external adapters is that they are versatile, but they take up the connector and require a free port, and they can also consume additional power from the phone's battery, albeit in small amounts.
π‘
External IR adapter is the only solution for managing old equipment on smartphones without a built-in IR port, but requires a constant connection to the connector.