Zigbee2mqtt stuck on loading screen

Hey, been trying to get Z2Mqtt to work on a fresh HA supervisor install but I get stuck on loading screen all the time, been trying with 3 fresh installs of everything. Cant find any faults in any of the logs, neither HA, Z2Mqtt nor Mqtt broker. I followed the steps of https://www.youtube.com/watch?v=-YeObwEZqL4&ab_channel=HomeSight yet I’m stuck. Config is as:

data_path: /config/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  user: mqtt_user
  password: *****
serial:
  port: /dev/ttyACM0
  adapter: deconz
advanced:
  log_level: warn
  pan_id: 6754
  channel: 11
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_blocklist: []
  availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
  port: 8099
experimental:
  new_api: true
availability: false
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: '-d -d'
  log: false

Log:
[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] socat.sh: executing…
[21:49:46] INFO: Socat not enabled, marking service as down
[cont-init.d] socat.sh: exited 0.
[cont-init.d] zigbee2mqtt.sh: executing…
[21:49:47] INFO: MQTT available, fetching server detail …
[21:49:47] INFO: MQTT server settings not configured, trying to auto-discovering …
[21:49:48] INFO: Configuring ‘mqtt://core-mosquitto:1883’ mqtt server
[21:49:48] INFO: Previous config file found, checking backup
[21:49:48] INFO: Creating backup config in ‘/config/zigbee2mqtt/.configuration.yaml.bk’
[21:49:48] INFO: Adjusting Zigbee2mqtt core yaml config with add-on quirks …
[cont-init.d] zigbee2mqtt.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[21:49:49] INFO: Handing over control to Zigbee2mqtt Core …

[email protected] start
node index.js
CREATED DECONZ ADAPTER
Zigbee2MQTT:warn 2021-12-04 21:49:57: Using experimental new availability feature

Any idea where I can find a soulution? I’ve tried googling my issue with no luck.

Oh also my setup is RPI4, SSD on USB, conbee 2 stick with latest flash.
Had this work a month ago on a SD card but that broke so had to do a fresh install since I forgot my backup password.

What version are you on? I ask because yesterday I upgraded to 2021.12 and all my Zigbee stuff hung, (and so did my Alexa addon). Thinking it was just me… I downgraded to 2021.11, had everything running proper then tried upgrading again. Same issue… it wasn’t just me.
I am now dumb, fat and happy sticking with 2021.11 until this gets resolved.

I upgraded a HA instance to 2021.12.0b0, and my Zigbee2mqtt to 1.22.1, and all kept working.

See here:

Coolio, not jst me with problems then, thanks for finding this!

Found an issue opened for this:

Similar issue here. Getting “Loading, please wait” from frontend when I select “Devices” from the menu. Other frontend menu items seem to be ok?

  • HA version 2021.11.5
  • Z2M version 1.22.1-1
  • RPi 4 with USB SSD
  • ZB Coordinator based on TI CC2652P

Configuration.yml

data_path: /config/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
serial:
  port: /dev/ttyUSB0
advanced:
  log_level: warn
  pan_id: 6754
  channel: 11
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_blocklist: []
  availability_passlist: []
  ikea_ota_use_test_url: true
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
  port: 8099
experimental: {}
availability: false
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: '-d -d'
  log: false

Log

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] socat.sh: executing... 
[19:57:24] INFO: Socat not enabled, marking service as down
[cont-init.d] socat.sh: exited 0.
[cont-init.d] zigbee2mqtt.sh: executing... 
[19:57:25] INFO: MQTT available, fetching server detail ...
[19:57:25] INFO: MQTT server settings not configured, trying to auto-discovering ...
[19:57:26] INFO: Configuring 'mqtt://core-mosquitto:1883' mqtt server
[19:57:26] INFO: MQTT credentials not configured, trying to auto-discovering ...
[19:57:26] INFO: Configuring'addons' mqtt user
[19:57:26] INFO: Previous config file found, checking backup
[19:57:26] INFO: Creating backup config in '/config/zigbee2mqtt/.configuration.yaml.bk'
[19:57:26] INFO: Adjusting Zigbee2mqtt core yaml config with add-on quirks ...
[cont-init.d] zigbee2mqtt.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[19:57:28] INFO: Handing over control to Zigbee2mqtt Core ...
> [email protected] start
> node index.js
Zigbee2MQTT:warn  2021-12-09 19:57:36: Using experimental new availability feature

If I put in the new_api: true line in the config I get the following error in the HA logs:

21-12-09 19:32:15 WARNING (MainThread) [supervisor.addons.options] Unknown option 'new_api' for Zigbee2mqtt (45df7312_zigbee2mqtt)

What am I doing wrong?

Thanks in advance
Rob

That is not supported any more

Seems a bug in the add-on

@rcruikshank Hello, did you ever get this sorted out? Trying some experiments with zigbee2mqtt and getting the same thing: stuck on “loading, please wait”

Actually it works once a device is added.

1 Like

@drjjr nope. Just went with ZHA.