Can't start zigbee2mqtt

Hi there,

new member but not a new user - I got my HA running for a couple of months now. Not a too big configuration yes as a matter of smart devices.

My system is running on a Pi4/8GB.

I tried to install Zigbee2mqtt following these tutorials

The Zigbee2mqtt tab is only black and the system protocol keeps showing

21-08-13 16:48:07 ERROR (MainThread) [supervisor.api.ingress] Ingress error: Cannot connect to host 172.30.33.4:8099 ssl:default [Connect call failed ('172.30.33.4', 8099)]

I ran out of ideas now how to solve this. Could someone help me here please?

Thank you
fahrer17

What do the logs of the add-on say ?

Sorry, I forgot to mention this :man_facepalming:

Zigbee2MQTT:error 2021-08-13 17:01:21: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2021-08-13 17:01:21: Failed to start zigbee
Zigbee2MQTT:error 2021-08-13 17:01:21: Check https://www.zigbee2mqtt.io/information/FAQ.html#help-zigbee2mqtt-fails-to-start for possible solutions
Zigbee2MQTT:error 2021-08-13 17:01:21: Exiting...
Zigbee2MQTT:error 2021-08-13 17:01:22: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)

My Zigbee2mqtt version is 1.21.0-1 btw.

So, your adapter is not seen by the addon so it won’t start. What adapter do you have ?
Check the hardware path of it, and put it correctly in the addon configuration.

Did you specify the correct port ?

I had the same issue. I was using a CC2531 usb thingy.
I uninstalled it, uninstalled the zigbee2mqtt app.
I then installed the CC2531, and then installed the integration again and all was ok.

It’s a Phoscon ConBee II using an USB cable, tried a USB2 port and a USB3 port with no luck.

(Wanted to add this in my initial post as well :flushed:)

Are you sure of the port you put in the addon config ?
And did you added :

serial:
  adapter: deconz

to your config ? as stated on z2m docs

As this is not explicitly mentioned in these tutorials probably not. How do I do this?

Please share your addon config (remove any login/password !)

About the port, you can find it in Supervisor => System => Host => 3 dots menu => hardware
Filter by “tty” and post a screenshot :slight_smile:

My Zigbee2mqtt config:

data_path: /config/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://192.168.178.223:1883
  user: mqtt_user
  password: ***
serial:
  port: >-
    /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2418267-if00
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

I tried the /by-id-path as well as /dev/ttyACM0

So, you are missing that part :

serial:
  adapter: deconz

At the end of the “notes” part. And as you will see, you have the exact error message :smiley:

It would give for you :

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

Port looks good with serial by id. (and it’s better to use this !)

1 Like

Sorry, I missed this hint from you.

Added it and according to my logs I got a little further.

And I you where successful! :+1: :grinning:

Thank you for your quick support! I knew HA would be the right choice :wink:
And sorry for the missing information - my kids were around :slight_smile:

1 Like

Nice, problem solved then. I’ll sleep better tonight !

Cheers !

Happy zigbee :smiley:

So will I :rofl:

1 Like