Xiaomiβs smart desktop lamps are not just a light source, but a full-fledged element of the smart home ecosystem, allowing you to adjust brightness, color temperature and even color (in models with a high-quality light). RGB-It's a little bit of lighting, right from your smartphone, creating automation scenarios and syncing with other devices, but how do you set up the control of the lamp over your phone, what applications do you need, and what do you do if you can't connect? In this guide, weβll break down all the steps from first enable to fine-tuning through Mi Home, Google Home or Home Assistant.
Many users face difficulties already at the stage of pairing the lamp with the phone: the indicator flashes wrong, the application does not see the device, the Wi-Fi 5 GHz network interferes with the connection. We will explain in detail how to avoid common errors, what communication protocols support Xiaomi lamps (from Wi-Fi to Zigbee), and how to integrate them into the existing smart home system. HTTP-request IFTTT.
If you're just planning to buy, note that not all Xiaomi lamps are equally smart. LED Desk Lamp 1S It only supports brightness and temperature control, whereas Yeelight LED Desk Lamp Pro (also from Xiaomi ecosystem) offers a full-fledged RGB-Illumination and integration with Apple HomeKit.Clarify the features of your model before setting up!
1.What Xiaomi Desktop Lamps Support Control from the Phone
Not all Xiaomi lamps are smart in the full sense of the word, but here are the key models that you can control from your smartphone:
- π‘ Mi LED Desk Lamp 1S β base model with brightness adjustment (2700β6500K) It's controlled via Mi Home, but without it. RGB.
- π¨ Yeelight LED Desk Lamp Pro - Advanced version with RGB-Backlighting, HomeKit support and voice control (Alice, Google Assistant).
- π Mi Smart LED Desk Lamp - model with light sensor and automatic brightness control.
- π Xiaomi Mijia Smart LED Desk Lamp (Zigbee) β works on the Zigbee protocol, requires a Mi Gateway hub.
Important: Zigbee lamps (e.g. Mijia Smart) LED Desk Lamps don't connect directly to your phone -- they need an intermediate hub (Mi Gateway, Aqara Hub or Home Assistant with an adapter). If you have a model without Wi-Fi, check the hardware for a gateway.
How do you know the protocol of your lamp? Look at the box or sticker on the base of the device.
- πΆ Wi-Fi inscription 2.4G β connects directly to the router.
- πΈοΈ Zigbee logo - requires a hub.
- β‘ Bluetooth Mesh β controlled via Mi Home over Bluetooth (rare for table lamps).
2.Preparation for connection: what to check before setting up
Before you start pairing the lamp with your phone, make sure all the prerequisites are met, which will save time and eliminate errors like "device not found".
Requirements for Wi-Fi network:
- πΆ Xiaomi lamps only work with 2.4 GHz networks. If your router broadcasts 2.4 GHz and 5 GHz simultaneously under the same name, divide the networks in the router settings.
- π The network password should contain only Latin characters and numbers (Cyrillic or special characters may cause an error).
- π The routerβs network region must be set to China or the United States (some lamps do not connect to networks with the region of Russia).
Phone requirements:
- π± Install the latest version of the Mi Home app (from Google Play for Android, from the App Store for iOS).
- π² Enable Bluetooth and geolocation (needed for initial pairing).
- π Battery charge of the phone β at least 30% (the connection process can take up to 10 minutes).
Download Mi Home|Separate 2.4 GHz and 5 GHz networks|Check the Wi-Fi password (Latin)|Enable Bluetooth and geolocation|Charge the phone to 30%+-->
Critical feature: Xiaomi lamps with Wi-Fi protocol do not work on networks with Captive Portal (for example, in hotels or public access points).
3. Step-by-step instructions: how to connect the Xiaomi lamp to the phone via Mi Home
Letβs look at the process with the example of Mi. LED Desk Lamp 1S (If you have a Zigbee lamp, skip this section and read about settings through the hub.
Step 1. Reset the lamp to factory settings
Before the first connection or if the lamp has already been used, reset:
- Put the lamp in the socket.
- Press the power button for 5-10 seconds until the indicator flashes quickly in yellow (for Yeelight) or blue (for Mi). LED).
- Release the button and the lamp will reset.
Step 2: Adding the device to Mi Home
- Open Mi Home and log in (use a Xiaomi account tied to China or Russia).
- Press + β Add the device.
- Select the Lighting category, then find your lamp model.
- Hold your phone to the lamp (at a distance) < 1 meter) and wait until the indicator starts flashing orange.
- Select your 2.4GHz Wi-Fi network and enter your password.
Step 3: Completion of the setup
After successful connection:
- π The lamp will appear in the list of devices in the Mi Home.
- π± On the main screen, controls will be displayed: brightness slider, color temperature, timers.
- βοΈ Go to the lamp settings (three-point tap) to set up the name, room and automation.
What if Mi Home doesnβt see the lamp?
4. Alternative ways to manage: Google Home, Home Assistant and voice assistants
If you donβt want to use Mi Home or need advanced features, Xiaomi lamps can be integrated into other smart home systems.
Managing Google Home / Alexa
For this:
- Connect the lamp to Mi Home (as described above).
- At Mi Home, go to Profile β Settings β Mi Home and other services β Google Assistant.
- Sign in through your Google account and sync your devices.
- Now you can control the lamp with a voice: "OK, Google, turn on the table lamp at 50%."
Integration with Home Assistant
For advanced users:
- Install the Xiaomi Miio component in the Home Assistant.
- Get token lamps via the Mi Home Token Extractor (Android) or python-miio app (iOS requires an emulator).
- Add the device to configuration.yaml: light: - platform: xiaomi_miio Name: "Xiaomi Desk Lamp" host: 192.168.1.100 # IP-token: YOUR_TOKEN_HERE
Voice control via Alice (Yandex)
Yeelight lamps support Alice directly:
- π£οΈ Say, Alice, find my devices".
- π Select a lamp from the list of found devices.
- π€ Now you can control your voice, "Alice, make the lamp blue".
π‘
If the lamp doesn't appear in Google Home, try adding it to Mi Home first, then click Add to Google in your device settings, sometimes reconnecting the lamp to the network helps.
5. Automation settings: timers, scripts and communication with other devices
One of the key features of smart lights is the ability to automate their operation, for example, the lamp can turn on on on a schedule, respond to movement or synchronize with an alarm clock.
Creating timers in Mi Home
- Open the lamp card in Mi Home.
- Press Automation. β Add.
- Select a condition: β° Time (for example, turn on at 18:00, turn off at 23:00). π Sunrise/sunset (geolocation). π By the state of another device (for example, when turning on the TV).
Set the action: brightness, color, on/off.
Examples of useful scenarios
| Script | Conditions | Action. | Annex |
|---|---|---|---|
| Smart alarm clock | Time is 7:00. + motion-sensor | Smooth lighting of the lamp (10% β 100% for 10 minutes) | Mi Home + Google Routines |
| Mode of the movie | Turning on the Mi TV TV | The lamp goes into a warm light (2700K, 30% brightness) | Mi Home |
| Saving energy | No movement for 30 minutes | Automatic lamp switching off | Home Assistant |
| Night-nighter | Time 22:00-6:00 | The lamp is red (1% brightness) | Yeelight App |
Connecting with other Xiaomi devices
The lamps can be integrated with:
- πΊ Mi TVs. TV: Synchronize backlighting with content on the screen (Mi required) TV Box or Yeelight Screen Mirroring).
- πͺ Aqara motion sensors: the lamp turns on when a person is detected.
π‘
For complex scenarios (e.g., reacting to multiple sensors), it is better to use Home Assistant or Node-RED. Mi Home's built-in tools are limited by logic "IF-THEN".
6. Common Problems and Their Solutions
Even after a successful connection, users encounter errors, and these are the most common ones and ways to fix them.
Problem 1: Lamp is connected but does not respond to commands
- π Check the power: unplug the lamp from the socket for 30 seconds, then turn it on again.
- πΆ Make sure your phone and lamp are on the same Wi-Fi network.
- π Reboot the router.
- π± Update the lamp firmware in Mi Home (Device Settings section) β Update of the PO).
Problem 2: The lamp flashes or spontaneously turns off
- β‘ Check the power supply: some models are sensitive to voltage surges. Try another adapter (original on the other side). 12V/1.5A).
- π‘ If the lamp is on Zigbee, make sure the hub is within a 10m radius and there is no interference from other devices (microwaves, wireless headphones).
- π§ Reset the lamp to factory settings and connect again.
Problem 3: Voice control is not working
- π£οΈ For Google Assistant: Check that the lamp is added to Google Home and Local Control is enabled.
- π For Siri/HomeKit: Make sure the lamp model supports HomeKit (e.g. Yeelight Pro).
- π For Alice: reconnect the lamp in the Yandex application from scratch.
π‘
If the Yeelight lamp doesnβt respond to commands from Mi Home, try to control it through the official Yeelight app β sometimes it works more stable.
β οΈ Warning: If the lamp stops turning on after updating the firmware, do not try to reset it with the power button. disconnect the lamp from the network for 1 minute, then hold the 15 second button - this will force the controller to restart.
7. Advanced opportunities: API, IFTTT custom-made
For smart home enthusiasts, standard Mi Home features may not be enough. Consider ways to extend control.
Management through HTTP-Requests (for developers)
Yeelight lamps support LAN API, This allows you to send commands directly over the local network:
Turn on the lamp
POST http://[IP_ Lamps]/yeelight
Content-Type: application/json
{
"id": 1,
"method": "set_power",
"params": ["on", "smooth", 500]
}
Set the color (RGB)
POST http://[IP_ Lamps]/yeelight
{
"id": 2,
"method": "set_rgb",
"params": [16711680, "smooth", 300] #16711680 = blue
}Full documentation on API See the official website of Yeelight.
Automation through IFTTT
Service IFTTT It allows you to link the lamp to other web services:
- π§ Turn on the lamp when receiving the letter (Gmail) β Yeelight).
- π¦οΈ Change the color of the lamp when changing the weather (Weather Underground) β Mi Home).
- π Meet the Reminder (Google Calendar) β flashing).
To set up:
- Connect Mi Home or Yeelight to IFTTT.
- Create an applet with a trigger (like New email in Gmail) and an action (Turn on Yeelight).
The scaling up of the scalp (at your own risk!)
Some enthusiasts are flashing Xiaomi lamps with alternative software (e.g. Tasmota or ESPHome) that gives you:
- β‘ Full control through MQTT.
- π§ Integration with any smart home system.
- π οΈ Correction of original firmware bugs.
β οΈ Warning: Third-party firmware will void the warranty and may cause the lamp to fail. Before the process, back up the original firmware via ESPTool.
8 Model comparison: which Xiaomi lamp to choose to control from your phone
If you havenβt bought a lamp yet, hereβs a comparison table of key models in terms of control functionality:
| Model | Protocol | Telephone control | RGB | Voice assistants | Price (roughly) |
|---|---|---|---|---|---|
| Mi LED Desk Lamp 1S | Wi-Fi 2.4G | Mi Home, Google Home | β No. | Google, Alice. | 2 500β3 500 β½ |
| Yeelight LED Desk Lamp Pro | Wi-Fi 2.4G | Mi Home, Yeelight App, HomeKit | β Yes, 16 million flowers) | Google, Alice, Siri | 5 000β7 000 β½ |
| Mi Smart LED Desk Lamp | Wi-Fi 2.4G | Mi Home, Automation by Light Sensor | β No. | Google, Alice. | 3 000β4 000 β½ |
| Mijia Smart LED Desk Lamp (Zigbee) | Zigbee | Mi Home (Hub requires) | β No. | Google (via Mi Home) | 2 000β3 000 β½ |
Selection recommendations:
- π¨ For color backlight, take Yeelight Pro β it supports HomeKit and has the widest functionality.
- π° For a budget option, Mi is suitable LED Desk Lamp 1S β simple adjustment of brightness and temperature.
- π If you already have a Zigbee ecosystem (like Aqara sensors), choose a Zigbee model.
π‘
Lamps with Zigbee are more stable in larger smart home systems, but require the purchase of a hub. Wi-Fi models are easier to set up, but can slow down when the signal is weak.