aliases | category | classification | date | date_modified | draft | id | image | links | local_archive_links | pinned | series | tags | title | type | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
smart-home |
public |
2022-10-07 09:24:37 -0700 |
2024-09-23 13:42:51 -0700 |
false |
20221007162437 |
|
false |
false |
|
Reconnection Issue with Sonoff SNZB-02 in Zigbee2MQTT |
tech-note |
((TOC))
If connection is lost, and a sensor stops reporting, the simplest way to fix is as follows:
- Force remove the device from Zigbee2MQTT.
- Restart Zigbee2MQTT.
- Re-pair the device.
Tip
This seems to pretty consistently work, step 2 is particularly important if you have issues with the battery status not registering, which also tends to mean the sensor values aren't being published.
Warning
If it really doesn't work, then swap the battery with another and try again. It'll sometimes take a few goes before it gets picked up. Often you just have to keep restarting, and trying until it works.
Run through the same steps as "Lost Connection Issue".
Tip
Don't rush the process, sometimes it takes a minute or so to finish configuring. So only follow the below steps if after a few minutes the battery level has not updated.
I had an issue with a SONOFF SNZB-02 temperature & humidity sensor, after replacing the battery I couldn't get it to reconnect to Zigbee2MQTT without the power column showing a question mark for the battery status. As a result it wasn't exposing any results.
There was nothing in the log file either.
What eventually did the trick I think was restarting Zigbee2MQTT from Settings > Restart Zigbee2MQTT in the Zigbee2MQTT dashboard on Home Assistant. It then paired and finally published the battery status - although it doesn't seem like the battery is reporting correctly - initially it showed around 20%, and after clicking the reconfigure button it now shows around 62%, but that's still lower than expected for a new battery - unless it's been pulling power more than usual because of whatever issue was going on?
If you're really having no luck with it, remove the battery for a few minutes and then follow the above.