Exploring OpenHAB's Persistence and Charting Capabilities

Hey everyone, I’m diving into OpenHAB and trying to wrap my head around persistence and charting. I’ve got OpenHAB 2.5.0 set up on my Raspberry Pi, and I’m using mapdb for persisting item values between restarts. It’s been working well so far, but I’m eager to visualize this data with some charts.

I came across InfluxDB in the PaperUI extensions, but I’m a bit confused about how it integrates with mapdb. Can I continue using mapdb while setting up InfluxDB for charting? Also, I noticed that the InfluxDB extension listed in PaperUI doesn’t seem to be the latest version. Are there newer versions available, or should I stick with what’s provided?

I tried adding a chart to my sitemap using the syntax from the OpenHAB docs, but I ran into an error in VS Code. The rule ruleChart failed with a predicate error, even though the item ms6_temp_short exists. I’m not sure if this is related to the persistence setup or something else entirely.

Another thing I’m curious about is whether I need to install InfluxDB and Grafana through openhabian-config or if it can be done directly via PaperUI. I’d love to get some clarity on this to avoid any setup headaches.

If anyone has experience with setting up charts in OpenHAB or can shed some light on the persistence setup, I’d really appreciate the help! I’m excited to get this working and visualize my temperature data over time. Let me know your thoughts!