I tried to setup rrd4j to persist my sensor data and use this data for charts. In general it works, but rrd4j seems to record data only for 1,5 days (the chats show only 1.5 days of data).
My config in openhab.conf is:
rrd4j:tpTemp.def=GAUGE,900,U,U,10
rrd4j:tpTemp.archives=AVERAGE,0.5,6,600:AVERAGE,0.5,5,480:AVERAGE,0.5,3,960:AVERAGE,0.5,8,840:AVERAGE,0.5,6,560:AVERAGE,0.5,2,3650
rrd4j:tpTemp.items=nH1WzTemp,nH1BadTemp
How I understood the documentation:
a) “rrd4j:tpTemp.def=GAUGE,900,U,U,10” takes a value every 10sec.
b) “AVERAGE,0.5,6,600” takes 6 consecutive values from a) (=> 1min), averages them and stores 600 of these average values, => 10hrs with 1min resolution
c) “AVERAGE,0.5,5,480” takes 5 consecutive values from b), average, store 480 => 40 hrs with 5min resolution
d) “AVERAGE,0.5,3,960” takes 3 … => 10 days with 15min resolution
e) …
=> There must be enough data for a 1 week chart, but I get only round about 1.5 days.
Is my understanding of the rrd4j configuration correct?
Why does the chart show only 1.5 days of data?
Thanks
Thomas