How check if openhab use Influxdb?

  • Platform information:
    • Hardware: Rpi4 4GB
    • OS: Rapbian + Docker
    • Java Runtime Environment: which java platform is used and what version
    • openHAB version: 3.4.1

First of all - my knowledge about linux is weak so I’ve got a question. How I can check that openhab is ussing influxdb not RRD4j ?

Docker looks good there is no errors . Influxdb container is running properly.

According to the docs:

NOTE: rrd4j is for storing numerical data only.

All values are stored in a field called “value” using the following types:

  • float for DecimalType and QuantityType
  • integer for OnOffType and OpenClosedType (values are stored using 0 or 1) and DateTimeType (milliseconds since 1970-01-01T00:00:00Z)
  • string for the rest of types

So as long as you only use RRD4J and/or influxdb and you manage it to store/restore string values.
Then it is influxdb.

You can use the influx command line client to do a query on your influxdb instance:
connect to it:

influx -database openhab -port 8086 -host localhost

in the client login with:


You will be asked for user and password
After entering user and password you can have a look if there are any databases:

show databases

Select your database by using it:

use openhab

With select statement you then should be able to have a look into your persisted data.

I’ll propose an easier approach.

First of all, assuming you do not want to use rrd4j at all, simply uninstall the rrd4j add-on.

If you want to use both, you can change the default persistence under Settings → Persistence to influxdb. Then bring up a chart. If you see anything you know data is being stored in InfluxDB.

Note that persistence databases are not mutually exclusive. You can use InfluxDB and rrd4j at the same time.