How to Manage Xiaomi Desktop Lamp from Your Phone: From Connection to Automation

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).
πŸ“Š What kind of Xiaomi lamp do you use?
Mi LED Desk Lamp 1S
Yeelight LED Desk Lamp Pro
Mi Smart LED Desk Lamp
Another model
I haven't bought it yet.

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:

  1. Put the lamp in the socket.
  2. Press the power button for 5-10 seconds until the indicator flashes quickly in yellow (for Yeelight) or blue (for Mi). LED).
  3. Release the button and the lamp will reset.

Step 2: Adding the device to Mi Home

  1. Open Mi Home and log in (use a Xiaomi account tied to China or Russia).
  2. Press + β†’ Add the device.
  3. Select the Lighting category, then find your lamp model.
  4. Hold your phone to the lamp (at a distance) < 1 meter) and wait until the indicator starts flashing orange.
  5. 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?
1. Make sure the lamp is in pairing mode (flashing orange/blue). 2. Reboot the router and phone. 3. Try connecting to another 2.4 GHz network (e.g. from the phone in access point mode). 4. If used VPN 5 For Yeelight bulbs, try the Yeelight app instead of Mi Home.

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:

  1. Connect the lamp to Mi Home (as described above).
  2. At Mi Home, go to Profile β†’ Settings β†’ Mi Home and other services β†’ Google Assistant.
  3. Sign in through your Google account and sync your devices.
  4. 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:

  1. Install the Xiaomi Miio component in the Home Assistant.
  2. Get token lamps via the Mi Home Token Extractor (Android) or python-miio app (iOS requires an emulator).
  3. 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

  1. Open the lamp card in Mi Home.
  2. Press Automation. β†’ Add.
  3. 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

ScriptConditionsAction.Annex
Smart alarm clockTime is 7:00. + motion-sensorSmooth lighting of the lamp (10% β†’ 100% for 10 minutes)Mi Home + Google Routines
Mode of the movieTurning on the Mi TV TVThe lamp goes into a warm light (2700K, 30% brightness)Mi Home
Saving energyNo movement for 30 minutesAutomatic lamp switching offHome Assistant
Night-nighterTime 22:00-6:00The 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:

  1. Connect Mi Home or Yeelight to IFTTT.
  2. 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:

ModelProtocolTelephone controlRGBVoice assistantsPrice (roughly)
Mi LED Desk Lamp 1SWi-Fi 2.4GMi Home, Google Home❌ No.Google, Alice.2 500–3 500 β‚½
Yeelight LED Desk Lamp ProWi-Fi 2.4GMi Home, Yeelight App, HomeKitβœ… Yes, 16 million flowers)Google, Alice, Siri5 000–7 000 β‚½
Mi Smart LED Desk LampWi-Fi 2.4GMi Home, Automation by Light Sensor❌ No.Google, Alice.3 000–4 000 β‚½
Mijia Smart LED Desk Lamp (Zigbee)ZigbeeMi 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.

FAQ: Frequent questions about managing Xiaomi lamp from your phone

πŸ”Ή Can you control a Xiaomi lamp without the Internet?
Yes, but with reservations: Wi-Fi lamps (e.g. Mi) LED Desk Lamp 1S) They require a router connection, but commands are sent over a local network. The Internet is only for remote control (from outside the home). Zigbee lamps operate through the hub locally, but to configure scripts in Mi Home, you may need access to Xiaomi servers. If you shut down the internet completely, the lamp will remain controlled via Mi Home on the home network, but push notifications and cloud scenarios will not work.
πŸ”Ή Why Xiaomi Lamp Doesn't Connect to 5GHz Wi-Fi?
Xiaomi lamps (like most smart home devices) only support networks 2.4 GHz. It's related to: Lower power consumption (important for battery devices); better passability through walls; compatibility with legacy routers; Solution: Go to your router settings (usually at the address). 192.168.0.1 or 192.168.1.1). Find the Wi-Fi partition or Wireless network. Enable Only mode 2.4 GHz or divide networks (give them different names, for example) MyWiFi_2G and MyWiFi_5G).
πŸ”Ή How to Reset a Xiaomi Lamp If It Doesn't React to a Button?
If the standard reset (retaining the 5-10 second button) doesn't work: Turn off the lamp for 1 minute. Turn it back on and immediately press the power button. Hold the 15-20 second button until the indicator flashes red and green (restore mode). Release the button - the lamp will reset to factory settings. If this does not work, check the power supply or contact Xiaomi (possibly the controller environment).
πŸ”Ή Can you control the Xiaomi lamp from multiple phones?
Yes, but you need to: Connect the lamp to one Mi Home account. β†’ Family β†’ Add a family member. Enter the second user's email (he must have a Xiaomi account). The second user will receive an invitation and be able to control the lamp through his app. Restrictions: Maximum 5 users per device. Voice control (e.g., via Google Home) will only work for the main account.
πŸ”Ή How to update the firmware of the lamp Xiaomi?
Updating the firmware can fix bugs and add new features.Instruction: Open Mi Home and select your lamp. Go to Device Settings β†’ Software Update: If a new version is available, click Update. Do not turn off the lamp during the process (takes 2-5 minutes). ⚠️ Warning: If the lamp is unstable after the update, try rolling back the firmware through Home Assistant or Mi Home Developer Mode.