Aqara Sensors Home Assistant Setup: Complete Zigbee Guide (2026)
Aqara makes some of the most reliable and affordable Zigbee sensors on the market. Whether you want to detect motion, monitor temperature, catch water leaks, or know when a door opens, Aqara has a sensor for the job. The best part? They integrate beautifully with Home Assistant, giving you local control without relying on cloud services.
In this guide, I will walk you through everything you need to set up Aqara Zigbee sensors with Home Assistant. We will cover choosing a Zigbee coordinator, pairing your sensors, and building powerful automations that make your smart home truly intelligent.
Why Aqara Sensors?
Aqara sensors stand out for several reasons:
- Affordable pricing: Most sensors cost between $15 and $25
- Excellent battery life: Typically 2 to 5 years on a single CR2032 battery
- Compact design: Small enough to place anywhere without being obtrusive
- Zigbee protocol: Local communication, no cloud dependency, mesh networking
- Wide range: Door/window, motion, temperature/humidity, water leak, vibration, and more
If you are starting a smart home from scratch, Aqara sensors are one of the best places to begin. They give you immediate value with minimal investment.
What You Need Before Starting
Before diving into the setup, make sure you have:
- Home Assistant installed and running (any installation method works)
- A Zigbee coordinator (more on this below)
- ZHA or Zigbee2MQTT add-on configured
- Aqara sensors of your choice
Choosing a Zigbee Coordinator
Your Zigbee coordinator is the USB stick or network device that allows Home Assistant to communicate with Zigbee devices. Here are the top options for 2026:
Sonoff ZBDongle-E (recommended for most users)
- Based on the EFR32MG21 chip
- Excellent range and stability
- Around $15 to $20
- Works great with both ZHA and Zigbee2MQTT
ConBee II
- From Dresden Elektronik
- Proven track record of reliability
- Slightly older but very well supported
- Around $30 to $40
SLZB-06 (Ethernet/PoE option)
- Network-based coordinator
- No USB passthrough issues with virtual machines
- Great for advanced setups
- Around $35 to $45
Home Assistant SkyConnect
- Official Home Assistant dongle
- Supports Zigbee and Thread/Matter
- Simple plug-and-play setup
- Around $30
For a deeper dive into coordinator options, check out our best Zigbee coordinators ranked for 2026. If you are curious how Zigbee compares to other protocols, read our Zigbee vs Z-Wave vs WiFi vs Thread comparison.
Setting Up ZHA (Zigbee Home Automation)
ZHA is the built-in Zigbee integration in Home Assistant. It requires no additional add-ons and works out of the box.
Step 1: Plug In Your Coordinator
Connect your Zigbee coordinator to your Home Assistant device. If you are running Home Assistant OS on a Raspberry Pi or NUC, simply plug the USB stick directly into the device.
Step 2: Add the ZHA Integration
- Go to Settings > Devices & Services
- Click Add Integration
- Search for “Zigbee Home Automation”
- Select your coordinator from the list of detected serial ports
- Choose “Create a new network” when prompted
- Wait for initialization to complete
Step 3: Verify Your Network
Once ZHA is set up, you should see it listed under your integrations with zero devices (just the coordinator). The coordinator LED should indicate it is active.
Pairing Aqara Sensors
Pairing Aqara sensors follows a consistent pattern across all sensor types. Here is the general process:
Door/Window Sensor (MCCGQ11LM)
- In Home Assistant, go to Settings > Devices & Services > ZHA
- Click the Add Device button (this puts the coordinator in pairing mode)
- On the Aqara door sensor, press and hold the small reset button for 5 seconds until the LED flashes
- Wait for Home Assistant to discover the device (usually 10 to 30 seconds)
- Name your device and assign it to an area
Motion Sensor (RTCGQ11LM or RTCGQ14LM)
- Put ZHA in pairing mode
- Press and hold the reset button on the bottom of the motion sensor for 5 seconds
- The LED will flash indicating pairing mode
- Wait for discovery and configure
Pro tip: The Aqara P1 motion sensor (RTCGQ14LM) allows you to configure detection sensitivity and a shorter re-trigger time compared to the original model.
Temperature and Humidity Sensor (WSDCGQ11LM)
- Put ZHA in pairing mode
- Press the reset button with a pin for 5 seconds
- Wait for the device to appear
- After pairing, it will report temperature, humidity, and atmospheric pressure
Water Leak Sensor (SJCGQ11LM)
- Put ZHA in pairing mode
- Press and hold the reset button until the LED flashes rapidly
- Wait for discovery
- Place the sensor where leaks might occur (under sinks, near water heaters, by washing machines)
Troubleshooting Pairing Issues
If a sensor does not pair on the first attempt:
- Reset the sensor fully: Hold the button for 10+ seconds to factory reset
- Move closer to the coordinator: For initial pairing, stay within 2 meters
- Check battery: Insert a fresh CR2032 battery
- Remove old pairings: If the sensor was previously paired to an Aqara hub, reset it first
- Try again: Sometimes it takes 2 or 3 attempts
Building Automations with Aqara Sensors
The real power of Aqara sensors in Home Assistant comes from automations. Here are practical examples for each sensor type. For more automation ideas, check out our Home Assistant automations for beginners guide.
Motion-Activated Lights
automation:
- alias: "Hallway motion light"
trigger:
- platform: state
entity_id: binary_sensor.aqara_motion_hallway
to: "on"
condition:
- condition: sun
after: sunset
before: sunrise
action:
- service: light.turn_on
target:
entity_id: light.hallway
data:
brightness_pct: 80
- delay: "00:03:00"
- service: light.turn_off
target:
entity_id: light.hallway
Door Open Alert
automation:
- alias: "Front door left open alert"
trigger:
- platform: state
entity_id: binary_sensor.aqara_door_front
to: "on"
for: "00:05:00"
action:
- service: notify.mobile_app
data:
title: "Door Alert"
message: "Front door has been open for 5 minutes"
Temperature-Based HVAC Control
automation:
- alias: "Bedroom too warm"
trigger:
- platform: numeric_state
entity_id: sensor.aqara_temperature_bedroom
above: 24
action:
- service: climate.set_temperature
target:
entity_id: climate.bedroom_thermostat
data:
temperature: 22
For more on smart thermostat integration, see our best smart thermostat roundup.
Water Leak Emergency
automation:
- alias: "Water leak detected"
trigger:
- platform: state
entity_id: binary_sensor.aqara_leak_kitchen
to: "on"
action:
- service: notify.mobile_app
data:
title: "WATER LEAK DETECTED"
message: "Water detected under kitchen sink!"
data:
priority: high
- service: switch.turn_off
target:
entity_id: switch.water_main_valve
Optimizing Your Zigbee Network
Aqara sensors are battery-powered end devices. They rely on a strong Zigbee mesh to communicate reliably. Here are tips for a solid network:
- Add router devices: Zigbee smart plugs and bulbs act as routers, extending your mesh
- Avoid WiFi interference: Place your coordinator away from your WiFi router (Zigbee and WiFi 2.4GHz overlap)
- Use a USB extension cable: Keep the coordinator away from your computer or Pi to reduce electrical noise
- Be patient after pairing: Zigbee networks can take 24 to 48 hours to fully optimize routing
Aqara Sensors vs. Alternatives
While Aqara is excellent, it is worth knowing your options:
| Feature | Aqara | Sonoff Zigbee | Third Reality |
|---|---|---|---|
| Price | $15-25 | $8-15 | $10-20 |
| Battery Life | 2-5 years | 1-3 years | 2-4 years |
| Build Quality | Excellent | Good | Good |
| HA Compatibility | Excellent | Excellent | Very Good |
| Range | Very Good | Good | Good |
If you are building out a larger smart home ecosystem, mixing Aqara sensors with other Zigbee devices on the same network works perfectly fine.
Advanced Tips
Grouping Sensors by Area
Use Home Assistant areas to organize sensors by room. This makes it easy to create area-based automations and dashboards.
Using Sensor Data in Dashboards
Create a dedicated sensor dashboard showing:
- All door/window states at a glance
- Temperature and humidity graphs over time
- Water leak status with clear visual indicators
- Motion activity heatmaps
Battery Monitoring
Set up a battery alert automation to notify you when any sensor drops below 20%:
automation:
- alias: "Low battery alert"
trigger:
- platform: numeric_state
entity_id: sensor.aqara_door_front_battery
below: 20
action:
- service: notify.mobile_app
data:
message: "Aqara front door sensor battery is low ({{ states('sensor.aqara_door_front_battery') }}%)"
FAQ
Do Aqara sensors work without the Aqara Hub?
Yes. When using a Zigbee coordinator with Home Assistant (via ZHA or Zigbee2MQTT), you do not need the Aqara Hub at all. Everything runs locally.
How long do Aqara sensor batteries last?
Most Aqara sensors use a CR2032 coin cell battery and last between 2 and 5 years depending on usage. Door sensors that trigger frequently may need replacement sooner.
Can I mix Aqara sensors with other Zigbee brands?
Absolutely. Zigbee is an open standard, so Aqara sensors work alongside Sonoff, IKEA, Philips Hue, and other Zigbee devices on the same network.
Should I use ZHA or Zigbee2MQTT?
Both work well with Aqara sensors. ZHA is simpler to set up and built into Home Assistant. Zigbee2MQTT offers more advanced configuration options and slightly broader device support. For most users, ZHA is the easier choice.
Why does my Aqara motion sensor have a long cooldown?
The original Aqara motion sensor (RTCGQ11LM) has a fixed 60-second cooldown between detections. The newer Aqara P1 sensor (RTCGQ14LM) allows configurable detection intervals as low as a few seconds.
How many Aqara sensors can I have on one network?
A typical Zigbee coordinator supports up to 200+ devices. With proper router devices in your mesh, you can easily run dozens of Aqara sensors without issues.
Wrapping Up
Aqara sensors paired with Home Assistant create an incredibly powerful and affordable sensor network for your home. The combination of local Zigbee communication, years-long battery life, and deep Home Assistant integration makes this one of the best investments you can make in your smart home journey.
Start with a door sensor and a motion sensor, get comfortable with the pairing process, then expand from there. Before you know it, you will have a fully automated home that responds intelligently to your daily life.