commit 990c86a0dd547f2387f4b167b9cd1b4bd7573096 Author: Roger Sikorski Date: Sun Nov 16 00:23:35 2025 +0100 Garmin-Grafana-Dashboard.json added diff --git a/Garmin-Grafana-Dashboard.json b/Garmin-Grafana-Dashboard.json new file mode 100644 index 0000000..e160263 --- /dev/null +++ b/Garmin-Grafana-Dashboard.json @@ -0,0 +1,13924 @@ +{ +"annotations": { +"list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } +] +}, +"editable": true, +"fiscalYearStartMonth": 0, +"graphTooltip": 0, +"id": 45, +"links": [], +"panels": [ +{ + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 14, + "panels": [], + "title": "Intraday Health Stats", + "type": "row" +}, +{ + "fieldConfig": { + "defaults": {}, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 3, + "x": 0, + "y": 1 + }, + "id": 25, + "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "
Buy Me a Coffee at ko-fi.com
", + "mode": "html" + }, + "pluginVersion": "12.2.1", + "title": "Support Me!", + "transparent": true, + "type": "text" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "scheme", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": 300000, + "lineInterpolation": "smooth", + "lineWidth": 0.8, + "pointSize": 1, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "area" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "semi-dark-blue", + "value": 0 + }, + { + "color": "semi-dark-green", + "value": 55 + }, + { + "color": "semi-dark-yellow", + "value": 70 + }, + { + "color": "semi-dark-red", + "value": 100 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 21, + "x": 3, + "y": 1 + }, + "id": 15, + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.2.1", + "targets": [ + { + "alias": "Heart Rate", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "2m" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "HeartRateIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "HeartRate" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "timeFrom": "24h", + "title": "Heart Rate", + "transformations": [ + { + "id": "calculateField", + "options": { + "alias": "Heart Rate", + "mode": "windowFunctions", + "reduce": { + "reducer": "sum" + }, + "replaceFields": true, + "window": { + "field": "Heart Rate", + "reducer": "mean", + "windowAlignment": "centered", + "windowSize": 0.004, + "windowSizeMode": "percentage" + } + } + }, + { + "id": "filterByValue", + "options": { + "filters": [ + { + "config": { + "id": "greater", + "options": { + "value": 0 + } + }, + "fieldName": "Heart Rate" + } + ], + "match": "any", + "type": "include" + } + } + ], + "transparent": true, + "type": "timeseries" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "light-blue", + "value": 1800000000000 + }, + { + "color": "#EAB839", + "value": 3600000000000 + }, + { + "color": "red", + "value": 5400000000000 + } + ] + }, + "unit": "dateTimeFromNow" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 3, + "x": 0, + "y": 4 + }, + "hideTimeOverride": true, + "id": 26, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/^Time$/", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.2.1", + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "measurement": "HeartRateIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "HeartRate" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [] + } + ], + "timeFrom": "24h", + "title": "Last Sync ", + "transparent": true, + "type": "stat" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "fillOpacity": 52, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "stacking": { + "group": "A", + "mode": "none" + } + }, + "fieldMinMax": true, + "mappings": [], + "max": 140, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "light-blue", + "value": 0 + }, + { + "color": "semi-dark-green", + "value": 60 + }, + { + "color": "dark-yellow", + "value": 95 + }, + { + "color": "semi-dark-red", + "value": 120 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Heart rate histogram > 110" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-red", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 4, + "w": 3, + "x": 0, + "y": 7 + }, + "hideTimeOverride": true, + "id": 21, + "options": { + "bucketOffset": 0, + "bucketSize": 2, + "combine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.2.1", + "targets": [ + { + "alias": "Heart rate histogram", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "HeartRate_Intraday", + "orderByTime": "ASC", + "policy": "default", + "query": "select mean_value from (SELECT mean(\"HeartRate\") as mean_value FROM \"HeartRateIntraday\" WHERE $timeFilter GROUP BY time(1m) fill(null)) where mean_value <= 96", + "queryType": "randomWalk", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + }, + { + "alias": "Heart rate histogram > 96", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "HeartRate_Intraday", + "orderByTime": "ASC", + "policy": "default", + "query": "select mean_value from (SELECT mean(\"HeartRate\") as mean_value FROM \"HeartRateIntraday\" WHERE $timeFilter GROUP BY time(1m) fill(null)) where mean_value > 96", + "queryType": "randomWalk", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + } + ] + ], + "tags": [] + }, + { + "alias": "Heart rate histogram < 60", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "HeartRate_Intraday", + "orderByTime": "ASC", + "policy": "default", + "query": "select mean_value from (SELECT mean(\"HeartRate\") as mean_value FROM \"HeartRateIntraday\" WHERE $timeFilter GROUP BY time(1m) fill(null)) where mean_value < 60", + "queryType": "randomWalk", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + } + ] + ], + "tags": [] + }, + { + "alias": "Heart rate histogram > 110", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "HeartRate_Intraday", + "orderByTime": "ASC", + "policy": "default", + "query": "select mean_value from (SELECT mean(\"HeartRate\") as mean_value FROM \"HeartRateIntraday\" WHERE $timeFilter GROUP BY time(1m) fill(null)) where mean_value > 110", + "queryType": "randomWalk", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + } + ] + ], + "tags": [] + } + ], + "timeFrom": "24h", + "title": "Heart Rate Distribution", + "transparent": true, + "type": "histogram" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "continuous-BlYlRd" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "scheme", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": 300000, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 1, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 1, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "semi-dark-blue", + "value": 0 + }, + { + "color": "semi-dark-yellow", + "value": 30 + }, + { + "color": "semi-dark-red", + "value": 60 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Body Battery" + }, + "properties": [ + { + "id": "custom.gradientMode", + "value": "opacity" + }, + { + "id": "color", + "value": { + "fixedColor": "semi-dark-green", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 21, + "x": 3, + "y": 10 + }, + "id": 29, + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.2.1", + "targets": [ + { + "alias": "Stress", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "measurement": "StressIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "stressLevel" + ], + "type": "field" + } + ] + ], + "tags": [] + }, + { + "alias": "Body Battery", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "BodyBatteryIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "BodyBatteryLevel" + ], + "type": "field" + } + ] + ], + "tags": [] + } + ], + "timeFrom": "24h", + "title": "Stress", + "transformations": [ + { + "id": "calculateField", + "options": { + "alias": "Stress Level", + "mode": "windowFunctions", + "reduce": { + "reducer": "sum" + }, + "replaceFields": false, + "window": { + "field": "Stress", + "reducer": "mean", + "windowAlignment": "centered", + "windowSize": 0.005, + "windowSizeMode": "percentage" + } + } + }, + { + "id": "filterByValue", + "options": { + "filters": [ + { + "config": { + "id": "greater", + "options": { + "value": 0 + } + }, + "fieldName": "Stress" + } + ], + "match": "any", + "type": "include" + } + }, + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "Time", + "Body Battery", + "Stress Level" + ] + } + } + } + ], + "transparent": true, + "type": "timeseries" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "displayName": "Resting HR", + "mappings": [], + "max": 100, + "min": 40, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "light-blue", + "value": 0 + }, + { + "color": "semi-dark-green", + "value": 60 + }, + { + "color": "semi-dark-yellow", + "value": 70 + }, + { + "color": "semi-dark-red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 0, + "y": 11 + }, + "id": 28, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true, + "sizing": "auto", + "text": {} + }, + "pluginVersion": "12.2.1", + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "restingHeartRate" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Today RHR", + "transformations": [ + { + "id": "merge", + "options": {} + } + ], + "transparent": true, + "type": "gauge" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "displayName": "Steps 👟", + "mappings": [], + "max": 15000, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "semi-dark-red", + "value": 0 + }, + { + "color": "light-orange", + "value": 5000 + }, + { + "color": "semi-dark-green", + "value": 10000 + }, + { + "color": "semi-dark-blue", + "value": 13000 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 3, + "x": 0, + "y": 16 + }, + "id": 30, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true, + "sizing": "auto", + "text": {} + }, + "pluginVersion": "12.2.1", + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "totalSteps" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Today's Steps", + "transformations": [ + { + "id": "merge", + "options": {} + } + ], + "transparent": true, + "type": "gauge" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "scheme", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": 3600000, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 3, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "area" + } + }, + "fieldMinMax": true, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-red", + "value": 0 + }, + { + "color": "super-light-yellow", + "value": 2000 + }, + { + "color": "light-green", + "value": 6000 + }, + { + "color": "light-blue", + "value": 8000 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 21, + "x": 3, + "y": 18 + }, + "id": 16, + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.2.1", + "targets": [ + { + "alias": "Intraday Steps", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "15m" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "StepsIntraday", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT moving_average(mean(\"value\"), 6) FROM \"HeartRate_Intraday\" WHERE $timeFilter GROUP BY time($__interval) fill(null)", + "queryType": "randomWalk", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "StepsCount" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [], + "type": "cumulative_sum" + } + ] + ], + "tags": [] + } + ], + "timeFrom": "24h", + "title": "Steps Cumulative (24h)", + "transformations": [ + { + "id": "calculateField", + "options": { + "alias": "Intraday Steps", + "mode": "windowFunctions", + "reduce": { + "reducer": "sum" + }, + "replaceFields": true, + "window": { + "field": "Intraday Steps", + "reducer": "mean", + "windowAlignment": "centered", + "windowSize": 0.003, + "windowSizeMode": "percentage" + } + } + }, + { + "id": "filterByValue", + "options": { + "filters": [ + { + "config": { + "id": "notEqual", + "options": { + "value": "0" + } + }, + "fieldName": "Intraday Steps" + } + ], + "match": "any", + "type": "include" + } + } + ], + "transparent": true, + "type": "timeseries" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "displayName": "SpO2 %", + "mappings": [], + "max": 100, + "min": 40, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "semi-dark-red", + "value": 0 + }, + { + "color": "semi-dark-orange", + "value": 85 + }, + { + "color": "semi-dark-yellow", + "value": 90 + }, + { + "color": "semi-dark-green", + "value": 95 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 3, + "x": 0, + "y": 22 + }, + "id": 31, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true, + "sizing": "auto", + "text": {} + }, + "pluginVersion": "12.2.1", + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "averageSpo2" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Today SpO2", + "transformations": [ + { + "id": "merge", + "options": {} + } + ], + "transparent": true, + "type": "gauge" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "continuous-greens" + }, + "custom": { + "axisPlacement": "auto", + "fillOpacity": 70, + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineWidth": 0, + "spanNulls": false + }, + "fieldMinMax": true, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-red", + "value": 0 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 21, + "x": 3, + "y": 26 + }, + "id": 68, + "options": { + "alignValue": "left", + "legend": { + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "mergeValues": false, + "rowHeight": 0.9, + "showValue": "never", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.2.1", + "targets": [ + { + "alias": "Hourly Steps", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1h" + ], + "type": "time" + }, + { + "params": [ + "0" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "StepsIntraday", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT moving_average(mean(\"value\"), 6) FROM \"HeartRate_Intraday\" WHERE $timeFilter GROUP BY time($__interval) fill(null)", + "queryType": "randomWalk", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "StepsCount" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "timeFrom": "24h", + "title": "Steps Hourly (24h)", + "transparent": true, + "type": "state-timeline" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "displayName": "of sleep", + "fieldMinMax": false, + "mappings": [], + "max": 36000, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "blue", + "value": 0 + }, + { + "color": "semi-dark-red", + "value": 7200 + }, + { + "color": "semi-dark-orange", + "value": 10800 + }, + { + "color": "semi-dark-yellow", + "value": 18000 + }, + { + "color": "semi-dark-green", + "value": 25200 + } + ] + }, + "unit": "dthms" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 3, + "x": 0, + "y": 28 + }, + "hideTimeOverride": true, + "id": 32, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true, + "sizing": "auto" + }, + "pluginVersion": "12.2.1", + "targets": [ + { + "alias": "Total Asleep", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "SleepSummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "sleepTimeSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "timeFrom": "24h", + "title": "Last Sleep Hours", + "transparent": true, + "type": "gauge" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 23, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": 600000, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Breathing Rate" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-blue", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 21, + "x": 3, + "y": 29 + }, + "id": 62, + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.2.1", + "targets": [ + { + "alias": "BR", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "2m" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "BreathingRateIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "BreathingRate" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "timeFrom": "24h", + "title": "Breathing Rates", + "transformations": [ + { + "id": "filterByValue", + "options": { + "filters": [ + { + "config": { + "id": "lower", + "options": { + "value": "0.1" + } + }, + "fieldName": "BR" + } + ], + "match": "all", + "type": "exclude" + } + }, + { + "id": "calculateField", + "options": { + "alias": "Breathing Rate", + "mode": "windowFunctions", + "reduce": { + "reducer": "sum" + }, + "replaceFields": false, + "window": { + "field": "BR", + "reducer": "mean", + "windowAlignment": "centered", + "windowSize": 0.03, + "windowSizeMode": "percentage" + } + } + }, + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "Time", + "Breathing Rate" + ] + } + } + } + ], + "transparent": true, + "type": "timeseries" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "displayName": "Stressful time", + "fieldMinMax": false, + "mappings": [], + "max": 36000, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "blue" + }, + { + "color": "semi-dark-red", + "value": 7200 + }, + { + "color": "semi-dark-orange", + "value": 10800 + }, + { + "color": "semi-dark-yellow", + "value": 18000 + }, + { + "color": "semi-dark-green", + "value": 25200 + } + ] + }, + "unit": "dthms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 3, + "x": 0, + "y": 34 + }, + "id": 33, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true, + "sizing": "auto" + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Stress", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "highStressDuration" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "High Stress Duration", + "transparent": true, + "type": "gauge" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 23, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": 300000, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Breathing Rate" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-blue", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 21, + "x": 3, + "y": 36 + }, + "id": 52, + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Sleeping Movement Activity", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "SleepIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "SleepMovementActivityLevel" + ], + "type": "field" + } + ] + ], + "tags": [] + } + ], + "timeFrom": "24h", + "title": "Sleep Movement Activity", + "transparent": true, + "type": "timeseries" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "mappings": [], + "unit": "dthms" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Deep" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "REM" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Light" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Awake" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-red", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 3, + "x": 0, + "y": 41 + }, + "hideTimeOverride": true, + "id": 36, + "options": { + "legend": { + "displayMode": "table", + "placement": "right", + "showLegend": false, + "values": [ + "percent", + "value" + ] + }, + "pieType": "donut", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "tooltip": { + "hideZeros": false, + "maxHeight": 600, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Deep", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "SleepSummary", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT distinct(\"minutes_deep\") FROM \"sleep\" WHERE is_main_sleep = true AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "deepSleepSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Light", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "SleepSummary", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT distinct(\"minutes_deep\") FROM \"sleep\" WHERE is_main_sleep = true AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "lightSleepSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "REM", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "SleepSummary", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT distinct(\"minutes_deep\") FROM \"sleep\" WHERE is_main_sleep = true AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "remSleepSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Awake", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "SleepSummary", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT distinct(\"minutes_deep\") FROM \"sleep\" WHERE is_main_sleep = true AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "awakeSleepSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "timeFrom": "24h", + "title": "Last Sleep", + "transparent": true, + "type": "piechart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 23, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": 300000, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "HRV" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-orange", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Heart Rate" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Sleeping Heart Rate" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "SpO2" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-purple", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Sleeping HR" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Sleeping SpO2" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-blue", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 21, + "x": 3, + "y": 43 + }, + "id": 7, + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Sleeping Heart Rate", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "SleepIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "heartRate" + ], + "type": "field" + } + ] + ], + "tags": [] + }, + { + "alias": "SpO2", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "SleepIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "spo2Reading" + ], + "type": "field" + } + ] + ], + "tags": [] + }, + { + "alias": "HRV", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "HRV_Intraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "hrvValue" + ], + "type": "field" + } + ] + ], + "tags": [] + } + ], + "timeFrom": "24h", + "title": "Sleep Intraday Stats", + "transformations": [ + { + "id": "calculateField", + "options": { + "alias": "Sleeping HR", + "mode": "windowFunctions", + "reduce": { + "reducer": "sum" + }, + "replaceFields": false, + "window": { + "field": "Sleeping Heart Rate", + "reducer": "mean", + "windowAlignment": "centered", + "windowSize": 0.008, + "windowSizeMode": "percentage" + } + } + }, + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "Time", + "SpO2", + "HRV", + "Sleeping HR" + ] + } + } + } + ], + "transparent": true, + "type": "timeseries" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "mappings": [], + "max": 180, + "min": 0, + "unit": "dthms" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Intense Activity" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Sedentary" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Light Activity" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Fair Activity" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Moderate Activity" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Sleeping" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-blue", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 3, + "x": 0, + "y": 50 + }, + "hideTimeOverride": true, + "id": 35, + "options": { + "displayLabels": [], + "legend": { + "displayMode": "list", + "placement": "bottom", + "showLegend": true, + "values": [] + }, + "pieType": "donut", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "text": {}, + "tooltip": { + "hideZeros": false, + "maxHeight": 600, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Sedentary", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "sedentarySeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Intense Activity", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "vigorousIntensityMinutes" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + }, + { + "params": [ + "* 60" + ], + "type": "math" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Moderate Activity", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "moderateIntensityMinutes" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + }, + { + "params": [ + "* 60" + ], + "type": "math" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Sleeping", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "sleepingSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "timeFrom": "24h", + "title": "Today Activity", + "transparent": true, + "type": "piechart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 23, + "gradientMode": "scheme", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": 14400000, + "lineInterpolation": "stepAfter", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "area" + } + }, + "mappings": [ + { + "options": { + "0": { + "index": 1, + "text": "Deep" + }, + "1": { + "index": 3, + "text": "Light" + }, + "2": { + "index": 5, + "text": "REM" + }, + "3": { + "index": 7, + "text": "Awake" + }, + "-0.5": { + "index": 0, + "text": "Deep" + }, + "0.5": { + "index": 2, + "text": "Light" + }, + "1.5": { + "index": 4, + "text": "REM" + }, + "2.5": { + "index": 6, + "text": "Awake" + } + }, + "type": "value" + } + ], + "max": 3.2, + "min": -0.2, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "dark-blue" + }, + { + "color": "super-light-blue", + "value": 0.5 + }, + { + "color": "light-yellow", + "value": 1.5 + }, + { + "color": "semi-dark-red", + "value": 2.5 + }, + { + "color": "semi-dark-red", + "value": 3 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 21, + "x": 3, + "y": 52 + }, + "id": 6, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Sleep Stages", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "SleepIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "SleepStageLevel" + ], + "type": "field" + } + ] + ], + "tags": [] + } + ], + "timeFrom": "24h", + "title": "Sleep Stages", + "transparent": true, + "type": "timeseries" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "mappings": [], + "unit": "dthms" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 5, + "x": 0, + "y": 59 + }, + "id": 43, + "options": { + "displayLabels": [], + "legend": { + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "pieType": "donut", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Zone 1", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "ActivitySummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "hrTimeInZone_1" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Zone 2", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "ActivitySummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "hrTimeInZone_2" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Zone 3", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "ActivitySummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "hrTimeInZone_3" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Zone 4", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "ActivitySummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "hrTimeInZone_4" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Zone 5", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "ActivitySummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "hrTimeInZone_5" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Activity HR Zones (mean)", + "transparent": true, + "type": "piechart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "mappings": [] + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 5, + "x": 5, + "y": 59 + }, + "id": 44, + "options": { + "legend": { + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "pieType": "donut", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "calories", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "measurement": "ActivitySummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "calories" + ], + "type": "field" + } + ] + ], + "tags": [] + }, + { + "alias": "BMR calories", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivitySummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "bmrCalories" + ], + "type": "field" + } + ] + ], + "tags": [] + } + ], + "title": "Activity Calories (mean)", + "transparent": true, + "type": "piechart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 80, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "HR difference" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-red", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 4, + "x": 10, + "y": 59 + }, + "id": 48, + "options": { + "barRadius": 0, + "barWidth": 0.97, + "fullHighlight": false, + "groupWidth": 0.7, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "orientation": "vertical", + "showValue": "never", + "stacking": "none", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "avgHR", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "ActivitySummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "averageHR" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "maxHR", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "ActivitySummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "maxHR" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Activity HR difference (Max-Avg)", + "transformations": [ + { + "id": "calculateField", + "options": { + "alias": "HR difference", + "binary": { + "left": { + "matcher": { + "id": "byName", + "options": "maxHR" + } + }, + "operator": "-", + "right": { + "matcher": { + "id": "byName", + "options": "avgHR" + } + } + }, + "mode": "binary", + "reduce": { + "reducer": "sum" + }, + "replaceFields": true + } + }, + { + "id": "filterByValue", + "options": { + "filters": [ + { + "config": { + "id": "greater", + "options": { + "value": 0 + } + }, + "fieldName": "HR difference" + } + ], + "match": "any", + "type": "include" + } + } + ], + "transparent": true, + "type": "barchart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 80, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "displayName": "Distance", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "lengthm" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "HR difference" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-red", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 5, + "x": 14, + "y": 59 + }, + "id": 53, + "options": { + "barRadius": 0, + "barWidth": 0.97, + "fullHighlight": false, + "groupWidth": 0.7, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "orientation": "vertical", + "showValue": "never", + "stacking": "none", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Distance", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "measurement": "ActivitySummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "distance" + ], + "type": "field" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Activity Distance", + "transformations": [ + { + "id": "groupBy", + "options": { + "fields": { + "Distance": { + "aggregations": [ + "lastNotNull" + ], + "operation": "aggregate" + }, + "Time": { + "aggregations": [], + "operation": "groupby" + }, + "Value": { + "aggregations": [ + "lastNotNull" + ], + "operation": "aggregate" + } + } + } + } + ], + "transparent": true, + "type": "barchart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 80, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "displayName": "Duration", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "HR difference" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "avgHR" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Duration" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-blue", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 5, + "x": 19, + "y": 59 + }, + "id": 54, + "options": { + "barRadius": 0, + "barWidth": 0.97, + "fullHighlight": false, + "groupWidth": 0.7, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "orientation": "vertical", + "showValue": "never", + "stacking": "none", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Duration", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "measurement": "ActivitySummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "elapsedDuration" + ], + "type": "field" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Activity Duration", + "transformations": [ + { + "id": "groupBy", + "options": { + "fields": { + "Duration": { + "aggregations": [ + "lastNotNull" + ], + "operation": "aggregate" + }, + "Time": { + "aggregations": [], + "operation": "groupby" + }, + "Value": { + "aggregations": [ + "lastNotNull" + ], + "operation": "aggregate" + } + } + } + } + ], + "transparent": true, + "type": "barchart" +}, +{ + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 68 + }, + "id": 42, + "panels": [], + "title": "Recent Activities", + "type": "row" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "continuous-purples" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "decimals": 1, + "fieldMinMax": false, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "GPS.distance" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-greens" + } + } + ] + } + ] + }, + "gridPos": { + "h": 11, + "w": 12, + "x": 0, + "y": 69 + }, + "id": 50, + "options": { + "basemap": { + "config": { + "server": "streets", + "showLabels": true, + "theme": "auto" + }, + "name": "Layer 0", + "opacity": 1, + "tooltip": true, + "type": "esri-xyz" + }, + "controls": { + "mouseWheelZoom": false, + "showAttribution": false, + "showDebug": false, + "showMeasure": false, + "showScale": true, + "showZoom": true + }, + "layers": [ + { + "config": { + "showLegend": true, + "style": { + "color": { + "field": "speed (Km/h)", + "fixed": "dark-green" + }, + "opacity": 0.4, + "rotation": { + "fixed": 0, + "max": 360, + "min": -360, + "mode": "mod" + }, + "size": { + "fixed": 3, + "max": 15, + "min": 2 + }, + "symbol": { + "fixed": "img/icons/marker/circle.svg", + "mode": "fixed" + }, + "symbolAlign": { + "horizontal": "center", + "vertical": "center" + }, + "textConfig": { + "fontSize": 12, + "offsetX": 0, + "offsetY": 0, + "textAlign": "center", + "textBaseline": "middle" + } + } + }, + "filterData": { + "id": "byRefId", + "options": "joinByField-I-J-A-B" + }, + "location": { + "mode": "auto" + }, + "name": "Speed (Km/h)", + "opacity": 0.8, + "tooltip": false, + "type": "markers" + } + ], + "tooltip": { + "mode": "details" + }, + "view": { + "allLayers": true, + "id": "fit", + "lastOnly": false, + "lat": 47.473641, + "layer": "Layer 1", + "lon": 19.054979, + "padding": 3, + "shared": true, + "zoom": 16 + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "lat", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"Latitude\",\"Longitude\" FROM \"ActivityGPS\" WHERE \"ActivitySelector\"::tag = \"20250413T084245UTC-Other-Lap3\" AND $timeFilter", + "rawQuery": false, + "refId": "I", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "Latitude" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + }, + { + "alias": "lon", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"Latitude\",\"Longitude\" FROM \"ActivityGPS\" WHERE \"ActivitySelector\"::tag = \"20250413T084245UTC-Other-Lap3\" AND $timeFilter", + "rawQuery": false, + "refId": "J", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "Longitude" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + }, + { + "alias": "HR", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"Latitude\",\"Longitude\" FROM \"ActivityGPS\" WHERE \"ActivitySelector\"::tag = \"20250413T084245UTC-Other-Lap3\" AND $timeFilter", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "HeartRate" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + }, + { + "alias": "speed (Km/h)", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"Latitude\",\"Longitude\" FROM \"ActivityGPS\" WHERE \"ActivitySelector\"::tag = \"20250413T084245UTC-Other-Lap3\" AND $timeFilter", + "rawQuery": false, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "Speed" + ], + "type": "field" + }, + { + "params": [ + "* 3.6" + ], + "type": "math" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + } + ], + "title": "GPS Track by Velocity", + "transformations": [ + { + "id": "joinByField", + "options": { + "byField": "Time", + "mode": "outer" + } + } + ], + "type": "geomap" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "dark-red", + "mode": "continuous-GrYlRd" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "decimals": 1, + "fieldMinMax": false, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "GPS.distance" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-greens" + } + } + ] + } + ] + }, + "gridPos": { + "h": 11, + "w": 12, + "x": 12, + "y": 69 + }, + "id": 49, + "options": { + "basemap": { + "config": { + "server": "world-imagery", + "showLabels": true, + "theme": "auto" + }, + "name": "Layer 0", + "opacity": 1, + "tooltip": true, + "type": "esri-xyz" + }, + "controls": { + "mouseWheelZoom": false, + "showAttribution": false, + "showDebug": false, + "showMeasure": false, + "showScale": true, + "showZoom": true + }, + "layers": [ + { + "config": { + "showLegend": false, + "style": { + "color": { + "fixed": "#040404" + }, + "opacity": 0.4, + "rotation": { + "fixed": 0, + "max": 360, + "min": -360, + "mode": "mod" + }, + "size": { + "fixed": 5, + "max": 15, + "min": 2 + }, + "symbol": { + "fixed": "img/icons/marker/circle.svg", + "mode": "fixed" + }, + "symbolAlign": { + "horizontal": "center", + "vertical": "center" + }, + "textConfig": { + "fontSize": 12, + "offsetX": 0, + "offsetY": 0, + "textAlign": "center", + "textBaseline": "middle" + } + } + }, + "location": { + "mode": "auto" + }, + "name": "Backdrop", + "tooltip": true, + "type": "markers" + }, + { + "config": { + "showLegend": true, + "style": { + "color": { + "field": "HR", + "fixed": "dark-green" + }, + "opacity": 0.4, + "rotation": { + "fixed": 0, + "max": 360, + "min": -360, + "mode": "mod" + }, + "size": { + "fixed": 3, + "max": 15, + "min": 2 + }, + "symbol": { + "fixed": "img/icons/marker/circle.svg", + "mode": "fixed" + }, + "symbolAlign": { + "horizontal": "center", + "vertical": "center" + }, + "text": { + "fixed": "", + "mode": "field" + }, + "textConfig": { + "fontSize": 12, + "offsetX": 0, + "offsetY": 0, + "textAlign": "center", + "textBaseline": "middle" + } + } + }, + "filterData": { + "id": "byRefId", + "options": "joinByField-I-J-A-B" + }, + "location": { + "mode": "auto" + }, + "name": "Heart Rate", + "opacity": 0.8, + "tooltip": false, + "type": "markers" + } + ], + "tooltip": { + "mode": "details" + }, + "view": { + "allLayers": true, + "id": "fit", + "lastOnly": false, + "lat": 47.473641, + "layer": "Layer 1", + "lon": 19.054979, + "padding": 3, + "shared": true, + "zoom": 16 + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "lat", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"Latitude\",\"Longitude\" FROM \"ActivityGPS\" WHERE \"ActivitySelector\"::tag = \"20250413T084245UTC-Other-Lap3\" AND $timeFilter", + "rawQuery": false, + "refId": "I", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "Latitude" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + }, + { + "alias": "lon", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"Latitude\",\"Longitude\" FROM \"ActivityGPS\" WHERE \"ActivitySelector\"::tag = \"20250413T084245UTC-Other-Lap3\" AND $timeFilter", + "rawQuery": false, + "refId": "J", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "Longitude" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + }, + { + "alias": "HR", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"Latitude\",\"Longitude\" FROM \"ActivityGPS\" WHERE \"ActivitySelector\"::tag = \"20250413T084245UTC-Other-Lap3\" AND $timeFilter", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "HeartRate" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + }, + { + "alias": "speed", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"Latitude\",\"Longitude\" FROM \"ActivityGPS\" WHERE \"ActivitySelector\"::tag = \"20250413T084245UTC-Other-Lap3\" AND $timeFilter", + "rawQuery": false, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "Speed" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + } + ], + "title": "GPS Track by Heart Rate", + "transformations": [ + { + "id": "joinByField", + "options": { + "byField": "Time", + "mode": "outer" + } + } + ], + "type": "geomap" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMin": 85, + "fillOpacity": 56, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 0, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "dashed" + } + }, + "decimals": 0, + "displayName": "Heart Rate", + "fieldMinMax": true, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "light-yellow", + "value": 120 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Heart Rate" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "dark-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "unit", + "value": "time:hh:mm a" + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 80 + }, + "id": 45, + "options": { + "barRadius": 0, + "barWidth": 0.97, + "colorByField": "Heart Rate", + "fullHighlight": true, + "groupWidth": 1, + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "orientation": "auto", + "showValue": "auto", + "stacking": "none", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xField": "Time", + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "HR", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"HeartRate\" FROM \"ActivityGPS\" WHERE (\"ActivitySelector\"::tag =~ /^$ActivityGPS$/)", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "HeartRate" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + } + ], + "title": "GPS Track Heart Rate", + "transformations": [ + { + "id": "calculateField", + "options": { + "alias": "Heart Rate", + "mode": "windowFunctions", + "reduce": { + "reducer": "sum" + }, + "replaceFields": true, + "window": { + "field": "HR", + "reducer": "mean", + "windowAlignment": "centered", + "windowSize": 5, + "windowSizeMode": "fixed" + } + } + } + ], + "transparent": true, + "type": "barchart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMin": 85, + "fillOpacity": 56, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 0, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "dashed" + } + }, + "decimals": 0, + "displayName": "Cadence", + "fieldMinMax": true, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Cadence" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "purple", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "unit", + "value": "time:hh:mm a" + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 88 + }, + "id": 61, + "options": { + "barRadius": 0, + "barWidth": 0.97, + "colorByField": "Heart Rate", + "fullHighlight": true, + "groupWidth": 1, + "legend": { + "calcs": [ + "min", + "max", + "median" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true, + "sortBy": "Name", + "sortDesc": true + }, + "orientation": "auto", + "showValue": "auto", + "stacking": "none", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xField": "Time", + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Cadence", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT (1000/(\"Cadence\"* 60)) FROM \"ActivityGPS\" WHERE (\"ActivitySelector\"::tag =~ /^$ActivityGPS$/) AND $timeFilter", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "Cadence" + ], + "type": "field" + }, + { + "params": [ + "* 2" + ], + "type": "math" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + } + ], + "title": "GPS Track Cadence", + "transformations": [ + { + "id": "calculateField", + "options": { + "alias": "Cadence", + "mode": "windowFunctions", + "reduce": { + "reducer": "sum" + }, + "replaceFields": true, + "window": { + "field": "Cadence", + "reducer": "mean", + "windowAlignment": "centered", + "windowSize": 5, + "windowSizeMode": "fixed" + } + } + } + ], + "transparent": true, + "type": "barchart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "fixed" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": 3600000, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "fieldMinMax": true, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "velocitykmh" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Distance" + }, + "properties": [ + { + "id": "unit", + "value": "lengthm" + }, + { + "id": "decimals", + "value": 1 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Heart Rate" + }, + "properties": [ + { + "id": "unit", + "value": "BPM" + }, + { + "id": "color", + "value": { + "fixedColor": "light-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Duration" + }, + "properties": [ + { + "id": "unit", + "value": "dthms" + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 96 + }, + "id": 57, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xField": "Duration" + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Distance", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"HeartRate\" FROM \"ActivityGPS\" WHERE (\"ActivitySelector\"::tag =~ /^$ActivityGPS$/)", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "Distance" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + }, + { + "alias": "Heart Rate", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"HeartRate\" FROM \"ActivityGPS\" WHERE (\"ActivitySelector\"::tag =~ /^$ActivityGPS$/)", + "rawQuery": false, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "HeartRate" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + }, + { + "alias": "Pace", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"HeartRate\" FROM \"ActivityGPS\" WHERE (\"ActivitySelector\"::tag =~ /^$ActivityGPS$/)", + "rawQuery": false, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "Speed" + ], + "type": "field" + }, + { + "params": [ + "* 3.6" + ], + "type": "math" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + }, + { + "alias": "Duration", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"HeartRate\" FROM \"ActivityGPS\" WHERE (\"ActivitySelector\"::tag =~ /^$ActivityGPS$/)", + "rawQuery": false, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "DurationSeconds" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + } + ], + "title": "Distance vs HR", + "transformations": [ + { + "id": "joinByField", + "options": {} + }, + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "Time", + "Heart Rate", + "Pace", + "Duration" + ] + } + } + } + ], + "transparent": true, + "type": "trend" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "fixed" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 34, + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "pointShape": "circle", + "pointSize": { + "fixed": 5 + }, + "pointStrokeWidth": 0, + "scaleDistribution": { + "type": "linear" + }, + "show": "points" + }, + "decimals": 0, + "fieldMinMax": true, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "velocitykmh" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Speed (Km/h)" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Heart Rate" + }, + "properties": [ + { + "id": "unit", + "value": "BPM" + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 104 + }, + "id": 55, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "mapping": "auto", + "series": [ + { + "frame": { + "matcher": { + "id": "byIndex", + "options": 0 + } + }, + "x": { + "matcher": { + "id": "byName", + "options": "Heart Rate" + } + }, + "y": { + "matcher": { + "id": "byName", + "options": "Speed (Km/h)" + } + } + } + ], + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Speed (Km/h)", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"HeartRate\" FROM \"ActivityGPS\" WHERE (\"ActivitySelector\"::tag =~ /^$ActivityGPS$/)", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "Speed" + ], + "type": "field" + }, + { + "params": [ + "* 3.6" + ], + "type": "math" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + }, + { + "alias": "Heart Rate", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"HeartRate\" FROM \"ActivityGPS\" WHERE (\"ActivitySelector\"::tag =~ /^$ActivityGPS$/)", + "rawQuery": false, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "HeartRate" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + } + ], + "title": "Heart Rate vs Pace", + "transformations": [ + { + "id": "joinByField", + "options": {} + } + ], + "transparent": true, + "type": "xychart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 43, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 0, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "fieldMinMax": true, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "velocitykmh" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Speed (Km/Hour)" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "unit", + "value": "time: hh:mm a" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Duration" + }, + "properties": [ + { + "id": "unit", + "value": "dtdurations" + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 112 + }, + "id": 47, + "options": { + "barRadius": 0, + "barWidth": 0.97, + "fullHighlight": true, + "groupWidth": 1, + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "orientation": "auto", + "showValue": "auto", + "stacking": "none", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Speed", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"HeartRate\" FROM \"ActivityGPS\" WHERE (\"ActivitySelector\"::tag =~ /^$ActivityGPS$/)", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "Speed" + ], + "type": "field" + }, + { + "params": [ + "* 3.6" + ], + "type": "math" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + }, + { + "alias": "Duration", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"HeartRate\" FROM \"ActivityGPS\" WHERE (\"ActivitySelector\"::tag =~ /^$ActivityGPS$/)", + "rawQuery": false, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "DurationSeconds" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + } + ], + "title": "GPS Track pace", + "transformations": [ + { + "id": "calculateField", + "options": { + "alias": "Speed (Km/Hour)", + "mode": "windowFunctions", + "reduce": { + "reducer": "sum" + }, + "replaceFields": false, + "window": { + "field": "Speed", + "reducer": "mean", + "windowAlignment": "centered", + "windowSize": 20, + "windowSizeMode": "fixed" + } + } + }, + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "Time", + "Speed (Km/Hour)" + ] + } + } + } + ], + "type": "barchart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMax": 150, + "axisSoftMin": 80, + "fillOpacity": 43, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 0, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "fieldMinMax": true, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "GPS.distance" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-greens" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Heart Rate" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Altitude" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "unit", + "value": "time:hh:mm a" + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 120 + }, + "id": 46, + "options": { + "barRadius": 0, + "barWidth": 0.97, + "fullHighlight": true, + "groupWidth": 1, + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "orientation": "auto", + "showValue": "auto", + "stacking": "none", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Altitude", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"HeartRate\" FROM \"ActivityGPS\" WHERE (\"ActivitySelector\"::tag =~ /^$ActivityGPS$/)", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "Altitude" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "ActivitySelector::tag", + "operator": "=~", + "value": "/^$ActivityGPS$/" + } + ] + } + ], + "title": "GPS Track Altitude", + "transformations": [ + { + "id": "calculateField", + "options": { + "alias": "Altitude", + "mode": "windowFunctions", + "reduce": { + "reducer": "sum" + }, + "replaceFields": true, + "window": { + "field": "Altitude", + "reducer": "mean", + "windowAlignment": "centered", + "windowSize": 5, + "windowSizeMode": "fixed" + } + } + } + ], + "type": "barchart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "center", + "cellOptions": { + "type": "color-text" + }, + "filterable": true, + "inspect": false + }, + "fieldMinMax": true, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-red" + }, + { + "color": "semi-dark-red", + "value": 600 + }, + { + "color": "light-yellow", + "value": 1800 + }, + { + "color": "light-green", + "value": 3000 + }, + { + "color": "semi-dark-green", + "value": 4000 + } + ] + }, + "unit": "s" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "custom.cellOptions", + "value": { + "type": "color-text", + "wrapText": true + } + }, + { + "id": "custom.width", + "value": 177 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Activity Type" + }, + "properties": [ + { + "id": "custom.cellOptions", + "value": { + "type": "color-text", + "wrapText": false + } + }, + { + "id": "color", + "value": { + "fixedColor": "light-purple", + "mode": "fixed" + } + }, + { + "id": "custom.width", + "value": 160 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Max HR" + }, + "properties": [ + { + "id": "unit", + "value": "short" + }, + { + "id": "color", + "value": { + "mode": "continuous-RdYlGr" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Duration" + }, + "properties": [ + { + "id": "custom.cellOptions", + "value": { + "mode": "gradient", + "type": "gauge" + } + }, + { + "id": "min", + "value": 0 + }, + { + "id": "max", + "value": 7200 + }, + { + "id": "custom.minWidth", + "value": 300 + }, + { + "id": "custom.width", + "value": 298 + }, + { + "id": "unit", + "value": "dthms" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Distance" + }, + "properties": [ + { + "id": "unit", + "value": "lengthm" + }, + { + "id": "color", + "value": { + "mode": "continuous-RdYlGr" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Max Speed" + }, + "properties": [ + { + "id": "unit", + "value": "velocitykmh" + }, + { + "id": "color", + "value": { + "mode": "continuous-RdYlGr" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Location" + }, + "properties": [ + { + "id": "custom.cellOptions", + "value": { + "type": "auto" + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 128 + }, + "id": 38, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "enablePagination": false, + "fields": [ + "Duration" + ], + "reducer": [ + "sum" + ], + "show": false + }, + "frameIndex": 1, + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "Time" + } + ] + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Activity Type", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivitySummary", + "orderByTime": "DESC", + "policy": "default", + "query": "SELECT \"duration\" FROM \"Activity Records\" WHERE (\"ActivityName\" = 'Walk') AND $timeFilter ORDER BY time DESC", + "rawQuery": false, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "activityType" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "activityType::field", + "operator": "!=", + "value": "No Activity" + } + ], + "tz": "$TimeZone" + }, + { + "alias": "Duration", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "measurement": "ActivitySummary", + "orderByTime": "DESC", + "policy": "default", + "query": "SELECT \"duration\" FROM \"Activity Records\" WHERE (\"ActivityName\" = 'Walk') AND $timeFilter ORDER BY time DESC", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "elapsedDuration" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "activityType::field", + "operator": "!=", + "value": "No Activity" + } + ], + "tz": "$TimeZone" + }, + { + "alias": "Max HR", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivitySummary", + "orderByTime": "DESC", + "policy": "default", + "query": "SELECT \"duration\" FROM \"Activity Records\" WHERE (\"ActivityName\" = 'Walk') AND $timeFilter ORDER BY time DESC", + "rawQuery": false, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "maxHR" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "activityType::field", + "operator": "!=", + "value": "No Activity" + } + ], + "tz": "$TimeZone" + }, + { + "alias": "Max Speed", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivitySummary", + "orderByTime": "DESC", + "policy": "default", + "query": "SELECT \"duration\" FROM \"Activity Records\" WHERE (\"ActivityName\" = 'Walk') AND $timeFilter ORDER BY time DESC", + "rawQuery": false, + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "maxSpeed" + ], + "type": "field" + }, + { + "params": [ + "* 3.6" + ], + "type": "math" + } + ] + ], + "tags": [ + { + "key": "activityType::field", + "operator": "!=", + "value": "No Activity" + } + ], + "tz": "$TimeZone" + }, + { + "alias": "Distance", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivitySummary", + "orderByTime": "DESC", + "policy": "default", + "query": "SELECT \"duration\" FROM \"Activity Records\" WHERE (\"ActivityName\" = 'Walk') AND $timeFilter ORDER BY time DESC", + "rawQuery": false, + "refId": "F", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "distance" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "activityType::field", + "operator": "!=", + "value": "No Activity" + } + ], + "tz": "$TimeZone" + }, + { + "alias": "Location", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivitySummary", + "orderByTime": "DESC", + "policy": "default", + "query": "SELECT \"duration\" FROM \"Activity Records\" WHERE (\"ActivityName\" = 'Walk') AND $timeFilter ORDER BY time DESC", + "rawQuery": false, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "locationName" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "activityType::field", + "operator": "!=", + "value": "No Activity" + } + ], + "tz": "$TimeZone" + } + ], + "timeFrom": "1w", + "title": "Recent Activity", + "transformations": [ + { + "id": "joinByField", + "options": { + "byField": "Time", + "mode": "outer" + } + } + ], + "transparent": true, + "type": "table" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "fixed" + }, + "custom": { + "axisPlacement": "auto", + "fillOpacity": 70, + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineWidth": 0, + "spanNulls": false + }, + "mappings": [ + { + "options": { + "No Activity": { + "color": "#343434", + "index": 0, + "text": "None" + }, + "cycling": { + "color": "semi-dark-green", + "index": 2, + "text": "Cycling" + }, + "walking": { + "color": "semi-dark-blue", + "index": 1, + "text": "Walking" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 24, + "x": 0, + "y": 136 + }, + "id": 41, + "options": { + "alignValue": "left", + "legend": { + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "mergeValues": true, + "rowHeight": 0.9, + "showValue": "never", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Activity Timeline", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "measurement": "ActivitySummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "activityType" + ], + "type": "field" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "timeFrom": "24h", + "title": "Activities", + "transparent": true, + "type": "state-timeline" +}, +{ + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 140 + }, + "id": 9, + "panels": [], + "title": "Long term visualization", + "type": "row" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "continuous-RdYlGr" + }, + "custom": { + "align": "center", + "cellOptions": { + "type": "gauge" + }, + "filterable": false, + "inspect": false + }, + "fieldMinMax": true, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "unit", + "value": "time:YYYY-MM-DD" + }, + { + "id": "custom.width", + "value": 128 + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "color", + "value": { + "fixedColor": "light-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Avg SpO2" + }, + "properties": [ + { + "id": "custom.width", + "value": 131 + }, + { + "id": "unit", + "value": "percent" + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Steps" + }, + "properties": [ + { + "id": "custom.width", + "value": 179 + }, + { + "id": "color", + "value": { + "fixedColor": "semi-dark-green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Resting Heart Rate" + }, + "properties": [ + { + "id": "custom.width", + "value": 139 + }, + { + "id": "unit", + "value": "BPM" + }, + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + }, + { + "id": "color", + "value": { + "mode": "continuous-GrYlRd" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Distance Covered" + }, + "properties": [ + { + "id": "unit", + "value": "lengthm" + }, + { + "id": "custom.width", + "value": 186 + }, + { + "id": "color", + "value": { + "fixedColor": "purple", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "High Stress Duration" + }, + "properties": [ + { + "id": "unit", + "value": "s" + }, + { + "id": "custom.width", + "value": 199 + }, + { + "id": "color", + "value": { + "mode": "continuous-BlYlRd" + } + }, + { + "id": "unit", + "value": "dthms" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Total Sleep" + }, + "properties": [ + { + "id": "unit", + "value": "s" + }, + { + "id": "mappings", + "value": [ + { + "options": { + "0": { + "index": 0, + "text": "N/A" + } + }, + "type": "value" + } + ] + }, + { + "id": "custom.width", + "value": 174 + }, + { + "id": "color", + "value": { + "mode": "continuous-BlPu" + } + }, + { + "id": "unit", + "value": "dthms" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Body Battery Change" + }, + "properties": [ + { + "id": "custom.cellOptions", + "value": { + "type": "color-text" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "High Activity Duration" + }, + "properties": [ + { + "id": "unit", + "value": "s" + }, + { + "id": "custom.width", + "value": 183 + }, + { + "id": "unit", + "value": "dthms" + } + ] + } + ] + }, + "gridPos": { + "h": 11, + "w": 24, + "x": 0, + "y": 141 + }, + "hideTimeOverride": false, + "id": 59, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "enablePagination": false, + "fields": "", + "reducer": [ + "mean" + ], + "show": true + }, + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "Time" + } + ] + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Distance Covered", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "DESC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "totalDistanceMeters" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Steps", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "DESC", + "policy": "default", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "totalSteps" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Total Sleep", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "DESC", + "policy": "default", + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "sleepingSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "High Stress Duration", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "DESC", + "policy": "default", + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "highStressDuration" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "High Activity Duration", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "DESC", + "policy": "default", + "refId": "H", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "highlyActiveSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Resting Heart Rate", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "DailyStats", + "orderByTime": "DESC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "restingHeartRate" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Avg SpO2", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "DESC", + "policy": "default", + "refId": "F", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "averageSpo2" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Body Battery Change", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "DESC", + "policy": "default", + "refId": "G", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "bodyBatteryChargedValue" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "timeFrom": "1w", + "title": "Week at a Glance", + "transformations": [ + { + "id": "joinByField", + "options": {} + } + ], + "type": "table" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 92, + "gradientMode": "scheme", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "area" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-red" + }, + { + "color": "green", + "value": 10000 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 8, + "x": 0, + "y": 152 + }, + "id": 1, + "options": { + "barRadius": 0, + "barWidth": 0.61, + "colorByField": "Value", + "fullHighlight": false, + "groupWidth": 0.7, + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "orientation": "auto", + "showValue": "never", + "stacking": "none", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xField": "Time", + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Steps", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "totalSteps" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Daily Steps", + "type": "barchart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 92, + "gradientMode": "scheme", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "area" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-red" + }, + { + "color": "green", + "value": 8000 + } + ] + }, + "unit": "lengthm" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 8, + "x": 8, + "y": 152 + }, + "id": 3, + "options": { + "barRadius": 0, + "barWidth": 0.61, + "colorByField": "Value", + "fullHighlight": false, + "groupWidth": 0.7, + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "orientation": "auto", + "showValue": "auto", + "stacking": "none", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xField": "Time", + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Distance Covered", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "totalDistanceMeters" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Daily Distance", + "type": "barchart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "continuous-RdYlGr" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 86, + "gradientMode": "scheme", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "area" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-red" + }, + { + "color": "dark-green", + "value": 2000 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "BMR Calories" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Activity Calories" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 8, + "x": 16, + "y": 152 + }, + "id": 10, + "options": { + "barRadius": 0, + "barWidth": 0.55, + "fullHighlight": false, + "groupWidth": 0.7, + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "orientation": "auto", + "showValue": "auto", + "stacking": "normal", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xField": "Time", + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "BMR Calories", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "bmrKilocalories" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Activity Calories", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "activeKilocalories" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Daily Calories", + "transformations": [ + { + "id": "filterByValue", + "options": { + "filters": [], + "match": "any", + "type": "exclude" + } + }, + { + "id": "filterByValue", + "options": { + "filters": [], + "match": "any", + "type": "include" + } + } + ], + "type": "barchart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 17, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 3, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": 259200000, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-red" + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Restless Count" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Awake Count" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "dark-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Avg Resting HR" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Avg Breathing Rate" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-purple", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Avg Stress" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-purple", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 161 + }, + "id": 11, + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Avg SpO2", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "SleepSummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "averageSpO2Value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Avg HRV", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "HRV_Intraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "hrvValue" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Avg Resting HR", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "restingHeartRate" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Daily avg health metrics", + "type": "timeseries" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 17, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 3, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": 259200000, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-red" + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Restless Count" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Awake Count" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "dark-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Avg Resting HR" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Avg Breathing Rate" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-purple", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Avg Stress" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Avg Sleeping Stress" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-blue", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 161 + }, + "id": 51, + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Avg Breathing Rate", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "BreathingRateIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "BreathingRate" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Avg Stress", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "StressIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "stressLevel" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Avg Sleeping Stress", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "SleepSummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "avgSleepStress" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Daily avg health metrics", + "type": "timeseries" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 17, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 3, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": 259200000, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-red" + } + ] + }, + "unit": "dthms" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Full Marathon" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Half Marathon" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Time 5K" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-purple", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Time 10K" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-green", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 10, + "w": 8, + "x": 0, + "y": 170 + }, + "id": 63, + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean", + "lastNotNull" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Time 5K", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "RacePredictions", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "time5K" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Time 10K", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "RacePredictions", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "time10K" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Half Marathon", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "RacePredictions", + "orderByTime": "ASC", + "policy": "default", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "timeHalfMarathon" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Full Marathon", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "RacePredictions", + "orderByTime": "ASC", + "policy": "default", + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "timeMarathon" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Race Predictions", + "type": "timeseries" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 42, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "dash": [ + 0, + 10 + ], + "fill": "dot" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-red" + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Full Marathon" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Half Marathon" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Time 5K" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-purple", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Time 10K" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-green", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 10, + "w": 8, + "x": 8, + "y": 170 + }, + "id": 64, + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "VO2 Max", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "VO2_Max", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "VO2_max_value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "VO2 Max", + "type": "timeseries" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "dark-red", + "mode": "continuous-GrYlRd" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "decimals": 1, + "fieldMinMax": false, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 8, + "x": 16, + "y": 170 + }, + "id": 69, + "options": { + "basemap": { + "config": { + "server": "world-imagery", + "showLabels": true, + "theme": "auto" + }, + "name": "Layer 0", + "opacity": 1, + "tooltip": true, + "type": "esri-xyz" + }, + "controls": { + "mouseWheelZoom": true, + "showAttribution": false, + "showDebug": false, + "showMeasure": false, + "showScale": true, + "showZoom": true + }, + "layers": [ + { + "config": { + "showLegend": false, + "style": { + "color": { + "fixed": "dark-green" + }, + "opacity": 0, + "rotation": { + "fixed": 0, + "max": 360, + "min": -360, + "mode": "mod" + }, + "size": { + "fixed": 5, + "max": 15, + "min": 2 + }, + "symbol": { + "fixed": "img/icons/marker/circle.svg", + "mode": "fixed" + }, + "symbolAlign": { + "horizontal": "center", + "vertical": "center" + }, + "textConfig": { + "fontSize": 12, + "offsetX": 0, + "offsetY": 0, + "textAlign": "center", + "textBaseline": "middle" + } + } + }, + "location": { + "mode": "auto" + }, + "name": "marker", + "tooltip": false, + "type": "markers" + }, + { + "config": { + "blur": 10, + "radius": 1, + "weight": { + "fixed": 1, + "max": 1, + "min": 0 + } + }, + "filterData": { + "id": "byRefId", + "options": "joinByField-I-J" + }, + "location": { + "mode": "auto" + }, + "name": "Heatmap", + "opacity": 0.8, + "tooltip": true, + "type": "heatmap" + } + ], + "tooltip": { + "mode": "details" + }, + "view": { + "allLayers": true, + "id": "fit", + "lastOnly": false, + "lat": 47.473641, + "layer": "Layer 1", + "lon": 19.054979, + "padding": 3, + "shared": false, + "zoom": 16 + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "lat", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"Latitude\",\"Longitude\" FROM \"ActivityGPS\" WHERE \"ActivitySelector\"::tag = \"20250413T084245UTC-Other-Lap3\" AND $timeFilter", + "rawQuery": false, + "refId": "I", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "Latitude" + ], + "type": "field" + } + ] + ] + }, + { + "alias": "lon", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [], + "hide": false, + "measurement": "ActivityGPS", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"Latitude\",\"Longitude\" FROM \"ActivityGPS\" WHERE \"ActivitySelector\"::tag = \"20250413T084245UTC-Other-Lap3\" AND $timeFilter", + "rawQuery": false, + "refId": "J", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "Longitude" + ], + "type": "field" + } + ] + ] + } + ], + "title": "Heatmap for GPS Activity (within selected time)", + "transformations": [ + { + "id": "joinByField", + "options": { + "byField": "Time", + "mode": "outer" + } + } + ], + "type": "geomap" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 86, + "gradientMode": "scheme", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-red" + } + ] + }, + "unit": "dthms" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Deep Sleep" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#042c68", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Light Sleep" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "REM Sleep" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Awake" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "unit", + "value": "time:MMM DD" + } + ] + } + ] + }, + "gridPos": { + "h": 11, + "w": 9, + "x": 0, + "y": 180 + }, + "id": 13, + "options": { + "barRadius": 0, + "barWidth": 0.97, + "fullHighlight": false, + "groupWidth": 0.7, + "legend": { + "calcs": [ + "mean" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "orientation": "auto", + "showValue": "auto", + "stacking": "normal", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xField": "Time", + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Deep Sleep", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "12h" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "SleepSummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "deepSleepSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Light Sleep", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "12h" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "SleepSummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "lightSleepSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "REM Sleep", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "12h" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "SleepSummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "remSleepSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Awake", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "12h" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "SleepSummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "awakeSleepSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Sleep Stages", + "transformations": [ + { + "id": "filterByValue", + "options": { + "filters": [], + "match": "any", + "type": "exclude" + } + }, + { + "id": "filterByValue", + "options": { + "filters": [], + "match": "any", + "type": "include" + } + } + ], + "type": "barchart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "mappings": [], + "max": 180, + "min": 0, + "unit": "dthms" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Intense Activity" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Sedentary" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Light Activity" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Fair Activity" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-yellow", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 11, + "w": 7, + "x": 9, + "y": 180 + }, + "id": 23, + "options": { + "displayLabels": [], + "legend": { + "displayMode": "table", + "placement": "bottom", + "showLegend": true, + "values": [ + "value", + "percent" + ] + }, + "pieType": "donut", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "text": {}, + "tooltip": { + "hideZeros": false, + "maxHeight": 600, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Sedentary", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "sedentarySeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Intense Activity", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "highlyActiveSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Fair Activity", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "activeSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Sleeping", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "sleepingSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Avg Activity over given duration", + "type": "piechart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 86, + "gradientMode": "scheme", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "area" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-red" + }, + { + "color": "dark-green", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 11, + "w": 8, + "x": 16, + "y": 180 + }, + "id": 12, + "options": { + "barRadius": 0, + "barWidth": 0.6, + "fullHighlight": false, + "groupWidth": 0.7, + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "orientation": "auto", + "showValue": "never", + "stacking": "normal", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xField": "Time", + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Sleep Score", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "SleepSummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "sleepScore" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Sleep Score", + "transformations": [ + { + "id": "filterByValue", + "options": { + "filters": [], + "match": "any", + "type": "exclude" + } + }, + { + "id": "filterByValue", + "options": { + "filters": [], + "match": "any", + "type": "include" + } + } + ], + "type": "barchart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 92, + "gradientMode": "scheme", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-red" + }, + { + "color": "green", + "value": 8000 + } + ] + }, + "unit": "dthms" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Vigorous Intensity" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Moderate Intensity" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Sleeping" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "dark-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Sedentary" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Highly Active" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Active" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-orange", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 11, + "w": 9, + "x": 0, + "y": 191 + }, + "id": 17, + "options": { + "barRadius": 0, + "barWidth": 0.52, + "colorByField": "Value", + "fullHighlight": false, + "groupWidth": 0.7, + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "orientation": "auto", + "showValue": "auto", + "stacking": "normal", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xField": "Time", + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Sleeping", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "sleepingSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Sedentary", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "sedentarySeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Active", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "activeSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Highly Active", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "highlyActiveSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Daily Activity Overview", + "type": "barchart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "fixed" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": true, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 92, + "gradientMode": "scheme", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "fieldMinMax": true, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-red" + } + ] + }, + "unit": "percent" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Drained" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Charged" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-green", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 11, + "w": 8, + "x": 9, + "y": 191 + }, + "id": 19, + "options": { + "barRadius": 0, + "barWidth": 0.62, + "colorByField": "Value", + "fullHighlight": false, + "groupWidth": 0.7, + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "orientation": "auto", + "showValue": "never", + "stacking": "normal", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xField": "Time", + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Charged", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "bodyBatteryChargedValue" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Drained", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "bodyBatteryDrainedValue" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [ + "* -1" + ], + "type": "math" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Body Battery overview", + "type": "barchart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 92, + "gradientMode": "scheme", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-red" + }, + { + "color": "green", + "value": 8000 + } + ] + }, + "unit": "dthms" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Vigorous Intensity" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Moderate Intensity" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-yellow", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 11, + "w": 7, + "x": 17, + "y": 191 + }, + "id": 4, + "options": { + "barRadius": 0, + "barWidth": 0.42, + "colorByField": "Value", + "fullHighlight": false, + "groupWidth": 0.7, + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "orientation": "vertical", + "showValue": "auto", + "stacking": "normal", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xField": "Time", + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Moderate Intensity", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "moderateIntensityMinutes" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + }, + { + "params": [ + "* 60" + ], + "type": "math" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Vigorous Intensity", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "vigorousIntensityMinutes" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + }, + { + "params": [ + "* 60" + ], + "type": "math" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Daily Intensity Minutes", + "type": "barchart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 92, + "gradientMode": "scheme", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-red" + }, + { + "color": "green", + "value": 8000 + } + ] + }, + "unit": "dthms" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Vigorous Intensity" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Moderate Intensity" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Sleeping" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "dark-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Sedentary" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Highly Active" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Active" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-orange", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Low Stress duration" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Medium stress duration" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-orange", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "High stress duration" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Rest stress duration" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Uncategorized stress duration" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#7c7c7c", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 14, + "w": 10, + "x": 0, + "y": 202 + }, + "id": 18, + "options": { + "barRadius": 0, + "barWidth": 0.56, + "colorByField": "Value", + "fullHighlight": false, + "groupWidth": 0.7, + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "orientation": "auto", + "showValue": "never", + "stacking": "normal", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xField": "Time", + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Low Stress duration", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "lowStressDuration" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Rest stress duration", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "restStressDuration" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Medium stress duration", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "mediumStressDuration" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Uncategorized stress duration", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "uncategorizedStressDuration" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "High stress duration", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "highStressDuration" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Stress overview", + "type": "barchart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "mappings": [], + "unit": "dthms" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Deep" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "REM" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Light" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Awake" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-red", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 7, + "x": 10, + "y": 202 + }, + "id": 22, + "options": { + "legend": { + "displayMode": "table", + "placement": "right", + "showLegend": true, + "values": [ + "percent", + "value" + ] + }, + "pieType": "donut", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "tooltip": { + "hideZeros": false, + "maxHeight": 600, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Deep", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "SleepSummary", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT distinct(\"minutes_deep\") FROM \"sleep\" WHERE is_main_sleep = true AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "deepSleepSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Light", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "SleepSummary", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT distinct(\"minutes_deep\") FROM \"sleep\" WHERE is_main_sleep = true AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "lightSleepSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "REM", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "SleepSummary", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT distinct(\"minutes_deep\") FROM \"sleep\" WHERE is_main_sleep = true AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "remSleepSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Awake", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "SleepSummary", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT distinct(\"minutes_deep\") FROM \"sleep\" WHERE is_main_sleep = true AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "awakeSleepSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Average Sleep trends", + "type": "piechart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 80, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "bb_low" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#181b1f", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Battery Difference" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-purple", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 7, + "x": 17, + "y": 202 + }, + "id": 37, + "options": { + "barRadius": 0, + "barWidth": 0.57, + "fullHighlight": false, + "groupWidth": 0.7, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "orientation": "auto", + "showValue": "never", + "stacking": "normal", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "bb_low", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "bodyBatteryLowestValue" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "bb_high", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "bodyBatteryHighestValue" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Body Battery Level Change", + "transformations": [ + { + "id": "calculateField", + "options": { + "alias": "Battery Difference", + "binary": { + "left": { + "matcher": { + "id": "byName", + "options": "bb_high" + } + }, + "operator": "-", + "right": { + "matcher": { + "id": "byName", + "options": "bb_low" + } + } + }, + "mode": "binary", + "reduce": { + "reducer": "sum" + } + } + }, + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "bb_low", + "Battery Difference", + "Time" + ] + } + } + } + ], + "type": "barchart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 27, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "dash": [ + 0, + 10 + ], + "fill": "dot" + }, + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "always", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "massg" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "BodyComposition.mean" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Weight in KG" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-yellow", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 7, + "x": 10, + "y": 208 + }, + "id": 34, + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Weight in KG", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "BodyComposition", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "weight" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Weight", + "type": "timeseries" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMin": 30, + "fillOpacity": 80, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "hr_low" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#181b1f", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "hr_high" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "semi-dark-yellow", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 7, + "x": 17, + "y": 209 + }, + "id": 58, + "options": { + "barRadius": 0, + "barWidth": 0.57, + "fullHighlight": false, + "groupWidth": 0.7, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "orientation": "auto", + "showValue": "never", + "stacking": "normal", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xTickLabelRotation": 0, + "xTickLabelSpacing": 100 + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "hr_low", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "minHeartRate" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "hr_high", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "maxHeartRate" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "HR Range (Max-Min)", + "transformations": [ + { + "id": "calculateField", + "options": { + "alias": "Battery Difference", + "binary": { + "left": { + "matcher": { + "id": "byName", + "options": "hr_high" + } + }, + "operator": "-", + "right": { + "matcher": { + "id": "byName", + "options": "hr_low" + } + } + }, + "mode": "binary", + "reduce": { + "reducer": "sum" + } + } + }, + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "Time", + "hr_high", + "hr_low" + ] + } + } + } + ], + "type": "barchart" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "light-green", + "mode": "thresholds" + }, + "custom": { + "axisPlacement": "auto", + "fillOpacity": 70, + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineWidth": 0, + "spanNulls": false + }, + "fieldMinMax": true, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-blue" + }, + { + "color": "dark-green", + "value": 40 + }, + { + "color": "super-light-yellow", + "value": 50 + }, + { + "color": "light-orange", + "value": 55 + }, + { + "color": "light-red", + "value": 60 + }, + { + "color": "semi-dark-red", + "value": 65 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "High Stress Duration" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-reds" + } + }, + { + "id": "unit", + "value": "dthms" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Resting HR" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-reds" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Active time" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-greens" + } + }, + { + "id": "unit", + "value": "dthms" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "SpO2" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-blues" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Total Steps" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-greens" + } + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "yellow" + }, + { + "color": "light-yellow", + "value": 1000 + }, + { + "color": "super-light-yellow", + "value": 5000 + }, + { + "color": "super-light-green", + "value": 8000 + }, + { + "color": "super-light-green", + "value": 10000 + }, + { + "color": "semi-dark-green", + "value": 15000 + }, + { + "color": "light-blue", + "value": 20000 + }, + { + "color": "semi-dark-blue", + "value": 25000 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Total Sleep" + }, + "properties": [ + { + "id": "unit", + "value": "s" + }, + { + "id": "color", + "value": { + "mode": "continuous-YlBl" + } + }, + { + "id": "mappings", + "value": [ + { + "options": { + "0": { + "color": "transparent", + "index": 0, + "text": "0" + } + }, + "type": "value" + } + ] + }, + { + "id": "unit", + "value": "dthms" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Body Battery (Highest)" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-greens" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Sleep Score" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-YlBl" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "HRV" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-YlBl" + } + } + ] + } + ] + }, + "gridPos": { + "h": 11, + "w": 24, + "x": 0, + "y": 216 + }, + "id": 66, + "options": { + "alignValue": "left", + "legend": { + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "mergeValues": true, + "rowHeight": 0.77, + "showValue": "never", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Resting HR", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "restingHeartRate" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "High Stress Duration", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "highStressDuration" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Active time", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "activeSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Body Battery (Highest)", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "G", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "bodyBatteryHighestValue" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Total Steps", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "totalSteps" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "SpO2", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "averageSpo2" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Sleep Score", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "SleepSummary", + "orderByTime": "ASC", + "policy": "default", + "refId": "H", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "sleepScore" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "Total Sleep", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "DailyStats", + "orderByTime": "ASC", + "policy": "default", + "refId": "F", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "sleepingSeconds" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + }, + { + "alias": "HRV", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "HRV_Intraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "I", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "hrvValue" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Month at a Glance (Daily Average)", + "transparent": true, + "type": "state-timeline" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "light-green", + "mode": "thresholds" + }, + "custom": { + "axisPlacement": "auto", + "fillOpacity": 85, + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineWidth": 0, + "spanNulls": false + }, + "fieldMinMax": true, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-blue" + }, + { + "color": "dark-green", + "value": 40 + }, + { + "color": "super-light-yellow", + "value": 50 + }, + { + "color": "light-orange", + "value": 55 + }, + { + "color": "light-red", + "value": 60 + }, + { + "color": "semi-dark-red", + "value": 65 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "HR Zones" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-GrYlRd" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Body Battery" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-RdYlGr" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Steps Taken" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-greens" + } + }, + { + "id": "mappings", + "value": [ + { + "options": { + "0": { + "color": "transparent", + "index": 0, + "text": "0" + } + }, + "type": "value" + } + ] + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Stress Level" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-reds" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Band Wearing" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-GrYlRd" + } + }, + { + "id": "mappings", + "value": [ + { + "options": { + "0": { + "color": "transparent", + "index": 0, + "text": "Off hand" + } + }, + "type": "value" + }, + { + "options": { + "from": 1, + "result": { + "color": "semi-dark-green", + "index": 1, + "text": "On Hand" + }, + "to": 500 + }, + "type": "range" + } + ] + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 227 + }, + "id": 67, + "options": { + "alignValue": "left", + "legend": { + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "mergeValues": true, + "rowHeight": 0.71, + "showValue": "never", + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Band Wearing", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "2m" + ], + "type": "time" + }, + { + "params": [ + "0" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "HeartRateIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "HeartRate" + ], + "type": "field" + }, + { + "params": [], + "type": "count" + } + ] + ], + "tags": [] + }, + { + "alias": "HR Zones", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1h" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "HeartRateIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "HeartRate" + ], + "type": "field" + }, + { + "params": [], + "type": "median" + } + ] + ], + "tags": [] + }, + { + "alias": "Body Battery", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1h" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "BodyBatteryIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "BodyBatteryLevel" + ], + "type": "field" + }, + { + "params": [], + "type": "median" + } + ] + ], + "tags": [] + }, + { + "alias": "Stress Level", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1h" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "StressIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "stressLevel" + ], + "type": "field" + }, + { + "params": [], + "type": "median" + } + ] + ], + "tags": [] + }, + { + "alias": "Steps Taken", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1h" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "StepsIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "StepsCount" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + } + ] + ], + "tags": [] + } + ], + "title": "Month at a Glance (Intraday)", + "transparent": true, + "type": "state-timeline" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "scaleDistribution": { + "type": "linear" + } + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 235 + }, + "id": 65, + "options": { + "calculate": true, + "calculation": { + "xBuckets": { + "mode": "count", + "value": "" + }, + "yBuckets": { + "scale": { + "log": 2, + "type": "log" + }, + "value": "5" + } + }, + "cellGap": 1, + "color": { + "exponent": 0.5, + "fill": "semi-dark-red", + "mode": "opacity", + "reverse": false, + "scale": "linear", + "scheme": "Oranges", + "steps": 64 + }, + "exemplars": { + "color": "rgba(255,0,255,0.7)" + }, + "filterValues": { + "le": 1e-9 + }, + "legend": { + "show": false + }, + "rowsFrame": { + "layout": "auto" + }, + "tooltip": { + "mode": "single", + "showColorScale": true, + "yHistogram": true + }, + "yAxis": { + "axisPlacement": "left", + "reverse": false, + "unit": "BPM" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Heart Rate", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "HeartRateIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "HeartRate" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "timeFrom": "30d", + "title": "HR Histogram Heatmap", + "transparent": true, + "type": "heatmap" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "continuous-GrYlRd" + }, + "custom": { + "calculation": "sum", + "colorPalette": "interpolateYlOrRd", + "colorSpace": "hsl", + "groupBy": 60, + "invertPalette": false, + "nullValueColor": "rgb(155, 155, 155)" + }, + "mappings": [], + "max": 1500, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "dark-red" + }, + { + "color": "light-yellow", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 243 + }, + "id": 20, + "options": { + "from": "5", + "legendGradientQuality": "high", + "regions": [], + "showCellBorder": false, + "showLegend": true, + "showTooltip": true, + "showValueIndicator": true, + "timeFieldName": "Time", + "to": "22", + "valueFieldName": "Value" + }, + "pluginVersion": "2.0.1", + "targets": [ + { + "alias": "Hourly Steps", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "StepsIntraday", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "StepsCount" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Hourly walk heatmap", + "transformations": [ + { + "id": "merge", + "options": {} + } + ], + "transparent": true, + "type": "marcusolsson-hourly-heatmap-panel" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "continuous-RdYlGr" + }, + "custom": { + "calculation": "sum", + "colorPalette": "interpolateReds", + "colorSpace": "rgb", + "groupBy": 60, + "invertPalette": false, + "nullValueColor": "rgb(155, 155, 155)" + }, + "decimals": 2, + "mappings": [ + { + "options": { + "asleep": { + "index": 1, + "text": "0" + }, + "awake": { + "index": 0, + "text": "1" + } + }, + "type": "value" + } + ], + "max": 0.6, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 243 + }, + "id": 27, + "options": { + "from": "0", + "legendGradientQuality": "medium", + "regions": [ + { + "color": "#ccfbc059", + "end": { + "hour": 22, + "minute": 0 + }, + "start": { + "hour": 8, + "minute": 0 + } + }, + { + "color": "rgba(242, 73, 92, 0.5)", + "end": { + "hour": 23, + "minute": 59 + }, + "start": { + "hour": 22, + "minute": 0 + } + }, + { + "color": "rgba(242, 73, 92, 0.5)", + "end": { + "hour": 8, + "minute": 0 + }, + "start": { + "hour": 0, + "minute": 0 + } + } + ], + "showCellBorder": false, + "showLegend": false, + "showTooltip": true, + "showValueIndicator": false, + "timeFieldName": "Time", + "to": "0", + "valueFieldName": "Value" + }, + "pluginVersion": "2.0.1", + "targets": [ + { + "alias": "Sleep Regularity", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "1h" + ], + "type": "time" + } + ], + "measurement": "SleepIntraday", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT median(\"level\") FROM \"Sleep Levels\" WHERE $timeFilter GROUP BY time(1h)", + "queryType": "randomWalk", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "SleepStageLevel" + ], + "type": "field" + }, + { + "params": [], + "type": "median" + } + ] + ], + "tags": [], + "tz": "$TimeZone" + } + ], + "title": "Sleep Regularity", + "transparent": true, + "type": "marcusolsson-hourly-heatmap-panel" +}, +{ + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "left", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 65, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 3, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": 21600000, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Device Battery Level" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-purple", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 253 + }, + "id": 60, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.0.0", + "targets": [ + { + "alias": "Device Battery Level", + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "groupBy": [ + { + "params": [ + "10m" + ], + "type": "time" + } + ], + "measurement": "%", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "timeFrom": "10d", + "title": "Battery Level (Requires GarminHomeAssistant from ConnectIQ integration)", + "transparent": true, + "type": "timeseries" +} +], +"preload": false, +"refresh": "5m", +"schemaVersion": 42, +"tags": [], +"templating": { +"list": [ + { + "allowCustomValue": false, + "current": { + "text": [ + "20251102T160044UTC-running" + ], + "value": [ + "20251102T160044UTC-running" + ] + }, + "datasource": { + "type": "influxdb", + "uid": "bcfbda14-2e15-4903-906f-ab53a7021b2a" + }, + "definition": "SHOW TAG VALUES FROM \"ActivityGPS\" WITH KEY = \"ActivitySelector\" WHERE $timeFilter", + "description": "List of Activities dropdown", + "label": "Activity with GPS", + "multi": true, + "name": "ActivityGPS", + "options": [], + "query": { + "query": "SHOW TAG VALUES FROM \"ActivityGPS\" WITH KEY = \"ActivitySelector\" WHERE $timeFilter", + "refId": "InfluxVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "", + "sort": 4, + "type": "query" + }, + { + "current": { + "text": "Europe/Budapest", + "value": "Europe/Budapest" + }, + "description": "Your local time zone for grouping stats", + "label": "Local Time Zone", + "name": "TimeZone", + "options": [ + { + "selected": false, + "text": "Europe/London", + "value": "Europe/London" + }, + { + "selected": false, + "text": "Europe/Paris", + "value": "Europe/Paris" + }, + { + "selected": false, + "text": "Europe/Berlin", + "value": "Europe/Berlin" + }, + { + "selected": false, + "text": "Europe/Madrid", + "value": "Europe/Madrid" + }, + { + "selected": false, + "text": "Europe/Rome", + "value": "Europe/Rome" + }, + { + "selected": false, + "text": "Europe/Amsterdam", + "value": "Europe/Amsterdam" + }, + { + "selected": false, + "text": "Europe/Brussels", + "value": "Europe/Brussels" + }, + { + "selected": false, + "text": "Europe/Zurich", + "value": "Europe/Zurich" + }, + { + "selected": false, + "text": "Europe/Stockholm", + "value": "Europe/Stockholm" + }, + { + "selected": false, + "text": "Europe/Warsaw", + "value": "Europe/Warsaw" + }, + { + "selected": true, + "text": "Europe/Budapest", + "value": "Europe/Budapest" + }, + { + "selected": false, + "text": "Europe/Istanbul", + "value": "Europe/Istanbul" + }, + { + "selected": false, + "text": "Europe/Athens", + "value": "Europe/Athens" + }, + { + "selected": false, + "text": "Europe/Moscow", + "value": "Europe/Moscow" + }, + { + "selected": false, + "text": "America/New_York", + "value": "America/New_York" + }, + { + "selected": false, + "text": "America/Chicago", + "value": "America/Chicago" + }, + { + "selected": false, + "text": "America/Denver", + "value": "America/Denver" + }, + { + "selected": false, + "text": "America/Los_Angeles", + "value": "America/Los_Angeles" + }, + { + "selected": false, + "text": "America/Toronto", + "value": "America/Toronto" + }, + { + "selected": false, + "text": "America/Vancouver", + "value": "America/Vancouver" + }, + { + "selected": false, + "text": "America/Mexico_City", + "value": "America/Mexico_City" + }, + { + "selected": false, + "text": "America/Sao_Paulo", + "value": "America/Sao_Paulo" + }, + { + "selected": false, + "text": "America/Buenos_Aires", + "value": "America/Buenos_Aires" + }, + { + "selected": false, + "text": "America/Lima", + "value": "America/Lima" + }, + { + "selected": false, + "text": "America/Bogota", + "value": "America/Bogota" + }, + { + "selected": false, + "text": "Africa/Johannesburg", + "value": "Africa/Johannesburg" + }, + { + "selected": false, + "text": "Africa/Cairo", + "value": "Africa/Cairo" + }, + { + "selected": false, + "text": "Africa/Nairobi", + "value": "Africa/Nairobi" + }, + { + "selected": false, + "text": "Africa/Lagos", + "value": "Africa/Lagos" + }, + { + "selected": false, + "text": "Asia/Tokyo", + "value": "Asia/Tokyo" + }, + { + "selected": false, + "text": "Asia/Seoul", + "value": "Asia/Seoul" + }, + { + "selected": false, + "text": "Asia/Shanghai", + "value": "Asia/Shanghai" + }, + { + "selected": false, + "text": "Asia/Singapore", + "value": "Asia/Singapore" + }, + { + "selected": false, + "text": "Asia/Kolkata", + "value": "Asia/Kolkata" + }, + { + "selected": false, + "text": "Asia/Bangkok", + "value": "Asia/Bangkok" + }, + { + "selected": false, + "text": "Asia/Dubai", + "value": "Asia/Dubai" + }, + { + "selected": false, + "text": "Asia/Hong_Kong", + "value": "Asia/Hong_Kong" + }, + { + "selected": false, + "text": "Asia/Kuala_Lumpur", + "value": "Asia/Kuala_Lumpur" + }, + { + "selected": false, + "text": "Asia/Jakarta", + "value": "Asia/Jakarta" + }, + { + "selected": false, + "text": "Asia/Manila", + "value": "Asia/Manila" + }, + { + "selected": false, + "text": "Asia/Taipei", + "value": "Asia/Taipei" + }, + { + "selected": false, + "text": "Asia/Karachi", + "value": "Asia/Karachi" + }, + { + "selected": false, + "text": "Asia/Colombo", + "value": "Asia/Colombo" + }, + { + "selected": false, + "text": "Asia/Ho_Chi_Minh", + "value": "Asia/Ho_Chi_Minh" + }, + { + "selected": false, + "text": "Australia/Sydney", + "value": "Australia/Sydney" + }, + { + "selected": false, + "text": "Australia/Melbourne", + "value": "Australia/Melbourne" + }, + { + "selected": false, + "text": "Australia/Brisbane", + "value": "Australia/Brisbane" + }, + { + "selected": false, + "text": "Australia/Perth", + "value": "Australia/Perth" + }, + { + "selected": false, + "text": "Pacific/Auckland", + "value": "Pacific/Auckland" + }, + { + "selected": false, + "text": "Pacific/Honolulu", + "value": "Pacific/Honolulu" + } + ], + "query": "Europe/London, Europe/Paris, Europe/Berlin, Europe/Madrid, Europe/Rome, Europe/Amsterdam, Europe/Brussels, Europe/Zurich, Europe/Stockholm, Europe/Warsaw, Europe/Budapest, Europe/Istanbul, Europe/Athens, Europe/Moscow, America/New_York, America/Chicago, America/Denver, America/Los_Angeles, America/Toronto, America/Vancouver, America/Mexico_City, America/Sao_Paulo, America/Buenos_Aires, America/Lima, America/Bogota, Africa/Johannesburg, Africa/Cairo, Africa/Nairobi, Africa/Lagos, Asia/Tokyo, Asia/Seoul, Asia/Shanghai, Asia/Singapore, Asia/Kolkata, Asia/Bangkok, Asia/Dubai, Asia/Hong_Kong, Asia/Kuala_Lumpur, Asia/Jakarta, Asia/Manila, Asia/Taipei, Asia/Karachi, Asia/Colombo, Asia/Ho_Chi_Minh, Australia/Sydney, Australia/Melbourne, Australia/Brisbane, Australia/Perth, Pacific/Auckland, Pacific/Honolulu", + "type": "custom" + } +] +}, +"time": { +"from": "now-30d", +"to": "now" +}, +"timepicker": {}, +"timezone": "browser", +"title": "Garmin Stats", +"uid": "feiibsx498gsgb", +"version": 1 +}