Hello.
I’m measuring a solar system through esp32. It makes about 20000 counts to catch transients and reports to hassio every 5 seconds. Entities are: battery load, solar load, battery voltage and solar voltage.
Since that’s 4 values logging every 5 seconds, the database grows fast over days.
I’d like something like an average 10 minute value for each entity, reporting ONCE every 10 minutes. These values would be logged in history, while original entities would be excluded from history recorder.
I searched something like that in forums but the amount of data cracked my non programmer brain
I made a statistics sensor for battery load entity, it averages through last 10min, but still reports every 5 seconds…
thx