Mosquitto broker Problem

I have a problem with Mosquitto broker, when starting with the home assistant it starts and the sensors do not take any value, I have to stop it and start Mosquitto broker again and there they do mark the correct values. Any solution?


Have you checked any of the logs for helpful information about the startup of HA & Mosquitto. Go to Settings > System > Logs. Start by looking at the Home Assistant Core log & perhaps also through the Mosquitto Broker log.

Hopefully you can find something helpful there to share with us. Seems like Mosquitto might be crashing during startup so check the logs around the time you started HA.


this is the log

2024-05-08 12:21:19: New client connected from as 3dAfUbMyOJugkEhpv8ydb2 (p2, c1, k60, u'homeassistant').
2024-05-08 12:22:40: New connection from on port 1883.
2024-05-08 12:22:40: Client <unknown> closed its connection.

okay, unfortunately that’s not giving us much to go on. Nothing there that indicates any issues. Is that the HA core log or the mosquitto log?