Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] message_expiry_interval #10

Open
jwillmer opened this issue Jun 27, 2024 · 3 comments
Open

[Feature Request] message_expiry_interval #10

jwillmer opened this issue Jun 27, 2024 · 3 comments

Comments

@jwillmer
Copy link
Contributor

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.

@Privatecoder
Copy link
Owner

what do we want that for? the sensor config definitions, the actual sensor data or both?

@Privatecoder
Copy link
Owner

currently "retain" is disabled as I was trying to prevent old/orphaned mqtt-sensor-definitions in HA when fiddling around with the tool...

@jwillmer
Copy link
Contributor Author

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 ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants