An item is not recorded

I made the following:
Number Gmc_holz_verbrauch "Holz Verbrauch [%.3f rm]"




Strategies {
    everyMinute : "0 * * * * ?"
    every5Minuten : "0/5 * * * * ?"
    every10Minuten : "0/10 * * * * ?"
    everyHour : "0 0 * * * ?"
    everyDay : "0 0 0 * * ?"
    default = everyChange

Items {
    KWL* : strategy = every5Minuten, restoreOnStartup
    Gmc_holz_verbrauch : strategy = everyChange, restoreOnStartup
	Gmc* : strategy = every5Minuten, restoreOnStartup


rule "Auffüllen"
    Item Gmc_calc changed to ON
    sendLogNotification("Kessel: wurde befüllt")
    var Number verbrauch = Gmc_holz_verbrauch.state as Number
    var Number holz      = Gmc_menge.state as Number
    var Number ergebnis  = verbrauch + holz

    postUpdate(Gmc_calc, OFF)


Text item=Gmc_holz_verbrauch
Text item=Gmc_holz_verbrauch
Switch item=Gmc_menge mappings=[0.1=“Voll”, 0.05=“halb Voll”, 0.025=“viertel Voll”]
Switch item=Gmc_calc label=“Kessel wurde” mappings=[ON=“befüllt”, OFF=""]
Chart item=Gmc_holz_verbrauch period=D refresh=3600

I want to add a number after a selection. That works as well.
My problem is that the value Gmc_holz_verbrauch is not saved or displayed. See my picture.
I have other items because the values are recorded and displayed. Unfortunately not the value of being changed sometimes. I hope you can understand and help me.

I am also grateful for other suggestions for my meter.
Greetings from Germany

try to add also

Gmc_holz_verbrauch : strategy = everyChange, everyMinute, restoreOnStartup

According to:

I am not 100% sure if the above statement is true… I don’t use rrd4j

Maybe adding a every5Minuten would work also…

Gmc_holz_verbrauch : strategy = everyChange, every5Minuten, restoreOnStartup

It seems that rr4dj needs a regular/periodic interval to work properly (everyChange is not periodic)

Note also (for restoreOnStartup from the docs)

  1. Please note that the persistence extensions will return difference instead of the actual values if you use this type; this especially leads to wrong values if you try to restoreOnStartup!
  2. rrd4j is for storing numerical data only. Attempting to use rrd4j to store complex datatypes (e.g. for restore-on-startup) will not work.

Use mapDB for restoreOnStartup in parallel to rrd4j.

Thanks for the quick response but unfortunately did not work. it only has the item the problem. with the other works that. I do not wait, I can not understand it.

From the docs:

  • <groupName>* - all members of this group will be persisted, but not the group itself. If no strategies are provided, the default strategies that are declared in the first section are applied. Optionally, an alias may be provided if the persistence service requires special names (e.g. a table to be used in a database, a feed id for an IoT service, etc.)
  • is NOT a wild card. Unless you have a Gmc Group and your Items are a member of the Gmc group, Gmc* wont store anything.

This is true. You have to change the default configuration of rrd4j to support anything other than every minute. If you don’t have everyMinute defined, no charts can be generated from the data.