Zigbee2MQTT add-on not start

So i have installed on a proxmox vm a HASSIO.
I bought a SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2.
My HA seens the stick i tried to install Zigbee2MQTT add-on so i can manage my IKEA lightbulb but when i start the MQTT it gives an error:
Confs
Zigbee2MQTT YAML

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
  user: my_user
  password: "my_password"
serial:
  port: >-
    /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231007192042-if00

Broker yaml:

logins: []
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
customize:
  active: false
  folder: mosquitto

(on default, aswell the mqtt integration) zha is deleted
i get this error:

[23:17:14] INFO: Preparing to start...
[23:17:14] INFO: Socat not enabled
[23:17:14] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2024-03-22 23:17:16: Logging to console and directory: '/config/zigbee2mqtt/log/2024-03-22.23-17-15' filename: log.txt
Zigbee2MQTT:info  2024-03-22 23:17:16: Starting Zigbee2MQTT version 1.36.0 (commit #unknown)
Zigbee2MQTT:info  2024-03-22 23:17:16: Starting zigbee-herdsman (0.35.1)
Zigbee2MQTT:info  2024-03-22 23:17:20: zigbee-herdsman started (resumed)
Zigbee2MQTT:info  2024-03-22 23:17:20: Coordinator firmware version: '{"meta":{"maintrel":"3 ","majorrel":"6","minorrel":"10","product":8,"revision":"6.10.3.0 build 297"},"type":"EZSP v8"}'
Zigbee2MQTT:info  2024-03-22 23:17:20: Currently 0 devices are joined:
Zigbee2MQTT:info  2024-03-22 23:17:20: Zigbee: disabling joining new devices.
Zigbee2MQTT:info  2024-03-22 23:17:20: Connecting to MQTT server at mqtt://localhost:1883
Zigbee2MQTT:error 2024-03-22 23:17:20: MQTT error: connect ECONNREFUSED 127.0.0.1:1883
Zigbee2MQTT:error 2024-03-22 23:17:20: MQTT failed to connect, exiting...
Zigbee2MQTT:info  2024-03-22 23:17:20: Stopping zigbee-herdsman...
Zigbee2MQTT:info  2024-03-22 23:17:21: Stopped zigbee-herdsman

note i havent masked the password it i my actual yaml idk what user/pass it is asking i guess thats a default because i see it everywhere

Are you using the mosquitto an z2m add-ons?

Change the server to:

server: mqtt://core-mosquitto

And you’ll probably need the adapter type after the serial port. V2 of that adapter is:

adapter: ezsp

1 Like

Okay atleast a now error :smiley: :

 INFO: Preparing to start...
[08:05:26] INFO: Socat not enabled
[08:05:27] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2024-03-23 08:05:28: Logging to console and directory: '/config/zigbee2mqtt/log/2024-03-23.08-05-28' filename: log.txt
Zigbee2MQTT:info  2024-03-23 08:05:28: Starting Zigbee2MQTT version 1.36.0 (commit #unknown)
Zigbee2MQTT:info  2024-03-23 08:05:28: Starting zigbee-herdsman (0.35.1)
Zigbee2MQTT:info  2024-03-23 08:05:32: zigbee-herdsman started (resumed)
Zigbee2MQTT:info  2024-03-23 08:05:32: Coordinator firmware version: '{"meta":{"maintrel":"3 ","majorrel":"6","minorrel":"10","product":8,"revision":"6.10.3.0 build 297"},"type":"EZSP v8"}'
Zigbee2MQTT:info  2024-03-23 08:05:32: Currently 0 devices are joined:
Zigbee2MQTT:info  2024-03-23 08:05:32: Zigbee: disabling joining new devices.
Zigbee2MQTT:info  2024-03-23 08:05:33: Connecting to MQTT server at mqtt://core-mosquitto:1883
Zigbee2MQTT:error 2024-03-23 08:05:33: MQTT error: Connection refused: Not authorized
Zigbee2MQTT:error 2024-03-23 08:05:33: MQTT failed to connect, exiting...
Zigbee2MQTT:info  2024-03-23 08:05:33: Stopping zigbee-herdsman...
Zigbee2MQTT:info  2024-03-23 08:05:33: Stopped zigbee-herdsman

Do i need to create a user in HA? Or need to change some settings in the MQTT integrations?

Damn okay i got it it was a user issue

Any home assistant user will authenticate to the mosquitto soon. I personally add a specific user/pw in HA to use for mqtt.

Again if you are using the addon for z2m you don’t have to put anything in the mqtt section in the addon config. It works automatically.