How to define the persistence service used for UI graphs?

Dear all,
I use different persistence services in openhab. For example, anything to do with radiator control, heating, door and window status, goes into influxdb. Anything weather related however uses rrd4j. This works just fine.
How can I tell openhab, when displaying histograms in the UI, to use a particular persistence service OTHER than the default setting? Is there something like an item metadata setting, e.g. { persistence="rrd4j" } , in order to achieve this? Haven’t found anything like it in the persistence doc. Any help would be greatly appreciated!
Best regards!

Which UI are you using?

I am using the standard interface MainU.

If you make a new Chart page, you can select the Persistence Service that is used for each Time Series (Item). You need to show the Advanced options in the Time Series settings for that option to show in the UI.

Thank you, haven’t had “chart pages” on my radar yet. Indeed, it works well with singular items. However, if I wanted a chart page with two items, one using influxdb as a storage back-end and the other using rrd4j, it would still be a problem.

Also, I found out that my initial histogram was using the analyzer. The analyzer is linked on every “item” configuration page. And also someone else had my problem before, without a solution present.

So whether be it chart pages or the analyzer, i think there should be a metadata namespace or something to tell openhab which storage engine should be used for retrieval of data. The actual persistence is configured through the .persists files, which is fine, but I am looking for an option for the other way around.

Of course I could use influxdb for everything, however being able to use different persistence services simultaneously has it’s charm, especially something like inmemory.

Did you try it? Because your statement is not true - as mentioned, you can choose the Persistence Service for each Time Series (which is essentially each Item).