Github Mirror / telegraf-plugins: 009154e5




Change default measurement to solar_watts

Change default measurement to solar_watts

There are enough differences between this and my existing that I'm feeling a little wary about mixing them

Commit 009154e5.

Authored 2023-05-31T18:17:20.000+01:00 by B Tasker in project Github Mirror / telegraf-plugins

+1 lines -1 lines

Commit Signature

Changes

diff --git a/soliscloud/soliscloud.py b/soliscloud/soliscloud.py
--- a/soliscloud/soliscloud.py
+++ b/soliscloud/soliscloud.py
# @@ -443,7 +443,7 @@ def configFromEnv():
# # hit the rate limit. As long as this is higher than api_rate_limit it
# # should never actually be hit unless there's a bug.
# "max_ratelimit_wait" : int(os.getenv("API_RATE_LIMIT_MAXWAIT", 8)),
# - "measurement" : os.getenv("MEASUREMENT", "power_watts")
# + "measurement" : os.getenv("MEASUREMENT", "solar_inverter")
# }
#
# def extractBatteryStats(inverter, config):
#