| ... |
... |
@@ -32,7 +32,7 @@ the name of the data field.
|
|
32 |
32 |
When configured, the watchapp makes one POST request for each recorded
|
|
33 |
33 |
Pebble Health entry, filling the data field with string like:
|
|
34 |
34 |
|
|
35 |
|
- 2016-05-25T21:22:00Z,120,0,4,9915,1,0
|
|
|
35 |
+ 2016-05-25T21:22:00Z,120,0,4,9915,1,0,0
|
|
36 |
36 |
|
|
37 |
37 |
That is a typical CSV line, with the fields interpreted as follow:
|
|
38 |
38 |
|
| ... |
... |
@@ -48,14 +48,16 @@ format,
|
|
48 |
48 |
- **ambient light level**, from 1 (darkest) to 4 (brightest) with 0
|
|
49 |
49 |
meaning unknown
|
|
50 |
50 |
- **activity mask**, currently 3 for deep sleep, 1 for non-deep sleep or 0
|
|
51 |
|
- for not sleeping.
|
|
|
51 |
+ for not sleeping,
|
|
|
52 |
+- **heart beats**, or 0 when there is no heart rate sensor or when the
|
|
|
53 |
+ data is not available for another reason.
|
|
52 |
54 |
|
|
53 |
55 |
Sometimes Pebble Health has no available data for a given minute, then all
|
|
54 |
56 |
fields except time are empty, so it looks like this:
|
|
55 |
57 |
|
|
56 |
|
- 2016-05-25T05:14:00Z,,,,,,
|
|
|
58 |
+ 2016-05-25T05:14:00Z,,,,,,,
|
|
57 |
59 |
|
|
58 |
|
-## Optional Feature
|
|
|
60 |
+## Optional Features
|
|
59 |
61 |
|
|
60 |
62 |
### Auto Wakeup
|
|
61 |
63 |
|