I’ve got an issue with the influx persistence on openhab2.
I followed this very good tutorial InfluxDB+Grafana persistence and graphing and
as long as I get constantly different values from the sensor it works like a charm, but when a value is constant over a longer period of time openhab does not save the value every hour as defined.
Persistence files seem to be pretty strict regarding their style. May sound silly but could you please try moving the braces back at their original positions?
Did you check openhab.log for influxdb related log lines?
thank you for the response. I really appreciated you tutorial and it helped a lot.
Here is my latest config, I’ll get back to you tomorrow with the results.
Fingers crossed.
Besides I think your file looks okay. I’d expect the error in the connection or something related. Check the openhab.log and try the sine wave example from the tutorial.
again thanks for your help, the latest config file works fine now.
What is interesting though is the fact that openhab seems to be only strict on the strategies syntax part of the config.
What exactly was the problem? Position of the brackets?
Should be possible to address, best file an issue at github.com/eclipse/smarthome/issues as a first step!
I’ll remove the default statement when I’m home to check if this makes a difference.
If it then still works I suspect that the position of the opening bracket in the strategies part was the root cause of the effect.
I’ll keep you posted.