I store values from temperature sensors with rrd4j persistence. I configured a specific rrd4j config for these items as I want to store values for the last 60 days with 1-minute granularity (which is slightly different from what the default datasource provides).
This is the datasource config in services/rrd4j.cfg:
heating_sensors.def=GAUGE,600,U,U,10
heating_sensors.archives=LAST,0.5,1,360:AVERAGE,0.5,6,86400:AVERAGE,0.5,90,36500:AVERAGE,0.5,360,43800:AVERAGE,0.5,8640,3650
heating_sensors.items=MQTT_solar_vorlauf,MQTT_solar_ruecklauf
The first archive covers 60 minutes with 10-seconds granularity, the 2nd archive covers 60 days with 1-minute-granularity, the 3rd archive covers ca 1 year with 15-minute-granularity, and so on…
Here the persistence config in persistence/rrd4j.persist:
Strategies {
everyMinute : "0 * * * * ?"
}
MQTT_solar_ruecklauf, MQTT_solar_vorlauf : strategy = everyChange, everyMinute
The problem is that when analyzing these items, the chart does only show values of the last hour (apparently from the first archive) even though older values are existing / stored in the corresponding archives of the rrd database file (verified via RRD-Inspector).
I’ve already cleaned cache (via openhab-cli clean-cache), restarted openhab, deleted rrd database files but nothing helps.
Any ideas whats going wrong here?