#Mqtt sensor/variable with limited memory/history?

1 messages · Page 1 of 1 (latest)

scenic knot
#

I have a quickly changing variable in mqtt broker. (Few times/sec ?). Id like to see it in HA as graph however I don’t want to use too much memory of my rpi. Is it possible to limit the history of this particular sensor/variable to lets say 2 hours? Thx

trim drum
#

that said, the standard 5 days at 10 updates/s is only 4.3 million entries - sub 50MB

hoary meteor
#

If you exclude an entity from the recorder you will not get LTS for it.

trim drum
#

ah dang, thought you still generated LTS... what about if you set up an automation purge it every night?

scenic knot
#

Ok. So RECORDER is the key and PURGE to keep it clean