How to connect Xiaomi light to your phone: from model selection to automation settings

Introduction: Why Connect Xiaomi Lighting to Your Phone

Xiaomi smart lights are not just a light source, but a full-fledged part of the smart home ecosystem. By connecting a lamp to a smartphone, you can control the lighting with your voice, on a schedule, or even depending on your location, for example, the lights can automatically turn on when you get home or simulate a presence when you are not there.

But how does it work? Many users are struggling to pair devices, some lights require 2.4Hz Wi-Fi, others require special hubs, and some refuse to connect at all due to regional restrictions in the Mi Home app. In this article, we will explore everything from choosing a compatible model to configuring complex scenarios through Google Assistant or Apple HomeKit.

We'll focus on common bugs that cause a connection to break halfway, like why the Yeelight LED Bulb isn't visible on the network when the router is running 5GHz, or how to bypass a Chinese server binding lock. Spoiler: the solution often lies in router settings or changing region in your Mi Account profile.

What Xiaomi Lights Support Connection to Your Phone

Not all Xiaomi lamps can be operated from a smartphone, and the company makes devices under multiple brands, and their capabilities are very different.

  • ๐Ÿ’ก Yeelight is a separate line of smart bulbs with support for Wi-Fi and Bluetooth Mesh. Examples: Yeelight LED Bulb (Color), Yeelight Strip Plus. Work without a hub, but require a stable Internet connection.
  • ๐Ÿ  Mi LED Smart Bulb, a budget model under the Xiaomi brand, often require a Mi Gateway hub to work properly. LED Smart Bulb Essential.
  • ๐Ÿ”„ Aqara โ€“ Aqara devices for the Aqara ecosystem that are compatible with Mi Home but focused on the Aqara Hub. LED Bulb T1.
  • ๐ŸŒ Universal โ€“ lamps with support for Zigbee (for example, Xiaomi MiJia Smart) LED Bulb) that connect through third-party hubs.

Important: If your lamp doesn't have the words Smart, Wi-Fi or Bluetooth in its name, it probably doesn't support remote control.

ProtocolExamples of modelsNeed a hub?Response speed
Wi-FiYeelight Color, Mi LED Bulb EssentialNo.Medium (depending on the network)
Bluetooth MeshYeelight Strip PlusNo.Fast (local network)
ZigbeeMiJia Smart LED Bulb, Aqara Bulb T1Yes (Mi Gateway or Aqara Hub)Instant.

Before you buy a lamp, check its compatibility with your smartphone. For example, models with Zigbee will not work without a hub, and some Yeelight require Android 6.0+ or iOS 12+ to work properly.

๐Ÿ“Š What type of smart lamps do you use?
Wi-Fi (Yeelight, Mi LED)
Zigbee (requires hub)
Bluetooth Mesh
I haven't bought it yet.

Preparation for connection: what to do before installing the lamp

Before you plug in the light, make sure your network and smartphone are ready for it. Here is a checklist of required actions:

Check that the router is operating in 2.4 GHz mode (or in mixed mode 2.4/5 GHz)

Disable VPN and proxy on your phone

Install the latest version of the Mi Home or Yeelight app

Register a Mi Account and link it to the region of Russia or Europe

Enable Bluetooth and Wi-Fi on your phone, and allow the app to access location-->

Pay special attention to router settings. Many modern routers only work in the 5GHz band by default, which most Xiaomi smart bulbs don't support. To change that:

  1. Go to the router control panel (usually at 192.168.0.1 or 192.168.1.1).
  2. Find the Wireless Network (Wi-Fi) โ†’ Wireless Mode Settings section.
  3. Set the 802.11 b/g/n (2.4 GHz only) or Mixed (2.4 + 5 GHz) mode.
  4. Save the settings and restart the router.

โš ๏ธ Note: If your router does not support 2.4GHz mode, try using a repeater (signal repeater) at the desired frequency or temporarily connect the lamp to the mobile access point on the phone.

Also check if your firewall or antivirus is blocking new devices from connecting to the network. For example, Kaspersky Internet Security needs to add the Mi Home app to exceptions. If you use a Google Pixel or iPhone with strict privacy settings, allow the application to access the Local Network in your system settings.

Step-by-step: how to connect the Xiaomi lamp to the phone via Mi Home

Let's look at a universal connection method, using the Yeelight LED Bulb Color lamp, which is suitable for other Wi-Fi-enabled models.

  1. Install the lamp in the cartridge and turn on the power. Make sure it flashes yellow or white light (conjugation mode). If the lamp is constantly on, turn it off and on 3 times in a row at intervals of 1 second.
  2. Open the Mi Home app and log in. If you don't have an account, sign up (you should choose Russia or Europe to avoid server problems).

If the application gives an error in step 5, โ€œDevice failed to connectโ€, try the following steps:

  • ๐ŸŒ Change the region in your Mi Account profile to China (sometimes helps with blocking).

โš ๏ธ Note: If you connect the lamp through the Mi Gateway hub, first add the hub itself to the Mi Home app, and then look for the lamp in the Devices section through the gateway.

๐Ÿ’ก

If the Yeelight lamp isnโ€™t visible in the Mi Home, try using the official Yeelight app โ€“ it often works more stable for the brandโ€™s devices.

Alternative ways to connect: Home Assistant, Google Home, Siri

The Mi Home app isnโ€™t the only way to control Xiaomiโ€™s luminaires.If you want to integrate the bulbs into more sophisticated automation systems or control them with voice, consider these options:

1. Connection via Google Assistant or Apple HomeKit

For this:

  1. Add the lamp to the Mi Home (as described above).
  2. Open your device settings in Mi Home and select Smart Assistant โ†’ Google Assistant (or Siri).
  3. Sign in to your Google or Apple account and confirm sync.
  4. Now you can control the lamp with a voice: "OK, Google, turn on the light in the living room."

2. Integration with Home Assistant (for advanced users)

If you use Home Assistant, add the lamp through the Xiaomi Miio component:

# Fragment of configuration.yaml


light:




- platform: xiaomi_miio




name: "Xiaomi Lamp"




host: 192.168.1.100 # IP- address of lamp




Token: "YOUR_TOKEN" # Get a token through Mi Home Token Extractor

To get a token, use the Mi Home Token Extractor utility (requires Android with root rights or Packet Capture on iOS).

3.Management through Yandex Alice

Yandex officially supports some Xiaomi models through the smart home skill.

  1. Add the lamp to the Mi Home.
  2. Open the Yandex application โ†’ Services โ†’ Smart home.
  3. Select Add Device โ†’ Xiaomi and log in.
  4. Now Alice will see your lamp. Team example: "Alice, turn off the lights in the kitchen."
How to get around the limit on the number of devices in the Mi Home?
The free version of Mi Home allows you to add up to 30 devices. If the limit is exhausted, create a second Mi Account and use it for new lamps. Alternatively, switch to Home Assistant, where there are no restrictions.

Typical Errors and Their Solutions: Why the Lamp Doesn't Connect

Even if you set up the network correctly, the connection can fail, and here are the most common errors and ways to fix them:

Mistake.Possible causeDecision
"I couldn't connect to the device."The lamp is too far from the router or the phone is connected to 5 GHz.Bring the lamp closer to the router or switch the network to 2.4 GHz.
"Device not responding" after connectionConflict IP-addresses or firewall lock.Restart the router and assign the lamp a static IP in the DHCP settings.
The lamp flashes but not found in Mi HomeFirmware failure or incompatibility of the region.Reset the lamp (5 on/off) and change region in Mi Home to China.
"Server unavailable."Xiaomi server problems or VPN blocking.Turn off the VPN, check your internet connection, or try it later.

If the lamp is connected, but periodically falls off the network, check:

  • ๐Ÿ“ถ Wi-Fi signal at the lamp installation site (must be at least 70%).
  • โšก Power Stability (use network filters to protect against voltage surges).
  • ๐Ÿ”„ Power saving settings on your phone (turn off optimization for Mi Home).

For Yeelight lamps with firmware 1.5.0_0050 and a newer feature available LAN Control, which allows you to control your device even without the Internet, so you can turn it on:

  1. Open the lamp settings in Mi Home.
  2. Go to Additional Settings โ†’ Local area network.
  3. Activate the option to Allow LAN Control.

๐Ÿ’ก

If the Xiaomi lamp doesnโ€™t connect despite all the effort, check its firmware through the Mi Home app. Outdated versions (below 1.4.0) may require a hub or manual update.

Automation settings: scenarios and schedules

The main advantage of smart lamps is that they can be automated, and Mi Home does this through Automation. Here are some useful scenarios:

  • โฐ "Alarm clock: lights gradually turn on 30 minutes before waking up (imitation of dawn).
  • ๐Ÿ  "Homeless: Lamps accidentally turn on/off in your absence.
  • ๐ŸŒ“ "Adaptive lighting: brightness and color temperature vary depending on the time of day.
  • ๐ŸŽฎ "Mode of the movie: when you turn on the TV, the light is dimmed to 10%.

To create a script:

  1. Open Mi Home โ†’ Automation โ†’ Create.
  2. Select a Terms (e.g. Time or Geolocation).
  3. Add Action โ€“ select a lamp and set the desired parameters (color, brightness).
  4. Save the script and test it out.

For advanced users, you can create automation with other sensors in the Home Assistant.

automation:


- alias: "Switch on the lights when driving at night"




trigger:




platform: state




entity_id: binary_sensor.motion_sensor_158d0001234567




to: "on"




condition:




condition: and




conditions:




- condition: time




after: "sunset"




before: "sunrise"




- condition: state




entity_id: light.xiaomi_lamp




state: "off"




action:




service: light.turn_on




entity_id: light.xiaomi_lamp




data:




brightness: 200




color_temp: 400

This scenario involves a lamp at 75% brightness with a warm light (400 on the Mired scale) if the motion sensor is triggered after sunset.

FAQ: Answers to Frequent Questions

Can I connect a Xiaomi lamp without the internet?
Yes, but with reservations: Yeelight LAN Control-enabled lamps will run on a local network; Bluetooth Mesh devices (like Yeelight Strip Plus) are controlled directly from a phone without a router; Zigbee lamps require a hub, but after setup work without the Internet; however, the Internet is mandatory for an initial connection, without it, the application will not be able to authorize the device.
Why does Xiaomi not save the settings after switching off?
This is a typical problem for models without state memory (e.g. Mi LED Bulb Essential). Solutions: Use a smart outlet (e.g. Xiaomi Mi Smart Plug) to keep the power from shutting down completely. Update the lamp firmware via Mi Home. Replace the lamp with a LAN Control-enabled model (e.g. Yeelight Color 2).
How to reset the Xiaomi lamp to factory settings?
The way you reset depends on the model: For Yeelight: turn the lamp on/off 5 times at 1 second intervals. It will flash yellow. For Mi LED Bulb: hold the button on the case (if you have) for 5 seconds. For Zigbee lamps: remove the device through the hub in Mi Home. After reset, the lamp must be reconnected as when you first use.
Can I control a Xiaomi lamp from multiple phones?
Yes, but you do: Add a lamp to Mi Home on the main phone. Select Sharing in the device settings. Enter an email or a second user's phone (he must have a Mi Account). The second user must accept the invitation in his Mi Home. Restriction: only one person can operate the lamp at a time. If the second user changes the settings, they will apply to all devices.
What Xiaomi lamps are compatible with Apple HomeKit?
Xiaomi doesnโ€™t officially certify its devices for HomeKit, but there are workarounds: Use Home Assistant with the HomeKit Bridge plugin. Yeelight lamps will suit the HomeBridge app (requires a Mac or Raspberry Pi). Some models (e.g. Yeelight Pro) support HomeKit through third-party firmware (e.g., Tasmota), but this requires soldering and programming skills.