InfluxDB: Write values less frequent

Hi there,

I have a question regarding InfluxDB.

I have some sensors providing a load of data with a high frequency (~2 datapoints/second). As I use Influxdb only for long term analysis, I don’t need this high time resolution and would be very happy if only every 30minutes a value would be written to the database.

I stumbled upon this thread which does this but from the other direction:

All values are written to the database and filtered after some time.

But in my case it would be sufficient to just write less values to the database in the first place.

Do you have an idea or recommendation?

Best regards
Sammy

As far as i know your Integration has to support to write less datapoints.
A workaround could be to make a filtered new sensor and record this to influxdb, take a look here:

Maybe the throttle Filter could be the right one. Disadvantage is only one data point ist recorded and the rest of them will get lost

Thanks a lot. Actually it seems easier to compress the data later. So I will try this.