Most of the sensors data (temperature/humidity/motion) become irrelevant in a day or two and can be purged from the database. At the same time I would like to collect daily/monthly/yearly stats for other sensors for a longer period of time (e.g. water/electricity consumption stats) .
Recorder settings have only single purge_keep_days setting for the whole database. This is too big hammer for me.
Is there a way to precisely control number of records to store for a particular sensor?