I just reinstalled the broker on HA now. Curiously, I was able to start it in advance without a password. It didn’t work yesterday.
The IP 192.168.1.65 is my HASSIO where the broker runs on it.
Here is the excerpt from the broker:
logins:
- username: MQTT_user (2 spaces dash spaces username:)
password: myPassword
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
customize:
active: false
folder: mosquitto
anonymous: false
[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] mosquitto.sh: executing…
[10:57:59] INFO: Setting up user MQTT_user
[10:58:00] INFO: Certificates found: SSL is available
[10:58:02] INFO: Starting NGINX for authentication handling…
[cont-init.d] mosquitto.sh: exited 0.
[cont-init.d] nginx.sh: executing…
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[10:58:03] INFO: Starting mosquitto MQTT broker…
1658825883: Warning: Mosquitto should not be run as root/administrator.
[10:58:05] INFO: Successfully send discovery information to Home Assistant.
[10:58:06] INFO: Successfully send service information to the Supervisor.
1658825883: mosquitto version 2.0.11 starting
1658825883: Config loaded from /etc/mosquitto/mosquitto.conf.
1658825883: Loading plugin: /usr/share/mosquitto/go-auth.so
1658825883: ├── Username/password checking enabled.
1658825883: ├── TLS-PSK checking enabled.
1658825883: └── Extended authentication not enabled.
1658825883: Opening ipv4 listen socket on port 1883.
1658825883: Opening ipv6 listen socket on port 1883.
1658825883: Opening websockets listen socket on port 1884.
1658825883: Opening ipv4 listen socket on port 8883.
1658825883: Opening ipv6 listen socket on port 8883.
1658825883: Opening websockets listen socket on port 8884.
1658825883: mosquitto version 2.0.11 running
1658825884: New connection from 127.0.0.1:41046 on port 1883.
1658825884: Client closed its connection.
1658825888: New connection from 192.168.3.7:51375 on port 1883.
1658825888: New connection from 192.168.3.8:64023 on port 1883.
1658825888: New client connected from 192.168.3.7:51375 as esp8266-913F2B (p2, c1, k30, u’MQTT_user’).
1658825888: New client connected from 192.168.3.8:64023 as esp8266-913BB0 (p2, c1, k30, u’MQTT_user’).
1658825893: New connection from 192.168.1.65:53844 on port 1883.
1658825893: New client connected from 192.168.1.65:53844 as nodered-mqtt (p2, c1, k15, u’MQTT_user’).
1658825895: New connection from 192.168.1.65:56035 on port 1883.
1658825895: New connection from 192.168.3.69:55420 on port 1883.
1658825895: New client connected from 192.168.3.69:55420 as Buegelstation (p2, c1, k30, u’MQTT_user’).
1658825895: New client connected from 192.168.1.65:56035 as 38kPBckDn4P7HnpzKM2pkf (p2, c1, k60, u’MQTT_user’).
1658825895: New connection from 192.168.3.103:64564 on port 1883.
1658825895: New client connected from 192.168.3.103:64564 as Hauswasserwerk (p2, c1, k30, u’MQTT_user’).
1658825895: New connection from 192.168.3.66:55071 on port 1883.
1658825895: New client connected from 192.168.3.66:55071 as Raspberry (p2, c1, k30, u’MQTT_user’).
1658825895: New connection from 192.168.3.106:63609 on port 1883.
1658825895: New client connected from 192.168.3.106:63609 as Warmwasserpumpe (p2, c1, k30, u’MQTT_user’).
1658825896: New connection from 192.168.3.148:63331 on port 1883.
1658825896: New client connected from 192.168.3.148:63331 as Poolpumpe (p2, c1, k30, u’MQTT_user’).
1658825896: New connection from 192.168.3.81:53113 on port 1883.
1658825896: New client connected from 192.168.3.81:53113 as DeWalt-Acculader (p2, c1, k30, u’MQTT_user’).
1658825896: New connection from 192.168.3.102:51558 on port 1883.
1658825896: New client connected from 192.168.3.102:51558 as Multimedia (p2, c1, k30, u’MQTT_user’).
1658825896: New connection from 192.168.3.68:49260 on port 1883.
1658825896: New client connected from 192.168.3.68:49260 as Reserve2 (p2, c1, k30, u’MQTT_user’).
1658825896: New connection from 192.168.3.60:63413 on port 1883.
1658825896: New client connected from 192.168.3.60:63413 as Bikelader (p2, c1, k30, u’MQTT_user’).
1658825939: New connection from 172.30.32.2:49414 on port 1883.
1658825939: Client closed its connection.
1658825996: New connection from 192.168.3.131:51604 on port 1883.
1658825996: New connection from 192.168.3.189:61581 on port 1883.
1658825996: New connection from 192.168.3.235:63291 on port 1883.
1658825996: Client disconnected, not authorised.
1658825996: Client disconnected, not authorised.
1658825996: Client disconnected, not authorised.
1658825999: New connection from 192.168.3.6:56375 on port 1883.
1658825999: Client disconnected, not authorised.
1658826059: New connection from 172.30.32.2:49444 on port 1883.
1658826059: Client closed its connection.
1658826083: New connection from 192.168.3.6:64367 on port 1883.
1658826083: New client connected from 192.168.3.6:64367 as Belegtanzeige-Garage-links (p2, c1, k30, u’MQTT_user’).
1658826120: New connection from 192.168.3.189:64487 on port 1883.
1658826120: New connection from 192.168.3.131:56035 on port 1883.