Aqara temperature sensor is leaving network every few days (Zigbee2Mqtt)

All I can say is I no longer have issues pairing them to Sonoff router for a year now.

Aaaaaand it is gone again…

I will try to return the device to Amazon as defective.

Strange observation from my side. I went the route of ‘resetting’ the sensor by removing batteries for whole night and readding sensor to deconz. Did not worked, I was not able to resurect it in add-on. BTW, at least in deconz, it is not necessary to remove and add again device. it is possible to go through add device process without prior removing it and this ensure all device/entities settings are retained. I tried several times to add it, bu success…

But then the same evening my LAN core switch went rouge, effectively messing communication between all networked devices, including ESXi server when HA VM is installed and Synology NAS, where the MariaDB holding all history is installed and also works as iSCSI datastore for all my VMs images. Not healthy situation, so I decided to go through the process of proper shutting down all devices and starting them in the right order, so that all connectivity can be established properly. After 20 minutes of disaster recovery I found everything working fine… including questionable Aqara sensor, that started to be visible automagically in deconz and HA! So this makes me thing that the problem was not with sensor, but with deconz add-on that required full restart (normal HA restart does not restart deconz, as it sith in docker). So far ~24 hours and sensor is still there. I’ll report progress.

EDIT: today morning I found sensor to gone away again… :frowning:

Same issues with aquara door sensor and leak detectors. I have a bunch and only have issues with 3 particular devices. They drop off every day or 2 and require a complete reset. I reset device by holding button and re pair from homeassistant and it picks it back up as normal. Didn’t have a single issue with Iris (centralite) devices these replaced so thinking something is wrong with aquara as a brand maybe. I’ll follow this thread for any advice or follow up.

Well, still different type of installation (deconz), but I can only report that after update to the latest version of deconz and using new DDF file specific to Aqara T1 it is now stable - testing for ~5 days with no single drop. More over, I added to my system 3 more T1s, that previously I was not able to integrate. With new deconz version inclusion took 10 seconds each and all works fine.
So… perhaps you should consider change of platform?

Short update: I’ve sent my sensor back to Amazon and bought a new one, this one is running without any issues since 1 month now. Amazon refunded the full price.

I think I’ve solved this issue. It is bad engineering around the battery contacts and the battery compartment (at least for my 5 T1 models).

Fix (sorry no pics as they are all mounted now):

In the battery compartment you will see the little gold-colored clip that holds the side of the battery, and the flat rectangle with 2 tines (like on a fork) under the battery. These 2 things are supposed to hold the battery securely. They don’t.

Take a small flat screwdriver, put the blade under the tines one at a time, and raise them carefully so they make better contact to the bottom of the battery. Then gently push the clip that holds the side of the battery down as flat as you can get it while still being able to get the battery under the clip.

When you put the battery in, do it at an angle so the battery can get under the clip but not push it back to where it was almost straight up again.
If you did this correctly you may be able to see the blue light blink on and off 1 time from the inside of the battery compartment.

For me (YMMV) if I do it correctly the battery doesn’t want to pop back out of the clip immediately. If I do it wrong the light doesn’t come on and the battery either tilts up or pops out of the battery compartment before I can even get the round lid back on.

Then the pairing (at least for me using z2m and no Aqara hub) should be easy. Hold the button down until the blue light blinks 3 times (like 10 secs), and release. If you want you can keep holding until it blinks 3 more times if you aren’t sure it reset.

At this point the blue light should blink very slowly - every 5 - 10 seconds maybe (didn’t count). Turn on your pairing in z2m and it should pair right away. If not, hit the button a few times slowly and it should wake up.

All 5 of my T1 sensors are keeping their connectivity - even the one I put outside.

Note - I tried putting duct tape on the battery, putting paper on top, and a few other things but nothing worked until I did this method.

Good luck. Let me know if this works for anyone else.

1 Like

I tried with your suggestion hoping it’d work but still it disconnects after a few minutes :frowning:

Sorry to hear that. Are your sensors the T1s or the W(whatever model)s? I would be interested in knowing if I just got lucky with mine, or if we have different models and this maybe only works on the T1s. I will probably buy more of the T1s because they appear to be more accurate than the HUE motion temps.

Mine are still working perfectly - and accurately. The pic I attached shows my temp readings. (MD) means Hue motion detector temps, (EB) - Ecobee outside temp, and (TS) is the Aqara temp sensors. I’m using them at the moment to see where I have to put weather-stripping around doors or windows.

The hall and ecobee are 10ft from my front door so that is something I need to fix. Same for the Kitchen door (my back door). My office window and door (replacing the threshold) is leaking, and I need to shut my flue in my livingroom fireplace for the night. Once I get all that fixed I’ll have a much easier way to control my temps. My office is warmed by all my computers so while I have my heat set at 65 it is about 72 in my large office.

Problem is, the idiots that sold me the house put the thermostat wiring between the front door and an air vent in a skinny hallway. Ecobee thinks it is always cooler or hotter than it really is, so until I get a multi-phase unit or I move the wiring and drywall patch the old area I’ll roll my own programming for temperatures.

Mine is this one according to zigbee2mqtt Aqara WSDCGQ11LM control via MQTT | Zigbee2MQTT