nurikk / zigbee2mqtt-frontend

Zigbee2MQTT frontend
https://www.zigbee2mqtt.io/
GNU General Public License v3.0
263 stars 187 forks source link

[Bug]: Frontend consistently empty after adding 122nd device #2131

Open tkadauke opened 2 months ago

tkadauke commented 2 months ago

What happened?

I am building a somewhat large network of Zigbee devices, most of which are Inovelli switches. When I cross the threshold of 122 devices, everything disappears. I can then remove a random device from the database.db file and restart, and all the other devices show up again. I suspect this is a frontend issue, since all devices still work through Home Assistant, and z2m is humming along, filling up the log files just as before.

Is there a built in device limit in the front end? If not, how can I begin debugging this? I don't see any error messages in the browser console, and I don't know where to look for frontend logs.

What browsers are you seeing the problem on?

Chrome

Relevant stacktrace

No response

Did you download state.json.zip?

I will not attach state.json.zip

Cosmeen commented 1 month ago

Hello @tkadauke,

I know that is an old issue but maybe it would help others....

Are you using the frontend for adding new devices?

Before, I've used a very old raspberry pi device and had the frontend disabled mostly because it wasn't that powerful. So my suggestion would be to manually edit the data/configuration.yaml (make a backup first!) file manually and make:

frontend: false permit_join: true

And then manually restart the zigbeemqtt and try to add your device.


Then if the device was successfully added you can change to your previous configuration.yaml changes and enable the frontend.

tkadauke commented 1 month ago

Hey, thanks for the response. I found the suggestion online to add a z2m dashboard to Home Assistant and that works reasonably well. I have also manually messed with the databases, so I'm not currently blocked. But it would be nice to have the UI work for larger networks.

Do you have any clue why the UI stops listing devices when the network grows above a certain size (for me: 122 devices)?