Zigbee2mqtt, Aquara sensors, several sensors dead after update/downtime/restore after crash

Hi all,

I’m running Hass.io on a raspberry pi 3, with a raZberry add-on card, and a USB zigbee stick.

This has been working nicely for a several months now, with one Aquara sensor per room, I had 9 sensors set up.

Every once in a while, one sensor would stop updating. I then tried clicking the button on it, and it worked again. Sometimes it took press & hold until it blinks (some kind of reset). Some times that didn’t work either, but waiting a few days, pressing the button, moving it closer to the Raspberry then pressing the button in some combination of these always brought them back.

Then I had an SD card corruption. Result was 2 days down time, built a new sd card with all partitions from a fresh install + my old data partition that I managed to salvage.

During this process I also updated Home Assistant, to what was then the latest version, I believe 0.96.1 or 2 (currently running .3)

I run zigbee2mqtt version 1.4
Mosquitto broker (no version listed)

After getting Home Assistant back up, 3 of my 9 Aquaras are dead, and have been totally dead since. I mean they live, they blink and light up the LED as usual, but I’ve tried everything, now for 2 weeks, nothing brings them back to updating their values in Home Assistant. Which leads me to believe either a) they decided they are paired to another network and don’t want to talk to my controller, if that’s even possible, or b) some kind of bug / breakup between MQTT broker and zigbee2mqtt and / or home assistant.

I also tried deleting one, to re-add it, but it will never disappear from anywhere I can tell.

Auto-adding is enabled.

Let me underline that the other 6 sensors still work perfectly.

Any steps in troubleshooting this? The 3 dead ones do not ever show any life in the zigbee2mqtt logs, so I assume the signal is never coming to the receiver.

Are there clear steps for deleting, confirming their deletion, then re-adding? I’d like to try that. I tried the API zigbee2mqtt/bridge/config/remove - log confirmed remove, but the device still seems to be present in the MQTT integration at least. Tried clicking and resetting the aquara afterwards, but no life. Do I have to delete it from MQTT integration as well?

Any ideas?

So I ordered 5 new sensors, and as I sort of suspected, they also do not work. None of them. They blink fine, but they are never added anywhere I can find in Home Assistant. Not in MQTT, not in zigbee2mqtt.

Any ideas?

I suppose I should mention that I have an USB stick. Here is the start of a recent log (includes the firmware version of the USB stick):

8/26/2019, 10:24:40 AM - info: Logging to directory: '/share/zigbee2mqtt/log/2019-08-26.10-24-39'
8/26/2019, 10:24:42 AM - info: Starting zigbee2mqtt version 1.4.0 (commit #unknown)
8/26/2019, 10:24:42 AM - info: Starting zigbee-shepherd
8/26/2019, 10:24:46 AM - info: zigbee-shepherd started
8/26/2019, 10:24:46 AM - info: Coordinator firmware version: '20190315'
8/26/2019, 10:24:46 AM - info: Currently 8 devices are joined:
8/26/2019, 10:24:46 AM - info: Stue (0x00158d0002d7f03e): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
8/26/2019, 10:24:46 AM - info: Bad oppe (0x00158d0002d79622): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
8/26/2019, 10:24:46 AM - info: Solveggen (0x00158d0002d7950e): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
8/26/2019, 10:24:46 AM - info: TV-stue (0x00158d00034d1353): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
8/26/2019, 10:24:46 AM - info: 0x00158d000349c48b (0x00158d000349c48b): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
8/26/2019, 10:24:46 AM - info: 0x00158d000349c20b (0x00158d000349c20b): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
8/26/2019, 10:24:46 AM - info: 0x00158d0003498ceb (0x00158d0003498ceb): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
8/26/2019, 10:24:46 AM - info: dau(tv-stue) (0x00158d0002f7c097): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
8/26/2019, 10:24:46 AM - warn: `permit_join` set to  `true` in configuration.yaml.
8/26/2019, 10:24:46 AM - warn: Allowing new devices to join.
8/26/2019, 10:24:46 AM - warn: Set `permit_join` to `false` once you joined all devices.
8/26/2019, 10:24:46 AM - info: Zigbee: allowing new devices to join.
8/26/2019, 10:24:46 AM - info: Connecting to MQTT server at mqtt://homeassistant
8/26/2019, 10:24:46 AM - info: zigbee-shepherd ready
8/26/2019, 10:24:48 AM - info: Connected to MQTT server