How to Use Xiaomi Smart Lamp: From Connection to Advanced Features

Xiaomi smart bulbs are not just a light source, but a full-fledged element of the smart home ecosystem that can transform the atmosphere in your home. These devices combine energy efficiency, flexibility of settings and integration with other gadgets of the brand. However, many users face difficulties already at the stage of the first connection: the lamp does not detect in the application, flashes in an incomprehensible way or refuses to respond to commands. In this article, we will examine all the nuances from the basic installation to hidden functions that are not written in the official instructions.

Feature of Xiaomi lamps (Yeelight series, Mi) LED, Mijia) is based on their dependency on the Mi Home or Yeelight app, and without the right setup, even the most advanced model will become a light bulb. We'll tell you how to avoid the typical connection errors, set up a schedule, sync the lamp to other devices, and even use it in automation scenarios, and for those who like experimentation, we'll reveal the secrets of customization through third-party firmware.

1. Model Choice: Which Xiaomi Lamp to Buy for Your Tasks

Before buying it is important to decide what features you really need. Xiaomi lamps are divided into several categories:

  • πŸ’‘ Basic models (Mi) LED Smart Bulb, Yeelight LED) β€” Brightness and color temperature control (2700–6500K), without RGB-Ideal for bedrooms and work areas.
  • 🎨 RGB-lamps (Yeelight Color, Mi) LED Smart Bulb Essential RGB) β€” 16 million shades, dynamic effects (e.g., simulated sunset) suitable for living room atmosphere.
  • πŸŒ… The Yeelight Sunrise is a seamless awakening that simulates sunrise, useful for those who wake up hard.
  • πŸ”„ Matter-enabled lamps (new Yeelight Pro versions) – compatible with Google Home, Apple HomeKit and Amazon Alexa without additional bridges.

The key parameter when choosing is the light flux, measured in lumens (lm). For the bedroom, 600-800 lm is enough, and for the living room it is better to take models from 1000 lm (CRI): A value above 80 guarantees the natural colors of objects. CRI 80+, A for premium series - up to 95.

⚠️ Note: Xiaomi lamps with labeling CN (Chinese version may not support Russian in the application and have restrictions by region. Before buying, check that the model is designed for the global market (Global or Global). EU).

ModelType of lightBrightness (lm)Color temperatureRGBPrice (β‰ˆ)
Yeelight LEDWhite6002700–6500K❌1 200 β‚½
Mi LED Smart Bulb EssentialWhite8002700–6500K❌1 500 β‚½
Yeelight ColorRGB + white6001700–6500Kβœ…2 500 β‚½
Yeelight SunriseWhite + dynamics4002700–6500K❌3 000 β‚½

πŸ“Š What Smart Lamp Function Do You Use Most Often?
Brightness adjustment
Change in color temperature
RGB-lighting
Voice control
Scheduled automation

2. Connecting the Xiaomi lamp to the network: step-by-step instructions

The first time you turn on the lamp is the most important step, and there are many mistakes that cause the device to be undetectable in the application.

  1. Put the lamp in the cartridge and turn on the power. It should flash 3 times - this is a signal that you are ready to pair.
  2. Download the Mi Home app (for Mi lamps) LED) or Yeelight (for the Yeelight series) from the App Store or Google Play.
  3. Sign up or sign in to your Xiaomi account.Use the Russia or Europe region, otherwise you may have server issues.
  4. In the app, click Add Device (+) β†’ Select the Lighting category β†’ Find your model of the lamp.
  5. Hold your smartphone to the lamp at a distance of no more than 2 meters and wait for the beep. If there is no signal, check if Bluetooth and Wi-Fi are on on on the phone.
  6. Select your home Wi-Fi network (2.4GHz only! Xiaomi lamps don't work with 5GHz) and enter a password.

The lamp flashes 3 times when switched on|

Smartphone connected to Wi-Fi 2.4 GHz |

Bluetooth and geolocation enabled|

Application Mi Home/Yeelight updated|

The lamp is within a radius of 2 m from the phone.-->

⚠️ Warning: If the lamp flashes red after trying to connect, it means an error in the authentication of Wi-Fi. Check the password entered and restart the router. Yellow flashing signal indicates a weak network signal - bring the lamp closer to the router.

Once successfully connected, the lamp should appear in the app's main menu, and can now be renamed (e.g., "Bedroom Lamp"), assigned a room, and added to the main screen for quick access.

πŸ’‘

If the lamp does not connect, try to reset it to the factory settings: turn off and turn on the power 5 times in a row at intervals of 1 second. After reset, the lamp will flash 3 times yellow light.

3. Lamp control through the application: basic functions

Mi Home and Yeelight offer a wide range of tools for lighting customization.

  • πŸ”† Brightness Adjustment: slider in the main menu of the device.The minimum brightness of Xiaomi lamps is usually 1%, which allows you to use them as a night light.
  • 🌑️ Color temperature: from warm light (2700K, as in filament lamps, until cold (6500K, It's like daylight. It's good for the eyes β€” 4000K.
  • πŸŽ›οΈ RGB-settings (for color models): color palette, ready scenes ("Reading", "Party", "Cinema").
  • ⏰ Timers and schedules: Automatic on/off time, for example, you can set up a smooth wake-up at 7:00.
  • πŸ”„ Scenarios: Link to other Xiaomi devices, such as the lamp lights up red if the smoke detector is triggered.

For quick access to frequently used settings, add the lamp widget to the main screen of the smartphone. Yeelight also has a function "Flow" - dynamic color change according to a given algorithm (for example, smooth transition from blue to green).

How to save your favorite color settings?
In the Yeelight app, click on the Scenes icon" β†’ "Save the current one. Your color will now be available in one click. In Mi Home, a similar feature is called Favorites".

4.Voice control: Alexa, Alice and Google Assistant

One of the main advantages of Xiaomi smart lamps is support for voice assistants, but this requires pre-tuning:

  1. Open the assistant app: - For Yandex Alice: Yandex app β†’ Devices β†’ Add a device. - For Google Assistant: Google Home app β†’ Add β†’ Set up the device. - For Amazon Alexa: Alexa app β†’ Devices β†’ Add the device.
  2. Choose Xiaomi or Yeelight from the list of supported brands and log in to your account.
  3. Allow access to devices and wait for sync (can take up to 5 minutes).

Now you can use voice commands. Examples:

  • πŸ—£οΈ "Alice, turn on the lamp in the bedroom at 50%"
  • πŸ—£οΈ "Okay, Google, turn the lights in the living room blue"
  • πŸ—£οΈ "Alexa, turn off all LED lights"

⚠️ Attention: Voice assistants do not support dynamic scenes (e.g., smooth awakening in Yeelight Sunrise.

πŸ’‘

For stable voice control lamp and smartphone must be connected to the same Wi-Fi network. If the assistant does not see the device, check the settings of the router (disable the guest network and filtering). MAC-address).

5. Advanced Settings: Automation and Integration with a Smart Home

Xiaomi lamps can work in conjunction with other devices in the ecosystem, creating complex scenarios.

  • πŸšͺ The lamp lights up when the motion sensor detects the presence in the room.
  • πŸ”₯ The lamp flashes red if the smoke detector is triggered.
  • πŸŒ™ The lamp goes out smoothly 30 minutes after you go to bed (according to fitness bracelet data).

To create scenarios:

  1. Open Mi Home β†’ Profile β†’ Automation
  2. Press Add Add Add. β†’ Choose If (condition) and That (action).
  3. Select an event as a condition (e.g., β€œMotion Sensor Acted”).
  4. As an action, select a lamp and adjust the parameters (color, brightness, operating time).

For power users, integration via Home Assistant or Node-RED is available. This allows you to create scripts using logical operators (for example, "IF (motion sensor and time after 18:00) TO turn on the lamp at 70%").

  1. Install the Xiaomi Miio component.
  2. Receive the device token through the Mi Home application (instructions in the Home Assistant documentation).
  3. Add the lamp to the configuration file configuration.yaml.

How to get a device token for Home Assistant?
1. Enable Developer Mode in Mi Home (click 5 times on the app version in the settings). 2. Go to Settings β†’ About the programme β†’ Status and copy the token. 3. Use this token in the Home Assistant configuration.

6. Troubleshooting: Why Xiaomi's lamp doesn't work

Even the most reliable devices sometimes fail, and let's look at the typical problems and their solutions.

Problem.Possible causeDecision
The lamp is off.No power or a burnt driverCheck the cartridge and the voltage. Try screwing it into another light.
Not connected to Wi-Fi.Incorrect password or incompatible network (5 GHz)Use only 2.4 GHz. Restart the router.
Flashes red/yellowConnection or firmware errorReset the lamp (5 times turn it on/off). Update the firmware.
Not responding to teamsFailure of communication with the Xiaomi serverCheck the Internet connection. Reset the lamp through the app.
Colors are displayed incorrectlyCalibration failure RGBReset the color settings in the app or update the firmware.

If the lamp has stopped responding to commands, but the LED is on, try a forced reset:

  1. Turn the lamp off the network for 10 seconds.
  2. Turn on and immediately turn off the power 5 times in a row with an interval of 1 second.
  3. After resetting the lamp will blink 3 times - now it can be connected again.

Xiaomi lamps with firmware older than 2021 may lose communication with servers due to changes in security protocols, in which case a forced update through the Yeelight application (Service Update section) is required.

7.Alternative firmware: how to unlock hidden potential

Xiaomi’s official lamp software has limitations, such as not being able to set up a smooth fade for longer than 30 minutes or using custom color profiles.

  • πŸ› οΈ OpenHab – an open platform for smart homes that supports Yeelight lamps via a plugin.
  • πŸ”§ Tasmota - firmware for ESP8266, lamp-operater MQTT (Requires rations and technical skills).
  • πŸ–₯️ Home Assistant + HACS β€” Advanced Integration for Automation.

To install an alternative firmware will require:

  1. Disassemble the lamp and find the Wi-Fi module (usually based on the base) ESP8266 or ESP32).
  2. Connect to the contacts TX/RX/GND/3.3V through a programmer (e.g, FTDI).
  3. Sending alternative software through Arduino IDE or PlatformIO.

⚠️ Attention: Installing custom firmware is warranty-free and can cause the lamp to fail.Be sure to check your model's diagrams on forums before the procedure (for example, check the diagrams on the forums, 4PDA or GitHub).

πŸ’‘

Custom firmware can bypass the limitations of official software, but requires technical knowledge. Start by looking at documentation on the Tasmota website.

FAQ: Answers to Frequent Questions

Can I use a Xiaomi lamp without the internet?
Yes, but with limitations, the lamp will run on the local network via the Yeelight app. LAN However, schedule and remote management functions (e.g. from another network) will not be available. β†’ press the lamp β†’ Settings β†’ Local control. Activate the option Enable. LAN-Now the lamp will respond to commands even without access to Xiaomi servers.
How to Reset a Lamp if It Does Not Reset With a Button?
If the standard reset (5 on/off) doesn't work, try hardware reset: Disconnect the lamp from the mains. Plug it into the cartridge and hold the switch in the on position for 10-15 seconds. The lamp should flash yellow, this is a signal of a successful reset. If this did not work, the problem may be in the power driver. Contact the service center.
Why does Xiaomi lamp flicker at low brightness?
Flickering at low brightness levels (1-10%) is a known problem of PWM-adjusted lamps (pulse-latitudinal modulation). Solutions: Set minimum brightness at 15-20%. Use driver-based lamps CC (Constant Current instead of CV (Constant Voltage. Update the firmware - new versions have added flicker smoothing algorithms.
Can I control the Xiaomi lamp through a computer?
Yes, with the help of: Yeelight Assistant Windows/macOS (download on Yeelight). API Yeelight: Send commands via Python or Postman. Example command to turn on lamp: POST http://[IP_lamp]/set_power {"id":1,"method":"set_power","params":["on", "smooth", 500]} Home Assistant: Management through the web interface.
How to sync multiple Xiaomi lamps to work simultaneously?
For group control: In the Mi Home or Yeelight app, create a Device Group. Add all the lamps that need to work synchronously. Now, when you change the settings in the group, all the lamps will react simultaneously. For dynamic scenes (for example, a wave of light), use the Flow function in Yeelight or configure the script in Home Assistant.