#Connect to existing influxdb2 instance

1 messages · Page 1 of 1 (latest)

velvet echo
#

Hi,

my current smart home runs on iobroker but i'm thinking of switching to HA, so i've created an HA OS VM on my proxmox server and want to play around with it.

First I wanted to integrate my existing InfluxDB2 instance (standalone installation on a LXC) into HA but I already fail here, somehow it seems to me that HA ignores my configuration.

configuration.yaml:

# InfluxDB2 Configuration
influxdb: !include influxdb.yaml

influxdb.yaml

api_version: 2 # Ensure the version matches your InfluxDB instance.
ssl: false # Can omit this if using https.
host: <ip_of_my_influxdb_instance>
port: 8086
token: <token> # Your api token
organization: <org> # The InfluxDB organisation that the bucket will belong to.
bucket: <my_old_iobroker_bucket> # The name of the bucket where the data will be saved
max_retries: 3

The Influxdb Add-On always start with its own local instance, i evenm cannot see any log entry which would tell me whats wrong.

thorny mulch
#

The add-on is it's own local instance, that's correct.

The configuration above you've posted is for the integration in Home Assistant (https://www.home-assistant.io/integrations/influxdb/). That simply transfers data from HA to InfluxDB. If you've saved your configuration, restarted HA and don't see success, take a look at your home-assistant.log file for errors while setting up the integration.

velvet echo
#

So i can uninstall the Add-on and run only the transfer form configuration.yaml?

thorny mulch
#

Yes, if you already have an InfluxDB instance that you want to use, you will not need the add-on