Smart light bulbs from Xiaomi (including Yeelight, Mi brands) LED And Aqara, which is not exotic, lets you control your lights from your smartphone, customize your scripts, and even sync with other devices in the ecosystem, but if you have an iPhone, the connection process can raise questions: The official Mi Home app doesnβt always work well with iOS, and Apple HomeKit integration requires additional steps. In this article, weβll look at all the ways to connect, from basic Bluetooth configuration to advanced automation with Siri.
It's important to understand that the algorithm depends on the light bulb model and its support for protocols. YLDP06YL) It connects directly to Wi-Fi and Mi LED Desk Lamp (MJTD02YL) We will look at the universal method for 90% of Xiaomi devices, as well as the rare cases when you may need alternative software like Home Assistant.
1.Preparation: What it takes to connect
Before you start, make sure you have:
- π‘ The light bulb itself (check the model on the box or in the documents - the way of connecting depends on it).
- π± iPhone with iOS 14 or later (older versions may not support Bluetooth 5.0, which is required for some models).
- πΆ 2.4GHz stable Wi-Fi (most Xiaomi smart bulbs donβt work with 5GHz networks!).
- π Power source β the light bulb must be screwed into the cartridge and included in the network.
If you use a HomeKit-enabled lamp (such as Yeelight Pro), you will need to:
- π HomeKit code (companyed on sticker or documentation).
- π iCloud account (for sync between Apple devices).
β οΈ Note: Xiaomi light bulbs do not support connection to networks with hidden SSID. If your Wi-Fi is hidden, make it temporarily visible in your router settings.
2. Method 1: Connect via the Mi Home app
This is the most common method that works for most models (Yeelight Color, Mi Bedside Lamp, etc.)
- Install the Mi Home app from the App Store. Important: use a European or global server (in profile settings), otherwise you may have problems syncing.
- Sign up or sign in to your Xiaomi account (via Google/Facebook).
- Add the device: Press + β Add a device. Select Lighting category. Find your model in the list (if you don't have one, select Other and type the name manually).
Follow the setup wizard
- Make sure the light bulb flashes (if not, turn it off/on 3 times in a row).
- Connect to a temporary Wi-Fi network from the lamp (the name will be yeelink-light-XXXX type).
- Return to the app and select your 2.4GHz home network.
If you have a βfailed to connectβ error at the Wi-Fi connection stage, try:
- π Reboot the router (sometimes it helps to change the Wi-Fi channel to 1-6 in the router settings).
- π± Shut down. VPN iPhone β it can block the connection to Xiaomi servers.
- π Reset the light bulb (turn off / on 5 times in a row until a quick blink).
βοΈ Checklist before connection
Method 2: Integration with Apple HomeKit (for compatible models)
Not all Xiaomi light bulbs support HomeKit out of the box, and as of 2026, the official support is:
- π‘ Yeelight Pro (YLDP13YL)
- π‘ Yeelight LED Strip Pro (YLLD05YL)
- π‘ Aqara Smart Bulb T1 (demands Aqara Hub hub)
To connect:
- Open the Home app on your iPhone.
- Click + β Add the accessory.
- Scan it. QR-HomeKit code from the box or documentation of the light bulb.
- Follow the instructions on the screen (you may need to enter a security code manually).
β οΈ Note: If the light bulb has already been connected via Mi Home, you must first remove it from the Xiaomi app, otherwise HomeKit will not see the device.
After successful addition, the light bulb will appear in the app Home, and it can be controlled through:
- π± Siri (e.g., "Hey Siri, turn on the light in the living room at 50%").
- π Automation (e.g., on time or when returning home).
- π Remote access via iCloud (if you are away from home).
π‘
If HomeKit doesnβt find a light bulb, try resetting it to factory settings: turn off/on 6 times in a row, then wait 10 seconds until you blink slowly.
4. Method 3: Connect via Xiaomi Gateway (for lamps without Wi-Fi)
Some Xiaomi light bulbs (e.g. Mi) LED Desk Lamp or Aqara Bulb) do not have built-in Wi-Fi module and require a hub β Xiaomi Gateway (models) ZNDMWG02LM or ZNDMWG03LM). The hub connects to the router via Ethernet or Wi-Fi and serves as a bridge between the light bulb and the smartphone.
Instructions:
- Connect the Gateway to the outlet and wait until it blinks orange (pairing mode).
- In the Mi Home app, add the hub as a new device (Gategory Gateway).
- After you connect the hub, add a light bulb: Turn it on the network (pin it and feed it). + β Add the device β Press the button on the hub 1 time - the light bulb should flash in response.
| Hub model | Supported light bulbs | Protocol | Notes |
|---|---|---|---|
| Xiaomi Gateway 3 (ZNDMWG03LM) | Aqara Bulb T1, Mi Desk Lamp | Zigbee 3.0 | Requires firmware 1.5.6+ steady-work |
| Xiaomi Gateway 2 (ZNDMWG02LM) | Mi Bedside Lamp 2 | Zigbee | Doesn't support Matter |
| Aqara Hub M2 | All Aqara light bulbs | Zigbee + Wi-Fi | Compatible with HomeKit |
If the hub can't see the light bulb:
- π Update the Hub Firmware in Mi Home (Device Settings section) β Update).
- π Check the distance β the maximum distance between the hub and the light bulb should not exceed 10 meters.
- π οΈ Reset the light bulb (turn off/on 5 times before blinking).
5. Solving common problems
Even with the right connection, errors can occur, and let's look at typical scenarios and how to fix them:
π΄ The light bulb does not blink in the coupling mode
Possible causes:
- π No power - check the cartridge and switch.
- π The capacitor is discharged (relevant for battery lamps, such as the Mi Portable Lamp.
- π§ Hardware failure β if the light bulb does not respond to on / off, contact the service.
π‘ The light bulb connects but does not respond to commands
Try it:
- πΆ Reconnect to Wi-Fi (in Mi Home, select your device) β Settings β Change the network).
- π Rebooting the router β sometimes it helps to change IP-lamp-addresses.
- π± Update the Mi Home app to the latest version.
π’ The light bulb works, but does not sync with HomeKit
For models with HomeKit support:
- π Remove the device from Mi Home and add it again through the Home.
- π Check the HomeKit code β it should be unique for each device.
- π Enable iCloud Keychain in your iPhone settings (Apple) ID β iCloud β Keychain).
What if the light bulb is connected but does not save the brightness settings?
6. Alternative management practices
If standard methods donβt work or you want advanced features, consider these options:
π§ Home Assistant (for advanced users)
Home Assistant is an open smart home platform that supports Xiaomi devices through Mi Home or Yeelight integration.
- π Local management (without depending on the cloud).
- π Automation with time triggers, sensors, etc.
- π Detailed statistics on use.
To set up:
- Install Home Assistant on the Raspberry Pi or NAS.
- Add Xiaomi Miio integration via Configuration.yaml:
yeelight:
devices:
192.168.1.100: # IP- address of the light bulb
name: "Living room"
transition: 1000See detailed instructions on the official website.
π€ Voice assistants (Alice, Google Assistant)
If HomeKit is not suitable, you can connect the light bulb to other voice assistants:
- π£οΈ Yandex Alice: In Mi Home, link your account with Yandex (Profile) β Accounts β Tell Alice, "Put the light on [room name]".
- π€ Google Assistant: In Mi Home, go to Profile β Settings β Google Assistant. Log in and sync your devices.
β οΈ Note: When using voice assistants, data about your devices is transmitted to Yandex servers/Google. If privacy is critical, use local management through Home Assistant.
7. Comparison of connection methods: which one to choose?
The choice of method depends on your tasks and the model of the light bulb.
| Method | Compatible models | Pluses | Cons | Difficulty |
|---|---|---|---|---|
| Mi Home (Wi-Fi) | Yeelight Color, Mi LED Bulb | Simplicity, official support | Dependence on the Xiaomi cloud | β |
| Apple HomeKit | Yeelight Pro, Aqara T1 | Integration with Siri, automation | Limited list of models | ββ |
| Through Xiaomi Gateway | Mi Desk Lamp, Aqara Bulb | Stability, support for Zigbee | We need to buy a hub. | ββ |
| Home Assistant | Any (via Miio or Yeelight) | Local management, flexibility | Tough setup | βββ |
For most users, the best way to connect is through Mi Home, followed by integration into HomeKit (if the model is supported).If you need automation or local management, consider Home Assistant.
π‘
For maximum stability, use Matter-enabled light bulbs (e.g., future Xiaomi models 2026-2026) β they are compatible with both HomeKit and Google Home without additional hubs.