Hallo zusammen,
ich muss leider mal wieder nerven, denn dieses grundlegende Problem, das ich von Anfang an habe, wird nicht besser.
Mittlerweile habe ich - keine Ahnung, wie ich das gemacht habe - wenigstens in der Tasmota-Integration und somit auf der Übersicht Daten stehen. Der Mosquitto-Broker ist weiterhin nicht mein “Freund”. Gefühlt 100 x Trial and error, die ganz Palette inklusive Prüfung eines anderen Kabels, nix zu machen!
Was ich allerdings anbieten kann, ist ein aktueller Auszug aus dem Mosquitto-Log (bei Addons) von vorhin:
> [15:12:48] INFO: e[32mSSL is not enablede[0m
> cont-init: info: /etc/cont-init.d/mosquitto.sh exited 0
> cont-init: info: running /etc/cont-init.d/nginx.sh
> cont-init: info: /etc/cont-init.d/nginx.sh exited 0
> s6-rc: info: service legacy-cont-init successfully started
> s6-rc: info: service legacy-services: starting
> services-up: info: copying legacy longrun mosquitto (no readiness notification)
> services-up: info: copying legacy longrun nginx (no readiness notification)
> [15:12:49] INFO: e[32mStarting NGINX for authentication handling...e[0m
> s6-rc: info: service legacy-services successfully started
> [15:12:49] INFO: e[32mStarting mosquitto MQTT broker...e[0m
> 2025-05-05 15:12:49: Warning: Mosquitto should not be run as root/administrator.
> 2025-05-05 15:12:49: mosquitto version 2.0.20 starting
> 2025-05-05 15:12:49: Config loaded from /etc/mosquitto/mosquitto.conf.
> 2025-05-05 15:12:49: Loading plugin: /usr/share/mosquitto/go-auth.so
> 2025-05-05 15:12:49: ├── Username/password checking enabled.
> 2025-05-05 15:12:49: ├── TLS-PSK checking enabled.
> 2025-05-05 15:12:49: └── Extended authentication not enabled.
> 2025-05-05 15:12:49: Opening ipv4 listen socket on port 1883.
> 2025-05-05 15:12:49: Opening ipv6 listen socket on port 1883.
> 2025-05-05 15:12:49: Opening websockets listen socket on port 1884.
> 2025-05-05 15:12:49: mosquitto version 2.0.20 running
> 2025-05-05 15:12:49: New connection from ::1:50382 on port 1883.
> 2025-05-05 15:12:49: Client <unknown> disconnected due to protocol error.
> [15:12:49] INFO: e[32mSuccessfully send discovery information to Home Assistant.e[0m
> [15:12:50] INFO: e[32mSuccessfully send service information to the Supervisor.e[0m
> 2025-05-05 15:12:52: New connection from 172.30.32.1:53507 on port 1883.
> 2025-05-05 15:12:52: New client connected from 172.30.32.1:53507 as 0xMCaE78MHnenOGpBclESg (p2, c1, k60, u'Tasmi').
> 2025-05-05 15:12:54: New connection from 192.168.178.81:64625 on port 1883.
> 2025-05-05 15:12:54: New client connected from 192.168.178.81:64625 as DVES_F81B38 (p2, c1, k30, u'Tasmi').
> 2025-05-05 15:14:30: New connection from 172.30.32.2:43578 on port 1883.
> 2025-05-05 15:14:30: Client <unknown> closed its connection.
> 2025-05-05 15:16:30: New connection from 172.30.32.2:36760 on port 1883.
> 2025-05-05 15:16:30: Client <unknown> closed its connection.
Ich habe übrigens in der Fritz-Box eine Portfreigabe auf 1883 für meinen HichiLesekopf erstellt. Ebenso sind die Geräte “homeassistant” (Mini-PC) und Lesekopf von Tasmota mit statischen IPs eingerichtet, die auf 80 bzw. 81 enden. Die eine IP vom Log kommt definitiv nicht vor und dieses wiederholte Anmelden und Verbindung schließen geht ewig weiter.
Fällt jemand etwas auf, das geändert werden muss, oder gibt es da eine yaml hinzuzufügen? Vielen Dank im Voraus.
by HarryP: Code-/Logzeilen formatiert (bitte immer in </> einbinden)