Wiki: Fields/Utilities / gadgetbridge_to_influxdb



This page details the fields/series created in InfluxDB by the script.


Common Tags

There are some tags which will be present against all entries


Data Collection Stats

Stats related to the operation of the script as well as monitoring the age of synced data

Tags:

Fields:


Activity Sample

These are used for the periodic sampling of heart rate (if enabled) as well as step counts.

See #5 for an overview of the intensity meaning.

Tags:

Fields:


Battery

Tags:

Fields:


Blood Oxygen (SpO2)

Note: SpO2 support is experimental in Gadgetbridge and will need to be enabled

Tags:

Fields:


Heart Rate Samples

Daily stats and manual heart-rate samples.

Tags:

Fields:


Extended Activity Samples

Activity samples taken by the watch.

Tags:

Fields:


Personal Activity Intelligence (PAI) score

The watch tracks PAI over a rolling 7 day period.

Fields:


Sleep Respiratory Rate

Note: at time of writing, there isn't a way to enable this from Gadgetbridge. If the watch exposes the option (the Bip 3 appears not to), it needs enabling there

Fields:


Stress

Tags:

Fields:


Stress Point-in-Time

The script generates points to fill the gaps between the points written for Stress above.

Tags:

Fields:

The stress_level_counter_* fields are intended to make it easy to chart out what proportion of time is spent at each stress level. An example of doing this can be found in #13