From eb35734112853f154a247b5f28ce284b7fd22d7d Mon Sep 17 00:00:00 2001 From: Heim Date: Thu, 5 May 2022 00:53:19 +0200 Subject: [PATCH 1/2] feature: add influxdb 1.8 usage --- SunGather/config-example.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SunGather/config-example.yaml b/SunGather/config-example.yaml index 153edcb..19a2e27 100644 --- a/SunGather/config-example.yaml +++ b/SunGather/config-example.yaml @@ -35,11 +35,11 @@ exports: - name: influxdb enabled: False # [Optional] Default is False url: "http://localhost:8086" # [Optional] Default URL is http://localhost:8086 - token: "xxx" # [Required] API Token OR Username / Password + token: "xxx" # [Required] API Token OR Username:Password (for influxdb v1.8x comment it out and use username + password) # username: # [Optional] Username if not using token # password: # [Optional] Password if not using token - org: "Default" # [Required] InfluxDB Organization - bucket: "SunGather" # [Required] InfluxDB Bucket + org: "Default" # [Required] InfluxDB Organization (for influxdb v1.8x this will be ignored) + bucket: "SunGather" # [Required] InfluxDB Bucket (for influxdb v1.8x this is the database name) measurements: # [Required] Registers to publish to bucket - point: "power" register: daily_power_yields From fe8c8c272876f045d4bf6676655d174a13edc223 Mon Sep 17 00:00:00 2001 From: Heim Date: Thu, 5 May 2022 00:54:15 +0200 Subject: [PATCH 2/2] feature: add influxdb 1.8 usage --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f71bf19..2ec8bbc 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Has multiple export locations out of the box: * Console - Log directly to screen * MQTT - Load into MQTT, and optionally Home Assistance including Discovery * PVOutput - Load into PVOutput.org -* InfluxDB - Load data directly into InfluxDB +* InfluxDB - Load data directly into InfluxDB (v1.8 or v2.x) * Simple webserver showing collected data * Rasberry Pi Docker support * and more coming....