Improving historical device data by granularity

Hi everyone,

Is this thread still relevant following the switch to DuckDB? :slight_smile:

If not, we can close it :slight_smile: