Connecting Xiaomi lamp to Alice: full instruction with tips and life hacks

Voice-controlled lighting in the home is not only convenient, it's stylish. Xiaomi offers a wide range of smart fixtures (Yeelight, Mi) LED Smart Bulb, Mi Bedside Lamp, which can be integrated with voice assistant Alice from Yandex. However, many users face difficulties in the first setup: the lamp does not find the network, Alice does not see the device, or commands are executed with a delay.

In this article, we’ll look at all the ways you can connect, from standard synchronization via Mi Home to alternative methods using Yandex Smart Home and third-party services, focusing on common bugs (such as a region problem in Mi Home or protocol conflict) and give practical tips on how to avoid them, and if you’ve tried to configure a bunch but it didn’t work, here you’ll find a solution.

First, decide which lamp you are holding. Xiaomi smart lamps are divided into two large groups:

  • πŸ’‘ Yeelight is a separate line with support for the Mi Home and Yeelight protocol API (For example, Yeelight Color, Yeelight Moonlight).
  • πŸ”† Mi LED β€” lamps and fixtures under the Xiaomi brand (for example, Mi) LED Smart Bulb, Mi Bedside Lamp 2).

It depends on what application and connection method you need.

1.Preparation: What to do before connecting

Before you start setting up, make sure all the components are ready to go, and skipping this step often causes failures later on.

Equipment requirements:

  • πŸ“± Android smartphone (version 6.0)+) or iOS (12.0)+).
  • πŸ“Ά Stable 2.4GHz Wi-Fi connection (lamp doesn’t work with 5GHz!).
  • πŸ”Œ Power supply or socket for the lamp (some models require constant voltage).
  • 🎀 Device with Alice: Yandex Station, Yandex Module or Yandex application with voice assistant.

⚠️ Note: If your router only supports 5GHz, you will have to temporarily switch to 2.4GHz or use a separate access point. Some lamps (for example, Yeelight Color 2) can connect to 5GHz, but you will still need 2.4GHz to initially set up.

Software:

  • πŸ“² Mi Home appendix for Mi lamps LED) Or Yeelight (for the series of the same name).
  • πŸ”„ Update the lamp firmware through the proprietary app (relevant for models older than 2021).
  • πŸ”— Xiaomi account (if not, register in advance).
πŸ“Š What kind of Xiaomi lighting you have?
Yeelight (any model)
Mi LED Smart Bulb
Mi Bedside Lamp
Other (write in the comments)

2. Method 1: Connect via Mi Home + Yandex. Station.

This is the most reliable method for lamps of the Mi series. LED. It works through the official integration of Xiaomi and Yandex, but requires the correct configuration of the region in Mi Home.

Step 1: Adding a Lamp to Mi Home

  1. Open the Mi Home app and log in to your account.
  2. Press + β†’ Add the device.
  3. Select the Lighting category and find your lamp model.
  4. Follow the instructions on the screen: turn the lamp into the socket, wait for the indicator to blink and confirm the connection to Wi-Fi.

⚠️ Note: If you select China in Mi Home, Alice won’t see the device. Switch to Russia in your profile settings (even if the lamp is already added, you will have to remove it and add it again).

Step 2: Synchronization with Yandex.Station

  1. Open the Yandex application and go to the Smart Home section.
  2. Click Add Add the device β†’ Xiaomi.
  3. Enter the username and password from your Mi Home account (the same one used to add a lamp).
  4. Select the lamp from the list of available devices and confirm the connection.

Step 3: Verification of the work

Tell Alice:

Alice, turn the lights on in [room name]

If the lamp does not respond, check:

  • πŸ”Œ Is it plugged into the socket.
  • πŸ“Ά Wi-Fi has changed (the lamp does not automatically reconnect!).
  • πŸ”„ Update the lamp firmware in Mi Home (Device Settings section) β†’ Update).

β˜‘οΈ Checklist before connection

Done: 0 / 4

3. Method 2: Connect via Yeelight (for Yeelight lamps)

The Yeelight series lamps have their own app and support direct integration with Alice via the Yandex Smart Home.This method often works more consistently than through the Mi Home.

Step 1: Set up in the Yeelight app

  1. Install the Yeelight app and sign up.
  2. Add the lamp through + β†’ Add the device.
  3. Choose your model and follow the instructions (the lamp should flash yellow).

Step 2: Connecting to Yandex

  1. In the application Yandex go to the Smart home β†’ Add the device β†’ Yeelight.
  2. Enter your Yeelight account (not Mi Home!)
  3. Select a lamp from the list and assign it a room.

Features of Yeelight:

  • ⚑ Yeelight lamps support smooth voice brightness control (e.g., "Alice, light up at 30%").
  • 🎨 For color models (Yeelight Color) commands such as "Alice, make the light blue" are available".
  • πŸ”„ Firmware updates come more often than in Mi Home.

⚠️ Note: If a Yeelight lamp has been added to Mi Home before, remove it from there before setting up via Yeelight.

Method 3: Alternative Connection via Home Assistant (for Advanced)

If the official methods don't work (for example, because of an outdated lamp model), you can use Home Assistant, an open platform for smart homes, which takes longer, but gives you flexibility in settings.

What you need:

  • πŸ–₯️ Computer or Raspberry Pi to install Home Assistant.
  • πŸ”§ Knowledge of basic commands YAML (configuration files).
  • πŸ”‘ Token from Mi Home (can be accessed via mihome.dev).

Step 1: Installation of Home Assistant

Follow the official instructions. You can use the finished image for the Raspberry Pi to simplify.

Step 2: Set up integration with Xiaomi

Add to the configuration.yaml file:

miio:


username: !secret mi_user




password: !secret mi_pass




discovery_retry: 5




retry_on_rate_limit: true

Where mi_user and mi_pass β€” Your Xiaomi account data (it is better to store them in a separate secret.yaml file).

Step 3: Connecting to Yandex

  1. In Home Assistant, go to Settings β†’ Voice assistants β†’ Yandex Smart Home.
  2. Generate a token and add it to the Yandex application (Smart Home section) β†’ Settings β†’ Add it via Yandex IoT).

The lamp will appear in Yandex as "Castom device". To work correctly, specify the type of light in the entity settings.

How to Get Mi Home Token for Home Assistant
1. Go to mihome.dev and log in through your Xiaomi account. 2. Select a region (for Russia - "Russia"). 3. Copy the token from the "Mi Account Token" section". 4. Insert it into secrets.yaml instead mi_user and mi_pass.

5. Common mistakes and their solutions

Even if you follow the instructions, you can get a failure.-5 problems and ways of eliminating them.

Problem.Possible causeDecision
Alice doesn't see the lamp after synchronizationMi Home region or account conflictRemove the lamp, change the region to "Russia" and add again
The lamp flashes but does not connect to Wi-FiThe router blocks the device or weak signal 2.4 GHzTurn off the filtering. MAC-Addresses, bring the lamp closer to the router
Commands are executed with a delayXiaomi or Yandex servers are overloadedReboot the lamp (turn off / on 5 times in a row)
Alice says, "The device is not responding."Lamp offline in Mi Home/YeelightCheck the power and reconnect the lamp to Wi-Fi
Color lamp does not change color on commandOutdated firmware or Yandex restrictionsUpdate your firmware and use commands like "make the lights warm"

Additional advice:

  • πŸ”„ If the lamp "hangs", reset it to the factory settings: turn on / off 5 times with an interval of 2 seconds.
  • πŸ“‘ For stable operation, turn off the energy-saving mode on the router for Xiaomi devices.
  • πŸ—£οΈ To help Alice understand commands better, add a lamp to a room with a simple name (e.g., "Bedroom" rather than "Rest Room"). β„–1").

πŸ’‘

If Alice is constantly confusing lamps in different rooms, assign them unique names in the Yandex app (for example, β€œBedside Lamp” instead of β€œLamp 1”).

6. Voice commands to control the luminaire

Alice supports dozens of smart lamp teams, and here are the most useful ones:

Baseline teams:

  • πŸ’‘ "Alice, turn the lights on in [room]"
  • πŸŒ‘ "Alice, turn off the lights in [room]"
  • β˜€οΈ "Alice, make the lights brighter/dimmer"
  • πŸ”„ "Alice, turn on the lights at 50%"

For colored lamps (Yeelight Color, Mi) LED Smart Bulb Essential):

    Advanced scenarios:

    • 🎬 "Alice, turn on the movie mode (if the script is set up in Mi Home)

    ⚠️ Note: Commands with brightness percentages (e.g., "turn on 30%") only work for lights that support smooth adjustment (most Yeelight and Mi models). LED Smart Bulb Essential for budget lamps (Mi Smart) LED Bulb Basic only "on/off" commands are available".

    7. Security and confidentiality

    Connecting smart devices to a voice assistant always raises security questions.

    What's going on to Yandex:

    • πŸ”‘ Mi Account details Home/Yeelight (Only at the first synchronization).
    • πŸ“‘ Lamp status information (on/off, brightness, color).
    • πŸ—£οΈ Voice commands (processed on Yandex servers).

    How to protect your data:

    • πŸ” Use a complex password for your Xiaomi account and enable two-factor authentication.
    • πŸ“΅ Turn off access to a smart home in the Yandex app if you leave for a long time.
    • πŸ”„ Regularly update the lamp firmware (new versions close vulnerabilities).

    Security myths:

    • ❌ "Alice can turn on the lamp without my command – no, it requires physical access to your account.
    • ❌ "Lamp Spying Through a Microphone – No, Xiaomi Lamps Have No Microphones.
    • βœ… "Yandex Stores Team History – Yes, but You Can Delete It in the App Settings.

    πŸ’‘

    For maximum security, use a separate Xiaomi account for your smart home (do not link payment details to it).

    FAQ: Frequent questions about Xiaomi's connection to Alice

    πŸ”Ή Can you connect the Xiaomi lamp to Alice without Yandex.Station?
    Yes, it is enough to have a Yandex app with a voice assistant on your smartphone. All settings of a smart home are available in the Smart Home section.
    πŸ”Ή Why Alice Sees a Lamp But Can't Drive It?
    This is a typical problem in conflict regions: remove the lamp from Mi Home, change the region to Russia and add it again, and check if the router blocks the lamp from Xiaomi servers.
    πŸ”Ή How to Reset Xiaomi Lamp to Factory Settings?
    For most models: plug the lamp into the socket and quickly turn it on/off 5 time-in 1-2 The lamp should start flashing yellow, which means that the reset was successful.
    πŸ”Ή Can I connect to Alice lamp Xiaomi, bought in China?
    Yes, but you'll have to change the region in Mi Home to Russia and update the firmware. JIAOYUE 650) may not support Russian-speaking teams.
    πŸ”Ή Why the lamp sometimes doesn't respond to commands?
    The reasons can be different: Weak Wi-Fi signal (move router or use repeater), overload of Xiaomi servers (try repeating command in 5 minutes), conflict with other smart devices (reset the lamp).