The Xiaomi Bedside Lamp 2 is not just a soft light source, but a full-fledged smart home device that can be integrated with Yandexβs Alice voice assistant, which allows you to control voice lighting, create automation scenarios, and even synchronize nightlight with other gadgets. However, many users have difficulty configuring this bundle: Mi Home app doesnβt see the device, Alice refuses to recognize it, and synchronization errors occur.
In this article, weβll look at all the ways you can connect Xiaomi Bedside Lamp 2 to Alice, from basic configuration via Mi Home to alternative methods using Yandex Smart Home and third-party services. Youβll learn how to avoid common bugs, what settings to check before synchronizing, and what to do if the device doesnβt appear on the list of available ones. And for those who have tried to connect but have problems, weβve prepared a section on solutions to the most common bugs, from connection failures to firmware conflicts.
1. Preparation of the Xiaomi Bedside Lamp 2 nightlight to connect
Before you can connect the nightlight to Alice, you need to make sure that the device itself is ready for integration, which is a stage that is often missed, which causes problems with synchronization.
- π Charge the nightlight to 100% β at a low charge level (less than 20%), the device may not connect correctly to the Wi-Fi network or refuse to update the firmware.
- π± Update the Mi Home app to the latest version β legacy versions often donβt support new device models or have login bugs.
- π Connect the nightlight to the 2.4 GHz network β Xiaomi Bedside Lamp 2 does not work with 5 GHz networks, and this is one of the main reasons for failed connections.
- π Reset the nightlight settings if it has already been connected to another account β hold the power button for 5 seconds until the indicator flashes.
Pay special attention to the region of your Mi Home account, if your account is linked to Mainland China servers, the nightlight may not appear in Alice's device list.
- Open Mi Home and go to Profile β Settings β Region.
- Choose Russia (or Europe if Russia is not available).
- Sign out and log in again β this will reset the cache and update the list of supported devices.
π‘
If the nightlight has disappeared from the Mi Home list after the region change, delete it and add it again.This is because some Xiaomi models are tied to a specific server when they first connect.
2. Connecting a night light to the Mi Home app
Without the right setup in Mi Home, synchronization with Alice is impossible.
- Adding device: Open Mi Home and press + β Add the device. Select Lighting category, then search for the Xiaomi Bedside Lamp 2 model (if it is not on the list, search by name). Follow the instructions on the screen: turn on the nightlight, holding the power button for 3 seconds until the indicator flashes yellow.
- Wi-Fi Connection: Select your 2.4GHz network and enter your password. Wait until the process is complete (the indicator on the nightlight should be green).
- Firmware Update: After connecting, check for updates in the Device Settings section β Firmware Update: Devices with firmware older than 1.4.5 may not support Alice integration.
The device added to Mi Home|Night's on the grid. 2.4 GHz|The firmware has been updated to the latest version|Mi Home account tied to region Russia/Europe-->
If you have a Wi-Fi connection error that says βI couldnβt connect to the network,β try:
- π Reboot router and night.
- π΅ Shut down. VPN Proxies on the phone β they can block the connection to Xiaomi servers.
- π Temporarily disable network protection (e.g, MAC-filtering or customer isolation in router settings.
3. synchronization of Mi Home with Yandex account
In order for Alice to manage the nightlight, you need to link Mi Home and Yandex accounts. This process consists of two stages: connecting the Mi Home service in the Yandex application and setting up access rights.
Step 1. Connecting the service in Yandex:
- Open the Yandex application (or Yandex.Station) and go to Devices β Add the device β Xiaomi.
- Select Mi Home from the list of services.
- Sign in to your Xiaomi account (login and password from Mi Home).
- Allow Yandex to access your Xiaomi devices.
Step 2: Set up access rights in Mi Home:
After the account bundle, return to Mi Home and check:
- π In the Profile section β Settings β Security enabled option Allow access to third parties.
- π The region of the account corresponds to Russia or Europe (see section 1).
- π In the nightlight settings (Device) β Settings β Sharing) switched on Yandex Smart Home.
Alice's voice commands|Mi Home appendix|Physical button on the device|Scheduled automation-->
If the nightlight doesnβt appear in Aliceβs device list after sync, try:
β οΈ Attention: Some users are faced with a problem when Yandex sees the nightlight as an "Unknown device" This is due to the conflict of identifiers in the Xiaomi database. Solution: untie the nightlight from the Mi Home account, reset its settings (hold the button 10 seconds) and add again.
4.Setting up nightlight control via Alice
Once synchronized successfully, the nightlight will appear in the Yandex app in the Devices section, and now it can be controlled by voice, scripted, and customized for automation.
| Function | Voice command | Example of scenario |
|---|---|---|
| Switching on/off | "Alice, turn on the nightlight in the bedroom." | Automatic on-going (if there is a sensor) |
| Brightness adjustment | "Alice, set the nightlight to 50% brightness." | Smooth blackout before bedtime |
| Change of color | "Alice, make the nightlight blue." | Color indication of weather (blue - rain, yellow - sunny) |
| Timer. | "Alice, turn off the nightlight in 30 minutes." | Turning off the lights after falling asleep |
To create automation:
- Open the Yandex application and go to the scripts β Create a script.
- Select a condition (e.g. Time or Geolocation).
- Add Action: Device Management β Xiaomi Bedside Lamp 2.
- Set the settings (on/off, color, brightness) and save the script.
If Alice doesn't recognize the name of the device, try:
- π Rename the nightlight to Mi Home (e.g., "Bedside Nightlight" instead of "Bedside Lamp 2").
- π£οΈ Say the command more clearly, adding clarification: "Alice, turn on the nightlight in the bedroom".
- π In the settings of Yandex.Stations, enable the option "Device recognition by location" (if you have several speakers).
π‘
For stable voice control, make sure that the nightlight and speaker with Alice are on the same Wi-Fi network. If you use multiple routers or Mesh-system, turn off the function "Customer isolation".
5. Alternative ways of connecting (if the standard method does not work)
If synchronization through Mi Home and Yandex fails, you can use workarounds, which require additional steps, but often help in difficult cases.
Method 1. Connection via Home Assistant
If you have a Home Assistant installed, you can integrate the nightlight through the Xiaomi Miio component:
# Fragment of configuration.yaml
light:
- platform: miio
name: "Xiaomi Bedside Lamp 2"
host: 192.168.1.100 # IP- Night Nightclub address
token: "YOUR_MIIO_TOKEN" # Token of the device
model: "yeelink.light.lamp2"To get a token, use the Mi Home Token Extractor utility (available on GitHub). After setting up, connect Home Assistant to Alice via Yandex Smart Home.
Method 2. Use IFTTT
Service IFTTT Allows you to create an applet to control the night light through Alice:
- Create an account at iftt.com.
- Connect to Mi Home and Yandex Alice.
- Create an applet with the Alice command trigger and the Control Mi Home device action.
Method 3: Manual Addition via Yandex Smart Home API
For experienced users: you can manually add the device through API Yandex, pointing it out device_id From Mi Home:
Detailed instructions for API
β οΈ Attention: Alternative methods can compromise the stability of the device, such as a token in the Home Assistant that is incorrect, which can result in the blocking of Xiaomi accounts.
6. Solving common errors
Even with the exact following of the instructions, there can be failures.-5 errors and ways of eliminating them:
| Mistake. | Reason. | Decision |
|---|---|---|
| Nightlight is not displayed in Yandex after synchronization | Conflict of device identifiers | Remove the device from Mi Home, reset the settings and add again |
| Alice says, "The device is not responding." | Nightlight is off Wi-Fi or discharged | Check the network connection and charge level (at least 30%) |
| Error "failed to add the device" in Yandex | Incompatible region of the Mi Home account | Change the region to Russia/Europe (see section 1) |
| Nightlight flashes red after connecting | Firmware error or hardware failure | Update your firmware or contact Xiaomi for support |
| Voice commands are working with a delay | Bad connection to Xiaomi servers | Reboot the router or change it. DNS at 8.8.8.8 |
If none of the methods worked, check:
- π Nightlight power: Try connecting it to another source (e.g. powerbank).
- π‘ Wi-Fi signal strength: nightlight should be no further than 10 meters from the router.
- π Conflicts with other devices: temporarily disconnect the rest of Xiaomi gadgets from Mi Home.
To diagnose connection problems in Mi Home, go to Profile β Devices β Xiaomi Bedside Lamp 2 β Logs. This shows connection errors, updates and synchronization.
7.Optimizing Nightlighter Work with Alice
To control the night light was as convenient as possible, configure the following parameters:
Grouping of devices
If you have several Xiaomi nightlifes, group them together:
- In the Yandex app go to Devices β Groups β To form a group.
- Add all night lights and name the group (e.g., Night Nightlife in the House).
- Now you can control all the devices with one command: "Alice, turn off all the night lights."
2. Geo-fence configuration
Create automation that will turn on a nightlight when you return home:
- In Yandex go to the scripts β Geolocation.
- Select the condition "I came home."
- Add action: Turn on the nightlight at 30% brightness.
3. Integration with other devices
The nightlight can be linked to:
- π Motion sensors: lights will turn on automatically (e.g., Xiaomi Motion Sensor).
- π‘οΈ Thermostats: the color of the lamp will change depending on the temperature.
- π΅ Columns: Nightlight will flash to the beat of music (via Home Assistant).
4. Energy savings
To extend the nighttime battery life:
- In Mi Home, set Power Saving Mode (Device Settings section).
- Set up automatic shutdown after 1 hour of inactivity.
- Use dark colors (blue, purple) β they consume less energy than white.
π‘
For maximum stability, update your nightlight firmware at least 1 time every 3 months. Newer versions often fix sync errors with Alice.