Hassio-zigbee2mqtt: Zigbee2mqtt refuses to see / connect to conbee II

Created on 9 Jan 2021  ·  15Comments  ·  Source: danielwelch/hassio-zigbee2mqtt

Zigbee2mqtt refuses to recognize the the Conbee II usb

Deconz can see and connect to the conbee II no issues.
Zigbeemqtt wont see /connect to the conbee II
But....if i have deconz running....and then start zigbeemqtt....zigbeemqttt reports "device busy"

Operating environment : HassOS vm on qnap.

Description of problem:
I can see the conbee II in /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE*-if00 and /devttyACM0

I have tried both paths above for the configuration, no luck

Your logs from Home Assistant

Zigbee2MQTT:info  2021-01-09 12:51:36: Starting Zigbee2MQTT version 1.17.0 (commit #1.17.0)
Zigbee2MQTT:info  2021-01-09 12:51:36: Starting zigbee-herdsman (0.13.46)
Zigbee2MQTT:error 2021-01-09 12:51:55: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2021-01-09 12:51:55: Failed to start zigbee
Zigbee2MQTT:error 2021-01-09 12:51:55: Exiting...
Zigbee2MQTT:error 2021-01-09 12:51:55: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.<anonymous> (/zigbee2mqtt-1.17.0/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:94:31)
    at Generator.throw (<anonymous>)
    at rejected (/zigbee2mqtt-1.17.0/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:25:65)
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/2021-01-08T23_51_55_944Z-debug.log
2021-01-09T12:51:57: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2021-01-09T12:51:57: PM2 log: App [npm:0] starting in -fork mode-
2021-01-09T12:51:57: PM2 log: App [npm:0] online
> [email protected] start /zigbee2mqtt-1.17.0
> node index.js

** Config

serial:
  port: >-
    /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE*****-if00
advanced:
  log_level: info

Most helpful comment

See https://www.zigbee2mqtt.io/information/supported_adapters.html and scroll down to Conbee II for more information regarding this issue and how to solve it.

All 15 comments

same issue here!
I'm new to this - but if you need any information - i'd like to help

I've tried a whole lot more, a couple of times.

Set up: RaspberryPi 4 B, Conbee 2 ; Hass.io, Mosquitto, Zigbee2mqtt (individual add-on by danielwelch)
Problem: After setup and configuration the frontend shows: 502 Bad Gateway / Problem to connect to USB-Serial Port?!

Zigbee2mqtt keeps on telling me (LOG):

Zigbee2MQTT:info 2021-01-09 00:53:52: Starting zigbee-herdsman (0.13.46)
Zigbee2MQTT:error 2021-01-09 00:54:12: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2021-01-09 00:54:12: Failed to start zigbee
Zigbee2MQTT:error 2021-01-09 00:54:12: Exiting...
Zigbee2MQTT:error 2021-01-09 00:54:12: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter. (/zigbee2mqtt-1.17.0/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:94:31)
at Generator.throw ()
at rejected (/zigbee2mqtt-1.17.0/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:25:65)

@&#&#%@&@. figured out i needed adapter: deconz in the config file @benwedel-snabble

@&#&#%@&@. figured out i needed adapter: deconz is the config file @benwedel-snabble

Sorry, what do you mean?

See https://www.zigbee2mqtt.io/information/supported_adapters.html and scroll down to Conbee II for more information regarding this issue and how to solve it.

Wow!!!! Thanks a lot - it‘s actually working with that! ✌🏽🙌🏽

Can this issue be closed?

I have the right serial: port & adapter, but still getting these errors... very annoying...

I have the same isssue :(

@JaCoLJcL @kvmgz can you post logs for your errors? You might have different problems than the missing settings for adapter as the poster above.

Same issue here too unfortunately. Posted my logs here @ciotlosm: https://github.com/danielwelch/hassio-zigbee2mqtt/issues/494#issuecomment-791962197

Same issue here too unfortunately. Posted my logs here @ciotlosm: #494 (comment)

Your error is different : Error: Error while opening serialport 'Error: Error: Resource busy, cannot open /dev/ttyACM1

Paste your config file for the addon

I have the same problem, I found out that I have to turn off DeConz and then run zigbee2mqtt.

@WesNz Here's my config file:

data_path: /config/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://core-mosquitto'
  user: [REDACTED]
  password: [REDACTED]
serial:
  port: /dev/ttyACM1
  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: {}
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

@kraton77 That's interesting—I have ZHA running on a completely different stick entirely (that's incompatible with Z2MQTT). Still, I've never configured ZHA with the Conbee I'm trying to run z2m on.

@mg0716

here's my config file below ...i see your Port: is different?
the main thing that strikes me with your error message is its saying that your device is busy...which means a) some app or something is using the device.. or b) you are pointing to the wrong device?

maybe easiest to test without the usb first and see if u getting the same error?

data_path: /share/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://192.168.178.17:1883'
  user: meh
  password: meh
serial:
  adapter: deconz
  port: >-
    /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2253437-if00
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

Thanks @WesNz. Now I feel like an absolute idiot. It turns out that I never turned off Deconz 😑🙄🤦🏼‍♂️. Safe to say, it's running now lol.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

knutasund picture knutasund  ·  11Comments

backcountrymountains picture backcountrymountains  ·  6Comments

gualostly picture gualostly  ·  12Comments

highground88 picture highground88  ·  7Comments

danielwelch picture danielwelch  ·  8Comments