Hassio-zigbee2mqtt: Addon will not start with conbee II

Created on 12 Dec 2020  Â·  6Comments  Â·  Source: danielwelch/hassio-zigbee2mqtt

**zigbee2mqtt add-on version (if edge, please report commit hash):
1.16.2.2 edge

**Operating environment (HassOS, Virtual Machine, Device/platform running Home Assistant):
Hass OS with home assistant on rapsberry 3b

Description of problem:
Zigbee2mqtt will not start
tried as port "null", then I can not save the configuration, and

 >-
    /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2258199-if00

but this doesn't make a difference

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

data_path: /share/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://core-mosquitto'
  user: mqtt
  password: mqtt
serial:
  adapter: deconz
  port: /dev/ttyACM0
advanced:
  log_level: info
  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
socat:
  enabled: false
  master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
  slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
  restartdelay: 1
  initialdelay: 1
  options: '-d -d'
  log: false

Your logs from Home Assistant

[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Debug information
-----
-----
{
  "data_path": "/share/zigbee2mqtt",
  "external_converters": [],
  "devices": "devices.yaml",
  "groups": "groups.yaml",
  "homeassistant": true,
  "permit_join": true,
  "mqtt": {
    "base_topic": "zigbee2mqtt",
    "server": "mqtt://core-mosquitto",
    "user": "mqtt",
    "password": "mqtt"
  },
  "serial": {
    "adapter": "deconz",
    "port": "/dev/ttyACM0"
  },
  "advanced": {
    "log_level": "info",
    "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
  },
  "socat": {
    "enabled": false,
    "master": "pty,raw,echo=0,link=/dev/ttyZ2M,mode=777",
    "slave": "tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5",
    "restartdelay": 1.0,
    "initialdelay": 1.0,
    "options": "-d -d",
    "log": false
  }
}Debug information end
./run.sh: line 24: [Info] Configuration backup found in /share/zigbee2mqtt/.configuration.yaml.bk. Skipping config backup.: No such file or directory
[Info] Socat is DISABLED and not started
2020-12-12T22:46:17: PM2 log: Launching in no daemon mode
2020-12-12T22:46:17: PM2 log: App [npm:0] starting in -fork mode-
2020-12-12T22:46:17: PM2 log: App [npm:0] online
> [email protected] start /app
> node index.js
Zigbee2MQTT:info  2020-12-12 22:46:25: Logging to console and directory: '/share/zigbee2mqtt/log/2020-12-12.22-46-23' filename: log.txt
Zigbee2MQTT:info  2020-12-12 22:46:25: Starting Zigbee2MQTT version 1.16.2-dev (commit #dd68d1d)
Zigbee2MQTT:info  2020-12-12 22:46:25: Starting zigbee-herdsman (0.13.41)
CREATED DECONZ ADAPTER
Zigbee2MQTT:error 2020-12-12 22:46:37: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2020-12-12 22:46:37: Failed to start zigbee
Zigbee2MQTT:error 2020-12-12 22:46:37: Exiting...
Zigbee2MQTT:error 2020-12-12 22:46:37: undefined
npm
 ERR! code ELIFECYCLE
npm ERR! errno 1
npm
 ERR! [email protected] start: `node index.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-12-12T21_46_37_338Z-debug.log
2020-12-12T22:46:39: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2020-12-12T22:46:39: PM2 log: App [npm:0] starting in -fork mode-
2020-12-12T22:46:39: PM2 log: App [npm:0] online

So what could be the problem? the conbee II stick?

question

All 6 comments

I've just setup my conbee II stick.

Try changing

serial:
  adapter: deconz
  port: /dev/ttyACM0

to

serial:
  adapter: deconz
  port: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2258199-if00

@eric-zimmer were you able to test with the suggested setting update?

haven't had time to test, i'm ill at the moment, will test and report asap, sorry

Perhaps the serial port is in use by something else ? Make sure your deConz addon is not running or you don't have the Zigbee Home Automation integration setup.

I came here with a very similar problem. HA w/Supervisor on RPi4 and Rasbee2.

Thanks to @kind3r's hint about ZHA integration – I solved it. I totally forgot to remove it.

Can this issue be closed?

Was this page helpful?
0 / 5 - 0 ratings