How to connect the remote to the Xiaomi lamp: step-by-step setting

Integrating smart home devices into a single ecosystem often begins with a desire to gain physical control over lighting, without taking out a smartphone every time. Users who have bought smart lamps or ceiling lights from Xiaomi or Yeelight are often faced with the question of how to add remote control to them, especially for guests, the elderly or situations when the phone is dead.

The pairing process depends on the type of remote used: it can be a universal IR remote, a Yeelight Remote radio button or even a physical switch with a smart home function. It is important to understand that Xiaomi lamps themselves do not have an infrared receiver, so the connection occurs through software scenarios or special gateways. In this article, we will discuss all the working methods of integration that ensure the stable operation of your lighting system.

Before you start setting up, make sure that all devices, including the router, smartphone and the fixtures themselves, have the latest firmware versions. Mi Home servers or outdated software can cause commands to simply not reach the destination. We will look at both standard and advanced customization methods available in the application.

Choosing compatible control equipment

The first step is to determine the type of remote you plan to use. Xiaomi ecosystem supports multiple communication protocols, and choosing the wrong device will lead to inability to synchronize. Most often users choose between IR control through the gateway, Bluetooth remotes Yeelight or Zigbee buttons.

If you want to control light using a conventional TV or air conditioner remote, you'll need an IR gateway, like the Xiaomi IR Remote Control. Lamps don't receive IR directly, so the gateway acts as an intermediary, translating commands into digital Wi-Fi or ZigBee signals. For a more modern approach, Aqara or Yeelight Wireless Switch wireless switches that work on the Zigbee or Bluetooth Mesh protocol are great.

The Yeelight Smart Remote Control, which is designed specifically for this ecosystem, has a magnetic mount and can control not only light, but also other smart home scenarios. When choosing equipment, look for the Works with Yeelight logo or Works with Mi Home logo on the package, which is a guarantee of compatibility.

  • πŸ”Ή IR panels require a gateway with an IR emitter in line of sight from the receiver (if it were at the lamp, but it is not, so the gateway emulates the actions of the receiver).
  • πŸ”Ή Yeelight Bluetooth remotes require a Bluetooth gateway (often built into Xiaomi speakers or individual hubs) for remote control.
  • πŸ”Ή Zigbee switches Aqara require a gateway Aqara Hub or a gateway Xiaomi with support for the protocol Zigbee 3.0.

⚠️ Note: Not all Xiaomi luminaire models support color temperature or color change through third-party remotes.Basic models can only respond to on and off commands.

When buying devices, pay attention to the region of use. Chinese versions of devices may require region switching in the Mi Home app, which sometimes makes it difficult to create automation with devices from different regions. For beginners, it is recommended to select all components from one region, for example, Russia or China.

πŸ“Š What type of management do you plan to use?
IR remote through the lock
Bluetooth remote Yeelight
Zigbee Aqara button
Physical switch

Preparing the Mi Home Ecosystem

The foundation for any setup is the correct organization of the space in the Mi Home application. All devices must be added to one Room (e.g., Living Room or Bedroom) This is not just an aesthetic requirement, but a technical necessity for quickly creating scripts and grouping devices.

Go to the settings of each light fixture and see if it has a clear name, and standard names like Ceiling Light are better replaced with a chandelier or a main light, which will make it easier to navigate when setting up remotes, especially if you use voice control in conjunction with physical buttons.

Make sure your smartphone and remote (if it requires setting up via phone like Yeelight Remote) are connected to the same Wi-Fi network. Although many remotes run over a radio channel, primary binding and scripting require an active internet connection. Also check that the remote has fresh batteries installed, as a weak charge can lead to loss of data packets when sending a command.

β˜‘οΈ Checking before setting up

Done: 0 / 5

An important aspect is network stability. Xiaomi's smart home is sensitive to 2.4GHz channel congestion. If you have many devices, make sure the router handles the load. For critical devices like security gateways or major light switches, stable ping is a key success factor.

Setting up IR control through the gateway

Using an infrared remote is a classic way to tap into the remotes you already have from another technology. Since Xiaomi lamps don't have an IR receiver, we're going to use the Xiaomi IR Remote gateway in conjunction with the Mi Home app. The logic of the work is emulation: the gateway thinks it's controlling the TV, but inside the app, that action is redirected to the lamp.

To start, add an IR gateway to the Mi Home app and place it in the same room where the light is. Then add a virtual remote. From the gateway menu, select Add Remote, then Light, and find the Yeelight or Xiaomi brand in the list. If there is no ready profile, you can use the training feature, but for smart lamps this is rarely required, since they are controlled through the cloud, not the IR code.

In fact, direct IR control of a smart lamp is impossible without crutches. The correct approach for an IR remote is different: you set the remote button (like a 1 button or macro) to run a script in an application. However, a more effective method for IR remotes is to use them to control the gateway itself, which, in turn, through automation (IFTTT or internal Mi Home logic), turns on the light. But the easiest way to use an IR remote to emulate an On/Off command on a virtual device is if this function is supported by a gateway plugin.

It is critical to understand that Xiaomi smart bulbs are controlled over Wi-Fi/Zigbee, so the IR signal from the remote must be converted by the gateway into a digital signal via a cloud server or local automation.

If you use a universal remote with learning, you can try to train it to a signal from another IR device, but that won't give you color or brightness control.

Type of remoteEquipment requiredFunctionalDifficulty
IR remote (TV)Xiaomi IR GatewayOn/off (limited)Tall.
Yeelight RemoteBluetooth gatewayOn/Off, Brightness, ColorLow.
Aqara SwitchZigbee GatewayOn/Off, ScriptsMedium
Air conditioning remoteXiaomi IR GatewayOnly On/Off.Tall.

The Yeelight Smart Remote

The most native solution for owners of lighting Yeelight is to use the official remote Yeelight Smart Remote Control. This device works on the Bluetooth protocol and requires a device with a Bluetooth gateway in the room (for example, a Xiaomi Smart Speaker column or a special speaker). USB-whistle, although more often the role of the gateway is performed by a smartphone at the time of setting up or a permanent hub).

The connection process begins with adding the remote itself to the Mi Home app. To do this, press the central remote button for 5 seconds until the indicator starts flashing. In the app, press +, select the Yeelight Remote device and follow the instructions on the screen. Once you successfully add the remote will appear in the list of devices in your room.

Now you need to configure the button actions. Go to the remote settings, select Device Management or Button Customization. Here you will see a list of available actions. Select your Xiaomi lamp from the list and assign an action to it. For example, a short click to turn on / off, a long press to change the color temperature, double click to turn on the night mode.

⚠️ Note: The Yeelight remote can only control devices added to the Yeelight plugin (a separate app) or correctly dropped in the Mi Home.If the lamp does not appear, try switching the account region.

What if the remote doesn’t see the lamp?
Make sure the lamp and remote are in the same room in the app. Also check if the lamp is asleep (is not switched off by the physical switch).

The thing about Yeelight is that you can create Groups, and you can assign a single button to control multiple lights in the room, which is perfect for a "Switch Off All" scenario before you go to bed, and just create a group of devices in the app and tie it to the remote button.

Use of Zigbee buttons Aqara

Aqara buttons (such as the Wireless Mini Switch or Double Key Wireless Switch) are some of the most popular smart home features. They work on the Zigbee protocol, which provides low power consumption and high response speed. They must have an Aqara Hub gateway or a Xiaomi Zigbee-enabled gateway.

Once you add a button to the app through the gateway, go to Autonomous Devices or Scenarios. Unlike the Yeelight remote, this is setup through the creation of automations. The logic is: If (button pressed) -> That (act with the lamp).

You can configure different types of presses: single, double and long, and this allows you to control three different scenarios from one small button, such as single, main light, double, sconce, long, turn everything off, which gives you flexibility that is not available to conventional IR remotes.

  • πŸ”Έ Single press: On/off main lamp.
  • πŸ”Έ Double press: Switching between warm and cold light.
  • πŸ”Έ Long press: Starting the script "Cinema" (darking lights to 10%).

It is important to note that the gateway must be online to operate Zigbee buttons. If the internet goes down, local scripts (if the gateway supports them and they are configured correctly) may continue to work, but remote control and statistics will not be available. Make sure the gateway is located no further than 5-10 meters from the buttons for a stable signal.

πŸ’‘

Place the Zigbee gateway as close to the Aqara buttons as possible, but away from powerful interference sources such as microwave ovens or Wi-Fi routers running on Channel 11.

Creating scenarios and automation

The power of Xiaomi's ecosystem is revealed in creating complex scenarios, you can connect the remote not only to turn on the lights, but also to other devices, for example, pressing the off button on the remote can not only turn off the lights, but also close smart curtains and turn the air conditioner into sleep mode.

To create a script, go to the Smart Home tab in the Mi Home app. Click Create, then select Manual Launch or Device Launch (select your remote and type of tap). As an action, select luminaire control. You can combine actions by adding delays or conditions (e.g., only perform after sunset).

Scenarios circumvent the limitations of standard remote functionality. If the remote doesn't change color, you can customize the script so that double-pressing switches the lamp to a predefined Read or Rest color mode that you have set up in the parameters of the lamp itself.

πŸ’‘

Using scripts allows you to turn a single remote button into a powerful tool for controlling the entire room, going far beyond just turning on the lights.

Remember to test the scripts you have created. Sometimes it can be 1-2 seconds late because of cloud processing. For instant response, try using devices from the same manufacturer and protocol (e.g. Zigbee button + Zigbee lamp + Zigbee gateway) to allow you to execute commands locally, bypassing the cloud.

Solving Connection Problems and Errors

When you set up, you often find that the remote controls stop responding or that the commands are delayed, and one of the common reasons is that the battery drains in the remote or the device goes to sleep to save energy. Try replacing the battery with a quality 1.5V.

Another common problem is state desynchronization, you press a button on the remote, the lights go on, but in the application, the status is off, and this is treated by resetting the gateway (off the outlet for 10 seconds) and reconnecting the lamp, and also by removing the device from the application and re-associating it.

If the Yeelight remote doesn't find the device, check if the Yeelight plugin is locked in the phone's security settings. The application needs background permissions, geolocation access and Bluetooth. Without these permissions, the device search may not start.

Why does the remote only work near the gateway?
Bluetooth and Zigbee have limited ranges: If the remote is more than 10 meters away from the gateway (or through 2 concrete walls), the signal is lost, the solution is to install a signal repeater or move the gateway to the center of the room.
Can I use the remote from the Xiaomi TV?
Xiaomi's standard IR remote does not have programmable buttons to control light directly. However, if you have an IR gateway, you can try to adjust the emulation, but it's complicated and unstable. It's better to use specialized buttons.
How to reset the Yeelight remote?
To reset the Yeelight Smart Remote, you need to hold two side buttons (or center and side buttons, depending on the model) simultaneously for 10 seconds before the indicator flashes quickly, and then add the remote again to the application.
Does the remote work without the Internet?
Local scenarios (especially Zigbee and Bluetooth Mesh) can work without access to the Internet if the gateway and remote can see each other, but initial configuration and voice control require a connection to servers.

Compliance with these guidelines will allow you to create a convenient and responsive light control system. A smart home should simplify life, not complicate it, so take the time to properly customize scenarios and choose the right remote. Now your Xiaomi light is truly smart and convenient for daily use.