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).
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
- Open the Mi Home app and log in to your account.
- Press + β Add the device.
- Select the Lighting category and find your lamp model.
- 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
- Open the Yandex application and go to the Smart Home section.
- Click Add Add the device β Xiaomi.
- Enter the username and password from your Mi Home account (the same one used to add a lamp).
- 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
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
- Install the Yeelight app and sign up.
- Add the lamp through + β Add the device.
- Choose your model and follow the instructions (the lamp should flash yellow).
Step 2: Connecting to Yandex
- In the application Yandex go to the Smart home β Add the device β Yeelight.
- Enter your Yeelight account (not Mi Home!)
- 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: trueWhere 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
- In Home Assistant, go to Settings β Voice assistants β Yandex Smart Home.
- 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
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 cause | Decision |
|---|---|---|
| Alice doesn't see the lamp after synchronization | Mi Home region or account conflict | Remove the lamp, change the region to "Russia" and add again |
| The lamp flashes but does not connect to Wi-Fi | The router blocks the device or weak signal 2.4 GHz | Turn off the filtering. MAC-Addresses, bring the lamp closer to the router |
| Commands are executed with a delay | Xiaomi or Yandex servers are overloaded | Reboot the lamp (turn off / on 5 times in a row) |
| Alice says, "The device is not responding." | Lamp offline in Mi Home/Yeelight | Check the power and reconnect the lamp to Wi-Fi |
| Color lamp does not change color on command | Outdated firmware or Yandex restrictions | Update 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).