From 104f556d07dc46c79c479f10c4e5ad563c4dd1a1 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 24 Nov 2022 13:09:14 -0500 Subject: [PATCH] Preparations to resume the use of InfluxDB --- configuration.yaml | 43 ++++++++++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/configuration.yaml b/configuration.yaml index c3df28b..5d4fb5d 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -97,21 +97,34 @@ logger: logs: homeassistant.core: fatal -# influxdb: -# host: 192.168.1.26 -# port: 8086 -# database: homeassistant -# username: homeassistant -# password: !secret influxdb_pass -# max_retries: 3 -# default_measurement: state -# exclude: -# domains: -# - automation -# - script -# - zone -# entity_globs: -# - sensor.*battery* +influxdb: + api_version: 2 + host: 192.168.1.4 + port: 8086 + max_retries: 3 + ssl: false + organization: !secret influxdb_org + token: !secret influxdb_token + bucket: home_assistant + default_measurement: state + tags: + source: HA + tags_attributes: + - friendly_name + exclude: + domains: + - automation + - script + - zone + - persistent_notification + - person + entity_globs: + - sensor.*battery* + include: + domains: + - sensor + - binary_sensor + - sun history: exclude: