-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 are disappearing from Device list. #15299
Comments
Same problem. Devices dissapearing |
I have the same issue after updated to 1.28.4 |
Are you all using the EZSP adapter? |
I did same. so far works fine. |
Yes. |
conbee 2/deconz |
Slaesh stick |
Same thing here. I can't readd the device that left network. What should I do ? My device was ZM-L03E-Z(TS0003) |
@erzhan89 still works with 1.28.2? |
Yes. Since I deployed v1.28.2 there is no issue. |
Can someone provide the debug log when a device disappears? See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable debug logging. |
I wasn't been able to simulate the error to post the logs here. But, I tryed again, in version 1.28.4-1 and was successful. The devices was added as expected and didn't left the network anymore. Thanks |
Hello @Koenkk . Here you have the file LE: the amazing part is that immediately after I took the printscreen from above the list reappeared.... LE2: I did as restart of the RPI4 where the HASS is installed and the error come back. Here is the new log after restart BTW why the issue is named: "Devices are disappearing from Device list" because in Chrome browser this is what appears: LE3: downgraded to 1.28.2 and everything back to normal . the new log |
It looks to me that Zigbee2MQTT is not running, can you check the log page of the addon? |
I think this is the issue (check the LE2 comment file- log after restart) debug 2022-12-07 08:52:16: lumi.vibration.aq1: unknown key 6 with value 0,5 |
Interesting, can you provide the herdsman debug log of this? See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable the herdsman debug logging. Note that this is only logged to STDOUT and not to log files. |
Hello @Koenkk |
https://www.zigbee2mqtt.io/guide/usage/debug.html But it is a little easier now for the HA addon: |
Test 1 - you may jump directly to Test 2 because the problem seems to be there Log 1 Log2 Look again at log 1 debug 2022-12-12 00:02:23: Saving state to file /config/zigbee2mqtt/state.json and after that in log 2 which seems is the follow up of log1: debug 2022-12-12 00:02:36: Loaded state from file /config/zigbee2mqtt/state.json 5 min later I was able to enter in the device screen Test 2 - restart the machine - the log after restart HASS started at 00:20 --> device screen empty Finally at 00:30 - the list was populated with all the devices - FINAL LOG attached ### CONCLUSION: in the end app starts. But was needing 10 min to do the initiation after HASS did - before 1.28.4 the initiation was in the same time with HASS _HINT: I have some devices (some 220V smart plugs and switch modules) which are not plug in in the network for the moment but they are paired (Look in the log for the devices call: "Enchufe" or "Antena para Siren"). Because they are not plugged in this moment they need a long time to be discovered as offline Eg with the device call Enchufe 2. Start configuring at 00:22:06 and ending at 00:23:07 with the message "Failed to configure 'Enchufe 2',"_ info 2022-12-12 00:22:06: Configuring 'Enchufe 2' I have 12 devices in this moment which are offline. So 12 devices * 1 min (the time to discover he status) = aprox 10 min the time to initiation for Test 2 |
Found the issue, should be fixed now. Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html) |
thanks!! |
@Koenkk , |
@erzhan89 I think you have another issue. For you the list is working and suddenly disappear? Or this is happening (like in my case) only after a reboot/restart? |
I had dev branch... |
well the true is that I did not test the fix because my zigbee network is installed in a location where I am under a CG-NAT network. Is my secondary home (not living there permanently) and cannot connect to it from internet. |
I tried twice to join all devices back... but after 2 days... they are not in list again.. |
@erzhan89 what coordinator are you using? |
Hii @draggero, Sorry for late reply, I have tested with the version 1.30.1-dev. It looks fine, everything is working normal. I tried power restarted several times the database file was not corrupted. Thanks for the fix. When should i expect this update in stable release?? |
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 |
hi! same for me PS
|
Same, i have two devices disappear from Z2M just in the last 24 hours. Not disconnected or unavailable. Actually gone from the devices list. |
Same here, a 'Nous A1Z' disappeared from the device list last night and after a z2m (docker) reboot the entity's where removed in home assistant. And with hitting the pair button z2m show that the device left the network en shortly after reconnects with the custom name I gave it... ? |
Same here Device works fine but not list. Also, I have a group with 3 devices (work fine) but on the UI the group is empty. `Zigbee2MQTT version [1.33.2] Coordinator type zStack3x0 |
Same mine - 12 devices disappeared only two thermometers left in z2m interface automation wok just fine. After forced pairing popup say 'device leaving network' and after that it appears again. |
I have exactly the same issue as @lacrimal
After going through the complete repairing of all devices, all was well again (I thought) and in working order. But no - upon the next restart of Z2M everything was again lost. The Z2M UI dashboard is empty and no device is working. I'm running Eclipse Mosquitto 2.0.18 in a Docker container. Z2M also run in a Docker container. This setup has worked fine for a long time, until the 'version 5' issue popped up the other day. |
Yes, happened to me a few times now. I'm running Z2M as a Home Assistant add-on connecting to Mosquito which is also been run as an add-on. My zigbee gateway is a Sonoff ZBBridge flashed with Tasmota. All works for a while, but if the gateway loses power, then some (but not all) devices often disappear. As others have reported, re-pairing them first results in a "leaving network" message, suggesting the device hadn't really disappeared in the first place. |
I've just noticed this issue as well. All my paired devices are gone. I moved my coordinator to a new IP address, changed the IP address in zigbee2mqtt, restarted and everything is empty. Edit: I firmware upgraded the coordinator in right before moving to a new IP address. Edit 2: I copied database.db.backup over database.db and re-started. Now all my devices are back. That's very strange. Why does zigbee2mqtt just wipe its database? |
Same here, device just dissapear with no reason.. The device it self working well. It's worked several month and disappear.
|
Devices disappeared with no reason..... Every 2~3 days 😒 |
I think this is happening to me as well. I couldn't control a device in HomeAssistant and when I checked the history I could see that the last time it reported anything to HomeAssistant was 5 days ago. Went over to Zigbee2MQTT to check the status there and to my surprise the device was no longer listed. Not offline or unavailable, it's just missing. How do I get it back? I've tried to restart everything, I was running |
I am having the exact same issue. My Hue Motion sensor is constantly being deleted from the list. How can I fix that ? |
I had same issue in the past but after trying everything issue is finally resolved but not sure what exactly has resolved. Try to remove device from zigbee interface, perform a factory reset on hue motion and pair it again.
|
I actually did that couple of times. But it still disappears from device list and even not appearing in mqtt as well. Something is going on. I have 2 other devices connected but they work normal. |
Same here. they just disappeared 👻 |
I have this issue too, I'm running everything in docker. Every now and again (sometimes months) the devices just all disappear at the same time and stop working. When I repair them, the status in zigbee2mqtt says "leaving network" first meaning they're just not having the messages received |
I also encountered the problem of losing the device in z2m,,didn't see it in the Z2M devices list, it just flashed in pairing mode! Latest Z2M version 1.35.3-1 |
same here on 1.35 and 1.36.0 version. |
Hello, I am having the same problem. After I updated Zigbee2MQTT and home assitant core today, no devices started to appear and connections were lost. The list is empty. |
With som many people complaining about the same issue (or similar issues), maybe it's time @Koenkk steps in and shows some concern for us (his users). Or is that too much to ask? |
If someone can provide debug log starting from the moment the devices are there until they disappear I'm happy to investigate. See this on how to enable debug logging. |
link is broken (404) |
How I solved the issue (works for me, could work for you, no guarantee) Looks like a pure gui issue,
looking into database.db, each device has its line in the json file, all data are correct (ieeeAddr etc.) state.json has a recent timestamp , data has been updated recently devices info are published to mqtt whenever there is something to publish so from an engine perspective, as far as I can tell, all is fine. When connecting to the interface, there is no device displayed I'm using latest dockerhub docker image running Zigbee2MQTT version 1.38.0 (commit #fe048e6) Having a look at js console in the browser, I saw these errors The reason why this happens on my setup is that I am using nginx as a reverse proxy , what required some additional setting to handle websockets
and now it works ! My guess : either nginx or zigbee2mqtt or both changed Not sure this can solve the issue for everyone but for those having an nginx reverse proxy, it's worth a try by the way, an error message on the front end would be welcome ;-) hope this helps |
Your solution seems to indicate that you are accessing your Z2M server via an NGINX Reverse Proxy, right? You probably have a very good reason for doing so, while the rest of us have our Z2M server running on the same network (LAN/WLAN) as everything else we have, thus there is no need for a reverse proxy, and consequently we don't have one installed at all. |
Exactly. When having an nginx reverse proxy, things happen exactly as described in this post and applying the changes fixed the issue. |
What happened?
Devices 4 pc. (RTV https://www.zigbee2mqtt.io/devices/GS361A-H04.html ) disappearing from Device list. after 15-20 minutes. Before they worked without issues.
What did you expect to happen?
To have stable connection.
How to reproduce it (minimal and precise)
No response
Zigbee2MQTT version
1.28.4
Adapter firmware version
6.10.3.0 build 297
Adapter
ITead Sonoff Zigbee 3.0 USB Dongle Plus V2 model "ZBDongle-E"
Debug log
No response
The text was updated successfully, but these errors were encountered: