I have a somewhat weird issue that I just noticed for switches.
I migrated an OH2 openhabian installation that was using influxdb as a persistence service before. The openhabian update/migration went smooth (so far) and persistence was working right off the box nicely with the new charts that you get when you press the analyze button.
However it never worked for switches, the graph is there, but there are no values) and I just figured that the charts don’t work for categories, only for numbers. But then I saw my friends fresh OH3 Installation with rrd4j as the default persistence service. And there I noticed, he DOES have graphs for switches.
So back at my installation, I check everything. influx is the only persistance service installed.
This is my Influx.persist file:
Strategies {
everyMinute : "0 * * * * ?"
everyHour : "0 0 * * * ?"
everyDay : "0 0 0 * * ?"
default = everyUpdate
}
Items {
iPhone_Online : strategy = everyChange
RestoreOnStartup : strategy = restoreOnStartup
}
The iPhone item usually isn’t there, I just added this as a test item.
But neither the iPhone nor the other items show.
Do I need to change something in the binding or service config for this to work with switches?