Modern systems smart home have ceased to be a luxury and have become an accessible tool for increasing comfort in any apartment. The central element of the Xiaomi and Aqara ecosystem is often Hub (gateway) that connects wireless sensors, switches, and lamps into a single network. However, the first and most critical step is always setting up a proper internet connection, without which it's impossible to control scenarios from anywhere in the world.
The connection process may seem simple, but users often encounter nuances related to router frequency ranges and protocol compatibility. Aqara gateways work exclusively with 2.4 GHz Wi-Fi networks and do not support the 5 GHz standard., which is the most common cause of initial setup failures. Understanding this technical feature will save you hours of troubleshooting and frustration.
In this guide, we'll walk you through every step in detail: from unboxing the device to fine-tuning the app. Aqara Home or Apple HomeYou'll learn how to correctly position the device, what steps to take if the gateway isn't detected, and how to ensure the stable operation of the entire automation system.
Equipment preparation and compatibility testing
Before moving on to the software, you need to ensure the hardware is physically ready. Make sure you have the gateway itself on hand. Aqara Hub M2, M1S or an earlier version Gateway, as well as the included power cable and adapter. Modern models often require a cable with a USB-C or Micro-USB connector, which must be connected to a power supply with the appropriate voltage rating.
A critical step is to check your router. As mentioned, most IoT devices, including Aqara gateways, only operate within the wireless range. 2.4 GHzIf your router broadcasts a single network with a combined name (Smart Connect) for both 2.4 and 5 GHz, the connection process may be successful, but conflicts sometimes occur. In such cases, experienced users recommend temporarily separating the networks in the router settings or creating a guest network exclusively for the smart home.
β οΈ Important: Make sure Bluetooth and location services are enabled on your smartphone. The Aqara Home app uses these modules to locate nearby devices during initial setup, and without them, the process may get stuck during the search phase.
It is also worth downloading the latest version of the application in advance. Aqara Home from the App Store or Google Play. Older versions may not support new encryption protocols or new hub models. Register in the app and create a "Home" if this is your first time, selecting the correct geolocation, as this determines which server will be used for storing your data.
Physical connection and startup of the device
Start by connecting the gateway to a power source. Insert the cable into the device's port and plug the adapter into a power outlet. The indicator light on the device should light up, usually yellow or orange, indicating that the device is powered on and waiting to pair. If the indicator light is off, check the cable for damage and the power outlet for power.
Place the gateway in close proximity to the router during setup. Although the Wi-Fi range can be extensive, it's best to minimize the distance and physical obstacles during the initial handshake. After successful pairing, you can move the hub to a more convenient location, but for now, it should have a clear view of the router.
Wait about 30-60 seconds after turning on. The device should automatically enter pairing mode, indicated by a flashing indicator light. If this doesn't happen, you may need to perform a factory reset. To do this, locate the Reset button on the device's case and press it with a paperclip for 5-10 seconds until the indicator light starts flashing.
- π Connect the power cable to the gateway and a power outlet.
- π Place the device close to the router (up to 1-2 meters).
- π‘ Wait for the indicator to flash (pairing mode).
- π± Make sure your phone is connected to the same Wi-Fi network you will be connecting the hub to.
Setup via the Aqara Home app
Open the app Aqara Home On your smartphone. On the main screen, tap the "+" icon in the upper right corner to add a new device. The system will prompt you to scan the QR code located on the bottom of the gateway or in the instructions, or select a device from a list of popular categories. Select the "Hub" category and find your model in the list.
The app will request permission to use your local network (for iOS) or geolocation (for Android). This is a mandatory step, as the phone must transmit Wi-Fi settings (SSID and password) to the gateway. Enter your Wi-Fi network password carefully, paying attention to the capitalization. The data transfer process takes 10 to 40 seconds.
During setup, the application may prompt you to update your device's firmware. Highly recommended Agree to the update, as new firmware versions often contain fixes for security vulnerabilities and improve the stability of Zigbee device connections. Do not interrupt the update process and keep the gateway connected to the network.
βοΈ Check before setup
Once successfully connected, the gateway will be given the name you specified and will appear in the list of devices. The indicator on the hub should turn blue, indicating a stable internet connection. You can now manage the device remotely if the corresponding option is enabled in the hub settings.
Integration with Apple HomeKit and other platforms
One of the key features of Aqara gateways is support Apple HomeKitIf you're an iOS user, you can add the device directly to the Home app. To do this, find "HomeKit" in the Aqara Home app interface or scan the special QR code (usually located next to the device's main code) with your iPhone camera.
Adding to HomeKit takes just seconds. Afterward, your sensors and lights connected to this hub will become accessible via Siri and the Home app. This allows you to create complex scenes that integrate devices from different manufacturers using a single Apple platform.
β οΈ Important: When integrating with HomeKit, make sure your iPhone and iPad are running the latest versions of iOS. Older versions of the operating system may not correctly display new accessory types or support the latest Matter/Thread encryption protocols (if applicable to your model).
For Android users, integrations are available with Google Home And Yandex AliceIn the Aqara Home app, go to your profile, select "About other platforms," ββand link your accounts. This will allow you to control your devices with your voice through your smart speakers. Please note that the gateway must have constant internet access for voice control to work.
- π Open the Home app on your iPhone to add it to HomeKit.
- π Scan the HomeKit code located on the device.
- π£οΈ Link your Aqara account to Google Home or Yandex for voice control.
- π Make sure the server in the Aqara app matches the region of your voice assistant account.
Compatibility and characteristics table of models
Different gateway models have different technical specifications and supported protocols. Below is a comparison table to help you understand the capabilities of your device.
| Model | Communication protocols | HomeKit support | Additional functions |
|---|---|---|---|
| Aqara Hub M2 | Wi-Fi, Zigbee 3.0, IR | Yes | Infrared remote control, Ethernet port |
| Aqara Hub M1S | Wi-Fi, Zigbee 3.0 | Yes | Night light, speaker |
| Aqara Gateway (ZNDMWG03LM) | Wi-Fi, Zigbee | Yes | Night light, radio |
| Aqara Camera Hub G2H | Wi-Fi, Zigbee | Yes | 1080p camera, video storage |
The model you choose depends on your needs. If you need to control older appliances via IR, the model M2 It's an ideal choice thanks to its built-in emitter. For basic applications with motion and water leak sensors, a more affordable version is suitable. M1S.
What is the purpose of the Ethernet port on the M2 hub?
A LAN port allows you to connect the hub to the router via a cable. This ensures a more stable connection, eliminates Wi-Fi packet loss, and allows the hub to operate even if the wireless network is overloaded. This is especially important for security scenarios.
Typical problems and solutions
Even if you follow all the instructions, you may encounter difficulties. One common issue is the device not being found by the app. In this case, make sure you're not using a VPN. VPNs often change IP addresses and geolocation, which can block device detection on the local network.
Another common error is "Incorrect password" or connection timeout. This almost always indicates a problem with the 5 GHz band. Try temporarily disabling 5 GHz in your router settings or creating a separate guest network on 2.4 GHz only with a simple password (no special characters), connect the hub, and then reset the router settings.
If the gateway connects but Zigbee devices (sensors) aren't added, the hub may be too far away or shielded by metal structures. In such cases, moving the hub to a central location in the apartment or installing intermediate devices with signal repeaters (such as smart plugs or switches with a neutral line) that strengthen the Zigbee network can help.
In rare cases, the issue lies with the router's security settings, such as AP Isolation. When this feature is enabled, devices on the Wi-Fi network cannot communicate with each other, making it impossible to manage the hub from a phone. Disable this feature in the router's admin panel.
Optimizing network placement and stability
After successful setup, it's important to properly position the gateway to ensure long-term stability. Avoid hiding it in closed metal enclosures or behind a TV if the back of the device has thick foil insulation. Metal shields the Wi-Fi and Zigbee signal, which will result in loss of connection with the sensors.
For users with a large number of devices (more than 30-40 units), it is recommended to consider creating a separate VLAN for IoT or using a dedicated access point. This will reduce the load on the main network and prevent broadcast storms that could overwhelm the main router.
β οΈ Note: App and router interfaces are subject to update. Button locations and menu item names may differ from those described in this article. Always refer to the latest software version and official manuals from your router manufacturer.
Regularly check the list of connected devices in the app. If you notice that a sensor is intermittently losing connection ("No response"), try re-pairing it or moving it closer to the hub to update the sensor's firmware, if possible.
FAQ: Frequently Asked Questions
Can Aqara Hub be connected to 5GHz Wi-Fi?
No, most Aqara gateways (M1S, M2, Gateway) only support the 2.4 GHz Wi-Fi standard. Connecting to a 5 GHz network is technically impossible at the hardware level. If your router combines networks, try separating them or creating a 2.4 GHz guest network.
What should I do if the indicator lights up red after setup?
A red light usually means there's no internet connection, even though you're connected to the router. Check your Wi-Fi password, make sure your router isn't MAC-blocked, and that you have access to the external network.
Do you need internet to run the scripts?
Local scenarios (automations) configured through the Aqara Home app and executed within the hub operate without internet access. However, external control from a smartphone and integration with voice assistants (Siri, Alice) require internet access.
How many Zigbee devices can be connected to one hub?
Officially, up to 32 child devices are supported for older models and up to 128 for newer ones (M2, M1S). However, in practice, to ensure performance and stability, it is recommended not to exceed 50-60 devices per gateway.
How do I reset my hub to factory settings?
Locate the reset button on the case. Use a paperclip or needle to press and hold the button for 5-10 seconds until the indicator light flashes yellow. After this, you can reset the device.