There is currently no way to reduce the amount of data into the database by setting different sampling by entity type.
For example the temperature can be stored only each 5 min where the instantaneous power have to be recorded as fast as possible.
For me there are 3 types of data sampling
- low rate (typically more than a min) : temperature, humidity, pressure…
- fast rate (typically some seconds) : instantaneous power, …
- based on events : door opening, button switch,…