Snippets

Steven Santa Maria Sleep Summaries

Updated by Steven Santa Maria

File sleep_summaries.json Modified

  • Ignore whitespace
  • Hide word diff
     "timeAwake": 59,
     "updatedAt": "2019-06-08T20:11:46.275Z",
     "userId": "58812fd928bd660100e73479"
+}
+
+// Healthkit
+{
+    "createdAt": "2019-10-20T15:34:48.710Z",
+    "date": "2019-10-17",
+    "humanId": "b552710122sf878d6297a564k257a502",
+    "id": "5dac7e983bf8c10s00544d49",
+    "source": "5541a9678e7192cb4fb34fed",
+    "timeAsleep": 389,
+    "timeAwake": 8,
+    "updatedAt": "2019-10-20T15:34:48.710Z",
+    "userId": "9z16351b5a800f7cf6373agf"
 }
Updated by Steven Santa Maria

File sleep_summaries.json Added

  • Ignore whitespace
  • Hide word diff
+// Fitbit
+{
+    "createdAt": "2019-07-29T15:29:44.944Z",
+    "date": "2019-07-29",
+    "humanId": "5ff8d769994ab0b07c073ecbcd37f966",
+    "id": "5d3f10e869e94a0100b3d1d3",
+    "source": "fitbit",
+    "timeAsleep": 365,
+    "timeAwake": 60,
+    "updatedAt": "2019-07-29T15:29:44.944Z",
+    "userId": "5d1a35c7c759936acf423c25"
+}
+
+// Garmin
+{
+    "createdAt": "2019-06-11T02:46:02.876Z",
+    "date": "2019-06-10",
+    "humanId": "574ff82050f6b044c4b0ce5d67e7f847",
+    "id": "5cff15eae637130100d5726c",
+    "source": "garmin",
+    "timeAsleep": 297,
+    "timeAwake": 6,
+    "updatedAt": "2019-06-11T02:46:02.876Z",
+    "userId": "56c7bafd25cedc0100996da6"
+}
+
+// Withings
+{
+    "createdAt": "2019-06-08T12:11:46.653Z",
+    "date": "2019-06-08",
+    "humanId": "2c50d4677e9b7c9278d6c60572c71fb7",
+    "id": "5cfba60225834d01002af9c9",
+    "source": "withings",
+    "timeAsleep": 402,
+    "timeAwake": 59,
+    "updatedAt": "2019-06-08T20:11:46.275Z",
+    "userId": "58812fd928bd660100e73479"
+}

File sleeps_summaries.json Deleted

  • Ignore whitespace
  • Hide word diff
-// Fitbit
-{
-    "createdAt": "2019-06-20T02:35:10.301Z",
-    "day": "2019-06-13",
-    "efficiency": 96,
-    "endTime": "2019-06-13T09:57:00.000Z",
-    "humanId": "67e214b80544d0c947eafcd0f05953dd",
-    "id": "5d0af0de1dff1401006727aa",
-    "mainSleep": true,
-    "numberOfWakeups": 23,
-    "source": "fitbit",
-    "startTime": "2019-06-13T03:09:00.000Z",
-    "timeAfterWakeup": 0,
-    "timeAsleep": 352,
-    "timeAwake": 56,
-    "timeInBed": 408,
-    "timeToFallAsleep": 0,
-    "tzOffset": "-05:00",
-    "updatedAt": "2019-06-20T02:35:10.301Z",
-    "userId": "5d092a9fcbacae3640b7274c"
-}
-
-// Garmin
-{
-    "createdAt": "2019-06-13T17:27:51.497Z",
-    "day": "2019-06-13",
-    "efficiency": 0,
-    "endTime": "2019-06-13T11:45:00.000Z",
-    "humanId": "fa17716544af3c81c46191c956867727",
-    "id": "5d02879720f17c0100bdf372",
-    "mainSleep": true,
-    "numberOfWakeups": 3,
-    "source": "garmin",
-    "startTime": "2019-06-13T03:03:00.000Z",
-    "timeAfterWakeup": 0,
-    "timeAsleep": 522,
-    "timeAwake": 13,
-    "timeInBed": 522,
-    "timeToFallAsleep": 0,
-    "tzOffset": "-04:00",
-    "updatedAt": "2019-06-14T00:12:51.574Z",
-    "userId": "5b4d6b1d0c84016e6588d246"
-}
-
-// Withings
-{
-    "createdAt": "2019-06-29T15:46:48.424Z",
-    "day": "2019-06-29",
-    "efficiency": 0,
-    "endTime": "2019-06-29T14:48:00.000Z",
-    "humanId": "bf76aa4aaf1fbd4e9ddc4848666c0d15",
-    "id": "5d1787e8d5806b0100107706",
-    "mainSleep": true,
-    "numberOfWakeups": 6,
-    "source": "withings",
-    "startTime": "2019-06-29T02:11:00.000Z",
-    "timeAfterWakeup": 0,
-    "timeAsleep": 605,
-    "timeAwake": 63,
-    "timeInBed": 0,
-    "timeToFallAsleep": 0,
-    "tzOffset": "-05:00",
-    "updatedAt": "2019-06-29T15:46:48.424Z",
-    "userId": "581396ca6aa90001002ca16f"
-}
Created by Steven Santa Maria

File sleeps_summaries.json Added

  • Ignore whitespace
  • Hide word diff
+// Fitbit
+{
+    "createdAt": "2019-06-20T02:35:10.301Z",
+    "day": "2019-06-13",
+    "efficiency": 96,
+    "endTime": "2019-06-13T09:57:00.000Z",
+    "humanId": "67e214b80544d0c947eafcd0f05953dd",
+    "id": "5d0af0de1dff1401006727aa",
+    "mainSleep": true,
+    "numberOfWakeups": 23,
+    "source": "fitbit",
+    "startTime": "2019-06-13T03:09:00.000Z",
+    "timeAfterWakeup": 0,
+    "timeAsleep": 352,
+    "timeAwake": 56,
+    "timeInBed": 408,
+    "timeToFallAsleep": 0,
+    "tzOffset": "-05:00",
+    "updatedAt": "2019-06-20T02:35:10.301Z",
+    "userId": "5d092a9fcbacae3640b7274c"
+}
+
+// Garmin
+{
+    "createdAt": "2019-06-13T17:27:51.497Z",
+    "day": "2019-06-13",
+    "efficiency": 0,
+    "endTime": "2019-06-13T11:45:00.000Z",
+    "humanId": "fa17716544af3c81c46191c956867727",
+    "id": "5d02879720f17c0100bdf372",
+    "mainSleep": true,
+    "numberOfWakeups": 3,
+    "source": "garmin",
+    "startTime": "2019-06-13T03:03:00.000Z",
+    "timeAfterWakeup": 0,
+    "timeAsleep": 522,
+    "timeAwake": 13,
+    "timeInBed": 522,
+    "timeToFallAsleep": 0,
+    "tzOffset": "-04:00",
+    "updatedAt": "2019-06-14T00:12:51.574Z",
+    "userId": "5b4d6b1d0c84016e6588d246"
+}
+
+// Withings
+{
+    "createdAt": "2019-06-29T15:46:48.424Z",
+    "day": "2019-06-29",
+    "efficiency": 0,
+    "endTime": "2019-06-29T14:48:00.000Z",
+    "humanId": "bf76aa4aaf1fbd4e9ddc4848666c0d15",
+    "id": "5d1787e8d5806b0100107706",
+    "mainSleep": true,
+    "numberOfWakeups": 6,
+    "source": "withings",
+    "startTime": "2019-06-29T02:11:00.000Z",
+    "timeAfterWakeup": 0,
+    "timeAsleep": 605,
+    "timeAwake": 63,
+    "timeInBed": 0,
+    "timeToFallAsleep": 0,
+    "tzOffset": "-05:00",
+    "updatedAt": "2019-06-29T15:46:48.424Z",
+    "userId": "581396ca6aa90001002ca16f"
+}
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.