How to set up Xiaomi Yeelight smart lamp: from connectivity to automation

Xiaomi Yeelight smart bulbs have become one of the most popular smart home solutions thanks to a combination of affordable pricing, extensive customization and integration with the Mi Home ecosystem. These devices not only allow you to remotely turn on/off lights, but also adjust brightness, color temperature, create automation scenarios and even synchronize lighting with music or movies. However, many users face difficulties already at the first connection stage – the lamp does not find the network, blinks not as expected, or refuses to work with voice assistants.

In this guide, we’ll look at all the steps of setting up a Yeelight smart lamp, from basic Wi-Fi connectivity to fine-tuning through the Mi Home app and third-party services like Google Assistant or Apple HomeKit. We’ll focus on the typical bugs that interfere with stable operation and how to fix them. If you’ve just unpacked a lamp or want to unleash its potential 100%, this guide will help you avoid hours of pointless attempts and adjust the lighting the way you want.

1. Connection Preparation: What to Check Before Installation

Before you start setting up, make sure that all the conditions for a successful connection are met, and most often problems arise from small things that users do not pay attention to.

First, check your router's compatibility. Yeelight lamps only work on 2.4 GHz networks -- if your Wi-Fi is split into two frequencies (2.4 and 5 GHz), connect to the first one. SSID 2.4 GHz networks or combine it with 5 GHz under one name, in which case you will have to go to the settings of the router and temporarily disable the 5 GHz network or create a separate access point for smart home devices.

Secondly, pay attention to the location of the lamp, and if you're placing it in a chandelier or a table lamp, make sure that the lamp is the type of lamp (E27 or E14 β€” Also make sure there are no sources of interference nearby: microwave ovens, other Wi-Fi devices, or thick walls that can block the signal.

  • πŸ“Ά Wi-Fi: 2.4 GHz only, no special characters in the name (SSID) password.
  • πŸ”Œ Power: lamp must be screwed into the cartridge and switched on to the network (switch on the wall - in the "ON" position").
  • πŸ“± App: The latest version of Mi Home installed (available for Android and iOS).
  • 🌍 Region: The correct region is selected in the application settings (e.g., "Russia" or "Mainland China" for the Chinese versions of the lamps).

⚠️ Note: If your router uses a function WPA3 or 802.11r (Fast roaming, temporarily disable it in settings. Yeelight lamps do not support these protocols and may not connect to the network.

2. Connect the lamp to Wi-Fi via the Mi Home app

The process of connecting the lamp to the network takes no more than 5 minutes if you follow the instructions. Open the Mi Home app and click on the icon "+" In the upper right corner to add a new device, select "Lighting" in the category list, then find your lamp model (e.g. Yeelight). LED Bulb or Yeelight Color).

Then the app will suggest you choose the connection method. For most Yeelight models, only the "Blink Fast" option is available (quickly turn on / off the lamp 3 times in a row), after which the lamp will go into pairing mode and start flashing yellow. If there is no blinking, check:

  • πŸ’‘ The lamp is screwed into the cartridge and is on the network (the switch on the wall should not be turned off!).
  • πŸ“΅ Are there other devices nearby that may cause interference (such as wireless headphones or cameras).
  • πŸ”„ You really quickly turned the lamp on / off 3 times (the interval between inclusions is no more than 1 second).

Once paired successfully, the app will suggest connecting the lamp to your Wi-Fi network. Enter the password from the network and wait until the process is complete. If at this stage there is an error "failed to connect", try the following steps:

  1. Restart the router and try again.
  2. Make sure the name of the network is (SSID) and the password has no Cyrillic characters or spaces.
  3. Try connecting to another 2.4GHz network (like a mobile hotspot on your phone).
πŸ“Š What model of Yeelight lamp do you use?
Yeelight LED Bulb (monochrome)
Yeelight Color (RGB)
Yeelight Ceiling (ceiling)
Yeelight Strip (tape)
Another model

3. Basic settings: brightness, color temperature and modes

Once connected, the lamp will appear in the main menu of the Mi Home app, click on its icon to open the control panel.

  • πŸŒ“ Brightness: adjustable by slider or voice commands (if assistants are connected).
  • 🎨 Color temperature: from warm (2700K) coldly (6500K) light.
  • πŸ”„ Modes: "Reading", "Night", "Watch movies" and other presets.
  • 🎢 Music Mode: Color synchronization with music (available for the RGB-model).

For supported models RGB-You can choose a ready-made shade or create your own using a circular scale. Note that some colors may look dimmer than others due to the characteristics of LEDs β€” this is normal.

If you want more precise settings, go to "Advanced settings" (the pin pin pin pin icon in the upper right corner).

  • Set up an on/off timer (for example, to light up at 7:00 and go out at 23:00).
  • Activate the "Smooth Turn on" mode (the lamp will gradually gain brightness, simulating the dawn).
  • Turn off the status indication (if the lamp flashes when the light is off).

⚠️ Attention: Some Yeelight firmware has a bug that resets the color temperature to its default value after the power is turned off. To avoid this, update the lamp firmware through the app (Update section").

ParameterRecommended valueNote
Brightness to read70-80%Too bright light tires the eyes with prolonged use.
Color temperature for sleep2700K-3000KWarm light helps to produce melatonin.
Musical regimeSensitivity: 50%When the light is sensitive, the lamp will respond to noise.
Smooth inclusion3-5 minutesA sharp turn on of bright light can be unpleasant.

4. Voice control: Connect to Google Assistant, Alice and Siri

One of the key features of Yeelight smart bulbs is that you can control your voice, and you need to tie the lamp to one of the voice assistants, and let's look at the process for the three most popular services.

Google Assistant (Android/Google Home)

1. Open the Google Home app and click "+" β†’ "Set up the device".

2. Select "Are there devices already?" and find the Mi Home list.

3. log in under the same account as in Mi Home and select the lamp to sync.

4. After successful connection, you can use commands such as:

  • "OK, Google, turn on the bedroom lamp 50%."
  • "Okay, Google, turn the lights in the living room blue."

Alice (Yandex)

1.In the Yandex application go to "Devices" β†’ "Add the device".

2. Select "Xiaomi" and log in.

3. Allow access to the data and wait for the synchronization.

Now Alice understands the commands:

  • "Alice, turn off the lights in the kitchen."
  • "Alice, make the lights warm."

Apple HomeKit (iOS)

Yeelight lamps don’t officially support HomeKit, but they can be integrated via workarounds, such as the Home Assistant app or the HomeBridge bridge (requires a computer or Raspberry Pi to be always on).

For beginners, it is easier to use Shortcuts (the β€œTeams” app on the iPhone):

1. Build a new team.

2. Add the action "Send" HTTP-request".

3. Enter URL species:

http://[IP_Lamps]/set_power?power=on

(IP-The lamp address can be found in the router settings or through the Fing app.)

⚠️ Attention: When in use HTTP-Disable Local Network in the Mi Home settings, otherwise the lamp may ignore external requests.

β˜‘οΈ Preparation for voice control

Done: 0 / 4

5. Automation and Scenarios: How to Make the Lamp Work for the Mind

The true power of smart lights is in automation, which can mimic the presence of a home, create a romantic atmosphere, or save energy. There are two types of automation available in the Mi Home app: Quick Scenarios and Smart Scenarios.

Quick scenarios allow you to combine several actions into a single team, such as:

  • πŸŒ… "Morning: Turn on the lamp at 30% brightness with warm light (2700K) and start the coffee maker.
  • 🎬 "Cinema: turn off the main light, turn on the backlight at 10% brightness of blue.

Smart scenarios are triggered by triggers: time, geolocation, or the state of other devices.

  • ⏰ "Alarm clock: if it is 7:00, turn on the lamp at 50% with a smooth brightness set.
  • πŸšͺ "Home to No One: If All Family Members Leave Home Geozone, Turn Off All Lights.
  • 🌑️ "Heat: If the room temperature is above 28Β°C, turn the lamp on at minimum brightness (for visual warning).

To create a script:

  1. Go to the Automation section of Mi Home.
  2. Press "+" and select the type of trigger (time, location, device).
  3. Add an action, such as "Light Lamp Control".
  4. Set up the settings (brightness, color) and save the script.

If standard Mi Home capabilities aren't enough, you can use Node-RED or Home Assistant to create complex chains of automation, for example, the lamp can flash red when the smoke sensor is triggered or only turn on on weekdays.

πŸ’‘

If the lamp doesn't respond to the scenarios, check if it's settings to turn on Local Control, and without it, some automations may not work.

Problems and Solutions: Why the Lamp Doesn't Work as It Should

Even after successful setup, users face typical problems, and here are the most common ones and how to fix them:

Problem.Possible causeDecision
Lamp does not connect to Wi-FiIncorrect password or incompatible networkCheck it out. SSID and password, temporarily disable 5 GHz
Lamp blinks after switching offStatus indication mode is onTurn off the option in the lamp settings
Voice assistant can't find the lampAccounts are not synchronizedReconnect the lamp in the assistant settings
The lamp spontaneously turns offTimer or automation is triggeredCheck the list of active scenarios
The color of the lamp is different from the chosen one.Limitations RGB-matrixChoose a close shade from the palette

If the lamp has stopped responding to commands at all, try resetting it to factory settings:

  1. Turn off and turn on the lamp 5 times in a row (with an interval of 1 second).
  2. The lamp will start to flash quickly, which means that the reset was successful.
  3. Reconnect it through Mi Home.

If the lamp does not flash after reset, this may indicate a hardware malfunction, in which case contact Xiaomi support with a check about the purchase - the device can be replaced under warranty.

What if the lamp does not respond to the discharge?
If the lamp does not flash after 5 times on / off, try: 1. screw it into another cartridge (possibly a problem in the contacts). 2. Connect to another Wi-Fi network (for example, to a mobile access point). 3. Leave the lamp without power for 10 minutes, then repeat the reset. If nothing helps, most likely, the lamp controller failed.

7. Advanced capabilities: firmware, API integration

For power users, Yeelight lamps offer much more than basic features. API You can control the lamp from your own applications, scripts or even from a computer.

To get started with API:

  1. Find out. IP-lamp address (via router or Fing app).
  2. Send. HTTP-request:
http://[IP_ Lamps]/miIO/info

The answer will be the token field – save it for further commands.

Examples of teams:

  • Turn on the lamp: http://[IP]/set_power?power=on&token=[TOKEN]
  • Set brightness 50%: http://[IP]/set_bright?bright=50&token=[TOKEN]
  • Set the color (RGB): http://[IP]/set_rgb?rgb=16711680&token=[TOKEN] (where 16711680 β€” denim).

For automation, you can use:

  • πŸ€– Home Assistant: Integration with the yeelight component.
  • πŸ“Š Node-RED: Creating Control Flows with Triggers from Other Devices.
  • πŸ’» Python scripts: the yeelight library for direct management.

⚠️ Note: When using third-party firmware (e.g. Tasmota), you lose official support and warranty. Before firmware, make sure you have a backup of the original software.

πŸ’‘

API Yeelight lamps allow you to integrate them into almost any smart home system, but requires basic knowledge of network protocols and security (do not transfer the token to third parties!).

FAQ: Answers to Frequent Questions

Can you operate a lamp without the internet?
Yes, but with reservations. Local control (via Wi-Fi) works without the Internet if: You use the Mi Home app on the same network as the lamp. Voice assistants (Google Assistant, Alice) do not require cloud synchronization (configure local control in their settings). However, some functions (for example, remote control from another network) require an Internet connection.
Why does the lamp periodically turn off Wi-Fi?
This is a typical problem with: Weak Wi-Fi signal (check the signal level in the router settings); frequent channel change on the router (fix the static channel in the settings); energy-saving router settings (turn off the function "Green" AP" Or "Wi-Fi Multicast." Also try to assign a static lamp. IP-address DHCP router.
How to drop a lamp if it does not respond to commands?
If the lamp does not respond to commands from the application and does not blink when reset (5 on / off), try: Unscrew the lamp from the cartridge and leave it without power for 15 minutes. Connect it to another power source (for example, to a carrier). If you have access to the router, lock the lamp on the cartridge. MAC-If nothing helps, contact Xiaomi Support - the controller may be faulty.
Can I use a Yeelight lamp outside?
No, all Yeelight models are for internal use only. They don't have moisture protection (class) IP20), And if you get water or condensate, you'll short circuit. IP65.
How to synchronize several lamps with each other?
For synchronous control of multiple lamps: Create a group in the Mi Home app (Devices section" β†’ "Add a group. Choose lamps that should work together. Now, when you run a group, all lamps will react the same. For complex scenarios (e.g., smoothly switching on the lamps in different sequences), use Home Assistant or Node-RED.