I don’t use the standard names (default, or autogen) for my standard retention policy where openhab data gets written into. I’ve named it “1m_for_24h” (I have other retention policies that merge data to have it behave like a rrd database), and that throws off the influxdb binding.
For instance, whenever I add an item to be persisted, it does get persisted but does show this error:
[ERROR] [tence.internal.PersistenceManagerImpl] - Exception occurred while querying persistence service 'influxdb': error parsing query: found 1m, expected identifier at line 1, char 40 org.influxdb.InfluxDBException: error parsing query: found 1m, expected identifier at line 1, char 40
Worse, I cannot pull historic data from influxdb to use in rules, as that gives me the same error, too.
Any idea? Renaming a retention policy is not really supported in influxdb.