Elektroda.com
Elektroda.com
X

Search our partners

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

Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts

p.kaczmarek2 2583 15
This content has been translated » The original version can be found here
  • Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Hello, here I will present the Aqara temperature / pressure / humidity sensor model WSDCGQ11LM. I will pair it with Home Assistant via Zigbee2MQTT, show its operation, interior and sample graphs of data collected with it over a few days at the end of winter.

    Aqara temperature / pressure / humidity sensor
    The sensor was purchased on one of the Polish portals with online sales:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    The cost of purchase - PLN 75 + shipping.
    The seller lists the following parameters:
    Quote:
    Brand: Aqara
    Name: Aqara Temperature / Pressure Sensor
    Model: WSDCGQ11LM
    Standard: EU
    Working environment temperature: -10 ? to 55 ?
    Humidity: 0% - 100% RH
    Wireless transmission: ZigBee 2.0
    White color
    Power supply: CR2032 battery
    Battery life: approx. 2 years
    Dimensions: 50 50 15 mm
    Supported Apps: Apple Home, Aqara Home

    The seller also presents the so-called 'exploded view', i.e. the view of the sensor divided into parts:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    The seller also emphasizes that the Aqara central unit and the Apple Home or Aqara Home application are needed to use the sensor, but in fact this is not the only option. This sensor can also be used with Home Assistant with the Zigbee module and the Zigbee2mqtt plugin, but more on that later.

    Aqara Temperature / Pressure / Humidity Sensor - First Impression
    The sensor is delivered in an aesthetic, additionally foil box:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Next to the barcode you can read the SKU of the product - AS008CNW01.
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    On its top there is information about the device model (WSDCGQ11LM) and the type of battery used (CR2032).
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Inside there is a sensor (with the battery already installed), instructions and a double-sided disc that allows you to stick it to the wall:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Sensor on the bottom (this cover is turned to change the battery):
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Sensor on the side (you can see where the sensor is, it should not be covered):
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Button (for pairing):
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts

    Temperature / pressure / humidity sensor instruction
    Below photos from the section in English:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts

    Aqara temperature / pressure / humidity 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:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    I connected it to my server on Banana Pi, and on the software side, I used Home Assistant from Zigbee2MQTT.
    Detailed Home Assistant and Zigbee2MQTT 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 housing:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    After that, I got a notification that Home Assistant has detected a new device:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    From that moment in "Zigbee2mqtt" (shortcut to the list of devices from the sidebar) the sensor from the topic, i.e. WSDCGQ11LM, appeared (I already had a paired motion sensor, on the list it is number 2):
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Detailed view of the device:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Parameters exported by the sensor:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    The same, but in text form ("State" tab)
    Quote:

    {
    "battery": 100,
    "humidity": 38.38,
    "linkquality": 97,
    "pressure": 1001,
    "temperature": 19.46,
    "voltage": 3055
    }

    A sensor configured in this way can be installed in a place chosen by us.
    Room temperature:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Temperature outside the window (NOTE: this is not an external sensor, I put it only for the experiment, additionally it is under the canopy):
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    You just need to remember about the sensor's working range: -10C to 55C

    Temperature / pressure / humidity sensor interior
    It's hard to get inside this sensor. Just replacing the battery can be problematic. The coin (?) Recess is too low and the lid is too tight to remove. The only good way I know is to stick the sensor (on the sticky pad from the kit) to a flat surface and then turn it slightly. Then we gain access to the CR2032 battery:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Then it is enough to pry the plastic cap off with a flat screwdriver and you can get to the electronics:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    On top of the PCB there is only a large electrolytic capacitor (well, big by SMD standards) with the code 227, ie 220 uF. You can also see the sensor and the button.
    Let's take a closer look at:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    This sensor is SHT30. Quite popular, even in the Arduino world. You can also buy it as a beginner-friendly module:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    More about him can be found in his catalog note:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    This sensor uses I2C for communication, you can easily handle it yourself from a microcontroller. SHT3x catalog note:
    Sensirion_...971521.pdf Download (904.63 kB)
    Now the plate on the other side:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    The heart of the sensor is JN5169:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    32-bit microcontroller with 512KB of Flash memory, 32KB RAM and 4KB EEPROM, offering various peripherals, incl. hardware I2C (and the sensor used is exactly what I2C uses):
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    PCB antenna and chip (perhaps a filter?) Signed P2T 028 (I have not found information about it):
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Place for an additional circuit (I do not know what was originally supposed to be there) with 10 pins (2 rows of 5) and a quartz resonator / clock source with 4 pins:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    Programming connector (pins RX and TX are led out here):
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    In the catalog note JN5169 you can find information on how to program it, including:
    Quote:

    DO0 / SPICLK / PWM2 - JTAG programming mode: must be left floating high during reset to avoid entering JTAG programming mode.
    DO1 / SPIMISO / PWM3 - UART programming mode: leave pin floating high during reset to avoid entering UART programming mode or hold it low to program

    Full note below:
    JN5169.pdf Download (2.83 MB)



    Aqara sensor - automation
    Of course, such a sensor connected to the Home Assistant is not only used to let the user check how warm it is outside. In Home Assistant, all kinds of automation can be done for him.
    For example, you can turn on the heating when the temperature drops below the given value, or turn it off when it reaches a certain threshold.
    I have already discussed creating automation in Home Assistant here:
    Home Assistant Tutorial - configuration, WiFi, MQTT, Zigbee, Tasmota
    I also wrote a little about them here:
    Relay driver compatible with Home Assistant / Tasmota HTTP + housing
    The sensor itself provides the following variables, and they can all be used in automations:
    Code:

    {
    "battery": 100,
    "humidity": 38.38,
    "linkquality": 97,
    "pressure": 1001,
    "temperature": 19.46,
    "voltage": 3055
    }

    We even have access to the voltage from the CR2032 and can be monitored remotely by the Home Assistant.

    Aqara sensor - temperature chart outside the window
    Home Assistant automatically creates a graph of the obtained measurements. Below is the temperature chart from this sensor:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    It is worth remembering that the sensor was installed outside the window around 2 p.m.
    Same chart - but after two days:
    Temperature / pressure / humidity sensor Aqara WSDCGQ11LM - interior, charts
    The chart can be generated for any range in Home Assistant.

    Summary
    The WSDCGQ11LM temperature / pressure sensor seems to be a very good choice, it is light, small and energy efficient - it uses Zigbee communication which is less power hungry than WiFi. It can be used very easily outside its 'natural environment', i.e. pair with Home Assistant and you do not even need to open or program it (although the fact that you have to have HA in place and you need a zigbee dongle ..)
    I have not tested the WSDCGQ11LM sensor with its original hub and manufacturer's software, so I will not say anything about them.
    In the middle of the sensor there is a JN5169 microcontroller, SHT30 is used for measurements, and it is powered by a CR2032 battery.
    The only downside of this sensor is its measured temperature range - it only reaches -10 C, and in our country it can sometimes be lower. But basically it is a sensor for indoor rather than outdoor, so we can consider it ok.

    Cool! Ranking DIY
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
    About Author
    p.kaczmarek2
    Level 25  
    Offline 
    p.kaczmarek2 wrote 1260 posts with rating 2197, helped 94 times. Been with us since 2014 year.
  • #2
    gregrzesiek
    Level 13  
    Quote:
    PCB antenna and chip (perhaps a filter?) Signed P2T 028 (I have not found information about it):

    This is a pressure sensor.
  • #3
    grzelecg
    Level 14  
    I use the WSDCGQ01LM MiJia temperature & humidity sensor (round).
    The lower temperature range starts at -20C.
    Unfortunately, at such temperatures, the battery lasts for 1-2 months.
  • #4
    VSS
    Level 21  
    Better for a hundred with a hook to buy a Xiaomi gate. you have full visualization, automation, it works on the phone. You can read info wherever you are, it supports hundreds of devices.

    For 99% of users, this is the perfect solution.
  • #5
    grzelecg
    Level 14  
    VSS wrote:
    Better for a hundred with a hook to buy a Xiaomi gate. you have full visualization, automation, it works on the phone. You can read info wherever you are, it supports hundreds of devices.

    For 99% of users, this is the perfect solution.


    Do you have such a goal? I am interested in whether it supports zigbee end devices from other manufacturers.
    For example, can TuYa, IKEA, Philips, Osram or other less popular Hive, Sylvania, Gledopto, ROBB devices be paired to the Xiaomi gateway?

    Can unknown devices be added to the gateway by specifying their type?

    greetings
  • #6
    pitron
    Level 23  
    VSS wrote:
    Better for a hundred with a hook to buy a Xiaomi gate. you have full visualization, automation, it works on the phone. You can read info wherever you are, it supports hundreds of devices.

    For 99% of users, this is the perfect solution.


    The original Xiaomi gateway sucks better MQQT or Conbee.
  • #7
    VSS
    Level 21  
    grzelecg wrote:


    Do you have such a goal?

    Can unknown devices be added to the gateway by specifying their type?

    greetings


    Yes, I have a goal. Unfortunately, it is impossible to connect anything else, it only supports devices available in the inventory. Fortunately, everything I needed is available in this gate.

    Therefore, I wrote that 99% of "home" users who do not have a clue about automation, buy such a gate and a handful of sensors will do automation just by moving a finger on the phone screen.

    I also connected this gate to Domoticz and OpenHab. Works with them without any problems after MQTT.

    Added after 31 [minutes]:

    pitron wrote:


    The original Xiaomi gateway sucks better MQQT or Conbee.


    Both solutions require a computer, installation, setting and maintenance. 99% of people who want to do simple home automation will never get it.

    You buy the Xiaomi gate, connect it to the voltage and it works. Nothing more.
  • #8
    metalMANiu
    Level 18  
    @VSS does the Xiaomi Gateway work with the Smart Life application?
  • #10
    metalMANiu
    Level 18  
    VSS wrote:
    metalMANiu wrote:
    @VSS does the Xiaomi Gateway work with the Smart Life application?


    Works with the MiHome application

    Link to the application


    Okay. So if I already use Smart Life and I would like to buy the Xiaomi gateway, then I have to install another application for the phone ...
  • #11
    grzelecg
    Level 14  
    Does anyone know how many active devices will be supported by such a dedicated zigbee gateway, e.g. Xiaomi?
  • #12
    VSS
    Level 21  
    grzelecg wrote:
    Does anyone know how many active devices will be supported by such a dedicated zigbee gateway, e.g. Xiaomi?


    and how many would you like to connect?
  • #13
    grzelecg
    Level 14  
    VSS wrote:
    grzelecg wrote:
    Does anyone know how many active devices will be supported by such a dedicated zigbee gateway, e.g. Xiaomi?


    and how many would you like to connect?


    Buddy VSS. You do not answer a question with a question.

    I am interested in a specific limit of a dedicated gate.

    I would like to compare it to the limits for open zigbee gates on CC2531 and derivatives.

    I would like to connect 50 slave devices to the Xiaomi gateway. Can you? Will it embrace? Will it get away?
  • #14
    VSS
    Level 21  
    grzelecg wrote:


    Buddy VSS. You do not answer a question with a question.



    I asked this question because I connected quite a lot of elements to such a gate and it worked. There is no information on this in the specification. It is probably limited by the memory of the gate itself. The application also does not show the limit.

    I support sensors in domoticz and openhab, so for me it does not matter the capacity of the gate, it serves as a receiver, probably then it can serve hundreds of sensors.

    That's why I asked what your needs are, because if you ask purely theoretically, you probably won't get this information.
  • #15
    grzelecg
    Level 14  
    VSS wrote:
    grzelecg wrote:


    Buddy VSS. You do not answer a question with a question.



    I asked this question because I connected quite a lot of elements to such a gate and it worked. There is no information on this in the specification. It is probably limited by the memory of the gate itself. The application also does not show the limit.

    I support sensors in domoticz and openhab, so for me it does not matter the capacity of the gate, it serves as a receiver, probably then it can serve hundreds of sensors.

    That's why I asked what your needs are, because if you ask purely theoretically, you probably won't get this information.


    Then enter how many EndDevice sensors you have and how many Router type sensors.

    What it is handled secondarily does not matter. The Coordinator is the limitation.
  • #16
    VSS
    Level 21  
    The Xioami gate read me 35 temperature, pressure and humidity sensors and 4 door relays.
    Data read and visualized on Openhab.