How to untie the remote from the lamp Xiaomi: 5 proven ways (including hidden)

Xiaomi smart lamps are convenient until you need to reconfigure the remote or transfer it to another device. Most often, the problem occurs when you sell a lamp, change your smartphone, or when the remote starts to conflict with several light sources at once.

Many users mistakenly think that it is enough to simply remove the lamp from the Mi Home or Yeelight app โ€” but this only works to reset communication with the smartphone. The remote remains tied to the lamp at the hardware level, and without the right procedure it is impossible to connect to another device. In this article, we will analyze all the current ways of detachment, including hidden commands for models without a reset button and solutions for cases when the lamp does not respond to standard methods.

If you are faced with a situation where the remote controls several lamps at once or, conversely, stopped working after updating the firmware, do not rush to buy a new one. In 90% of cases, the problem can be solved softwarely without disassembling the device. The main thing is to accurately determine the lamp model and the remote version, since the reset algorithms for Xiaomi Mi LED Desk Lamp and Yeelight Bedside Lamp are different.

โ•โ•โ•

1. How to determine the model of the lamp and remote before resetting

Before you start to unbundle, be sure to specify the model of the lamp and remote control. This is critical, since, for example, the Yeelight series of remotes (white plastic box with 4 buttons) are reset differently from the round remotes from the Mi LED Desk Lamp (touch control).

  • ๐Ÿ“ฆ On the device box โ€“ usually the model is indicated on a barcode sticker (for example, YLDP02YL for Yeelight or MJTD01YL table lamp).
  • ๐Ÿ” In the Mi Home app, open the lamp card, tap three dots in the upper right corner, and select Device Informationยป.

Pay special attention to the firmware version โ€“ if it is older than 2022, some methods (for example, reset via ADB) may not work.

๐Ÿ“Š What type of Xiaomi lamp do you have?
Yeelight (ceiling/desktop)
Mi LED Desk Lamp (desktop)
Mi Bedside Lamp (Bedroomside)
Other brand (specify in the comments)

If the model is not possible to determine, use the universal method: count the number of buttons on the remote and their location:

    โš ๏ธ Note: Xiaomi and Yeelight remotes are not interchangeable, even if they look similar.Attempt to tie the Yeelight remote to the Mi lamp LED This will cause synchronization error.

    โ•โ•โ•

    2. Method 1: Standard reset via button on the remote (for most models)

    This is the simplest method that works for 80% of Xiaomi and Yeelight remotes.The algorithm is the same for most devices, but there are nuances depending on the number of buttons.

    Instructions:

      If you have a touch ring on the remote (like the Mi LED Desk Lamp), instead of holding the button, do the following:

        โ˜‘๏ธ Preparation for remote discharge

        Done: 0 / 4

        If the lamp does not respond to the button holding, try an alternative method:

        • ๐Ÿ”„ Cyclical pressing: Press the button quickly ON/OFF 5 consecutively 1 The lamp should blink. 3 once.
        • ๐Ÿ”‹ Power Reset: Disconnect the lamp from the socket for 30 seconds, then repeat holding the button.

        โš ๏ธ Note: On remotes with infrared control (for example, for Mi). LED Ceiling Light resetting via a button may not work. In this case, use the method via an application (section 3).

        โ•โ•โ•

        Method 2: Uncoupling via Mi Home or Yeelight

        If the hardware reset didnโ€™t help or the remote doesnโ€™t have a physical reset button, try untieing it software-based.This method is suitable for lamps that are already added to the Xiaomi ecosystem and are displayed in the app.

        For the Mi Home app:

          For the Yeelight app:

            If the settings do not have the option of detachment of the remote, try an alternative path:

            • ๐Ÿ”„ Reboot: In some firmwares, the detachment option appears only after restarting the lamp (turn it on / off 3 times in a row).
            AnnexThe path to settingsOption to detachNotes
            Mi HomeDevices โ†’ lamp โ†’ โ‹ฎ โ†’ Settingsโ€œUntie the remoteโ€ or โ€œReset the accessoriesโ€Works for lamps with firmware 2020+
            YeelightMy Devices โ†’ lamp โ†’ โš™๏ธ โ†’ Remote ControlยซUnpairยปThe latest version of the application is required
            Aqara HomeDevices โ†’ lamp โ†’ Settings โ†’ AccessoriesยซRemove RemoteยปOnly for Aqara lamps compatible with Xiaomi

            ๐Ÿ’ก

            If after detachment the remote does not want to connect to the new lamp, try to reset it yourself: remove the battery for 1 minute, then insert back and repeat the binding.

            โ•โ•โ•

            Method 3: Reset via a sequence of commands (for lamps without a button)

            Some lamp models (e.g. Xiaomi Mi LED Smart Bulb or Yeelight E27) do not have a physical reset button on the remote, and the application does not have an elbow option, in which case you can use a hidden command combination that resets communication at the firmware level.

            Instructions for Yeelight lamps:

              Instructions for lamps Mi LED Desk Lamp (with touchscreen):

                If the combination doesnโ€™t work, try an alternative for color-lit bulbs:

                • ๐ŸŽจ Color reset: Turn on the lamp, then switch colors quickly (red) โ†’ green โ†’ blue-colored โ†’ 0.5 seconds apart, and after the 5th switch, the lamp will flash yellow.
                • ๐Ÿ”„ Brightness cycle: Set brightness to maximum, then minimum, repeat 3 times. The lamp should go out and turn on again.
                What if the lamp does not respond to commands?
                If the lamp does not flash after entering the combination, check: 1. Power supply - try another socket or power supply. 2. Distance - remote should be as close as possible (5-10 cm). 3. Battery in the remote - replace it with a new one (even if the indicator is on). 4. Firmware - update the lamp through the application to the latest version. If nothing helps, go to method 5 (hardware reset).

                โ•โ•โ•

                5. Method 4: Hardware lamp reset (extreme case)

                If all previous methods fail, you can completely reset the lamp to the factory settings, which will remove all the attached remotes, reset the brightness and color settings, and untie the lamp from your Xiaomi account. Use this method only as a last resort!

                For reset button lamps (e.g. Yeelight E27):

                  For lamps without a button (for example, Mi LED Desk Lamp):

                    โš ๏ธ Warning: After the hardware reset, the lamp will have to be re-introduced to the Mi Home app and adjusted to all the parameters (brightness, color temperature, schedules) if the lamp was part of the smart home scenarios, they will also need to be restored.

                    If the lamp doesn't drop even after holding the button, the firmware may be damaged, and only flashing through the ADB or contacting the service center will help.

                    ๐Ÿ’ก

                    Hardware resets are the last chance to bring the lamp back to life, but they erase all settings. Use them only if other methods have not worked.

                    โ•โ•โ•

                    Method 5: Uncoupling through ADB (for advanced users)

                    This method is suitable for lamps that do not respond to standard reset methods, but are connected to the Xiaomi network and displayed in the application.

                      Step-by-step:

                      1. Connect your smartphone to your computer and open the command line (cmd).
                      2. Enter the command to check the connection: adb devices (should display the serial number of your device).
                      3. Launch the Mi Home app and find your lamp ID: adb shell dumpsys activity top | find "com.xiaomi.smarthome"
                      4. Reset the remote tether with the command (replace) DEVICE_ID real ID lamps): adb shell am broadcast -a miui.intent.action.UNPAIR_REMOTE --es device_id DEVICE_ID
                      5. Reset the lamp (turn off/turn on the power).

                      If the command didnโ€™t work, try an alternative for Yeelight lamps:

                      adb shell am start -n com.yeelight.yeelink/.device.DeviceResetActivity --es did DEVICE_ID

                      Important: This method only works for lamps that are tied to a Xiaomi account via the same smartphone that executes commands from. If the lamp is tied to another account, add it to your Mi Home app first.

                      ๐Ÿ’ก

                      If you donโ€™t have experience with ADB, use the Mi Home ADB Tool (available on GitHub) to automate the process and reduce the risk of errors.

                      โ•โ•โ•

                      7. Frequent mistakes and how to avoid them

                      Even following the instructions, users often encounter problems when untiing the remote, and here are the most common errors and their solutions:

                      • ๐Ÿ”ด Lamp doesn't blink after holding the button: Check that the remote is in range (maximum 10cm). Replace the battery in the remote - even if the indicator is on, the voltage may not be enough. Try to reset the lamp through the application (method 3).
                      • ๐Ÿ”„ Remote untied but not connected to new lamp: Reset remote: remove battery for 1 minute. Make sure new lamp is compatible with your remote (see section 1). Update the lamp firmware via app.
                      • โš ๏ธ The lamp has dropped, but the remote controls it anyway: This means that the reset was incomplete. Repeat the hardware reset (mode 5.

                      Another common problem is firmware conflict, where if the lamp and the remote have different versions of the software, they may not sync correctly.

                      1. Update the lamp firmware through Mi Home.
                      2. Reset the remote (remove the battery for 10 minutes).
                      3. Repeat the binding.

                      If none of these methods work, you may have damaged the Bluetooth module in the lamp or remote control, and you just have to go to the service center or replace the device.

                      โ•โ•โ•

                      Can I untie the remote without resetting the lamp settings?
                      Yes, in most cases. Use method 2 (uncoupling through the application) or method 3 (button combination). Hardware reset (mode 5) erases all settings, so only use it if other methods have not worked.
                      The remote controls two lamps at once. How do you untie it from one?
                      You have to reset the remote completely, and then re-attach it to the right lamp. To do this: Reset the remote (method 1 or 3). Hold the remote to the lamp you want to untie, and hold the ON button for 10 seconds (the lamp should flash). Tie the remote to the second lamp through a standard procedure (usually holding ON 3 seconds).
                      After the lamp is discharged, it doesn't turn on.
                      This may mean that the reset was incorrect or there was a firmware error. Try: Turn off the lamp from the mains for 5 minutes, then turn it on again. Perform the hardware reset again (mode 5). Connect the lamp to another power source (for example, through another power supply or USB-If the lamp is still unresponsive, contact Xiaomi for support - you may need to flash it again.
                      Can I use one remote for lamps of different brands (e.g. Xiaomi and Philips)?
                      No, Xiaomi and Yeelight only work with their own brand of lamps, and they use proprietary communication protocols (Bluetooth Mesh for Xiaomi and Wi-Fi + IR for some Yeelight models) that are not compatible with other manufacturersโ€™ devices.
                      How to tie the remote to the lamp after detachment?
                      The binding procedure is standard for most models: Turn the lamp on the network. Hold the remote for a distance of 5-10 cm. Hold the ON button (or touch the sensor) for 3-5 seconds until the lamp blinks 1 time. Release the button - the remote is tied. Check its operation. Yeelight lamps may require additional confirmation in the application.