Open jwillmer opened 5 days ago
what do we want that for? the sensor config definitions, the actual sensor data or both?
currently "retain" is disabled as I was trying to prevent old/orphaned mqtt-sensor-definitions in HA when fiddling around with the tool...
i was thinking about reducing the logging to every 5 minutes or maybe even 15 minutes. I don't need the logs that detailed. Currently I disabled storing the metrics in home assistant because it generates way to many. But if I restart home assistant I dont want to wait 15 minutes to get my values displayed ;-)
Described in this post: https://www.hivemq.com/blog/mqtt5-essentials-part4-session-and-message-expiry/
Will allow to define how long the last message will be kept in MQTT before it gets removed. Will help when connecting with new clients and using a high wait time between readings.