How to connect a Xiaomi desktop lamp to your phone and Wi-Fi: full instructions with photos and tips

Xiaomi desktop lamps have long since ceased to be just light sources โ€” they have become full-fledged smart home devices that can sync with other gadgets, adapt to biorhythms and even save energy. However, many users face difficulties already at the stage of the first connection: the lamp does not find the network, the Mi Home application gives an error, and voice assistants refuse to recognize it. In this article, we will analyze all possible ways of connecting, from basic settings via Wi-Fi to integration with Apple HomeKit and automation through Yandex Alice.

Feature of Xiaomi smart lamps (for example, Mi Desk Lamp models) 1S, Mi LED Desk Lamp Pro or Yeelight Moonlight ST1) It's because they require not only a physical connection to the outlet, but also software binding to the ecosystem, and without that, you get a regular light fixture with no remote control. ESP32, This is different from the standard procedure for Yeelight-based lamps, which is important if your model is released after 2022.

1.Preparation for connection: what to check before starting

Before you start setting up, make sure you have everything you need. A common mistake users make is trying to connect the lamp to a 5 GHz network, although most Xiaomi models only work with a 2.4 GHz band. If your router does not support splitting networks, you will have to temporarily disable 5 GHz or create a guest network.

Also check:

  • ๐Ÿ”Œ Power the lamp: plug it into the socket and make sure the indicator on the body flashes (for Mi Desk Lamp Pro models, this is a white strip on the base).
  • ๐Ÿ“ฑ Mi Home: Download the latest version from the App Store or Google Play (versions below 6.5.400 may not support new devices).
  • ๐ŸŒ Region in Mi Home: If you bought a lamp in China, select China Mainland region in the app settings, otherwise the device will not be found.
  • ๐Ÿ”’ Access Rights: Allow the application to use Bluetooth, Wi-Fi and geodata (without this, device search will be blocked).

โš ๏ธ Note: If you are using an iPhone with iOS 17 or higher, turn off the Private Wi-Fi address in your network settings before connecting.

For models with HomeKit support (e.g. Mi) LED Desk Lamp 1S Pro) additional scanning will be required QR-If the code is erased, it can be restored through the official Xiaomi website by the serial number of the device.

๐Ÿ“Š What Xiaomi Smart Lamp Is It You Use?
Mi Desk Lamp 1S
Mi LED Desk Lamp Pro
Yeelight Moonlight
Another model
I haven't bought it yet.

2. Step-by-step instruction: connection via the Mi Home app

This is the most reliable way, and it works for 90 percent of the models, and you follow the algorithm in strict order, and you can miss the steps.

  1. Start Mi Home and log in (if you donโ€™t have an account, sign up via phone number or Google).
  2. Click + โ†’ Add the device in the upper right corner.
  3. Select Lighting category, then find your model lamp in the list. If it's not available, select Other. โ†’ lamp.
  4. Hold the switch on the lamp for 5-7 seconds until the indicator starts to blink quickly (some models need to press the button 3 times in a row).
  5. The application will request to connect to a Wi-Fi network. Select your 2.4 GHz network and enter a password.
  6. Wait until the process is complete (it can take up to 2 minutes), the lamp should flash green, which is a signal for a successful connection.

If the error โ€œI failed to connectโ€ appears during the device search stage, try:

  • ๐Ÿ”„ Reboot the router and lamp (remove the plug for 10 seconds).
  • ๐Ÿ“ถ Move the lamp closer to the router (maximum distance for a stable signal is 10 meters).
  • ๐Ÿ›ก๏ธ Temporarily disable firewall or antivirus on your phone.

โ˜‘๏ธ Checklist before connection

Done: 0 / 5

3. Alternative ways of connecting

If the standard method didn't work, try one of these options, and they'll work for older models or devices with custom firmware.

Method 1: Connect via Bluetooth (for models with support) BLE)

Some lamps (such as the Mi Bedside Lamp 2) can be connected via Bluetooth without Wi-Fi:

  1. Turn on Bluetooth on your phone.
  2. In Mi Home, select Add Device โ†’ Bluetooth.
  3. Hold the button on the lamp until you hear the beep.
  4. Confirm the connection in the application.

The disadvantage of this method is limited functionality: you can not control the lamp remotely (for example, from another room).

Method 2: Connection through mode AP (point)

If the lamp canโ€™t see your Wi-Fi, you can create a direct hotspot:

  1. Press the button on the lamp for 10 seconds until the indicator starts flashing blue.
  2. In the phone settings, connect to the network with the name Xiaomi_Lamp_XXXX (password 12345678).
  3. Return to Mi Home and repeat the process of adding the device.

โš ๏ธ Attention: After connecting via AP Remember to reconnect your phone to the main Wi-Fi, otherwise the lamp will only work within 5 meters of the phone.

What if the lamp is plugged in but shuts off immediately?
This problem is often associated with router settings. Try turning off Client Isolation in the router control panel. MAC-filtering connect the new device. If the problem persists, reset the lamp to the factory settings (hold the 15-second button until the indicator goes out and flashes again).

4. voice control settings (Alexa, Google Assistant, Alice)

Once successfully connected to the Mi Home, the lamp can be integrated with voice assistants, and the process varies depending on the ecosystem.

AssistantSteps requiredLimitations
Amazon Alexa1. Install Mi Home in Alexa. 2. Sign in with the same account as in Mi Home. 3. Say, "Alexa, find my devices."It does not support color temperature control in older models.
Google Assistant1.In Google Home, click + โ†’ Set up the device โ†’ Are there devices already? 2. Choose Xiaomi and log in. 3. The lamp will appear automatically.It may not work with Chinese versions of the lamps (requires a change of region to Mi Home).
Yandex Alice1.In the Yandex application go to Devices โ†’ Add โ†’ Xiaomi. 2. Enter the username/password from Mi Home. 3. Say, "Alice, turn on the desk lamp".Only lamps with firmware for Russia/Europe are supported.

For Apple HomeKit, you will need a separate setup:

  1. Open the Home app on your iPhone.
  2. Click + โ†’ Add the accessory.
  3. Scan it. QR-code from the lamp body or enter the 8-digit code manually.
  4. Name a lamp (such as a โ€œwork deskโ€) and select a room.

๐Ÿ’ก

If the voice assistant can't see the lamp, check if the cloud option is enabled in the device settings in Mi Home. Without it, remote control won't work.

5. Common mistakes and their solutions

Even with the right connection, users are experiencing bugs, and we've collected the most common problems and ways to fix them.

Mistake.Reason.Decision
The lamp flashes red and does not connectLow Wi-Fi signal or incorrect passwordMove the lamp closer to the router or check the password (registrar is important!)
Mi Home has an error called "Device offline"Failure of synchronization with Xiaomi serversReboot the lamp and phone, then update the data in the app (pull the screen down)
Voice assistant can't find the lampThe device is not tied to the cloud XiaomiIn the lamp settings in Mi Home, turn on "Cloud Management"
The lamp turns on but does not respond to brightness commandsOutdated firmwareUpdate the lamp software through Settings โ†’ Update firmware in Mi Home

If the lamp is connected but is unstable (it turns off independently, does not save settings), try:

  • ๐Ÿ”„ Reset it to factory settings (hold the 15 second button).
  • ๐Ÿ“ก Change the Wi-Fi channel in router settings (recommended channels 1, 6 or 11 for 2.4 GHz).
  • ๐Ÿ”‹ Check the power supply - some models are sensitive to voltage surges.

๐Ÿ’ก

If the lamp plugs in but shuts down after a few hours, the problem is most likely the router's energy saving settings. Turn off the Green Mode option in its control panel.

Additional Features: Automation and Scenarios

Once connected, the lamp can be customized to specific tasks, such as automatically turning on on a schedule or responding to other Xiaomi devices (such as a motion sensor).

Scenario 1: Auto-inclusion by time

  1. At Mi Home, go to Automation. โ†’ Add โ†’ Schedule.
  2. Choose the time (e.g. 18:00) and the days of the week.
  3. Add Action: Device Management โ†’ Turn on the lamp.
  4. Save the script.

Scenario 2: Synchronization with motion sensor

If you have a Xiaomi Motion Sensor, the lamp can turn on when you detect motion:

  1. In Mi Home, create a new automation.
  2. Select the trigger: Motion sensor โ†’ Traffic detected.
  3. Add action: Lamp โ†’ Turn on 50% brightness.
  4. Specify the shutdown delay (for example, 2 minutes after the last movement).

For advanced users, integrations with Home Assistant or Node-RED are available. For example, you can program the lamp to:

  • ๐ŸŒ… Smooth awakening with imitation of dawn (change in color temperature from the sunset) 2000K before 5000K).
  • ๐ŸŽฎ Lighting during game sessions (synchronization with Razer Chroma).
  • ๐Ÿ“Š Display notifications (blinking when an incoming call is made).
How to export lamp settings for backup?
In the Mi Home app, go to the device profile, then select Settings. โ†’ Data Export: The configuration file is saved in.json format and can be imported to another device of the same type.

7. Update firmware and reset settings

Regular firmware updates fix bugs and add new features (such as Matter support in recent versions) to update the lamp:

  1. Open your Mi Home and select your lamp.
  2. Go to Settings โ†’ Update firmware.
  3. If a new version is available, click Update and wait until it is completed (donโ€™t turn off the lamp!).

If after the update the lamp began to work worse (for example, does not save color settings), reset:

  1. Turn off the lamp for 30 seconds.
  2. Turn it back on and hold the 10 seconds button right away until the indicator starts flashing yellow.
  3. Repeat the connection process from scratch.

โš ๏ธ Warning: Once reset, the lamp will lose all the scripts and brightness settings that you have stored, and if you use it in automation, you'll have to reconfigure them.

8. Compatibility with other ecosystems (HomeKit, Matter, Tuya)

Not all Xiaomi lamps are equally friendly to third-party systems.

  • ๐ŸŽ HomeKit: Only models labeled "Works with Apple HomeKit" (e.g. Mi) are supported LED Desk Lamp 1S Pro. You need to connect. QR-code.
  • ๐Ÿ”„ Matter: So far, only Yeelight Pro and new Mi Desk Lamp (2023-2026) support this standard. Update to Matter is available via Mi Home.
  • ๐ŸŒ Tuya/Smart Life: Yeelight-based lamps can be reconfigured to Tuya, but it requires firmware through Tasmota (for power users).

To check the compatibility of your model:

  1. Look at the box or documentation for HomeKit, Matter or Google Assistant icons.
  2. In Mi Home, check the Device Information section โ†’ Protocol.

๐Ÿ’ก

If your lamp doesnโ€™t support Matter, but you want to integrate it into a smart home with other brands (like Philips Hue), use hubs like Home Assistant or Athom Homey.

FAQ: Answers to Frequent Questions

Can I connect a Xiaomi lamp without the Mi Home app?
Yes, but with limitations. Some models (like Yeelight) support connection via Yeelight or third-party systems like Home Assistant, but you still need a Xiaomi account to manage it.
The lamp is plugged in, but Mi Home shows up as "Offline." What do you do?
Check: Is the lamp connected to the outlet (the indicator should burn), has the Wi-Fi password changed. Does the router block the connection of new devices (check out) MAC-If nothing works, drop the lamp and plug it back in.
How to change the region of the lamp from Chinese to European?
To do this: In Mi Home, go to profile. Click on the country in the top corner and select Russia or Europe. Remove the lamp from the app and add it again. โš ๏ธ After a region change, some functions (such as voice control in Chinese) may be lost.
Can you operate a lamp without the internet?
Yes, but only if the phone and the lamp are on the same local network. To do this: Turn off the mobile Internet on the phone. Make sure the phone is connected to the same Wi-Fi as the lamp. Open Mi Home, control will be available, but with a delay of up to 2-3 seconds. Voice assistants (Alice, Alexa) without the Internet will not work.
How long does Xiaomi lamps last?
The manufacturer claims 25,000 hours of operation (about 10 years when used for 5 hours a day). However, the real term depends on: frequency of on/off (the less often the driver lasts), quality of the power grid (voltage surges shorten the life of LEDs). Ambient temperature (optimum - 10-35)ยฐIf the lamp flickers or dims, check the power supply - often the problem is in it, not in the LEDs themselves.