-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Devices lost after hassio zigbee2mqtt restart #2908
Comments
It looks like your |
Yes, |
Can you switch the the edge addon and set |
Edge addon working ok after 1st restart, logs attached (docker log export, in csv format): edit: after second restart same behaviour = devices lost and devices.db truncated to only 1 record (coordinator), log attached |
Something goes wrong with the network key, could it be that the |
Oh, my fault! not 16 but 20!!! bytes! Let me check if its working in edge and/or "normal" release. |
Fixed now, zigbee2mqtt will refuse to start when an incorrect length is set. (and print an error message about it). |
Bug Report
Environment:
Hassio on Synology, docker, supervisor 199, HA 105.2
Z2M add on, 1.10.0
CC2530 connected to ESP8266, EspEasy as serial server
Looks like similar issue: #1657 but there is no interference
What happened
All devices are lost after z2m addon restart. If device is successfully joined (see logs attached) and Z2M addon is restarted, connection to device(s) is/are lost and device(s) not reporting correct values (old values or unavailable) to hassio.
Same issue with ZStack 1.2 without source routing or ZStack 3, no problems if Z2M addon is not restarted, device(s) are present in HA and responsible, reporting correct values,
What did you expect to happen
Device joined after restart automatically without manual rejoin.
How to reproduce it (minimal and precise)
Debug Info
zigbee2mqtt version: 1.10.0
CC2530 firmware version: Z-Stack_Home_1.2 with source routing
ESPEasy: ESP_Easy_mega-20191208_normal_ESP8266_4M1M
Device: Xiaomi, as stated in log
same issue with Ikea Tradfri bulb, LED1624G9
after-restart.txt
configuration.txt
succ_join.txt
herdsman log after pressing button on Xiaomi:
herdsman.txt
The text was updated successfully, but these errors were encountered: