Persist sensor data in database
Open
Persist sensor data in database
We need to implement a median over the sensor data and predefine a frequency to save the sensor data to the database (on the SD card).
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
assigned to @edzweistein
marked this issue as related to #10
marked this issue as related to #9
We agreed on only persisting 1,5 years of data in the local DB on the SD card to not run out of space on the SD card:
When saving data every once a minute we would increase the id value of the datastructure by
~525783
. This could be an indicator to delete all rows before we hit an id which meets the following criteria:id % 525783 == 0
Please register or sign in to reply