Connect Home Assistant with an external InfluxDB (v2)

I assume that the InfluxDB is already running.

Create a bucket and create an API token:

  1. load data, buckets, create bucket.
  2. API Tokens, Generate API Tokens, Custom API token. A ReadOnly token for the new bucket is sufficient here.

Create database connection in Home Assistant.

We store the InfluxDB-Config in a separate .yaml file. This keeps the configuration.yaml somewhat clearer.

We add the following to configuration.yaml:

configuration.yaml
influxdb: !include influxdb.yaml
Continue reading “Connect Home Assistant with an external InfluxDB (v2)”