-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I'm testing bigclown sensors with homeassistant (hass) on Turris 1.1 and it doesn't work well. Hass connects to mqtt broker periodically and in many times it simply miss the value change from sensor.
After some searching I've found that there is "Retain Message Flag", that tells broker to store the last value. So hass always gets the last value when asks.
I've tested it, extended the publish function call with parameter retain=True
and now hass works as I expect.
So it will be nice to have this flag in configuration and I can enable it when need.
Only question I have: is it OK to enable it for all published messages in general or should be configurable per message type or even per message?
Metadata
Metadata
Assignees
Labels
No labels