No influx measurements on Oh3 / Openhabian

Hi,
I have installed Openhab3 with Openhabian and additionally influx and grafana using the openhabian config.
How can I check that the configuration was sucessfull and my items are persisted according to my influxdb.persist file?
If I enter “SHOW MEASUREMENTS ON openhab” in the influx console I get no result
In the OH system log the only thing about influx I see is:
Loading model ‘influxdb.persist’

influxdb.cfg

url=http://localhost:8086
user=openhab
password=****
db=openhab
retentionPolicy=one_year

The retention Policy was created by me

influxdb.persist:

Strategies {
        everyMinute: "0 * * * * ?"
        everyHour: "0 0 * ? * * *"   
        default = everyChange
}
Items {
        DB_Jede_Minute*: strategy = everyMinute
        DB_Jede_Stunde*: strategy = everyHour
        DB_Jede_Aenderung*: strategy = everyChange
}

Thanks,
Alex

Confirm those items are groups, otherwise nothing will get persisted.

Although your direct request may already gave the correct result you could also try the get the hopefully persisted data via a REST call ( call API Exolorer under OH3).

Hi,
yes, the items are groups and there are items assigned to these groups.
When calling:
http://openhab3:8080/rest/persistence/items?serviceId=influxdb

I get

{
  "error": {
    "message": "Persistence service not found: influxdb",
    "http-code": 400
  }
}

So something seems to be wrong here, right? I have no idea right now.

Have you installed the InfuxDB Binding?

I use addons.cfg with the following entry:
persistence = mapdb, influxdb

Openhab UI shows influxdb as installed.

Using the same group in the API explorer you can also request a list of the installed persistence services. Maybe a typing error or uppercase DB? (I don’t use this DB).

ok, it only shows mapdb:

[
  {
    "id": "mapdb",
    "label": "MapDB",
    "type": "Queryable"
  }
]

But in the UI I have:

So something is inconsitent here…

This might conflict with

I would stick to one approach.

1 Like

I’d try to uninstall and install again. It’s worth a try.

That’s it.
setup influx via openhabian and using addons.cfg seems not to work.
I uninstalled via ui and restarted. Now it is working.
Thanks!
Alex

PS: Maybe this could be reflected in the influx setup process of openhabian… .