Elektroda.com
Elektroda.com
X

Search our partners

Find the latest content on electronic components. Datasheets.com
Elektroda.com

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

p.kaczmarek2 1323 0
This content has been translated » The original version can be found here
  • Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    Hello, here I will present teardown of the Aqara door/window opening sensor model MCCGQ11LM. I will pair it with Home Assistant via Zigbee2MQTT, show its operation, interior and present what automation possibilities it offers.

    Aqara door opening sensor
    The sensor was purchased on one of the Polish portals with online sales:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    The cost of purchase - 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:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    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/viewtopic.php?p=19211057
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts

    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 WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts


    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:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    SKU code: AS006CNW01
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    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:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    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:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    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/viewtopic.php?p=19247020#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:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    Then a new device appeared in the Zigbee2mqtt tab, MCCGQ11LM (I already had two from this series):
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    Detailed view of the device:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    Information provided by the sensor (yes, in the Aqara series, even the door sensor returns the temperature, just like other sensors - motion, humidity, pressure):
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    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, it is enough 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:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    Of course, you can also put it in a less visible place, it doesn't matter:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    The distance of detecting the door is about 2 cm:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    (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:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    only then can you change the battery:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    CR1632 (this is the one that was already in it at the time of purchase):
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    You can get further in the same way - we also question:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    Removed PCBs:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    Again, you can see a lot of test points (probably after production they check whether the sensor works, in other Aqara products I also saw them) and a programming connector.
    The other side of the plate:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    As with the rest of the Aqara products, here sits JN5169 from NXP:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    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:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    (the photo above comes from the topic https://www.elektroda.pl/rtvforum/viewtopic.php?p=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 it 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:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    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 affect it as well, and we measure the temperature of the chip more than the environment:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts


    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:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    Separately, we have a graph and a separate list of sensor status changes.
    And the same for temperature:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    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:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    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):
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    Besides the door status, we also have other variables available, list below:
    Aqara WSDCGQ11LM door opening sensor on Zigbee - test, interior, charts
    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 also a plus, 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. Temperature information 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.

    Cool! Ranking DIY
    About Author
    p.kaczmarek2
    Level 25  
    Offline 
    p.kaczmarek2 wrote 1260 posts with rating 2197, helped 94 times. Been with us since 2014 year.