Publishing with MQTT Integration

Version core-2025.11.1
Host operating system Home Assistant OS 16.3
Supervisor version supervisor-2025.11.4

Created user: mqtt (in Home Assistant People → Users)

I’m able to receive message (see the status of my Victron system) but Home Assistant isn’t able to publish keepalive messages. I’ve spent two days uninstalling and reinstalling the MQTT Broker add-on and the MQTT integrations, reconfiguring, publishing, searching the logs…nothing.

Clicking the “Publish” button inside the integration configuration doesn’t do anything. No errors or success message. The button visually looks like it was clicked, but there is zero response and no activity in the log that shows anything was attempted. Same thing if I try to publish from Developer Tools.

Tried using automatic configuration of the integration as well as manual with the user “mqtt” I created. Even with the integration removed, the MQTT Broker log shows an unknown host trying to connect:

[14:38:51] INFO: Setting up user mqtt
[14:38:51] 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)
[14:38:51] INFO: Starting NGINX for authentication handling...
s6-rc: info: service legacy-services successfully started
[14:38:52] INFO: Starting mosquitto MQTT broker...
1763753932: Loading config file /share/mosquitto/victron.conf
2025-11-21 14:38:52: Warning: Mosquitto should not be run as root/administrator.
2025-11-21 14:38:52: mosquitto version 2.0.22 starting
2025-11-21 14:38:52: Config loaded from /etc/mosquitto/mosquitto.conf.
2025-11-21 14:38:52: Loading plugin: /usr/share/mosquitto/go-auth.so
2025-11-21 14:38:52: ├── Username/password checking enabled.
2025-11-21 14:38:52: ├── TLS-PSK checking enabled.
2025-11-21 14:38:52: └── Extended authentication not enabled.
2025-11-21 14:38:52: Opening ipv4 listen socket on port 1883.
2025-11-21 14:38:52: Opening ipv6 listen socket on port 1883.
2025-11-21 14:38:52: Opening websockets listen socket on port 1884.
2025-11-21 14:38:52: Connecting bridge victron (192.168.250.101:1883)
2025-11-21 14:38:52: mosquitto version 2.0.22 running
2025-11-21 14:38:52: New connection from ::1:39042 on port 1883.
2025-11-21 14:38:52: Client <unknown> disconnected due to protocol error.
[14:38:52] INFO: Successfully send discovery information to Home Assistant.
[14:38:52] INFO: Successfully send service information to the Supervisor.
2025-11-21 14:38:54: New connection from 172.30.33.4:34837 on port 1883.
2025-11-21 14:38:54: New client connected from 172.30.33.4:34837 as auto-0DCEF9D1-645C-7294-3328-3D3C8CB1B9FE (p2, c1, k60, u'addons').
2025-11-21 14:40:10: New connection from 172.30.32.2:45370 on port 1883.
2025-11-21 14:40:10: Client <unknown> closed its connection.

I don’t know how that system works. Is it creating it’s own MQTT Broker, or is it looking to connect to a broker to pass info to you?