This is an old revision of the document!
Influx DB
influx db (https://www.influxdata.com/) is a perfect database to collect my data. timestamps optmizied for queries at iot.
First create a volume to store safely the data you want to collect:
name | path |
---|---|
ioInfluxDB2 | /var/lib/influxdb2 |
ioInfluxConfig | /etc/influxdb2 |
i missnamed this volume to another name, but you can change it to a good one.
then get a new container, i just pulled the latest image: influxdb:latest
after its deployment you can setup the webinterface
remember organisation name and bucket name .. we will need that later
navigate to data → api tokens and copy that token, we will need it in iobroker. the integration into iobroker is a little bit tricky, the current build is not able to work with influxdb2 so we have to get it manualy. switch into expert mode and install it from own url:
get a new tab for github: https://github.com/ioBroker/ioBroker.influxdb and checkout the tags from 2.4.0 and copy that url:
insert url into custom own url in iobroker
when its installed, you have to search in your adapters again and tada, you can get version 2.4.0