#Zigbee2MQTT Won't Start

1 messages · Page 1 of 1 (latest)

dark ore
#

So I updated the firmware on my Zigbee coordinator though that may be coincidental timing, since then trying to restart Zigbee2MQTT has resulted in this error:

Starting Zigbee2MQTT without watchdog.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
            READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- availability/active must have required property 'timeout'
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Failure page is available at http://0.0.0.0:8099/```

But this is wrong, the config file DOES have this in it - relevant section:
```availability:
  active:
    backoff: true
    timeout: 10
  enabled: true```

So what is going on here?
warm wren
#

Can you share the whole config file? Feel free to censor things with the same amount of random chars.

dark ore
# warm wren Can you share the whole config file? Feel free to censor things with the same am...

Sure.

    enabled: true
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://localhost
availability:
  active:
    backoff: true
    timeout: 10
  enabled: true
serial:
  port: >-
    /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220802201931-if00
advanced:
  homeassistant_legacy_entity_attributes: false
  legacy_api: false
  legacy_availability_payload: false
  log_syslog:
    app_name: Zigbee2MQTT
    eol: /n
    host: localhost
    localhost: localhost
    path: /dev/log
    pid: process.pid
    port: 123
    protocol: tcp4
    type: '5424'
  channel: 25
device_options:
  legacy: false
devices:
  'xxxxxxxxxxxxxxxxxxxx':
    friendly_name: Kitchen Window
  'xxxxxxxxxxxxxxxxxxxx':
    friendly_name: Cellar Climate
  'xxxxxxxxxxxxxxxxxxxx':
    friendly_name: Front Door
  'xxxxxxxxxxxxxxxxxxxx':
    friendly_name: Coffee Machine Plug
  'xxxxxxxxxxxxxxxxxxxx':
    friendly_name: Lounge Plug
  'xxxxxxxxxxxxxxxxxxxx':
    friendly_name: Cellar Detector
  'xxxxxxxxxxxxxxxxxxxx':
    friendly_name: Outside Climate
  'xxxxxxxxxxxxxxxxxxxx':
    friendly_name: Outside Detector
  'xxxxxxxxxxxxxxxxxxxx':
    friendly_name: Hallway Detector
  'xxxxxxxxxxxxxxxxxxxx':
    friendly_name: 'xxxxxxxxxxxxxxxxxxxx'
frontend:
  enabled: true
  port: 8090
  host: 0.0.0.0
  url: http://10.0.0.11```
warm wren
warm wren
#

So it clearly doesn't come from that config file.

#

Check the add-on settings. Also what is the file path of that file?

dark ore
#

I'm using the File Editor addon to edit the file and it just says the path is /homeassistant/zigbee2mqtt/configuration.yaml

#

The addon's config page doesn't have anything to do with Availability.

warm wren
#

Hmm 😐

dark ore
#

I've actually bought an SLZB-MR4U to migrate everything to now anyway, but I do still need to find the old IEEE address of the old controller to migrate which requires this being up, from what I can tell.

#

For what it's worth, the addon config looks like this (by using the 3-dot edit YAML option)

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
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://10.0.0.11:1883
  user: addons
  password: addons
serial:
  adapter: ember
  port: >-
    /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220802201931-if00
  rtscts: false
force_onboarding: false```
#

Which also looks fine...

#

I see the issue

#

The File Editor addon is completely useless

#

I have no idea what that file even is. If I log in via SSH I can see the REAL config file in.... addon_configs/45df7312_zigbee2mqtt/zigbee2mqtt/configuration.yaml

#

And we're up

dark ore
#

That file editor is less than helpful, lol. I can't even get to where the real config files are with it.

warm wren
#

I prefer Code Server or SSH myself. I was about to suggest you to run find / -type f -name "configuration.yaml" for example.