One thing which have annoyed me for some time is, that my OpenHab1 setup seem to not initiatialize my items properly after reboot - or if I have changed something in my setup (i.e. the .items file) and it restarts/reloads.
The data is there - as I can still see the old data in charts etc. My items stay blank in the UI until they are updated with new readings - i.e. temperatures, datetime-stamps etc.
I would really like to fix this - although not critical - annoying issue
I am running OpenHab 1.9 on a Raspberry PI2 with Jessie.
I am using RRD4J as persistence and am not getting errors in the log at reboot/restart.
This is my rrd4j.persist file:
// persistence strategies have a name and a definition and are referred to in the "Items" section
Strategies {
everyHour : "0 0 * * * ?"
everyDay : "0 0 0 * * ?"
everyMinute : "0 * * * * ?"
default = everyChange
}
Items {
* : strategy = everyChange, everyMinute, everyDay, restoreOnStartup
}
This is the RRD4J Persistence Service lines in my openhab.cfg file:
#######################################################################################
##### Persistence configurations #####
#######################################################################################
########################### 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>
rrd4j:ctr5min.def=COUNTER,900,0,U,300
rrd4j:ctr5min.archives=AVERAGE,0.5,1,365:AVERAGE,0.5,7,300
rrd4j:ctr5min.items=Item1,Item2
When searching/googling I see some who have/had this - but no real fix or clarification.
Anyone have any ideas on how to fix this ?