ich habe meinen HAGreen am Anfang folgendes installiert:
Advanced & Web Terminal, dann SH neustart. HACS nach Videoanleitung installiert.
mqtt-Broker, Benutzer angelegt mit Passwort ohne Admin, wieder neustart.
Bei Geräte/Dienste mqtt-Broker auf Konfigurieren und dann neu konfigurieren angewählt.
Benutzername und PW eingegeben auf weiter und ok geklickt. Danach wieder neustart.
Nach dem Neustart mqtt auf start gedrückt.
Protokoll zeigt an:
[14:59:11] INFO: SSL is not enabled 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) s6-rc: info: service legacy-services successfully started [14:59:13] INFO: Starting NGINX for authentication handling… [14:59:14] INFO: Starting mosquitto MQTT broker… 2024-12-20 14:59:14: Warning: Mosquitto should not be run as root/administrator. 2024-12-20 14:59:14: mosquitto version 2.0.18 starting 2024-12-20 14:59:14: Config loaded from /etc/mosquitto/mosquitto.conf. 2024-12-20 14:59:14: Loading plugin: /usr/share/mosquitto/go-auth.so 2024-12-20 14:59:14: ├── Username/password checking enabled. 2024-12-20 14:59:14: ├── TLS-PSK checking enabled. 2024-12-20 14:59:14: └── Extended authentication not enabled. 2024-12-20 14:59:14: Opening ipv4 listen socket on port 1883. 2024-12-20 14:59:14: Opening ipv6 listen socket on port 1883. 2024-12-20 14:59:14: Opening websockets listen socket on port 1884. 2024-12-20 14:59:14: mosquitto version 2.0.18 running 2024-12-20 14:59:14: New connection from ::1:38818 on port 1883. 2024-12-20 14:59:14: Client disconnected due to protocol error. [14:59:17] INFO: Successfully send discovery information to Home Assistant. 2024-12-20 14:59:18: New connection from 172.30.32.1:41757 on port 1883. 2024-12-20 14:59:18: New client connected from 172.30.32.1:41757 as 7i0u1O9c1B3twZFKXOJJZC (p2, c1, k60, u’mqtt-user’). [14:59:18] INFO: Successfully send service information to the Supervisor. 2024-12-20 14:59:37: New connection from 172.30.32.2:34516 on port 1883. 2024-12-20 14:59:37: Client closed its connection.
2024-12-20 15:01:37: New connection from 172.30.32.2:60972 on port 1883. 2024-12-20 15:01:37: Client closed its connection.
2024-12-20 15:03:37: New connection from 172.30.32.2:44586 on port 1883. 2024-12-20 15:03:37: Client closed its connection
Die letzten zwei Zeilen erscheinen alle 2 Minuten.
Frage an euch: Hat jemand ein Tipp zur Lösung, ich bin schon am Verzweifeln.
Bei den Geräte und Integrationen, würde ich dann einmal den Broker entfernen und neu hinzufügen. Da du MQTT als Add-On installiert hast, brauchst du bei Benutzername und Kennwort nichts eingeben !
Gelöscht habe ich es nun, Und den HA wieder neu gestartet.
Mit den Kennwörter gebe ich dir recht.
Bei dir auf den Bild von der Basiskonfiguration hast du unter Nr.1 u.2 die selben Wörter stehen, ich habe nur eine Zeile da stehen.
Es geht doch eigentlich alles. Dein Tasmota_SmartMeter hat die falschen Benutzerdaten für den Broker eingetragen. Du musst in den Tasmota Settings, den Username und Passwort korrekt einstellen, dann sollte es gehen.