Problem with Zigbee2mqtt and the sonoff zigbee dongle version e

This is the log of zigbee2mqtt. Im thankful for your help.

[19:50:03] INFO: Preparing to start...
[19:50:04] INFO: Socat not enabled
[19:50:06] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2023-02-04 19:50:11: Logging to console and directory: '/config/zigbee2mqtt/log/2023-02-04.19-50-11' filename: log.txt
Zigbee2MQTT:info  2023-02-04 19:50:11: Starting Zigbee2MQTT version 1.30.0 (commit #unknown)
Zigbee2MQTT:info  2023-02-04 19:50:11: Starting zigbee-herdsman (0.14.89)
Zigbee2MQTT:info  2023-02-04 19:50:15: zigbee-herdsman started (resumed)
Zigbee2MQTT:info  2023-02-04 19:50:15: Coordinator firmware version: '{"meta":{"maintrel":"3 ","majorrel":"6","minorrel":"10","product":8,"revision":" build 297"},"type":"EZSP v8"}'
Zigbee2MQTT:info  2023-02-04 19:50:15: Currently 0 devices are joined:
Zigbee2MQTT:warn  2023-02-04 19:50:15: `permit_join` set to  `true` in configuration.yaml.
Zigbee2MQTT:warn  2023-02-04 19:50:15: Allowing new devices to join.
Zigbee2MQTT:warn  2023-02-04 19:50:15: Set `permit_join` to `false` once you joined all devices.
Zigbee2MQTT:info  2023-02-04 19:50:15: Zigbee: allowing new devices to join.
Zigbee2MQTT:info  2023-02-04 19:50:15: Connecting to MQTT server at mqtt://core-mosquitto:1883
Zigbee2MQTT:error 2023-02-04 19:50:16: MQTT error: Connection refused: Not authorized
Zigbee2MQTT:error 2023-02-04 19:50:16: MQTT failed to connect, exiting...
Zigbee2MQTT:info  2023-02-04 19:50:16: Stopping zigbee-herdsman...
Zigbee2MQTT:info  2023-02-04 19:50:16: Stopped zigbee-herdsman

This is your problem. Not the dongle.
How did you set this up. Bit more info required:

This is my Setup of zigbee2mqtt: 
homeassistant: true
  server: mqtt://core-mosquitto:1883
  user: mqtt-user
  password: haos
  keepalive: 60
  reject_unauthorized: true
  version: 4
  port: >-
  adapter: ezsp
  port: 8099
  homeassistant_legacy_entity_attributes: false
  legacy_api: false
  legacy_availability_payload: false
  legacy: false
permit_join: true

In the Mosquitto broker i have not done anything.

Plz use the code tag to post config. Makes it much more readable.
So in your MQTT addon is there a mqtt-user setup with that password?

1 Like

In the mosquitto addon there is only:

active: false
folder: mosquitto

Looking at my own config i noticed MQTT does not require a login. And i think mqttuser is for the broker to connect to HA, not the otherway around.

  base_topic: zigbee2mqtt
  port: >-

Besides missing the base topic i think you can remove everything beside the base topic.
You did not specify how your HA is installed? OS? Supervised? Docker? Magic?

Zigbee2mqtt started!
I have put this in the config:

base_topic: zigbee2mqtt
user: "mqtt-user"
passwort: "haos"
server: mqtt://core-mosquitto:1883

The “…” were missing.
But now i am not able to pair my ikea tradfri light bulbes and dimmer in zigbee2mqtt

I am using Home assistant supervised on a dell wyse 3040.