Item: Analyze button shows always 0

  • Platform information:
    • HW: Proxmox container
    • OS: Ubuntu 24.04.3 LTS
    • Java Runtime Environment: Temurin-21.0.8+9
    • openHAB version: openHAB 5.0.1

New installation. Created a thing from the astro binding. I connected the Azimut channel to a number item named “OH_Azimut”.

Number OH_Azimut                "Azimut [%.1f°]"                    <sun>

The Item shows correct value, but when pressing the analyze button of this item, the diagram shows all 0 values. Persistency is RRDtool. Also the other item “OH_Elevation” does not show a history.
The log does not show any problems:

info_circle 19:28:23.874	INFO	
openhab.event.ItemStateChangedEvent
Item 'OH_Azimut' changed from 267.06579726019015 to 267.97654176077094
info_circle 19:28:23.875	INFO	
openhab.event.ItemStateChangedEvent
Item 'OH_Elevation' changed from -7.036839255538834 to -7.887386001469647
info_circle 19:29:01.755	INFO	
openhab.event.ItemStateChangedEvent
Item 'HABApp_Ping' changed from 8.3 to 8.2

This is my first try using OH5. What am i missing? On another installation I’m using OH4, which works great.

You have to add your items to the persistence.

Check the docs

Openhab persistence

Greets

Thanks Sebastian: It seems this was the problem.

Though, I can’t remember ever to have fiddling around with persistency after installation using openHABian… May be it was, because MapDB and RRD4j has been installed, and none of them was marked to be used by default?
In my running OH4 installation, there is RRD4j only, and it is not marked ‘default’, but it still works as expected. Probably this is a bug :wink:

However, problem solved :grinning_face:

I have mapDB and rrd4j active.

mapDB for restore on startup and rrd4j for charting.

I created 2 groups that are set for persistence.

gRestore and gHistory

If I want an item to be restored and/or saved for charting I put them into the group.

Greets