Chart's wont show content, persistence is setup

  • Platform information:
    • Hardware: RPi 3
    • OS: OpenHABian
    • Java Runtime Environment: 1.8 u151
    • openHAB version: 2.2

I’ve created a group and have setup rrd4j persistence. The file’s are created but when I try to plot it all I see is an empty chart:

What am I missing?

Post your item and your persist-configuration please.
Use RestAPI to check the stored data.

Hi n_c,

THX for the reply… here’s the Item’s I want to plot:

openhab> items list
HG_Temperatur (Type=NumberItem, State=5, Label=Temperatur, Category=null)
HG_Luftdruck (Type=NumberItem, State=977.00, Label=Luftdruck, Category=null)
HG_Luftfeuchtigkeit (Type=NumberItem, State=85, Label=Luftfeuchtigkeit, Category=null)
Diesel_BN_JET (Type=NumberItem, State=NULL, Label=Diesel BN Jet, Category=null, Groups=[diesel_group])
Diesel_BN_AVIA (Type=NumberItem, State=NULL, Label=Diesel BN AVIA, Category=null, Groups=[diesel_group])
diesel_group (Type=GroupItem, Members=2, State=NULL, Label=Diesel, Category=car)

And this is the related rrd4j.persist file:

// persistence strategies have a name and a definition and are referred to in the "Items" section

Strategies {
   everyMinute	: "0 * * * * ?"
   everyHour    : "0 0 * * * ?"
   everyDay     : "0 0 0 * * ?"
   default = everyChange

Items {
   HG_Luftdruck : strategy = everyMinute, restoreOnStartup
   HG_Luftfeuchtigkeit : strategy = everyMinute, restoreOnStartup
   HG_Temperatur : strategy = everyMinute, restoreOnStartup
   Diesel_BN_JET : strate`Preformatted text`gy = everyHour, restoreOnStartup
   Diesel_BN_AVIA : strategy = everyHour, restoreOnStartup

But how do I use the REST API to check the stored data?

EDIT: found this topic and from there tried to adopt the URL:


Seems the Diesel RRD file’s hold no data:


whilst the Yahoo Weather Data in HG_Temperatur seems to be fine:



As I’ve configured MQTT persistence too I saw that “Diesel_BN_JET” & “Diesel_BN_AVIA” both have correct value’s:
The strategy everyMinute must be used, otherwise no data will be persisted (stored).

There is a error in the syntax also.

Thank you can’t find the syntax error but as I changed it to everyMinute it now plot’s data…

Maybe it’s only in the post.

It seems that was just a copy & paste issue in my posting…

If it’s solved, you can mark so.

Sure, THX for the reminder :wink: