====== Influx DB ====== influx db (https://www.influxdata.com/) is a perfect database to collect my data. timestamps optmizied for queries at iot. we will integrate it into iobroker very smooth. 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. {{:portainer_influx_1.jpg?600|}} then get a new container, i just pulled the latest image: influxdb:latest {{:portainer_influx_2.jpg?600|}} {{:portainer_influx_2.jpg?600|}} after its deployment you can setup the webinterface {{:influx_web_1.jpg?600|}} remember organisation name and bucket name .. we will need that later {{:influx_web_2.jpg?600|}} {{:influx_web_3.jpg?600|}} 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: {{:influx_iobroker_1.jpg?600|}} get a new tab for github: https://github.com/ioBroker/ioBroker.influxdb and checkout the tags from 2.4.0 and copy that url: {{:influx_iobroker_2.jpg?400|}} insert url into custom own url in iobroker {{:influx_iobroker_3.jpg?400|}} when its installed, you have to search in your adapters again and tada, you can get version 2.4.0. you have to install it, here in the picture its already installed. {{:influx_iobroker_4.jpg?400|}} edit your recent installed adapter to fit the properties you have choose in initial setup. put in the secret api token: {{:influx_iobroker_5.jpg?600|}} activate complete logging to all your objects. goto iobroker -> objects -> right top corner {{:influx_iobroker_6.jpg?600|}} select all {{:influx_iobroker_7.jpg?600|}} Examples: [[HomeAutomatisation:influxdb:Examples influxdb|Examples influxdb]]