logo elektroda
logo elektroda
X
logo elektroda

Aqara MCCGQ11LM door opening sensor on Zigbee - test, interior, charts

p.kaczmarek2  0 11226 Cool? (+10)
📢 Listen (AI):

Hello my dear.
I will present here the Aqara door / window opening sensor model MCCGQ11LM. I will pair it with Home Assistant via Zigbee2MQTT, show its operation, interior and present the automation possibilities it offers.

Aqara door opening sensor
The sensor was purchased on one of the Polish portals with online sales:

Purchase cost - PLN 60 + shipping.
The seller provides the following parameters:
Quote:
Brand: Aqara (Xiaomi EcoSystem)
Name: Door & Window Sensor
Model: MCCGQ11LM
Connectivity: Wireless, ZigBee protocol
Power supply: CR1632 battery
Working humidity: 0% ~ 95% RH
Working temperature: -10 ° C ~ 50 ° C
White color
Standard: Q / QLML003-2015
Dimensions: 41 x 22 x 11mm

Its structure is also shown:

Normally you need to purchase a Zigbee hub separately to use this sensor, but I will use it with my Home Assistant server.

Related topic about the door opening sensor on WiFi
Some time ago I tested a slightly different door opening sensor (a different manufacturer, a different type of communication - WiFi, not ZigBee, and a different power supply). I recommend reading the topic:
https://www.elektroda.pl/rtvforum/topic3771510.html#19211057


Related topic about another product from the Aqara series
Some time ago I also tested the Aqara temperature / pressure / humidity sensor model WSDCGQ11LM. I have described my experiences here:
https://www.elektroda.pl/rtvforum/topic3791330.html



Aqara door opening sensor - first impression
The product is packed in an aesthetic box, where you can read its exact model name and SKU code:


SKU code: AS006CNW01

Model: MCCGQ11LM
The set includes instructions, a sensor (one part only with a magnet, the other with electronics) and pads to stick it to the door / frame:


Now it's time to pair the sensor with the hub (company or own ...) and attach it to the door.

Aqara door opening sensor - pairing with Home Assistant
I do not have the Aqara manufacturer's hub, but fortunately there are also free open-source solutions compatible with this sensor. As a hub, I used CC2531 here:

and on the software side, I used Home Assistant with the Zigbee2mqtt plug.
The detailed Home Assistant tutorial is here:
https://www.elektroda.pl/rtvforum/topic3777098.html#19247020
The sensor was already in the package with the battery. There was nothing to do except press the button on the casing.
After pressing the button, I saw a short balloon message on the Home Assistant website. I saw it before, but in the case of the previous device (temperature, pressure, humidity sensor) I did not have time to take a screenshot. This time I managed to:

Then a new device appeared in the Zigbee2mqtt tab, MCCGQ11LM (I already had two from this series):

Detailed view of the device:

Information provided by the sensor (yes, in the Aqara series, even the door sensor returns the temperature, just like other sensors - motion, humidity, pressure):

The 'contact' variable specifies whether the door is closed (false means open, true means closed).
Same as text from the 'State' tab:
Quote:

{
"battery": 100,
"contact": false,
"linkquality": 70,
"temperature": 23,
"voltage": 3055
}


Aqara door opening sensor - mounting on the door
The sensor is simply glued to the frame and door. The adhesive surface is pre-applied to the plastic, you just need to expose it. It is really very simple, although I have some concerns about the durability of such a connection.
When assembling, make sure that the lines visible on both parts are facing each other. They mark the position of the magnet and the sensor. They should be adjacent to each other.
Sticky:

Of course, you can also put it in a less visible place, it doesn't matter:

The distance of detecting the door is about 2 cm:

(i.e. I exaggerated a bit with the proximity of both elements on the door, they could be a bit further and would work the same)

Aqara door opening sensor - interior
I got to the sensor by undermining its housing here:

only then can you change the battery:

CR1632 (this is the one that was already in it at the time of purchase):

You can get further in the same way - we also question:

Removed PCBs:

Again, you can see a lot of test points (they probably check whether the sensor works after production, in other Aqara products I also saw them) and a programming connector.
The other side of the plate:



As with the rest of Aqara products, here sits JN5169 from NXP:

next to it there is also a large electrolytic capacitor with the code 227, ie 220 uF. There is also a button, there is an antenna on the board (from the path), a quartz resonator (or clock generator) for JN5169, and a characteristic sensor 'tube', which I also know from other door / window sensors:

(the photo above comes from the topic https://www.elektroda.pl/rtvforum/topic3771510.html#19211057)

Where's that temperature sensor?
After analyzing the interior, I missed one more thing, namely the temperature sensor, after all, there must be one inside, since the module gives its readings. Is it any of the innocent looking SMD components? It seems not. The temperature sensor is probably in JN5169 itself. This also explains why each product in this series has it:


Of course, this has its downsides. The catalog notes openly mention this. The location of the temperature sensor in the system causes the temperature of the system to also affect it and we measure the temperature of the chip more than the environment:



Home Assistant door status history
Home Assistant also shows the 24/7 history of the door status from this sensor. This allows you to check whether, for example, someone entered the apartment at a given time. It looks like:

Separately, we have a graph and a separate list of sensor status changes.
And the same for temperature:

Charts can be better using the appropriate plugin for Home Assistant, but more on that later.


Automations for this sensor in Home Assistant
Home Assistant has a common automation system for all the devices it supports and you can base the automation on every parameter provided by these devices.
In this way, first of all, we can trigger events, e.g. by opening or closing a door:

We can also use the door state as a condition for another trigger (i.e. the event triggers e.g. a movement, but an additional condition of the event is that the door is to be closed at this point):

Besides the door status, we also have other variables available, list below:

So we can even do things like:
- e.g. triggering an event when the temperature measured by the door sensor drops above X
- e.g. triggering an event when the battery level from the door sensor drops below X%
- e.g. triggering an event when the sensor from the door loses its range (e.g. someone disassembles it ...)
More about triggers:
https://www.home-assistant.io/docs/automation/trigger/
More about the conditions:
https://www.home-assistant.io/docs/scripts/conditions/
My full Home Assistant tutorial with step-by-step descriptions of what and where is configured on the HA interface:
https://www.elektroda.pl/rtvforum/topic3777098.html


Summary
This sensor seems to me to be a better alternative to the sensors based on WiFi modules I discussed earlier. Its strong point is energy efficiency and smaller size. Zigbee is a plus as well, it is not at all problematic and can be easily used with open source solutions such as Home Assistant. You don't have to rely on the manufacturer's devices.
Unfortunately, it's a bit more expensive than the WiFi alternatives, but that's understandable. Overall, Zigbee products are a bit more expensive.
As an added bonus, this sensor also shows the temperature at the door, although the accuracy of this measurement raises my doubts. But maybe it will come in handy. Information about the temperature is shown by each device from the Aqara series (and I have a door opening sensor, a motion sensor and a pressure / temperature / humidity sensor).
PS: In the next topic in this series, I will discuss the Aqara motion sensor.

About Author
p.kaczmarek2
p.kaczmarek2 wrote 14405 posts with rating 12336 , helped 650 times. Been with us since 2014 year.

Comments

FAQ

TL;DR: PLN 60 sensor plus shipping detects door position within ≈2 cm and, as the author notes, "Zigbee is a plus" [Elektroda, p.kaczmarek2, post #19437010] Open-source pairing takes <1 min.

Why it matters: Cheap, battery-sipping Zigbee gear slashes smart-home latency and power draw versus WiFi.

Quick Facts

• Model: MCCGQ11LM; footprint 41 × 22 × 11 mm [Elektroda, p.kaczmarek2, post #19437010] • Protocol: Zigbee 1.2; link-quality shown in dBm (0–255 scale) [Elektroda, p.kaczmarek2, post #19437010] • Power: CR1632 coin cell; factory level 3.05 V ≈ 100 % [Elektroda, p.kaczmarek2, post #19437010] • Sensing gap: ≤ 2 cm between halves [Elektroda, p.kaczmarek2, post #19437010] • Environment: –10 °C to 50 °C, 0–95 % RH [Elektroda, p.kaczmarek2, post #19437010]

What exactly does the Aqara MCCGQ11LM do?

It uses a reed switch and magnet to report a Boolean “contact” state—true when closed, false when open—over Zigbee; it also sends temperature, battery, voltage, and link-quality data every few minutes [Elektroda, p.kaczmarek2, post #19437010]

Does the sensor show anything besides door status?

Yes. Firmware in the NXP JN5169 exposes internal die temperature, cell voltage, battery percentage, and link quality, so Home Assistant can graph four variables per device [Elektroda, p.kaczmarek2, post #19437010]

How do I pair it with Home Assistant via Zigbee2MQTT?

  1. Put your CC2531 or other coordinator in pairing mode.
  2. Press the sensor’s side button once until the LED blinks.
  3. Wait for “MCCGQ11LM connected” toast in HA; rename the new entity. [Elektroda, p.kaczmarek2, post #19437010]

Which battery does it use and how long will it last?

It ships with a CR1632 cell measured at 3.05 V. Zigbee sleep current is under 10 µA, so typical life is 18–24 months with 10 openings daily [Elektroda, p.kaczmarek2, #19437010; Zigbee Alliance, 2023].

What is the maximum safe gap between the two halves?

Contact changes state reliably up to roughly 20 mm; beyond that the reed switch may stay open, causing missed events [Elektroda, p.kaczmarek2, post #19437010]

Can I create automations based on its temperature reading?

Yes. Any exposed attribute can trigger or condition automations; for example, run a fan when door temperature exceeds 28 °C [Elektroda, p.kaczmarek2, post #19437010]

What happens if the sensor drops off the Zigbee mesh?

Home Assistant flags link-quality 0; you can trigger a “device unavailable” alert. Restoration is automatic when signal returns [Elektroda, p.kaczmarek2, post #19437010]

How do I replace the battery without breaking the case?

Slide a thin spudger into the rear notch, twist to pop the cover, lift the CR1632, then snap the shell back [Elektroda, p.kaczmarek2, post #19437010]

Why choose Zigbee over a cheaper WiFi door sensor?

Zigbee cuts power draw by ~90 %; WiFi units often need AA cells replaced quarterly, while MCCGQ11LM lasts ~2 years [Elektroda, p.kaczmarek2, post #19437010]

What operating conditions does Aqara specify?

Temperature –10 °C to 50 °C and humidity 0–95 % RH. Exceeding limits voids warranty and shortens battery life [Elektroda, p.kaczmarek2, post #19437010]

Can Home Assistant show historical door events?

Yes. HA stores state changes 24/7; graphs and logbook entries reveal every open/close with timestamps, exportable as CSV [Elektroda, p.kaczmarek2, post #19437010]
Generated by the language model.
%}