On OH3.0.2, I have configured openhab with InfluxDB. (version 1.8.4)… The config says
url=http://192.168.254.12:8086
user=openhab
password=****
db=openhab
retentionPolicy=autogen
And openhab tells me that the influx database is not ready. Looking at the influx logs I see
[httpd] 192.168.254.119 - - [23/May/2021:05:58:13 -0700] "POST /api/v2/write?org=openhab&bucket=autogen&precision=ms HTTP/1.1" 404 44 "-" "influxdb-client-java/unknown" 6e0a5ef1-bbc6-11eb-814f-aaa1591af687 42
So it’s getting a 404… However the influx docs tell me that the org= parameter is ignored. And the datasbe should be specified in the bucket parameter…
But it looks like the openhab InfluxDB plugin isn’t putting the database in bucket. It’s putting it in the (ignored) org parameter.
So why is the influx plugin using the parameters contrary to the InfluxDB API docs?
H