Optimized data aggregation.
- All aggregation use only the raw data as input. - Only produce aggregated data that will show in a chart (less work after clearing the sensor_data_aggr table). - Adding version handling of data aggregation to secure that the peer has up to date data. - New db version: 6 - Adding sensor.aggr_version(int, default=1), will clear sensor_data_aggr for local sensors Former-commit-id: cbf5a890a5058791b443e975048db13f6ac4c9fe
This commit is contained in:
parent
a6f8cf872a
commit
ea5c991824
10 changed files with 121 additions and 136 deletions
BIN
hal-default.db
BIN
hal-default.db
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue