nurikk / zigbee2mqtt-frontend

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

Trying to add a Sonoff ZBMINIL2 crash (interview doesn't seem to work) #2111

Open xabix opened 3 weeks ago

xabix commented 3 weeks ago

What happened?

Hi All

I am running on the latest dev bc of an ember issue and trying to add ZBMINIL2 Sonoff devices. cf https://github.com/Koenkk/zigbee2mqtt/issues/23733

Capture d’écran 2024-08-27 à 15 51 52 Capture d’écran 2024-08-27 à 15 53 54

Thanks

PS: I can't upload the state as it doesn't DL from HomeAssistant

What browsers are you seeing the problem on?

Chrome

Relevant stacktrace

**Current url**: http://homeassistant.local:8123/api/hassio_ingress/5R1PS62QTpW19EwmPJ9j8lQZVJoGuTyO3hZvZLj9QSE/#/device/0x0cae5ffffeb6494a/dev-console
**Previous url**: http://homeassistant.local:8123/45df7312_zigbee2mqtt_edge

**Error type**: TypeError
**Error message**: Cannot read properties of undefined (reading 'clusters')

TypeError: Cannot read properties of undefined (reading 'clusters')
    at zs.render (http://homeassistant.local:8123/api/hassio_ingress/5R1PS62QTpW19EwmPJ9j8lQZVJoGuTyO3hZvZLj9QSE/assets/ConnectedDevicePage-792280da.js:1:31105)
    at ab (http://homeassistant.local:8123/api/hassio_ingress/5R1PS62QTpW19EwmPJ9j8lQZVJoGuTyO3hZvZLj9QSE/assets/index-74e84a13.js:43:6186)
    at yD (http://homeassistant.local:8123/api/hassio_ingress/5R1PS62QTpW19EwmPJ9j8lQZVJoGuTyO3hZvZLj9QSE/assets/index-74e84a13.js:43:5982)
    at r3 (http://homeassistant.local:8123/api/hassio_ingress/5R1PS62QTpW19EwmPJ9j8lQZVJoGuTyO3hZvZLj9QSE/assets/index-74e84a13.js:43:44865)
    at e3 (http://homeassistant.local:8123/api/hassio_ingress/5R1PS62QTpW19EwmPJ9j8lQZVJoGuTyO3hZvZLj9QSE/assets/index-74e84a13.js:43:39756)
    at ISe (http://homeassistant.local:8123/api/hassio_ingress/5R1PS62QTpW19EwmPJ9j8lQZVJoGuTyO3hZvZLj9QSE/assets/index-74e84a13.js:43:39682)
    at ap (http://homeassistant.local:8123/api/hassio_ingress/5R1PS62QTpW19EwmPJ9j8lQZVJoGuTyO3hZvZLj9QSE/assets/index-74e84a13.js:43:39534)
    at cb (http://homeassistant.local:8123/api/hassio_ingress/5R1PS62QTpW19EwmPJ9j8lQZVJoGuTyO3hZvZLj9QSE/assets/index-74e84a13.js:43:35900)
    at CD (http://homeassistant.local:8123/api/hassio_ingress/5R1PS62QTpW19EwmPJ9j8lQZVJoGuTyO3hZvZLj9QSE/assets/index-74e84a13.js:43:36704)
    at Gn (http://homeassistant.local:8123/api/hassio_ingress/5R1PS62QTpW19EwmPJ9j8lQZVJoGuTyO3hZvZLj9QSE/assets/index-74e84a13.js:41:3283)

Did you download state.json.zip?

I will not attach state.json.zip

xabix commented 3 weeks ago

Strange as my 2nd device did pair correctly!

Capture d’écran 2024-08-27 à 16 03 48

Here is a picture of the device that didn't pair correctly: WhatsApp Image 2024-08-27 at 16 03 15

After a delete, restart it was still showing, so I force an interview 2 times and ended up working. So for me it s ok but I still believe that there could be a bug to avoid the interface to crash when I went to Console Dev during the 1st inclusion.

Capture d’écran 2024-08-27 à 16 09 21