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.
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.
- Start Mi Home and log in (if you donโt have an account, sign up via phone number or Google).
- Click + โ Add the device in the upper right corner.
- Select Lighting category, then find your model lamp in the list. If it's not available, select Other. โ lamp.
- 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).
- The application will request to connect to a Wi-Fi network. Select your 2.4 GHz network and enter a password.
- 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
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:
- Turn on Bluetooth on your phone.
- In Mi Home, select Add Device โ Bluetooth.
- Hold the button on the lamp until you hear the beep.
- 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:
- Press the button on the lamp for 10 seconds until the indicator starts flashing blue.
- In the phone settings, connect to the network with the name Xiaomi_Lamp_XXXX (password 12345678).
- 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?
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.
| Assistant | Steps required | Limitations |
|---|---|---|
| Amazon Alexa | 1. 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 Assistant | 1.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 Alice | 1.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:
- Open the Home app on your iPhone.
- Click + โ Add the accessory.
- Scan it. QR-code from the lamp body or enter the 8-digit code manually.
- 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 connect | Low Wi-Fi signal or incorrect password | Move 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 servers | Reboot the lamp and phone, then update the data in the app (pull the screen down) |
| Voice assistant can't find the lamp | The device is not tied to the cloud Xiaomi | In the lamp settings in Mi Home, turn on "Cloud Management" |
| The lamp turns on but does not respond to brightness commands | Outdated firmware | Update 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
- At Mi Home, go to Automation. โ Add โ Schedule.
- Choose the time (e.g. 18:00) and the days of the week.
- Add Action: Device Management โ Turn on the lamp.
- 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:
- In Mi Home, create a new automation.
- Select the trigger: Motion sensor โ Traffic detected.
- Add action: Lamp โ Turn on 50% brightness.
- 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?
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:
- Open your Mi Home and select your lamp.
- Go to Settings โ Update firmware.
- 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:
- Turn off the lamp for 30 seconds.
- Turn it back on and hold the 10 seconds button right away until the indicator starts flashing yellow.
- 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:
- Look at the box or documentation for HomeKit, Matter or Google Assistant icons.
- 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.