RuuviBridge icon indicating copy to clipboard operation
RuuviBridge copied to clipboard

Make it possible to retain published MQTT messages

Open Scrin opened this issue 3 years ago • 2 comments

This is useful for Home Assistant users who use a long update interval (ie. a couple of minutes), allowing the tags to appear ~immediately after restarting Home Assistant. However this will also prevent automatically un-discovering tags if they are ever removed, requiring manually deleting the retained messages in such case. This should be configurable, and default to the current behavior of not using retained messages.

Scrin avatar Feb 06 '23 10:02 Scrin

I just hard coded this feature in my fork test branch.

jkaart avatar Mar 22 '24 21:03 jkaart

Latest release has added support for this, configurable under mqtt_publisher

Scrin avatar Nov 01 '25 13:11 Scrin