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
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.
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
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.
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.
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.
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:
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 Settings → People → Users , (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.
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