Hello,
I have Mosquitto brocker set on HA on RPI 64 bits usb boot.
My entities are well pulled from homey box to Home Assistant.
Problem ?
When i restart Home Assistant, they get lost and i have to reconfigure Mosquitto and restart it in home Assistant and hopefully it work everytime.
Probably because the entities are created by MQTT Discovery and the âhomey boxâ is not publishing the discovery payloads as retained messages. As a result, when Home Assistant restarts and re-connects to the MQTT broker, it receives no discovery data because none of the data is retained by the broker.
Iâm unfamiliar with homey but you need to configure it (somehow) so it publishes retained messages for MQTT Discovery.
Many thanks for having taken time for that information it seems you are right.
I have new event after adding birth/will
Now when i restart HA, i have to broadcast again MQTT HUB on homey, and my devices appear immediately active again in HA.
So probaby you are rightâŚ
If entities, that are created by MQTT Discovery, completely disappear when Home Assistant is restarted, that means their discovery information is missing. The most common reason for it being missing is that it was not retained by the broker. The broker only retains what it is instructed to retain.
If any of my posts helped solve the problem, please consider marking it with the Solution tag. By doing that, it will automatically place a check-mark next to the topicâs title which signals to everyone that this topic has an approved solution. This helps other users find answers to similar questions.