jbouwh / omnikdatalogger

Datalogger for Omnik solar power inverters with DSMR integration and output to Home Assistant, PVOUTPUT, InfluxDB and MQTT
https://jbsoft.nl/site/omnik-datalogger/
GNU General Public License v3.0
10 stars 3 forks source link

Add InfluxDB2 support #65

Closed jbouwh closed 2 years ago

jbouwh commented 2 years ago

Adds native InfluxDB 2.0 support.

Configure org, bucket and token to use the new InfluxDB v2 client. The update will not break older v1.8.x configurations.

New InfluxDB plugin settings in the section output.influxdb in of apps.yaml or config.yaml

key optional type default description
ssl True bool false Use SSL. Set to true if the URL starts with https://
verify_ssl True bool true By default a certificate is validated. Set to false to disable validation.
ssl_ca_cert True string (none) Set an alternative CA cert. (InfluxDB 2.x client only)
org True string (none) The InfluxDB2 organisation (InfluxDB 2.x only)
bucket True string (none) The InfluxDB2 bucket to write to (InfluxDB 2.x only)
token True string (none) The InfluxDB2 authentication token (InfluxDB 2.x only)