Xiaomiβs smart nightlights are not just soft light sources, but full-fledged elements of the smart home ecosystem that can integrate with the iPhone through official apps or third-party services. The device is not detected, the Mi Home app is bugged, and sync with Apple HomeKit is unstable. In this article, we will discuss all the current ways to connect Xiaomi nightlife (including the Yeelight Bedside Lamp, Mi models). LED Desk Lamp and Mi Bedside Lamp 2) with iPhone, and also solve the typical problems that arise in the process.
Itβs important to understand that the connection algorithm depends on the communication protocol your nightlight supports: Wi-Fi, Bluetooth or Zigbee (for devices running through the Xiaomi Gateway).Weβll look at each option separately, and also tell you how to add a nightlight to Apple Home to control over Siri or automate by time. If youβve already tried to connect and got an error, at the end of this article there is a section on fault diagnosis and how to fix them.
1.Preparation: What it takes to connect Xiaomi nightlight to iPhone
Before you start setting up, make sure you have everything you need:
- π± iPhone with iOS 14.0 or later (for stable work with Mi Home and HomeKit).
- π‘ Xiaomi nightlight with smartphone connectivity support (check the model on the box or in the instructions).
- πΆ Stable Internet connection via 2.4 GHz Wi-Fi (most Xiaomi smart devices donβt work with 5 GHz networks).
- π Charged device (if the nightlight is powered by a battery) or connected to a socket.
One of the applications will also be required:
- π² Mi Home (Official Application from Xiaomi for Smart Devices Management).
- π Apple Home (if you plan to integrate with the Apple ecosystem).
- π Home Assistant or HomeBridge (for advanced users who want to bypass the Mi Home restrictions).
Important! If your nightlight only supports Zigbee (like the Xiaomi MiJia Bedside Lamp), you will also need a Xiaomi Gateway that will act as a bridge between the device and the smartphone. Without a gateway, such models cannot be connected directly to the iPhone.
2. Connect via the Mi Home app (main method)
This is the most versatile method that works for most Xiaomi nightlife models. Follow the instructions Step-by-step:
- Install the Mi Home app from the App Store and sign up (or sign in to an existing Xiaomi account).
Critical point: if the nightlight is not detected, check:
- π Is it connected to the socket (or charged if wirelessly connected).
- πΆ Does 2.4GHz Wi-Fi work (turn off 5GHz in router settings for connection time).
- π± Did you allow Mi Home to access Local Network and Bluetooth in your iPhone settings (Settings) β Mi Home β Local area network).
Install Mi Home from the App Store|
Select the region "Russia" in the settings|
Connect the night light to power|
Turn off 5GHz Wi-Fi on the router|
Allow access to the Local Network in iOS-->
Yeelight Ownersβ Tip: If your lamp supports the Yeelight App, try connecting through it β the functionality is often wider than in the Mi Home. For example, Yeelight offers advanced lighting scripts and music sync.
3. Integration with Apple HomeKit (to manage via Siri)
To control Xiaomiβs nighttime voice via Siri or turn it on schedule in Apple Home, youβll need additional customization. Unfortunately, not all models officially support HomeKit, but there are workarounds:
Method 1: Official support (for compatible models)
Some Xiaomi nightlife devices (like the Yeelight Bedside Lamp Pro) have built-in HomeKit support to connect them:
- Open the Mi Home app and make sure the device is already added and working.
- Go to the nightlight settings (stick it in the main menu) β βοΈ Settings β Add to Apple HomeKit).
- Scan it. QR-Enter the 8-digit code in the Apple Home app.
Method 2: HomeBridge (for incompatible models)
If your nightlight doesn't support HomeKit directly, you can use middleware called HomeBridge, which is a solution for advanced users, because it requires:
- π₯οΈ Computer or Raspberry Pi running HomeBridge.
- π§ Installation of the plugin mihome-platform or yeelight-platform.
- π Mi Home Access Token (Opened through special services such as Mi Home Token Extractor).
Warning: Using HomeBridge may violate Xiaomiβs warranty and require a server to run continuously.If youβre not sure about your skills, itβs best to limit yourself to managing through Mi Home.
How to get a token for HomeBridge?
4. Zigbee nightlife connectivity (via Xiaomi Gateway)
Models like the Xiaomi MiJia Bedside Lamp or Aqara Bedside Lamp use the Zigbee protocol and cannot connect to the iPhone directly. They require a Xiaomi Gateway (such as the Xiaomi Mi Smart Home Gateway or the Aqara Hub) and customization algorithm:
- Add the gateway to Mi Home via Add the device β Locks.
- Activate the pairing mode on the gateway (hold the 3 second button until you hear a voice message).
Important! The gateway should be connected to the same Wi-Fi as your iPhone. If you have multiple gateways (for example, for different rooms), make sure that the nightlight is added to the correct Zigbee network.
| Model night-timer | Protocol | Need a lock? | Support for HomeKit |
|---|---|---|---|
| Yeelight Bedside Lamp | Wi-Fi | β No. | β Yes (via HomeBridge) |
| Mi LED Desk Lamp | Wi-Fi | β No. | β No. |
| MiJia Bedside Lamp | Zigbee | β Yes. | β No. |
| Aqara Bedside Lamp T1 | Zigbee | β Yes. | β Yes (via Aqara Hub) |
π‘
If you have multiple Xiaomi Gateways, give them unique names in Mi Home (e.g. Bedroom Gateway, Kitchen Gateway) and make it easier to manage devices in different rooms.
5. Setup of automation and scenarios
One of the big things about smart nightlife is automation, and you can configure Mi Home and Apple Home:
- β° Schedule: Time-on/off (for example, 30 minutes before the alarm clock).
- π Adaptive lighting: changing brightness and color depending on the time of day.
- π Scenarios: turning on the nightlight when the motion sensor is triggered or the door is opened.
- π΅ Music sync (available in Yeelight App for some models).
Example of settings in Mi Home:
- Open the app and select your nightlight.
- Go to Automation. β Add.
- Select a trigger (such as Time or Motion Sensor).
- Enable the night light with the desired parameters (brightness, color temperature).
Example at Apple Home:
- Open the app Home and click + β Add automation.
- Choose the time of day or people come and go.
- Specify the nightlight as the target device and set the settings.
π‘
For stable automation, make sure your iPhone has enabled geolocation and background activity for Mi Home and Home apps.
6. Solving common problems
If Xiaomiβs nightlight doesnβt connect to your iPhone, check out the following:
β οΈ Attention! If you connect through Mi Home and you have a "Device not responding" error, try resetting the nightlight to factory settings. 10-15 seconds until the indicator starts to flash quickly.
| Problem. | Possible cause | Decision |
|---|---|---|
| Nighttime not found in Mi Home | Incompatible Wi-Fi network (only 5 GHz) | Switch the router to 2.4GHz mode or create a separate network for smart devices. |
| The "failed to connect" error | Weak Wi-Fi signal or firewall lock | Bring the nightlight closer to the router or turn off MAC-filtering. |
| Nightlight connected but not responding to commands | The device is tied to another region in Mi Home | Change the region to Russia or China (Mainland) and reconnect the device. |
| HomeKit doesn't see nightlight after adding | There is no official support for HomeKit | Use HomeBridge or check for device firmware updates. |
Additional advice:
- π If the nightlight was previously connected to another Mi Home account, reset it and try again.
- π± Update the Mi Home app and nightlight firmware to the latest version.
- π If you use VPN, Disable it for the duration of the connection β it can block access to Xiaomi servers.
7. Alternative management methods (without Mi Home)
If you donβt want to use Mi Home, there are a few alternatives:
1.Yeelight app (for Yeelight lamps)
More functional than Mi Home, it supports:
- π¨ Extended color schemes (including dynamic effects).
- π΅ Synchronization with music (blinking in the beat of a melody).
- β±οΈ Timers and alarm clocks with a smooth awakening.
2. Voice assistants (Alice, Google Assistant)
Xiaomi nightlights can be connected to:
- π£οΈ Yandex Alice (through the Mi Home skill).
- π€ Google Assistant (via Mi Home integration).
- π Siri (only if you add a night in your Apple Home).
Team example for Alice:
Alice, turn on the bedroom nightlight at 50% brightness.3. Local management through Home Assistant
For those who want full control without cloud services, Home Assistant is a great option.
- π§ Manage devices locally (without depending on Xiaomi servers).
- π Create complex automations with other smart devices in mind.
- π‘οΈ Increase privacy (data does not go to the cloud).