Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.04k stars 1.67k forks source link

Xiaomi Aqara RTCGQ01LM/RTCGQ11LM Occupancy Sensors stop working #5053

Closed guardiande closed 3 years ago

guardiande commented 3 years ago

What happened

Disclaimer: I know that there are already many issues around those devices.

All three occupany sensors I have (1 RTCGQ01LM and 2 RTCGQ11LM) stopped working more or less at the same time.

What did you expect to happen

All occupany sensors to report occupany without interruptions.

How to reproduce it (minimal and precise)

I cannot reproduce the behaviour. I happened in the past regularly and did not for a longer time now.

Here are my observations:

What seemed to have helped:

Here's a sniff:

image

And here Z2M logs:

2020-11-22.09-44-28/log.txt:info  2020-11-22 10:16:25: MQTT publish: topic 'zigbee2mqtt/Motion3', payload '{"battery":100,"linkquality":0,"occupancy":false,"voltage":3005}'
2020-11-22.10-24-21/log.txt:info  2020-11-22 10:24:25: MQTT publish: topic 'zigbee2mqtt/Motion3', payload '{"battery":100,"linkquality":10,"occupancy":false,"voltage":3005}'
2020-11-22.13-06-58/log.txt:info  2020-11-22 13:07:03: MQTT publish: topic 'zigbee2mqtt/Motion3', payload '{"battery":100,"linkquality":10,"occupancy":false,"voltage":3005}'
2020-11-22.13-07-19/log.txt:info  2020-11-22 13:07:23: MQTT publish: topic 'zigbee2mqtt/Motion3', payload '{"battery":100,"linkquality":10,"occupancy":false,"voltage":3005}'
2020-11-22.13-07-19/log.txt:info  2020-11-22 13:09:10: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"Motion3","ieee_address":"0x00158d0002c0e39e"},"type":"device_announce"}'
2020-11-22.13-07-19/log.txt:info  2020-11-22 13:09:15: MQTT publish: topic 'zigbee2mqtt/Motion3', payload '{"battery":100,"linkquality":94,"occupancy":false,"voltage":3005}'
2020-11-22.13-07-19/log.txt:info  2020-11-22 13:09:21: MQTT publish: topic 'zigbee2mqtt/Motion3', payload '{"battery":100,"linkquality":47,"occupancy":true,"voltage":3005}'

Note:

Debug info

Zigbee2MQTT version: 1.16.1 Adapter hardware: CC2531 Adapter firmware version: 20190619

tetti-de commented 3 years ago

I had the same problem with my sensor. Conclusion: battery too weak.

guardiande commented 3 years ago

@tetti-de, did you happen to check the battery level or voltage level?

I record them since over a year, I don't remember when I first activate the devices though... It seems to me that the battery attribute (almost always at 100%) and the voltage attribute (low variation) are not very useful for determining battery depletion.

image

tetti-de commented 3 years ago

@guardiande Yes I did. Battery level 51%, voltage 2915. The new CR2450 shows level 100% and voltage 3235 (today 3135 after 2 month of operation) The original battery starts at 100%, 3075 in march 2020. My sensor stopped proper working end of september 2020

marc-gist commented 3 years ago

One of two things in my opinion. Signal strength (add a router near it, or move it for a day or two near your Coordinator). If its not signal. I have a number of these (6). and One would constantly drop off after a day or two. new battery and moving it close didn't work. I threw it out :) so could just be a bad one.

gemignani commented 3 years ago

I have 6 of the same devices working with zigbee2mqtt for over 18 months and recently one RTCGQ11LM dropped and it won't stay on the network, I've tried all the usual things: not sharing wifi channels, bring close to cc2531 to join, reboot / restart. Unfortunately the sensor always stop reporting after 4-6 hours, but if I leave them just close to my PC desk, they work fine...

igosoft commented 3 years ago

Similar to this one #4999

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days