Github Mirror / telegraf-plugins: 5ebb0d60




Add the tag I use for routing between outputs in Telegraf

Add the tag I use for routing between outputs in Telegraf

Commit 5ebb0d60.

Authored 2023-05-31T20:07:44.000+01:00 by B Tasker in project Github Mirror / telegraf-plugins

+4 lines -2 lines

Commit Signature

Changes

diff --git a/soliscloud/soliscloud.py b/soliscloud/soliscloud.py
--- a/soliscloud/soliscloud.py
+++ b/soliscloud/soliscloud.py
# @@ -462,7 +462,8 @@ def extractBatteryStats(inverter, config):
# "inverter_sn" : inverter['sn'],
# "station" : inverter['stationId'],
# "userId" : inverter['userId'],
# - "batteryType" : inverter["batteryType"].replace(" ","\\ ")
# + "batteryType" : inverter["batteryType"].replace(" ","\\ "),
# + "influxdb_database" : "Systemstats"
# }
#
# fields = {
# @@ -522,7 +523,8 @@ def extractInverterStats(inverter, config):
# "inverter_sn" : inverter['sn'],
# "station" : inverter['stationId'],
# "userId" : inverter['userId'],
# - "inverter_model" : inverter['model'].replace(" ","\ ")
# + "inverter_model" : inverter['model'].replace(" ","\ "),
# + "influxdb_database" : "Systemstats"
#
# }
#
#