project Utilities / zepp_to_influxdb avatar

Utilities / zepp_to_influxdb: ed284c5d




How did that one sneak past me?

How did that one sneak past me?

Commit ed284c5d.

Authored 2023-08-02T14:56:45.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
# @@ -149,10 +149,10 @@ def extract_sleep_data(ts, slp, day):
#
# row = {
# "timestamp": minute_to_timestamp(sleep['start'], day) * 1000000000, # Convert to nanos
# - fields : {
# + "fields" : {
# "total_sleep_min" : sleep['stop'] - sleep['start']
# },
# - tags : {
# + "tags" : {
# "activity_type" : "sleep_stage",
# "sleep_type" : stage
# }
#