Connecting Xiaomi light to iPhone: from setup to automation

Xiaomi smart lights are some of the most popular smart home devices, but their integration with the iPhone often raises questions among users. Unlike Android, where the process is as simple as possible, iOS owners have to take into account Apple’s limitations on the background of applications and the features of the HomeKit protocol. This article will help you understand how to connect Yeelight, Mi LED or other Xiaomi models to the iPhone, configure management through the Mi Home or Apple House, and also solve typical synchronization problems.

We will look at two main ways of connecting: through the Mi Home app (with support for servers in China / Europe) and through HomeKit (for full integration into the Apple ecosystem), paying special attention to the nuances that the manufacturer often does not say: the choice of region in the application, setting up 2.4 GHz Wi-Fi, bypassing the restrictions of iOS 17+ and compatibility with Matter. If you have already tried to connect the lamp and encountered an error β€œfailed to add a device” – in the article there is a section with a step-by-step analysis of reasons and solutions.

1.What Xiaomi fixtures are compatible with the iPhone?

Not all Xiaomi smart bulbs work equally well with iPhones, but the main criteria for compatibility are support for Wi-Fi or Bluetooth Mesh protocols, as well as having a HomeKit or Matter certification.

  • πŸ’‘ Yeelight LED Smart Bulb (Color, White, Pro series) are the most versatile, running through Mi Home and HomeKit (with a firmware update).
  • The πŸ’‘ Mi LED Smart Bulb (Essential, Warm to White models) is a budget option, but requires a mandatory connection via the Mi Home.
  • πŸ’‘ Xiaomi Mi Smart LED Desk Lamp is a desktop lamp with HomeKit support (new revisions only 2023+).
  • πŸ’‘ Aqara Smart LED Bulb (lineup) T1) - an alternative from the sub-brand, fully compatible with Apple House.

Important: Zigbee-based lamps (e.g. Xiaomi MiJia Smart LED Ceiling Light) require an additional hub (Xiaomi Gateway), which may not support iOS on its own. Before buying, check for the device's specifications for "Works with Apple HomeKit" or "Matter Certified".

πŸ“Š What Xiaomi Smart Lamp Is It You Use?
Yeelight
Mi LED Bulb
Aqara
Another model.
I haven't bought it yet.

Tip: If you plan to integrate with HomeKit, opt for Matter-enabled models (like the 2026 Yeelight Pro) to avoid having to use the Mi Home as a middleman.

2. Preparation before connection: settings iPhone and Wi-Fi

Before you start syncing, make sure your iPhone and network meet the following requirements:

  1. iOS version: no lower than 15.0 (HomeKit requires 16.1+). Check Settings β†’ General β†’ About this device.
  2. Wi-Fi: Xiaomi lamps only work with 2.4 GHz networks. If your router broadcasts 5 GHz and 2.4 GHz under the same name (SSID), split the networks in the router settings.
  3. Bluetooth: Must be enabled (needed for initial configuration of some models).
  4. App Store Region: Mi Home may require you to switch to China or Europe (see more in the next section).

Critical detail: If your router uses WPA3 protection, switch to WPA2 temporarily – many Xiaomi lamps do not support the new encryption standard.

ParameterRequirement for XiaomiRequirement for HomeKit
iOS version13.0+16.1+
Wi-Fi frequencyOnly 2.4 GHz2.4 GHz or 5 GHz
Security protocolWPA2 (not WPA3!)WPA2/WPA3
BluetoothIncluded (for some models)It's on.

⚠️ Warning: If you are using an iPhone 14 Pro or later with Private Wi-Fi Address, turn it off for the network you are connecting the lamp to, otherwise the device will not be able to keep in touch with the router.

3. Method 1: Connect via the Mi Home app

This is the most reliable method for most Xiaomi lamps, but it requires registration in the Mi Account ecosystem and the right choice of region.

Download Mi Home from the App Store| Register Mi Account| Select "Russia" or "Europe" | Connect to Wi-Fi 2.4 GHz| Turn on Bluetooth on iPhone-->

Step 1 Installation and Configure Mi Home

  1. Download the Mi Home app from the App Store (not to be confused with Xiaomi Home is another software).
  2. Sign up or sign in to an existing Mi Account. If you don't have an account, create it via email or phone number.
  3. When you first run, select "Russia" (or "Europe" if "Russia" is not available). That's critical! Choosing "China" will cause server problems.

Step 2: Adding a device

  1. Press "+" in the upper right corner of the screen and select "Add device".
  2. In the category list, look for Lighting and select your lamp model (e.g. Yeelight Color).
  3. Follow the instructions on the screen: usually you need to turn the lamp on / off 5 times to put it in pairing mode (flashes yellow).
  4. Confirm your Wi-Fi connection (make sure your iPhone is connected to 2.4 GHz).

Step 3: Set up the control

After successful connection:

  • πŸ”§ Name a lamp (e.g., "Bedroom") for ease of control.
  • 🎨 Set up color profiles under Color (available for RGB- models).
  • ⏰ Create a schedule in Automation (e.g., turn on at sunset).
  • πŸ”„ Add the lamp to Favorites for quick access from the home screen.
What if Mi Home doesn’t see the lamp?
1. Reset the lamp (turn off power for 10 seconds). 2. Check that the iPhone is connected to Wi-Fi 2.4 GHz (not to 5 GHz!). 3. Make sure the router settings turn off the MAC-address filter. 4. Try changing the region in Mi Home to "Europe" or "Singapore." 5. If the lamp flashes red, reset it to factory settings (7 times turn it on/off).

Method 2: Integration with Apple HomeKit (without Mi Home)

If you want to control the lamp through the standard Home app on your iPhone, you will need one of two conditions:

  • The πŸ”Ή Lamp has built-in HomeKit support (e.g. Yeelight Pro or Aqara T1).
  • πŸ”Ή You use a bridge hub (e.g., Home Assistant or Aqara Hub) that broadcasts commands from Mi Home to HomeKit.

Instructions for lamps with native HomeKit:

  1. Make sure the lamp is updated to the latest firmware (via Mi Home).
  2. Open the app Home on iPhone and click "+" β†’ "Add Accessory".
  3. Scan the QR- code from the lamp case or enter the 8 digit code (usually indicated on the package).
  4. Confirm the device’s addition to the HomeKit network.

For lamps without HomeKit, you will need a Home Assistant or an Aqara Hub M2, a process that is more complicated but gives you full control through Apple.

1. Connect the lamp to the Mi Home (as in Method 1).




2. Add a hub (e.g., Aqara) to HomeKit via QR-code.




3.In the hub app, link the Xiaomi lamp to HomeKit via Automation.

⚠️ Warning: Xiaomi lamps connected via HomeKit may lose communication when you update iOS. Before updating the system, check the compatibility of the lamp firmware on the Mi Home website.

5. Typical errors and their solutions

Even with the right connection, users often encounter problems, and here are the most common errors and ways to fix them:

Mistake.Reason.Decision
"Can't add the device to the Mi Home"Lamp not in pairing mode or Wi-Fi problemsReset the lamp (7 times on/off) and check the 2.4 GHz network
The lamp flashes red after connectingXiaomi server error or incorrect regionChange the region in Mi Home to Europe and reconnect the device
HomeKit doesn’t see the lamp after iOS updateResetting HomeKit settings or firmware conflictRemove the lamp from HomeKit and add it again, having previously updated it in Mi Home
The lamp is periodically disconnected from Wi-FiA weak router signal or network congestionMove the router closer or set up a static IP for the lamp

Additional advice:

  • πŸ”„ If the Yeelight lamp does not respond to commands, try restarting it using the command "Hey Siri, restart [name of lamp]" (works only for HomeKit devices).
  • πŸ“Ά For stable operation, disable the "Band Steering" function in the router (automatic switching between 2.4/5 GHz).
  • πŸ”’ If Mi Home asks for β€œUpdate firmware” but the process is stalled, reinstall the application and try again.

πŸ’‘

Create a shortcut in the Shortcuts app to quickly control your voice lamp, for example, a phrase like "Hey Siri, romantic evening" may include a warm light of 30% brightness.

6. Automation and voice control

Once you connect the lamp to your iPhone, you can set up automation via Mi Home or Apple Home. Here are some useful scenarios:

  • πŸŒ… Presence simulation: randomly turning on lights in your absence (configured in Mi Home β†’ Automation β†’ Presence simulation).
  • πŸ›Œ Sleep mode: smoothly dimming lights before going off (use Apple Home β†’ Automation β†’ Sleep time).
  • 🎬 Movie: Turn on the lamp at 10% brightness when starting Netflix (via Shortcuts).
  • πŸ”„ Geolocation: Automatically switching off lights when leaving home (requires HomeKit).

Voice control:

  • πŸ—£ For Mi Home: Use Alice from Yandex (plug in Xiaomi account in Alice settings).
  • πŸ—£ For HomeKit: Siri commands, such as, "Hey Siri, turn off the lights in the living room."

Example of automation settings in Apple Home:

  1. Open the Home app and go to the Automation tab.
  2. Press + and select "Time of the Day".
  3. Set the "Sunset" trigger and add the "Switch on [the lamp name]" action.
  4. Set up the brightness and color, then save the script.

πŸ’‘

For maximum reliability, use both control methods: Mi Home for fine-tuning (e.g. color scripts) and HomeKit for voice control via Siri.

7. Alternative management methods (for advanced)

If standard methods are not satisfactory, consider alternative options:

  • 🌐 Home Assistant: an open smart home platform that supports integration with Xiaomi and HomeKit. It requires customization skills but gives you complete control.
  • πŸ”Œ Aqara Hub: a hub from Xiaomi’s sub-brand that streams devices to HomeKit without having to use Mi Home.
  • πŸ“± Third-party apps: Yeelight (official), Home+ (for HomeKit), or Controller for HomeKit (advanced settings).

Example of settings through Home Assistant:

Configuration.yaml configuration fragment for Yeelight connection:



light:




- platform: yeelight




devices:




192.168.1.100: # IP- address of lamp




name: "Living room"




transition: 1000 # Smooth inclusion (1 second)

To communicate with HomeKit, add the homekit component: and reboot the Home Assistant. After that, the lamp will appear in the Home app.

⚠️ Warning: When using Home Assistant, turn off cloud sync in Mi Home to avoid command conflicts. Otherwise, the lamp may ignore local commands.

FAQ: Frequent questions

Can I connect a Xiaomi lamp to an iPhone without Wi-Fi?
No, all Xiaomi smart bulbs (except some Bluetooth Mesh models, such as the Mi Bedside Lamp 2) require a Wi-Fi connection 2.4 GHz. Bluetooth is only used for initial setup.
Why does the lamp connect to the Mi Home but not to the HomeKit?
Chances are your model isn't certified for HomeKit. Check the list of supported devices on Apple's site. Alternatively, use the Aqara hub or Home Assistant.
How to reset the Xiaomi lamp to factory settings?
For most models: 5 times quickly turn on/off the power (the lamp will flash yellow). For Yeelight: hold the button on the case for 5 seconds. After reset, the lamp will be ready for the new connection.
Can I control a Xiaomi lamp from an iPhone outside of my home?
Yes, but you need to: Enable Remote Access in Mi Home (Profile β†’ Settings β†’ Remote Management) or use HomeKit with HomeHubs enabled (you need an Apple TV, HomePod or iPad on your home network).
Which Xiaomi lamps work best with iPhone?
Top-3 models for compatibility: Yeelight Pro - support for HomeKit and Matter, brightness 800 lm. Aqara Smart LED Bulb T1 - native HomeKit, does not require a hub. Mi LED Smart Bulb Essential - budget option, but only through Mi Home.