i’ve read that in /usr/share/openhab/etc
i should find a file named “BMP_temp.rrd” after some time. Nothing there.
Also in the wiki its says that i need to change the openhab.config. but how ?
I got the rrd4j persistence is in my addon folder.
thanks for help !
EDIT
my openhab.cfg:
# The name of the default persistence service to use
persistence:default=rrd4j
########################### RRD4J Persistence Service #################################
#
# please note that currently the first archive in each RRD defines the consolidation
# function (e.g. AVERAGE) used by OpenHAB, thus only one consolidation function is
# fully supported
#
# default_numeric and default_other are internally defined defnames and are used as
# defaults when no other defname applies
#rrd4j:<defname>.def=[ABSOLUTE|COUNTER|DERIVE|GAUGE],<heartbeat>,[<min>|U],[<max>|U],<step>
#rrd4j:<defname>.archives=[AVERAGE|MIN|MAX|LAST|FIRST|TOTAL],<xff>,<steps>,<rows>
#rrd4j:<defname>.items=<list of items for this defname>
I found a logging section in openhab.cfg which could have something to do with your problem:
######################### Logging Persistence Service #################################
#
# the logback encoder pattern to use to write log entries
# see http://logback.qos.ch/manual/layouts.html#ClassicPatternLayout for all options
# the item name is available as the "logger" name, the state as the "msg"
logging:pattern=%date{ISO8601} - %-25logger: %msg%n
But this is also default in openhab_default.cfg, so if you didn’t change anything it should be already in your openhab.cfg.
And it should only have to do something with logging, not with persisting your items values.
the wiki says that i have to change 3 lines in the openhab.cfg
#rrd4j:<defname>.def=[ABSOLUTE|COUNTER|DERIVE|GAUGE],<heartbeat>,[<min>|U],[<max>|U],<step>
#rrd4j:<defname>.archives=[AVERAGE|MIN|MAX|LAST|FIRST|TOTAL],<xff>,<steps>,<rows>
#rrd4j:<defname>.items=<list of items for this defname>
i guess:
the .def part defines how the graph is shown.
the . items part needs to have my “BMP_temp” in it.
i dont understand what i need to do with the .archives part.
I guess if you have nothing in your events.log there is something basically going wrong. You need to find that out before you start looking for your rrd4j problem. Start in debug mode and see if you can find the problem.