Koenkk / zigbee2mqtt

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

Aqara sensors are disconnected after some time when connected through router #1485

Closed imortkz closed 5 years ago

imortkz commented 5 years ago

Bug Report

Aqara sensor connected to the router disconnects and became unavailable after some time. Other sensors, connected to the CC2531, are stable.

What happened

Router: Sylvania SMART+ Smart Plug (72922-A) Sensors: Xiaomi Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)

When connected to the router keeps online for hour or so, then didn't send any update. No warning/error messages in the zigbee2mqtt logs.

What did you expect to happen

Sensor keeps connected to the router.

How to reproduce it (minimal and precise)

Connect sensor to the router and wait for a while. Aqara sends 5 updates in 41 minutes after rejoin and connected to the router, and falls offline after.

Debug Info

zigbee2mqtt version: zigbee2mqtt version 1.3.1 (commit #unknown) CC253X firmware version: '20190223'

Koenkk commented 5 years ago

I assume the same as @manup does (https://github.com/dresden-elektronik/deconz-rest-plugin/issues/1488#issuecomment-488245420). Keeping an eye on https://github.com/dresden-elektronik/deconz-rest-plugin/issues/1488

imortkz commented 5 years ago

Installed a CC2530 router and connected two sensors through it. Xiaomi MiJia temperature & humidity sensor (WSDCGQ01LM) survived few coordinator restarts and 10-60m downtime without any issues.

Turned off the coordinator for a whole night, both sensors remains active and reports when coordinator is back.

I'll give it a couple days more but it looks like it was a Sylvania SMART+ Smart Plug issue.

hawkefly commented 4 years ago

It seems that 20200312 firmware in dev branch fix this issue @Koenkk