# Brauche Hilfe bin am verzweifeln

**URL:** <https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732>\
**Category:** MQTT\
**Created:** [20. Dezember 2024 um 14:12 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732 "2024-12-20T14:12:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paraglider](https://community-smarthome.com/user_avatar/community-smarthome.com/paraglider/32/785_2.png) [@Paraglider](https://community-smarthome.com/u/Paraglider)\
**Post date:** [20. Dezember 2024 um 14:12 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/1 "2024-12-20T14:12:32Z")

</div>

Hallo Freude,

ich habe meinen HAGreen am Anfang folgendes installiert:

1. Advanced & Web Terminal, dann SH neustart. HACS nach Videoanleitung installiert.

2. mqtt-Broker, Benutzer angelegt mit Passwort ohne Admin, wieder neustart.

3. Bei Geräte/Dienste mqtt-Broker auf Konfigurieren und dann neu konfigurieren angewählt.

4. Benutzername und PW eingegeben auf weiter und ok geklickt. Danach wieder neustart.

5. Nach dem Neustart mqtt auf start gedrückt.

6. 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.

Gruß Heinz

---

<div class="post-metadata">

**Author:** ![smarthomeandmore](https://community-smarthome.com/user_avatar/community-smarthome.com/smarthomeandmore/32/176_2.png) [@smarthomeandmore](https://community-smarthome.com/u/smarthomeandmore)\
**Post date:** [20. Dezember 2024 um 14:22 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/2 "2024-12-20T14:22:37Z")

</div>

Wie sieht deine Konfiguration vom Mosquitto Broker aus ?  
Bei Login sollte deine Eingabe ungefähr so sein:

```auto
- username: deinusername
  password: deinpassword

```

Verwende nicht root oder administrator als user.

Ich würde auch die beiden Schalter noch einschalten, so dass das Add-On beim Start von HA auch automatisch startet

 ![image](https://community-smarthome.com/uploads/default/original/1X/4dd4232a84fc187225c78d7b7ed214462bce788f.png)

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 !

 ![image](https://community-smarthome.com/uploads/default/original/1X/9aa705facac2086b3c7f8c44644276cc0b4617ba.png)

 ![image](https://community-smarthome.com/uploads/default/original/1X/183b1e4ee03e1652002bb10405e82f2b3ce3aeaf.png)

 ![image](https://community-smarthome.com/uploads/default/original/1X/b5adbdb6b6a413f9e8334aa17381322ab4ae17d2.png)

Hier mal ein Beispiel, wie das aussehen sollte.

---

<div class="post-metadata">

**Author:** ![Paraglider](https://community-smarthome.com/user_avatar/community-smarthome.com/paraglider/32/785_2.png) [@Paraglider](https://community-smarthome.com/u/Paraglider)\
**Post date:** [20. Dezember 2024 um 14:38 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/3 "2024-12-20T14:38:19Z")

</div>

> [@smarthomeandmore](#):
>
> Wie sieht deine Konfiguration vom Mosquitto Broker aus ?  
> Bei Login sollte deine Eingabe ungefähr so sein:

Benutzername: mqtt-user  
Passwort: mqtt-user

> [@smarthomeandmore](#):
>
> Ich würde auch die beiden Schalter noch einschalten, so dass das Add-On beim Start von HA auch automatisch startet

So stehen sie.

> [@smarthomeandmore](#):
>
> 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 !

Du meinst deinstallieren? Und wo finde ich das Add-on?

Bin gespannt,  
Heinz

---

<div class="post-metadata">

**Author:** ![smarthomeandmore](https://community-smarthome.com/user_avatar/community-smarthome.com/smarthomeandmore/32/176_2.png) [@smarthomeandmore](https://community-smarthome.com/u/smarthomeandmore)\
**Post date:** [20. Dezember 2024 um 14:42 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/4 "2024-12-20T14:42:21Z")

</div>

Wenn der MQTT-Broker läuft, dann kannst du unter Geräte und Dienste auf MQTT gehen und dann auf die drei Punkte

 ![image](https://community-smarthome.com/uploads/default/original/1X/cb6215fce4c4119700fadf460c95bcc8127ac8d8.png)

Dort kannst du dann auch löschen.

Und du musst nicht das Add-On löschen, sondern die Integration.

Vielleicht kannst du auch noch ein Screenshot deiner Einstellungen im Add-On  
zur Verfügung stellen.

Grundsätzlich sollte man übrigens sichere Kennwörter verwenden 😉

Hier nochmal eine Basiskonfiguration vom Mosquitto Broker

 ![image](https://community-smarthome.com/uploads/default/original/1X/ce67357a42913b49d3b6ccbeb2cc524118d2e332.png)

---

<div class="post-metadata">

**Author:** ![Paraglider](https://community-smarthome.com/user_avatar/community-smarthome.com/paraglider/32/785_2.png) [@Paraglider](https://community-smarthome.com/u/Paraglider)\
**Post date:** [20. Dezember 2024 um 15:03 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/5 "2024-12-20T15:03:17Z")

</div>

> [@smarthomeandmore](#):
>
> Und du musst nicht das Add-On löschen, sondern die Integration.
> 
> Vielleicht kannst du auch noch ein Screenshot deiner Einstellungen im Add-On  
> zur Verfügung stellen.
> 
> Grundsätzlich sollte man übrigens sichere Kennwörter verwenden 😉

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.

 ![Bildschirmfoto vom 2024-12-20 16-01-33](https://community-smarthome.com/uploads/default/original/1X/ca1e5c7ea32ef9f15fb89fad88f62fce04967d60.png)

Ich hoffe das mit Bild klappt.

---

<div class="post-metadata">

**Author:** ![smarthomeandmore](https://community-smarthome.com/user_avatar/community-smarthome.com/smarthomeandmore/32/176_2.png) [@smarthomeandmore](https://community-smarthome.com/u/smarthomeandmore)\
**Post date:** [20. Dezember 2024 um 15:13 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/6 "2024-12-20T15:13:56Z")

</div>

Jetzt trage mal bei 1 , username und Kennwort ein, so wie in meinem Beispiel

---

<div class="post-metadata">

**Author:** ![Paraglider](https://community-smarthome.com/user_avatar/community-smarthome.com/paraglider/32/785_2.png) [@Paraglider](https://community-smarthome.com/u/Paraglider)\
**Post date:** [20. Dezember 2024 um 15:17 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/7 "2024-12-20T15:17:49Z")

</div>

Zeigt einen Fehler beim speichern.

 ![Bildschirmfoto vom 2024-12-20 16-16-09](https://community-smarthome.com/uploads/default/original/1X/233a167bd1ebe1a35cce701ac72973801bce88d4.png)

---

<div class="post-metadata">

**Author:** ![smarthomeandmore](https://community-smarthome.com/user_avatar/community-smarthome.com/smarthomeandmore/32/176_2.png) [@smarthomeandmore](https://community-smarthome.com/u/smarthomeandmore)\
**Post date:** [20. Dezember 2024 um 15:29 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/8 "2024-12-20T15:29:23Z")

</div>

Kopiere es bitte mal aus dem Codeblock, Yaml ist da sehr empfindlich, was falsche Einrückungen betrifft

---

<div class="post-metadata">

**Author:** ![Paraglider](https://community-smarthome.com/user_avatar/community-smarthome.com/paraglider/32/785_2.png) [@Paraglider](https://community-smarthome.com/u/Paraglider)\
**Post date:** [20. Dezember 2024 um 15:34 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/9 "2024-12-20T15:34:44Z")

</div>

Ich nehme an du meinst den yaml-Code. Da steht nicht viel drinnen. Oder meinst du etwas anderes?

 ![Bildschirmfoto vom 2024-12-20 16-31-48](https://community-smarthome.com/uploads/default/original/1X/d2dbee476b35756e1bedf19feff77274a1a1cfaa.png)

---

<div class="post-metadata">

**Author:** ![smarthomeandmore](https://community-smarthome.com/user_avatar/community-smarthome.com/smarthomeandmore/32/176_2.png) [@smarthomeandmore](https://community-smarthome.com/u/smarthomeandmore)\
**Post date:** [20. Dezember 2024 um 15:38 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/10 "2024-12-20T15:38:38Z")

</div>

Bin gerade am Handy und unterwegs 😉ich hatte dir oben ein Beispiel für Passwort und User gegeben, kopiere das bitte mal bei 1 rein.

---

<div class="post-metadata">

**Author:** ![smarthomeandmore](https://community-smarthome.com/user_avatar/community-smarthome.com/smarthomeandmore/32/176_2.png) [@smarthomeandmore](https://community-smarthome.com/u/smarthomeandmore)\
**Post date:** [20. Dezember 2024 um 15:40 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/11 "2024-12-20T15:40:05Z")

</div>

> [@Brauche Hilfe bin am verzweifeln](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/2):
>
> Wie sieht deine Konfiguration vom Mosquitto Broker aus ? Bei Login sollte deine Eingabe ungefähr so sein: - username: deinusername password: deinpassword Verwende nicht root oder administrator als user. Ich würde auch die beiden Schalter noch einschalten, so dass das Add-On beim Start von HA auch automatisch startet [image] 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 …

---

<div class="post-metadata">

**Author:** ![Paraglider](https://community-smarthome.com/user_avatar/community-smarthome.com/paraglider/32/785_2.png) [@Paraglider](https://community-smarthome.com/u/Paraglider)\
**Post date:** [20. Dezember 2024 um 15:46 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/12 "2024-12-20T15:46:38Z")

</div>

Ich habe den Broker entfernt. Beim neu hinzufügen erscheint diese Frage:

 ![Bildschirmfoto vom 2024-12-20 16-42-57](https://community-smarthome.com/uploads/default/original/1X/66f0ccc805b049f42d514c8ca9f140dc9754eab2.png)  
Was soll ich angeben?

---

<div class="post-metadata">

**Author:** ![smarthomeandmore](https://community-smarthome.com/user_avatar/community-smarthome.com/smarthomeandmore/32/176_2.png) [@smarthomeandmore](https://community-smarthome.com/u/smarthomeandmore)\
**Post date:** [20. Dezember 2024 um 15:50 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/13 "2024-12-20T15:50:07Z")

</div>

Läuft das Add On?

---

<div class="post-metadata">

**Author:** ![Paraglider](https://community-smarthome.com/user_avatar/community-smarthome.com/paraglider/32/785_2.png) [@Paraglider](https://community-smarthome.com/u/Paraglider)\
**Post date:** [20. Dezember 2024 um 15:54 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/14 "2024-12-20T15:54:20Z")

</div>

Es läuft jetzt, ich habe es gerade wieder gestartet.

---

<div class="post-metadata">

**Author:** ![smarthomeandmore](https://community-smarthome.com/user_avatar/community-smarthome.com/smarthomeandmore/32/176_2.png) [@smarthomeandmore](https://community-smarthome.com/u/smarthomeandmore)\
**Post date:** [20. Dezember 2024 um 15:58 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/15 "2024-12-20T15:58:06Z")

</div>

Wenn du jetzt MQTT einrichtest, sollte automatisch erkannt werden, dass dein Add On läuft, dann so vorgehen, wie in den Beispielbildern aus dem Thread

---

<div class="post-metadata">

**Author:** ![Paraglider](https://community-smarthome.com/user_avatar/community-smarthome.com/paraglider/32/785_2.png) [@Paraglider](https://community-smarthome.com/u/Paraglider)\
**Post date:** [20. Dezember 2024 um 15:58 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/16 "2024-12-20T15:58:15Z")

</div>

![Bildschirmfoto vom 2024-12-20 16-56-20](https://community-smarthome.com/uploads/default/original/1X/2eb0375c1338ebdc006fcae276c5397bca943e17.png)

Jetzt ist noch ein Fehler dazu gekommen

---

<div class="post-metadata">

**Author:** ![smarthomeandmore](https://community-smarthome.com/user_avatar/community-smarthome.com/smarthomeandmore/32/176_2.png) [@smarthomeandmore](https://community-smarthome.com/u/smarthomeandmore)\
**Post date:** [20. Dezember 2024 um 15:59 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/17 "2024-12-20T15:59:08Z")

</div>

Sieht doch gut aus und läuft.  
Jetzt musst du bei deinen Clients vermutlich noch das richtige Passwort eingeben

---

<div class="post-metadata">

**Author:** ![Paraglider](https://community-smarthome.com/user_avatar/community-smarthome.com/paraglider/32/785_2.png) [@Paraglider](https://community-smarthome.com/u/Paraglider)\
**Post date:** [20. Dezember 2024 um 16:24 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/18 "2024-12-20T16:24:35Z")

</div>

So siehts im Moment aus.

 ![Bildschirmfoto vom 2024-12-20 17-22-54](https://community-smarthome.com/uploads/default/original/1X/7932950add8e00b9a26826136d57b81e78fa8a37.png)  
Es ist zum verzweifeln.

---

<div class="post-metadata">

**Author:** ![smarthomeandmore](https://community-smarthome.com/user_avatar/community-smarthome.com/smarthomeandmore/32/176_2.png) [@smarthomeandmore](https://community-smarthome.com/u/smarthomeandmore)\
**Post date:** [20. Dezember 2024 um 16:41 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/19 "2024-12-20T16:41:09Z")

</div>

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.

 ![image](https://community-smarthome.com/uploads/default/original/1X/2fc9b85b497e5bfaa1f3687008efee841f77c7a2.jpeg)

---

<div class="post-metadata">

**Author:** ![Paraglider](https://community-smarthome.com/user_avatar/community-smarthome.com/paraglider/32/785_2.png) [@Paraglider](https://community-smarthome.com/u/Paraglider)\
**Post date:** [20. Dezember 2024 um 16:42 UTC](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732/20 "2024-12-20T16:42:44Z")

</div>

Wie gehe davor mit den Tasmota Settings?

[Nächste Seite](https://community-smarthome.com/t/brauche-hilfe-bin-am-verzweifeln/1732.md?page=2)
