-
Notifications
You must be signed in to change notification settings - Fork 436
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
Empty devices list #594
Comments
For those wondering, I have not found any solution other than deleting everything and restarting from scratch repairing every device... That was a pain 🤣 |
Hi. I have the same issue now. |
Hello, for me it happens today after Update 2024.6.0. Everything works but i cant configure anything in the Zigbee2MQTT menu. All empty and without function... Reboot and clearing cache does not fix that... |
I have the same problem. Is there a solution? |
Only one I tested successfully was to uninstall and delete all devices, reinstall and repair everything... Painful. |
After update to 2024.6.1 everything is fixed for me.... |
The same problem, but I see empty devices list (and also empty Dashboard) in ingress mode only. |
I can't open the page directly |
Is it really possible that no one else has such a problem and there will be no help? |
For me the Problem comes with my Apache Reverse Proxy. In the Browser Console i have seen that it can't open a special WebSocket URL. After Adding it to reverse Proxy config anything is ok.... ProxyPass /api/hassio_ingress ws://192.168.2.4:80/api/hassio_ingress |
You are not alone in this. Unfortunately I am in the same situation and despite considerable efforts have not found any fix. |
I solved the problem. If you clear the "devices" section directly in "/homeassistant/zigbee2mqtt/configuration.yaml" then all device names and descriptions will disappear, but the device list will work correctly. After everything worked, I manually entered device descriptions using the old backup. Now everything is fine. |
I found another way to resolve this problem.
I removed all the lines with icons, the file was reduced to about 4 kilobytes, and the problem with the empty device list completely disappeared! |
@booroondook-eng |
You're the best! In my case the devices are in zigbee2mqtt/configuration.yaml and after weeding out the icon lines the devices list and the dashboard were populated again. Including the icons. Great! Thanks for sharing your solution! |
Great finding, I was getting nuts by bumping into this bug all the time! I have identified that the "Localise device images" feature is doing this, flooding the Z2M configuration.yaml with embedded Base64 images to a point where Z2M just cannot handle. In my case it also was not able to finish the localization of images as it was already too much with my 147 devices, failed around 100. I was also reconsidering my life choices while clearing the config manually by having a file lenght of 4 318 294 characters (4.11 MB), and the cleaned up file is 43 540 character (42.51k). Anyway, Notepad++ was a great help in this by collapsing the "icon: >-" segments and deleting each from the start of the next line. @Koenkk, can you please remove this "Localise device images" feature completely from Z2M for now or add a warning/confirmation that things can go badly when having numerous devices? |
@xelemorf interesting finding, I guess z2m didn't startup anymore in your case? |
@Koenkk After the fix I've mentioned everything works as expected. Using currently available latest Z2M stable with latest HAOS. Btw once had this issue, I also could not get the file from "request z2m backup" or "download state", and "network map" also never finished - works after the fix. |
Interesting, do you still have the debug log of this? Could also be a frontend issue See this on how to enable debug logging. |
I'll try to find some time over the weekend to collect debug logs. |
I can confirm the same behavior with probably the same cause ('Localize device images'). Z2M appears to be working normally, device list only available by accessing it via port 8099. Didn't have the time to try cleaning devices.yaml (currently >5 MB). Will do it during weekend. Will also try to collect some logs before as well. |
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 |
@Koenkk Z2M configuration.yaml debug setting (Z2M service restarted after changing): Size of configuration.yaml: [Localtime: 10:25] The localization on the UI stalled marking items "done", however, all devices in config were processed. Showing the process for Localise device images, which appears to be stalled after "kitchen-mainlight": Showing the empty device list after localise device images completed and a Z2M restart: Showing a device list after the config restore: Showing Z2M version and device count: Could not upload 7z or logs directly, in-line would have been flooding so renamed it to txt extension. Please rename to Z2M_Localise.device.images_LOGS_u3.7z PS: Would be great if the following sensitive data would not be exposed in the debug log by the way, each property have multiple types of exposure: extendedPanID, panID, channelList. I've marked all references as REDACTED. |
Just had a Pi Zero 2 crash, tracked it down to Localise device images. For reference, the |
@Koenkk: Looking for an update on this one. |
or
|
Description of the issue
All devices disappeared from the addon's devices list. They are still present in the integration page, and still work.
Since 1.36.1-1 I've been uninstalling and reinstalling switching between the stable and edge versions to try to fix some ghost bindings that broke a couple of devices. Since then, I don't know why, the devices list is now empty. As if the database.db was corrupted in some way... When I open it, it looks good and contains all devices though.
Tried clearing cache, rebooting addon, reloading integration, rebooting HA, no change.
Is there a way to fix this ? Like removing the database, reboot and then putting it back or something like that ?
Addon version
edge. Can't find commit hash, but it's the same on stable anyway
Platform
Core
2024.4.1
Supervisor
2024.04.0
Operating System
12.1
Interface utilisateur
20240404.1
Logs of the issue (if applicable)
Nothing in the logs
The text was updated successfully, but these errors were encountered: