project Utilities / zepp_to_influxdb avatar

Utilities / zepp_to_influxdb: d3084385




Switch to sane defaults

Switch to sane defaults

Commit d3084385.

Authored 2023-08-01T16:02:11.000+01:00 by B Tasker in project Utilities / zepp_to_influxdb

+2 lines -2 lines

Commit Signature

Changes

diff --git a/app/mifit_to_influxdb.py b/app/mifit_to_influxdb.py
--- a/app/mifit_to_influxdb.py
+++ b/app/mifit_to_influxdb.py
# @@ -338,8 +338,8 @@ def main():
# config['INFLUXDB_URL'] = os.getenv("INFLUXDB_URL", False)
# config['INFLUXDB_TOKEN'] = os.getenv("INFLUXDB_TOKEN", "")
# config['INFLUXDB_ORG'] = os.getenv("INFLUXDB_ORG", "")
# - config['INFLUXDB_MEASUREMENT'] = os.getenv("INFLUXDB_MEASUREMENT", "gadgetbridge")
# - config['INFLUXDB_BUCKET'] = os.getenv("INFLUXDB_BUCKET", "testing_db")
# + config['INFLUXDB_MEASUREMENT'] = os.getenv("INFLUXDB_MEASUREMENT", "zepp")
# + config['INFLUXDB_BUCKET'] = os.getenv("INFLUXDB_BUCKET", "telegraf")
#
# # How many days data should we request from the API?
# config['QUERY_DURATION'] = int(os.getenv("QUERY_DURATION", 2))
#