How to Reconfigure Wi-Fi on Aqara Devices: From Hub to Sensors

Changing the Wi-Fi network for the ecosystem Aqara — a challenge that every smart home owner faces sooner or later. The reasons can vary: changing providers, upgrading a router, moving to a new apartment, or even a simple network name change. Unlike traditional gadgets, smart home devices Aqara (especially hubs M1S, M2, Camera Hub G3) require a specific approach - they cannot simply be "reconnected" through the standard smartphone menu.

The main difficulty lies in the architecture of the system: most of the sensors (door/window sensor, motion sensor, water leak detector) do not connect to Wi-Fi directly, but interact with the hub via a protocol ZigbeeThis means that when changing networks, it is enough to reconfigure hub only — the rest of the devices will automatically maintain the connection. However, there are some nuances: cameras (Aqara Camera E1, G2H Pro) and some new models (for example, Aqara FP2) connect directly to Wi-Fi and require separate configuration.

In this article, we'll cover all scenarios: from a basic network change on a hub to troubleshooting stubborn devices that refuse to connect. You'll also learn how to avoid Loss of connection between sensors and the hub when resetting settings - This is a critical error that results in hours of reconfiguration of the entire system.

📊 Which Aqara device are you setting up?
Hub (M1S, M2, G3)
Camera (E1, G2H Pro)
Sensor (movement, opening, leakage)
Other

1. Preparing to change Wi-Fi: what you need to check before you start

Before you begin reconfiguring, make sure your new network meets the requirements. AqaraMost problems arise due to incompatibility of router parameters.

Minimum Wi-Fi requirements for Aqara:

  • 📶 Frequency: only 2.4 GHz (5 GHz is not supported by most devices except some cameras)
  • 🔒 Security type: WPA2-PSK (AES). WPA3 may not work with older hubs
  • 📛 Network name (SSID): no Cyrillic characters, spaces, or special characters (Latin characters, numbers, and hyphens are allowed)
  • 🔄 Router operating mode: Disable 802.11r (Fast Roaming) - it interferes with a stable connection

If your router broadcasts a single name for 2.4 GHz and 5 GHz (function Smart Connect at TP-Link or One Wi-Fi at Keenetic), be sure to separate the networksOtherwise, the hub Aqara may connect to 5 GHz, which will cause Zigbee devices to malfunction.

⚠️ Warning: If you use guest network, make sure that its settings allow devices to access each other (AP Isolation or Client Isolation should be disabled). Otherwise, the hub will not be able to control the sensors.

Also check if the function is enabled on your router MAC filteringIf yes, add the hub's MAC address to the list of allowed devices (you can find it on the sticker on the case or in the app). Mi Home/Aqara).

2. Changing Wi-Fi on the Aqara hub (M1S, M2, G3, E1)

The reconfiguration process depends on the hub model. Let's look at two main scenarios: using the app and manually (if the hub doesn't recognize the new network).

Method 1: Via the Mi Home/Aqara app (recommended)

  1. Open the app Mi Home or Aqara and go to the section with your hub.
  2. Click on the three dots (⋮) in the upper right corner → Wi-Fi settings.
  3. Select a new network from the list or enter the name (SSID) and password manually.
  4. Wait for the hub to reboot (the indicator should flash yellow and then turn green).

Method 2: Manual reset (if the hub does not connect)

  1. Press and hold the reset button on the hub (usually located on the back) for 10 secondsuntil the indicator starts flashing yellow quickly.
  2. Release the button and the hub will enter setup mode (AP Mode).
  3. In the application, select Add a deviceAqara Hub and follow the instructions.

Make sure the new network is running on 2.4 GHz

Disable VPN on your phone

Close background applications (they may interfere with the connection)

Bring the phone closer to the hub (no further than 1 meter)

-->

If the hub does not appear in the list of available devices after reset:

  • 🔌 Check the power supply (try a different power supply or USB port).
  • 📱 Restart your phone and router.
  • 🔄 Change the region in the app Mi Home on China (sometimes helps with connection errors).
⚠️ Attention: After manual reset of the hub, all Zigbee devices (sensors, switches) will be automatically unlinkedYou'll have to reconnect them! To avoid this, use method 1 (via the Wi-Fi settings in the app).

3. Reconfiguring Wi-Fi on Aqara cameras (E1, G2H Pro, FP2)

Cameras Aqara They connect directly to Wi-Fi, so their setup is different from hubs. The main feature is support only 2.4 GHz (except FP2, which also works at 5 GHz).

Instructions for cameras:

  1. Open the app Mi Home/Aqara and select your camera.
  2. Go to SettingsWi-Fi.
  3. Click Change network and select a new access point.
  4. If the camera does not find the network, reset its settings:
    • For E1/G2H Pro: Press and hold the reset button for 5 seconds until you hear a voice message.
    • For FP2: Press and hold the button on the back panel for 10 seconds.
  • After reset, add the camera again through Add a deviceCamera.
  • Common mistakes and solutions:

    ErrorCauseSolution
    The camera can't find Wi-Fi.The network is hidden (SSID is not broadcast)Temporarily make the network visible or enter the SSID manually
    "Incorrect password" errorSpecial characters in passwordUse only Latin letters and numbers
    The camera connects but there is no image.Blocking ports on a routerOpen the ports TCP 80, 443, 8883 And UDP 123
    Constant outagesWeak signal or channel congestionChange the Wi-Fi channel to 1, 6, or 11 in your router settings.

    4. What to do if Aqara devices don't connect to the new network

    If your Wi-Fi hub or camera still refuses to connect after changing your Wi-Fi network, use these diagnostic instructions:

    Step 1: Checking the indicators

    • 🟢 Green flashing: the hub is in setup mode, everything is fine.
    • 🟡 Yellow permanent: no Wi-Fi connection.
    • 🔴 Red: critical error (reset required).
    • 🔵 Blue (for FP2): connected to the cloud, but the local network is not working.

    Step 2: Diagnosing the Router

    1. Disable it on your router Safe mode (Safe Mode) And DDoS protection.
    2. Check if it is turned on Bridge mode (Bridge Mode) - it blocks local control.
    3. If you use Mesh system (eg Google Nest Wi-Fi), connect the hub to the main node, not to the satellite.

    Step 3: Alternative connection methods

    • 📱 Phone hotspot: temporarily connect the hub to the mobile Internet (2.4 GHz), then reconfigure it to the main network.
    • 🖥️ Ethernet adapter: for hubs M2 And G3 You can use a wired connection (you need an adapter) USB-to-Ethernet).
    • 🔄 Change of region: in the appendix Mi Home try changing the region to Singapore or Hong Kong - sometimes this solves connection problems.
    What should I do if the Aqara M1S hub doesn't detect the new network?

    Most likely the problem is Wi-Fi channel incompatibility. Hub M1S Doesn't support channels higher than 11 in 2.4 GHz mode. Go to your router settings and set the channel manually. 1, 6 or 11. Also check if the mode is turned on 40 MHz (channel width) - the hub only works with 20 MHz.

    5. How to avoid losing connection between the hub and sensors

    The most common mistake when changing Wi-Fi is Automatic reset of the Zigbee network, because of which all sensors (door sensor, motion detector, smart plug) are disconnected from the hub. To prevent this from happening:

    The correct order of actions is:

    1. First, reconfigure the Wi-Fi on the hub through the menu Wi-Fi settings in the application (without resetting!).
    2. Wait until the hub connects to the new network (the indicator turns green).
    3. Only after this can you reset or reconfigure cameras and other devices connected directly to Wi-Fi.

    If the connection is still lost:

    • 🔄 Reboot the hub (remove and reinsert the power supply).
    • 📱 In the app Mi Home check if the sensors are displayed in the section Devices as "Offline".
    • 🔌 If the sensors do not respond, bring them closer to the hub (< 1 meter) and wait for them to reconnect automatically (up to 10 minutes).
    • 🛠️ To force connection restoration:
      1. In the app, select the hub → Zigbee settingsRestore network.
      2. Click on the button on the hub (one short click).
      3. Wait for the process to complete (the hub will flash blue).
    ⚠️ Warning: If you use Aqara HomeKit-devices (for example, Door & Window Sensor T1), after resetting the hub, they will have to be added again Apple HomeTo do this, you will need to scan the QR code on your device.

    6. Configuration features for different router models

    Some routers have unique settings that interfere with stable operation. AqaraBelow are solutions for popular models:

    Router modelProblemSolution
    TP-Link (Archer, Deco)Blocking multicast packetsTurn it off IGMP Snooping V Local Area Network → IGMP
    KeeneticConflict with the Keenetic Smart HomeDisable the module Smart Home in the web interface
    ASUS (RT-AX)Aggressive energy savingTurn on Enable Tx Bursting V Wireless Network → Professional
    Xiaomi (AIoT)Automatic switching to 5 GHzSeparate 2.4 GHz and 5 GHz networks into Wi-Fi Settings → Advanced
    Zyxel KeeneticBlocking ports for camerasAdd a rule to Firewall for ports 80, 443, 8883

    For routers with firmware OpenWRT or DD-WRT manual adjustment of parameters may be required beacon interval (install 100) And frag threshold (2346).

    7. Common mistakes and how to fix them

    Even with a properly configured Wi-Fi network, unexpected issues can arise. Here are the most common ones and how to solve them:

    Error 1: The hub connects to Wi-Fi, but the sensors don't work.

    • 🔹 Cause: Zigbee network is not initialized.
    • 🔧 Solution:
      1. Open the app Mi Home → select a hub → Zigbee settings.
      2. Click Restart the network and confirm the action.
      3. Wait until the hub reboots (the indicator flashes blue).

    Error 2: The camera connects, but there is no external access.

    • 🔹 Cause: Cloud server blocking Aqara.
    • 🔧 Solution:
      1. Check if outgoing traffic is allowed on the ports 443 And 8883.
      2. If you use Pi-hole or AdGuard Home, add domains to the whitelist:
        miot-specs.international.com
        

        ot.io.mi.com

        api.io.mi.com

    Error 3: The hub keeps disconnecting from Wi-Fi

    • 🔹 Cause: Weak signal or interference from other networks.
    • 🔧 Solution:
      1. Place the hub closer to the router (maximum 10 meters without obstacles).
      2. Change the Wi-Fi channel to 1, 6 or 11 (they are the least susceptible to interference).
      3. If the problem persists, use Wi-Fi repeater (mode Repeater), but not Mesh.
    • FAQ: Answers to frequently asked questions

      Can the Aqara hub be connected to 5 GHz Wi-Fi?

      Most hubs (M1S, M2, G3) are working only on 2.4 GHz. Exception - Aqara FP2 And Camera Hub G3 (In some firmware versions), which support 5 GHz, but may be unstable. For reliability, use 2.4 GHz.

      What should I do if the sensors show "Offline" after changing the Wi-Fi?

      First, reboot the hub (unplug and plug in the power). If the sensors don't automatically recover:

      1. Bring the sensor to the hub at a distance of < 1 meter.
      2. Press the button on the sensor (if available).
      3. In the app, select the hub → Zigbee settingsRestore network.

      If this doesn't help, you'll have to remove and add the sensor again.

      How to reset an Aqara hub if it's not responding?

      For a hard reset:

      1. Disconnect the hub from power.
      2. Press and hold the reset button (usually on the back panel).
      3. Without releasing the button, connect the power supply.
      4. Hold the button 15 secondsuntil the indicator starts flashing yellow quickly.

      After the reset, the hub will return to factory settings and all devices will be unlinked.

      Can I use Aqara without internet?

      Yes, but with restrictions:

      • 🔹 The hub will be open in local mode (control via app only in home network).
      • 🔹 Automations that rely on the cloud (for example, geolocation triggers) will not work.
      • 🔹 Cameras will not be able to record video to the cloud, but will record locally to a memory card (if installed).

      For full functionality without the Internet, use Home Assistant with integration Aqara.

      Why doesn't the Aqara hub see the new Wi-Fi network?

      Possible causes and solutions:

      • 📶 The network is hidden (SSID is not broadcast) → make it visible temporarily.
      • 🔒 Unsupported security type → change to WPA2-PSK (AES).
      • 📵 Wi-Fi channel higher than 11 → set channel to 1, 6 or 11.
      • 🛡️ MAC address blocking → add the hub's MAC address to the router's whitelist.
      • 📱 Conflict with VPN on your phone → Disable VPN before setup.