Connecting Xiaomi Bedside Lamp 2 to Alice: A Complete Guide with Step-by-Step Instructions

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.

  1. Open Mi Home and go to Profile β†’ Settings β†’ Region.
  2. Choose Russia (or Europe if Russia is not available).
  3. 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.

  1. 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.
  2. 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).
  3. 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:

  1. Open the Yandex application (or Yandex.Station) and go to Devices β†’ Add the device β†’ Xiaomi.
  2. Select Mi Home from the list of services.
  3. Sign in to your Xiaomi account (login and password from Mi Home).
  4. 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.

FunctionVoice commandExample 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:

  1. Open the Yandex application and go to the scripts β†’ Create a script.
  2. Select a condition (e.g. Time or Geolocation).
  3. Add Action: Device Management β†’ Xiaomi Bedside Lamp 2.
  4. 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:

  1. Create an account at iftt.com.
  2. Connect to Mi Home and Yandex Alice.
  3. 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
1. Get access to Yandex Smart Home via OAuth. 2. Send. POST-request https://api.iot.yandex.net/v1.0/devices with parameters: {"name": "Xiaomi Bedside Lamp" 2", "type": "devices.types.light", "custom_data": { "miio_did": "YOUR_DEVICE_ID" } } 3. Wait for confirmation of the addition (may take until the 5 minute).

⚠️ 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 synchronizationConflict of device identifiersRemove the device from Mi Home, reset the settings and add again
Alice says, "The device is not responding."Nightlight is off Wi-Fi or dischargedCheck the network connection and charge level (at least 30%)
Error "failed to add the device" in YandexIncompatible region of the Mi Home accountChange the region to Russia/Europe (see section 1)
Nightlight flashes red after connectingFirmware error or hardware failureUpdate your firmware or contact Xiaomi for support
Voice commands are working with a delayBad connection to Xiaomi serversReboot 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:

  1. In the Yandex app go to Devices β†’ Groups β†’ To form a group.
  2. Add all night lights and name the group (e.g., Night Nightlife in the House).
  3. 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.

FAQ: Frequent questions about connecting Xiaomi Bedside Lamp 2 Alice

Can I connect a nightlight to Alice without Mi Home?
No, Mi Home is a must-have link in the chain. Alice only interacts with Xiaomi devices through the official app. However, once set up in the Mi Home, you can control the nightlight exclusively through Alice without opening the Xiaomi app.
Why does Alice see a night light but can't control it?
This is a typical problem in a rights conflict. Check: Mi Home is enabled for Yandex Smart Home (Device Settings section). β†’ Sharing? Does the antivirus or firewall on the router block the connection to Xiaomi servers (port 80 and 443 must be opened); Is the nightlight firmware updated (minimum supported version - 1.4.5). If nothing helps, delete the device from Yandex and add again.
How to reset the nightlight to factory settings?
There are two ways: Soft reset: hold the power button for 5 seconds until the indicator flashes yellow. This will reset the Wi-Fi settings, but it will save the firmware. Hard reset: hold the button for 10 seconds until the indicator flashes red. This will return the device to factory settings (including firmware). After reset, the night light will have to be reconnected to Mi Home and Alice again.
Can you control the color of the night light through Alice?
Alice supports basic color-shift commands: "Alice, turn the nightlight red" "Alice, set the nightlight to blue" However, fine-tuning the hue (e.g., make the nightlight red, "RGB 255,100,50" is only possible through Mi Home or Home Assistant, and Alice does not support dynamic effects (for example, smooth transfusion of colors).
The nightlight's on, but Alice can't see it.
The problem may be on the side of Yandex. Try: In the Yandex app go to Devices β†’ Settings β†’ Update the list. Unplug and reconnect your Mi Home account in Yandex settings. Check if your ISP is blocking access to Yandex servers (for example, if you use a corporate network). If the problem persists, contact Yandex with error logs (they can be exported to Mi Home in the Profile section). β†’ Call for support).