[Solved] Strange persistence / Charting issue

Hi Guys,

I have a strange issue, another one. So i setup a couple of Items ( Z-Wave, Harmony). They are all updating their states so far so good. I also installed rrd4j as persistence service. It seems to be running as well( No errors rrd4j item files are updating regulary. However if i try to chart something in Habpanel or Basic UI most graphs will simply not render. If i try to access historic values through the Rest API it returns rrd4j as available service. If i try to read the items for rrd4j it just returns an empty json.

This is not my first Openhab install and i already had rrd4j running for quite some while. But i cannot figure out why its not working right now.

rrd4j.persist

Strategies {
    everyMinute : "0 * * * * ?"
    everyHour   : "0 0 * * * ?"
    everyDay    : "0 0 0 * * ?"
}

Items {
    *   : strategy = everyChange, everyHour, restoreOnStartup
    
}

rrd4j doesnt seem to be the issue:

2018-10-02 13:22:15.110 [DEBUG] [sistence.rrd4j.internal.RRD4jService] - Stored 'gTemperature' with state '23.62' in rrd4j database (again)

2018-10-02 13:22:15.114 [DEBUG] [sistence.rrd4j.internal.RRD4jService] - Stored 'gTemperature' with state '23.67' in rrd4j database
  • Platform information:
    • Hardware: Pi3
    • OS: latest openhabian
    • openHAB version: 2.4 M4

The rrd4j persistence MUST use the everyMinute strategy and per the docs:

Strategies {
    everyMinute : "0 * * * * ?"
    everyHour   : "0 0 * * * ?"
    everyDay    : "0 0 0 * * ?"
}

Items {
    *   : strategy = everyMinute, everyChange, restoreOnStartup
    
}
2 Likes

As can be read in the Documentation the strategy everyMinute (60 seconds) MUST be used, otherwise no data will be persisted (stored).

2 Likes

@vzorglub and @opus yall both beat me to it.:smile: I gotta get faster fingers…:smirk:

2 Likes

And i need to start reading Documentations again. Sorry guys but thanks for the help anyway!