Recorder: analog dead-bands / time based

Coming from Openhab2 , i can recall at least that persistence can be configured for a data point to be either on change (data from sensors changed) or time sample (at least every minute).

I’ve seen many is struggling with keeping their .db file compact, I myself had the .db file > 1 GB the first day on an energy meter only.

Useful features:

  1. Allow History/Recorder to record data either on change or based on time (i.e take sample every min, hour, day, week, month, year).
  2. Allow History/Recorder to record data if it changes more than a specified threshold (deadband).