Zigbee2MQTT Startet nicht NeuerDongel

Ich habe keine Ahnung
Mein Dongel Zigbee 3.0 USB Dongel Plus–ZBDongle-E
Gerätepfad:/dev/ttyACM0
Mosquitto broker ist an.
Konfiguration
serial

1Port: /dev/ttyACM0

2adapter: ezsp

3

Protokoll grün

[20:05:54] INFO: Preparing to start…
[20:05:55] INFO: Socat not enabled
[20:05:58] INFO: Starting Zigbee2MQTT…

Zigbee2MQTT:info 2024-01-29 20:08:40: Logging to console and directory: ‘/config/zigbee2mqtt/log/2024-01-29.20-08-40’ filename: log.txt
Zigbee2MQTT:info 2024-01-29 20:08:40: Starting Zigbee2MQTT version 1.35.1 (commit #unknown)
Zigbee2MQTT:info 2024-01-29 20:08:40: Starting zigbee-herdsman (0.30.0)
Zigbee2MQTT:error 2024-01-29 20:08:41: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-01-29 20:08:41: Failed to start zigbee
Zigbee2MQTT:error 2024-01-29 20:08:41: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions
Zigbee2MQTT:error 2024-01-29 20:08:41: Exiting…
Zigbee2MQTT:error 2024-01-29 20:08:41: Error: spawn udevadm ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:284:19)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:82:21)

Such mal im Forum nach dem Problem. Das haben einige und es gibt diverse Lösungsversuche. Leider ist öfter der Sonoff Dongle Plus E dabei. Dieser ist nur als experimentell eingestuft.

Das ist wohl so richtig, ist zwar in Englisch das ich soso verstehe, allerdings mag ich zum Verständniss der Sache Deutsch lieber.

Ich habe eigentlich alle nach Anleitung gemacht, nur weis ich nicht geuau wo "adapter: EZSP " eingetragen werden muss.
Ich habe es an die 2. Stelle gesetzt Bei Zigbee2MQTT (Konfiguration)
unter Serial

Port: /dev/ttyACM0
adapter: ezsp

oder?

Bist Du die Punkte Zigbee2MQTT fails to start
aus der Doku systematisch durchgegangen?

Hier mal eine Bsp. Konfiguration mit dem Zi-Stick von Aeotec, ist der gleiche Adaptertyp.

frontend:
  port: 8080
  auth_token: bEBGxkJUjHBBljJRHHzzjWzbs
homeassistant:
  legacy_entity_attributes: true
  status_topic: homeassistant/status
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://192.168.178.203:1883
  user: zigbee2mqtt
  password: strenggeheim
  keepalive: 60
  reject_unauthorized: true
  version: 4
  client_id: ZigBee2MQTT
serial:
  port: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
  adapter: ezsp
  baudrate: 115200
  rtscts: true

Noch ein Tipp am Rande. Verwende den serial/by-id Port. Erspart viel Ärger, da der tty Port sich jeder Zeit ändern kann, wenn Home Assistant neu gebootet wird und oder neue USB Stick dazu kommen, oder der USB Port gewechselt wird.

Gruß
Osorkon

Ich bin Laie und über 50 Jahre alt.
Wo stehen diese Einträge?

zigbee2mqtt/configuration.yaml ???

Ja ist die ZigBee2MQTT configuration.yaml.

Wichtig ist die richtige Konfiguration des Adapters und die des MQTT Broker‘s.
Passt eins von beiden nicht, verweigert ZigBeeMQTT seinen Dienst.

Gruß
Osorkon

Danke
Der Mosquitto broker läuft.
Da ich ja keine Ahnung habe, muss ich wohl noch die zigbee2mqtt/configuration.yaml ändern?

homeassistant: true
advanced:
  network_key:
    - 203
    - 82
    - 44
    - 38
    - 107
    - 113
    - 59
    - 166
    - 172
    - 103
    - 191
    - 210
    - 212
    - 214
    - 48
    - 106
  pan_id: 54503
  ext_pan_id:
    - 220
    - 154
    - 79
    - 165
    - 103
    - 98
    - 57
    - 112
mqtt:
  server: mqtt://core-mosquitto:1883
  user: addons
  password: the6ahghuWugie8kaiJeimiuchee6otheimohpha****************
frontend:
  port: 8099 
  serial:
  adapter: ezsp

vermutlich den Port? auf 8080 und Serial

:crayon:by HarryP:
Codezeilen formatiert (bitte über </> einbinden)
Passwort unkenntlich gemacht

Der Port 1883 für den MQTT Broker passt.
Der Port vom Frontend ist egal, kannst auswählen was Du willst, solange dieser frei ist.
Was sagt den das log von Broker? Konnte ZigBee2MQTT erfolgreich eine Verbindung aufbauen?

Ansonsten, vorausgesetzt die Zugangsdaten User und Passwort passen, versuche die Server Adresse über die IP Adresse von Home Assistant anzugeben

Gruß
Osorkon

@harryp

Das mit dem Password ist mir klar auch wenn ich es nicht vergeben habe.
Das Codezeile formatieren einbinden </> verstehe ich nicht

:crayon:by HarryP: Du hast eine Mail, darin habe ich es Dir erklärt

Erstelle Dir im Mosquito Broker Addon, diesen verwendest Du ja, oder. Einen eigenen User und Passwort für ZIgBee2MQTT und verwende diese Zugangsdaten in der configuration von ZigBee2MQTT.

Gruß
Osorkon

Mosquito Broker logg

2024-01-30 06:48:48: New connection from 172.30.32.2:49162 on port 1883.
2024-01-30 06:48:48: Client closed its connection.
2024-01-30 06:50:48: New connection from 172.30.32.2:52994 on port 1883.
2024-01-30 06:50:48: Client closed its connection.
2024-01-30 06:52:48: New connection from 172.30.32.2:53712 on port 1883.
2024-01-30 06:52:48: Client closed its connection.
2024-01-30 06:52:50: Saving in-memory database to /data//mosquitto.db.
2024-01-30 06:54:48: New connection from 172.30.32.2:39744 on port 1883.
2024-01-30 06:54:48: Client closed its connection.
2024-01-30 06:56:48: New connection from 172.30.32.2:44322 on port 1883.
2024-01-30 06:56:48: Client closed its connection.
2024-01-30 06:58:48: New connection from 172.30.32.2:60580 on port 1883.
2024-01-30 06:58:48: Client closed its connection.
2024-01-30 07:00:48: New connection from 172.30.32.2:47698 on port 1883.
2024-01-30 07:00:48: Client closed its connection.
2024-01-30 07:02:48: New connection from 172.30.32.2:44458 on port 1883.
2024-01-30 07:02:48: Client closed its connection.
2024-01-30 07:04:48: New connection from 172.30.32.2:40682 on port 1883.
2024-01-30 07:04:48: Client closed its connection.
2024-01-30 07:06:48: New connection from 172.30.32.2:60520 on port 1883.
2024-01-30 07:06:48: Client closed its connection.
2024-01-30 07:08:48: New connection from 172.30.32.2:45748 on port 1883.
2024-01-30 07:08:48: Client closed its connection.
2024-01-30 07:10:48: New connection from 172.30.32.2:49398 on port 1883.
2024-01-30 07:10:48: Client closed its connection.
2024-01-30 07:12:48: New connection from 172.30.32.2:42236 on port 1883.
2024-01-30 07:12:48: Client closed its connection.
2024-01-30 07:14:48: New connection from 172.30.32.2:47656 on port 1883.
2024-01-30 07:14:48: Client closed its connection.
2024-01-30 07:16:48: New connection from 172.30.32.2:59830 on port 1883.
2024-01-30 07:16:48: Client closed its connection.
2024-01-30 07:18:48: New connection from 172.30.32.2:48516 on port 1883.
2024-01-30 07:18:48: Client closed its connection.
2024-01-30 07:20:48: New connection from 172.30.32.2:34176 on port 1883.
2024-01-30 07:20:48: Client closed its connection.
2024-01-30 07:22:48: New connection from 172.30.32.2:53240 on port 1883.
2024-01-30 07:22:48: Client closed its connection.
2024-01-30 07:22:51: Saving in-memory database to /data//mosquitto.db.
2024-01-30 07:24:48: New connection from 172.30.32.2:46428 on port 1883.
2024-01-30 07:24:48: Client closed its connection.
2024-01-30 07:26:48: New connection from 172.30.32.2:39280 on port 1883.
2024-01-30 07:26:48: Client closed its connection.
2024-01-30 07:28:48: New connection from 172.30.32.2:59818 on port 1883.
2024-01-30 07:28:48: Client closed its connection.
2024-01-30 07:30:48: New connection from 172.30.32.2:39828 on port 1883.
2024-01-30 07:30:48: Client closed its connection.
2024-01-30 07:32:48: New connection from 172.30.32.2:44628 on port 1883.
2024-01-30 07:32:48: Client closed its connection.
2024-01-30 07:34:48: New connection from 172.30.32.2:53506 on port 1883.
2024-01-30 07:34:48: Client closed its connection.
2024-01-30 07:36:48: New connection from 172.30.32.2:45124 on port 1883.
2024-01-30 07:36:48: Client closed its connection.
2024-01-30 07:38:48: New connection from 172.30.32.2:57532 on port 1883.
2024-01-30 07:38:48: Client closed its connection.
2024-01-30 07:40:48: New connection from 172.30.32.2:56292 on port 1883.
2024-01-30 07:40:48: Client closed its connection.
2024-01-30 07:42:48: New connection from 172.30.32.2:54130 on port 1883.
2024-01-30 07:42:48: Client closed its connection.
2024-01-30 07:44:48: New connection from 172.30.32.2:47476 on port 1883.
2024-01-30 07:44:48: Client closed its connection.
2024-01-30 07:46:48: New connection from 172.30.32.2:48056 on port 1883.
2024-01-30 07:46:48: Client closed its connection.
2024-01-30 07:48:48: New connection from 172.30.32.2:54642 on port 1883.
2024-01-30 07:48:48: Client closed its connection.
2024-01-30 07:50:48: New connection from 172.30.32.2:47586 on port 1883.
2024-01-30 07:50:48: Client closed its connection.
2024-01-30 07:52:48: New connection from 172.30.32.2:33816 on port 1883.
2024-01-30 07:52:48: Client closed its connection.
2024-01-30 07:52:52: Saving in-memory database to /data//mosquitto.db.
2024-01-30 07:54:48: New connection from 172.30.32.2:33276 on port 1883.
2024-01-30 07:54:48: Client closed its connection.
2024-01-30 07:56:48: New connection from 172.30.32.2:56888 on port 1883.
2024-01-30 07:56:48: Client closed its connection.
2024-01-30 07:58:48: New connection from 172.30.32.2:54370 on port 1883.
2024-01-30 07:58:48: Client closed its connection.
2024-01-30 08:00:48: New connection from 172.30.32.2:36362 on port 1883.
2024-01-30 08:00:48: Client closed its connection.
2024-01-30 08:02:48: New connection from 172.30.32.2:43876 on port 1883.
2024-01-30 08:02:48: Client closed its connection.
2024-01-30 08:04:48: New connection from 172.30.32.2:42502 on port 1883.
2024-01-30 08:04:48: Client closed its connection.
2024-01-30 08:06:48: New connection from 172.30.32.2:53236 on port 1883.
2024-01-30 08:06:48: Client closed its connection.
2024-01-30 08:08:48: New connection from 172.30.32.2:57886 on port 1883.
2024-01-30 08:08:48: Client closed its connection.
2024-01-30 08:10:48: New connection from 172.30.32.2:42778 on port 1883.
2024-01-30 08:10:48: Client closed its connection.
2024-01-30 08:12:48: New connection from 172.30.32.2:34610 on port 1883.
2024-01-30 08:12:48: Client closed its connection.
2024-01-30 08:14:48: New connection from 172.30.32.2:48680 on port 1883.
2024-01-30 08:14:48: Client closed its connection.
2024-01-30 08:16:48: New connection from 172.30.32.2:59958 on port 1883.
2024-01-30 08:16:48: Client closed its connection.
2024-01-30 08:18:48: New connection from 172.30.32.2:51982 on port 1883.
2024-01-30 08:18:48: Client closed its connection.
2024-01-30 08:20:48: New connection from 172.30.32.2:50202 on port 1883.
2024-01-30 08:20:48: Client closed its connection.
2024-01-30 08:22:48: New connection from 172.30.32.2:49624 on port 1883.
2024-01-30 08:22:48: Client closed its connection.
2024-01-30 08:22:53: Saving in-memory database to /data//mosquitto.db.

@Osorkon

wie mache ich das?
unter Konfiguration finde ich nichts

Es kann keine Verbindung zum Broker hergestellt werden. Ich wette es liegt an den Zugangsdaten.
Wie erwähnt, erstelle Dir einen eigene User für ZigBe2MQTT.

Gruß
Osorkon

Ich nutze weder das Addon noch Mosquito als Broker.
Aber im Mosquito Broker Addon, im Reiter Konfiguration, kannst Du doch MQTT User anlegen.

Gruß
Osorkon

Ich habe es gefunden
aber

Fehler beim Speichern der Add-on Konfiguration, Invalid list for option ‘logins’ in Mosquitto broker (core_mosquitto). Got {‘logins’: {‘logins’: [{‘username’: …', ‘password’: ‘…’}]}, ‘require_certificate’: True, ‘certfile’: ‘fullchain.pem’, ‘keyfile’: ‘privkey.pem’, ‘customize’: {‘active’: False, ‘folder’: ‘mosquitto’}}

kommt

Schaue Dir doch mal die Dokumentation von Addon an. Da gibt es doch ein Bsp. wie User angelegt werden.
Wie gesagt, nutze das Addon nicht.

Gruß
Osorkon

ich mache erst mal weiter und lese

So
User und Password sollten Passen in der ( zigbee2mqtt/configuration.yaml )

es fehlt Serial:

was kommt da rein

Ich hatte das auch wie du zuerst über

gelöst, aber dann das Problem, dass sich dieser Port geändert hatte, als ich etwas einen weiteren USB-Port angeschlossen hatte.
Dann habe ich über Einstellungen> System->Hardware → Gesamte Hardware den direkten Pfad herausgesucht und entsprechend im Z2M Add-on unter serial so eingetragen:

port: >-
  /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_XXXXXXXXXXXXXX-if00
adapter: ezsp

Den Eintrag ezsp benötigst du, damit das Add-on weiß, dass du den “port: >-
/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220810170354-if00
adapter: ezsp” Chipsatz verwendest

Für den MQTT Broker gilt bzgl. der User-Einrichtung eigentlich:

Create a new user for MQTT via your Home Assistant’s frontend SettingsPeopleUsers , (i.e. not on Mosquitto’s Configuration tab). Notes:

1. This name cannot be homeassistant or addons, those are reserved usernames.
2. If you do not see the option to create a new user, ensure that Advanced Mode is enabled in your Home Assistant profile.

D.h. in der MQTT Broker Addon Konfiguration wird kein User eingerichtet.

Für Zigbee2MQTT gilt bzgl. MQTT Broker Zugang eigentlich:

Irgendwelche manuellen User-Einrichtungen per irgendeiner *.yaml-Datei waren früher einmal notwendig. OK man kann es auch heute noch so machen, aber es entspricht halt nicht mehr der Standard-Vorgehensweise. :slightly_smiling_face:

VG Jim

Irgenwie versteheich das nicht.
ambesten zigbee2mqtt löschen und von vorne anfangen?
yaml so lassen (nicht bearbeiten)

zigbee2mqtt/configuration.yaml

homeassistant: true
advanced:
  network_key:
    - 203
    - 82
    - 44
    - 38
    - 107
    - 113
    - 59
    - 166
    - 172
    - 103
    - 191
    - 210
    - 212
    - 214
    - 48
    - 106
  pan_id: 54503
  ext_pan_id:
    - 220
    - 154
    - 79
    - 165
    - 103
    - 98
    - 57
    - 112
mqtt:
  server: mqtt://core-mosquitto:1883
  user: homeassistant
  password: ..........
frontend:
  port: 8099 
  serial:
  adapter: ezsp


Wo finde ich die auf deinen Bild gezeigten sachen?

Ich hatte bis gerade eben noch nie in die configuration.yaml von z2m reingeschaut.
Aber ich habe auch kein network_key, pan_id einträge.

Ich weiß nur nicht, ob ein Löschen und neu installieren alles resettet.
Ich hatte das damals alles nur unter dem Add-on eingerichtet.
An die Einstellungen auf dem Bild von @Jim_OS kommst du, wenn du es Z2M in der Seitenleiste anzeigen lässt, oder