Hallo everybody.
I’m new to homeassistant and now getting HA working for the first time.
HA is running on a fresh install on a raspberry 3.
To get my openWB communicating with HA, I plan to setup mosquitto broker-AddOn.
The AddOn is installed and working (for what I can see). But my problem now is, that obviously the broker does not receive any topics from HA. For testing I used the tool MQTT-Explorer. I can connect to the HA via a seperatly configured user “mqtt-user”. But the tool only shows $SYS as a topic and not as expected also an “homeassistant”. So I concluded that the communication does not work properly!
The startup-protcoll of the addon is the follwing:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/mosquitto.sh
[23:53:53] INFO: Setting up user mqtt-user
[23:53:55] 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
[23:53:58] INFO: Starting NGINX for authentication handling…
[23:53:59] INFO: Starting mosquitto MQTT broker…
2023-10-27 23:53:59: Warning: Mosquitto should not be run as root/administrator.
2023-10-27 23:53:59: mosquitto version 2.0.17 starting
2023-10-27 23:53:59: Config loaded from /etc/mosquitto/mosquitto.conf.
2023-10-27 23:53:59: Loading plugin: /usr/share/mosquitto/go-auth.so
2023-10-27 23:53:59: ├── Username/password checking enabled.
2023-10-27 23:53:59: ├── TLS-PSK checking enabled.
2023-10-27 23:53:59: └── Extended authentication not enabled.
2023-10-27 23:53:59: Opening ipv4 listen socket on port 1883.
2023-10-27 23:53:59: Opening ipv6 listen socket on port 1883.
2023-10-27 23:53:59: Opening websockets listen socket on port 1884.
2023-10-27 23:53:59: mosquitto version 2.0.17 running
2023-10-27 23:54:01: New connection from 127.0.0.1:39282 on port 1883.
2023-10-27 23:54:01: Client disconnected due to protocol error.
[23:54:04] INFO: Successfully send discovery information to Home Assistant.
[23:54:06] INFO: Successfully send service information to the Supervisor.
By the way: the communication to my openWB works flawless.
Any ideas, how to get this issue solved?
Thanks an greetings!
gwath