hassio-zigbee2mqtt: Error while starting zigbee-herdsman. failed to start zigbee

Description of problem: after installing and edit the config. the conbee2 does not properly start-up with the zigbee2mqtt addon. There is no specific error code show in the logs.

Zigbee2mqtt add-on version (if edge, please report commit hash):

Zigbee2mqtt Current version: 1.25.0-1 (Changelog)

Your entire configuration from the frontend (with sensitive fields redacted):

data_path: /config/zigbee2mqtt
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:
  server: mqtt://localhost:1883
  base_topic: zigbee2mqtt
  ca: /etc/ssl/mqtt-ca.crt
  key: /etc/ssl/mqtt-client.key
  cert: /etc/ssl/mqtt-client.crt
  include_device_information: true
serial:
  port: /dev/ttyACM0
  adapter: deconz
  disable_led: false
permit_join: true
frontend: true
availability:
  active:
    timeout: 10
  passive:
    timeout: 1500

![image](https://user-images.githubusercontent.com/10939437/162909801-7488422f-da22-4223-b7e3-c737c1dbd262.png)

Running platform (details from Suypervisor > System)

Home Assistant 2022.4.2
Core: core-2022.4.2
Supervisor: supervisor-2022.04.0
Operating System: Home Assistant OS 7.6

Installation Type | Home Assistant OS on an odroid n2+

Your logs from Home Assistant Supervisor

info  2022-04-12 09:51:58: Logging to console and directory: '/config/zigbee2mqtt/log/2022-04-12.09-51-56' filename: log.txt
info  2022-04-12 09:51:58: Starting Zigbee2MQTT version 1.25.0 (commit #unknown)
info  2022-04-12 09:51:58: Starting zigbee-herdsman (0.14.20)
error 2022-04-12 09:52:08: Error while starting zigbee-herdsman
error 2022-04-12 09:52:08: Failed to start zigbee
error 2022-04-12 09:52:08: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
error 2022-04-12 09:52:08: Exiting...
error 2022-04-12 09:52:08: undefined

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 26 (3 by maintainers)

Most upvoted comments

@Ricardo-0101 your config looks wrong to me, under the serial section you have to fill in just:


port: tcp://tubeszb-cc2652-poe-2022.local:6638

@Koenkk You are exactly right, can’t believe I didn’t notice this in the yaml, Tubes GitHub references adding below to the yaml however as I had added it via the serial field in the config page serial: was duplicated.

serial:
  port: tcp://tubeszb-cc2652-poe-2022.local:6638

Interestingly after correcting this I got an error similar to @dyarfaradj i.e. Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms) but this cleared once I had disabled ZHA in the integrations so all is well now. Thank you.

@Ricardo-0101 your config looks wrong to me, under the serial section you have to fill in just:

port: tcp://tubeszb-cc2652-poe-2022.local:6638