Skip to content

Instantly share code, notes, and snippets.

@mddub
Created June 13, 2016 03:46
Show Gist options
  • Save mddub/f64b5ae8cacbaa1b67b308654450ec46 to your computer and use it in GitHub Desktop.
Save mddub/f64b5ae8cacbaa1b67b308654450ec46 to your computer and use it in GitHub Desktop.
commit e6b5a167a92cc01cc981ce02fa7a2037bec52122
Author: pi <pi@markpi>
Date: Sun Jun 12 15:17:01 2016 -0700
openaps-report invoke settings/settings.json settings/bg_targets.json settings/insulin_sensitivities.json settings/basal_profile.json settings/profile.json monitor/clock.json monitor/clock-zoned.json monitor/battery.json monitor/reservoir.json monitor/status.json monitor/temp_basal.json monitor/pumphistory.json monitor/pumphistory-zoned.json monitor/iob.json
TODO: better change descriptions
/usr/local/bin/openaps-report invoke settings/settings.json settings/bg_targets.json settings/insulin_sensitivities.json settings/basal_profile.json settings/profile.json monitor/clock.json monitor/clock-zoned.json monitor/battery.json monitor/reservoir.json monitor/status.json monitor/temp_basal.json monitor/pumphistory.json monitor/pumphistory-zoned.json monitor/iob.json
diff --git a/monitor/clock-zoned.json b/monitor/clock-zoned.json
index 94ca1e4..b2b8f57 100644
--- a/monitor/clock-zoned.json
+++ b/monitor/clock-zoned.json
@@ -1 +1 @@
-"2016-06-12T15:09:32-07:00"
\ No newline at end of file
+"2016-06-12T15:14:32-07:00"
\ No newline at end of file
diff --git a/monitor/clock.json b/monitor/clock.json
index 8f544a5..6c6c3e7 100644
--- a/monitor/clock.json
+++ b/monitor/clock.json
@@ -1 +1 @@
-"2016-06-12T15:14:25"
\ No newline at end of file
+"2016-06-12T15:14:32"
\ No newline at end of file
diff --git a/monitor/iob.json b/monitor/iob.json
index 85abe0e..aee4a12 100644
--- a/monitor/iob.json
+++ b/monitor/iob.json
@@ -1,8 +1,8 @@
{
"netbasalinsulin": -0.25,
"activity": -0.0016,
- "basaliob": -0.057,
+ "basaliob": -0.05,
"hightempinsulin": 0,
"bolussnooze": 0,
- "iob": -0.057
+ "iob": -0.05
}
\ No newline at end of file
diff --git a/monitor/pumphistory-zoned.json b/monitor/pumphistory-zoned.json
index c31aa82..50580e6 100644
--- a/monitor/pumphistory-zoned.json
+++ b/monitor/pumphistory-zoned.json
@@ -1,5 +1,517 @@
[
{
+ "correction_estimate": 0.0,
+ "unknown_byte[10]": 0,
+ "_description": "BolusWizard 2016-06-12T15:13:07 head[2], body[13] op[0x5b]",
+ "bg_target_low": 90,
+ "_body": "335009285a0038000000003878",
+ "_byte[5]": 0,
+ "_head": "5b00",
+ "_byte[7]": 0,
+ "bolus_estimate": 5.6,
+ "appended": [
+ {
+ "_type": "UnabsorbedInsulinBolus",
+ "_description": "UnabsorbedInsulinBolus unknown head[5], body[0] op[0x5c]",
+ "_body": "",
+ "_head": "5c05782b14",
+ "data": [
+ {
+ "amount": 3.0,
+ "age": 299
+ }
+ ],
+ "_date": ""
+ }
+ ],
+ "food_estimate": 5.6,
+ "carb_input": 51,
+ "sensitivity": 40,
+ "_type": "BolusWizard",
+ "bg": 0,
+ "timestamp": "2016-06-12T15:13:07-07:00",
+ "bg_target_high": 120,
+ "unabsorbed_insulin_total": 0.0,
+ "unabsorbed_insulin_count": "??",
+ "_date": "478d0f0c10",
+ "unknown_byte[8]": 0,
+ "carb_ratio": 9
+ },
+ {
+ "_type": "OldBolusWizardChange",
+ "_description": "OldBolusWizardChange 2016-06-12T15:12:43 head[2], body[117] op[0x5a]",
+ "timestamp": "2016-06-12T15:12:43-07:00",
+ "_body": "15310008000000000000000000000000000000280000000000000000000000000000005a64125a782c5a6400000000000000000000000000000015310009000000000000000000000000000000280000000000000000000000000000005a64125a782c5a6400000000000000000000000000000044",
+ "changed": {
+ "insulin_sensitivies": [
+ {
+ "i": 0,
+ "_offset": 0,
+ "sensitivity": 40,
+ "offset": 0
+ },
+ {
+ "i": 1,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 2,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 3,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 4,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 5,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 6,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 7,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ }
+ ],
+ "bg_targets": [
+ {
+ "high": 100,
+ "_offset": 0,
+ "low": 90,
+ "offset": 0
+ },
+ {
+ "high": 120,
+ "_offset": 18,
+ "low": 90,
+ "offset": 540
+ },
+ {
+ "high": 100,
+ "_offset": 44,
+ "low": 90,
+ "offset": 1320
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ }
+ ],
+ "head": "1531",
+ "_head": "0b00010101 0b00110001",
+ "carb_ratios": [
+ {
+ "ratio": 9,
+ "i": 0,
+ "start": "00:00:00",
+ "r": 9,
+ "offset": 0,
+ "x": 0
+ }
+ ]
+ },
+ "_head": "5a0f",
+ "tail": 68,
+ "stale": {
+ "insulin_sensitivies": [
+ {
+ "i": 0,
+ "_offset": 0,
+ "sensitivity": 40,
+ "offset": 0
+ },
+ {
+ "i": 1,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 2,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 3,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 4,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 5,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 6,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 7,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ }
+ ],
+ "bg_targets": [
+ {
+ "high": 100,
+ "_offset": 0,
+ "low": 90,
+ "offset": 0
+ },
+ {
+ "high": 120,
+ "_offset": 18,
+ "low": 90,
+ "offset": 540
+ },
+ {
+ "high": 100,
+ "_offset": 44,
+ "low": 90,
+ "offset": 1320
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ }
+ ],
+ "head": "1531",
+ "_head": "0b00010101 0b00110001",
+ "carb_ratios": [
+ {
+ "ratio": 8,
+ "i": 0,
+ "start": "00:00:00",
+ "r": 8,
+ "offset": 0,
+ "x": 0
+ }
+ ]
+ },
+ "_date": "6b8c0f0c10"
+ },
+ {
+ "_type": "OldBolusWizardChange",
+ "_description": "OldBolusWizardChange 2016-06-12T15:12:22 head[2], body[117] op[0x5a]",
+ "timestamp": "2016-06-12T15:12:22-07:00",
+ "_body": "1531000c000000000000000000000000000000280000000000000000000000000000005a64125a782c5a6400000000000000000000000000000015310008000000000000000000000000000000280000000000000000000000000000005a64125a782c5a6400000000000000000000000000000044",
+ "changed": {
+ "insulin_sensitivies": [
+ {
+ "i": 0,
+ "_offset": 0,
+ "sensitivity": 40,
+ "offset": 0
+ },
+ {
+ "i": 1,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 2,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 3,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 4,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 5,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 6,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 7,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ }
+ ],
+ "bg_targets": [
+ {
+ "high": 100,
+ "_offset": 0,
+ "low": 90,
+ "offset": 0
+ },
+ {
+ "high": 120,
+ "_offset": 18,
+ "low": 90,
+ "offset": 540
+ },
+ {
+ "high": 100,
+ "_offset": 44,
+ "low": 90,
+ "offset": 1320
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ }
+ ],
+ "head": "1531",
+ "_head": "0b00010101 0b00110001",
+ "carb_ratios": [
+ {
+ "ratio": 8,
+ "i": 0,
+ "start": "00:00:00",
+ "r": 8,
+ "offset": 0,
+ "x": 0
+ }
+ ]
+ },
+ "_head": "5a0f",
+ "tail": 68,
+ "stale": {
+ "insulin_sensitivies": [
+ {
+ "i": 0,
+ "_offset": 0,
+ "sensitivity": 40,
+ "offset": 0
+ },
+ {
+ "i": 1,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 2,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 3,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 4,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 5,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 6,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 7,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ }
+ ],
+ "bg_targets": [
+ {
+ "high": 100,
+ "_offset": 0,
+ "low": 90,
+ "offset": 0
+ },
+ {
+ "high": 120,
+ "_offset": 18,
+ "low": 90,
+ "offset": 540
+ },
+ {
+ "high": 100,
+ "_offset": 44,
+ "low": 90,
+ "offset": 1320
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ }
+ ],
+ "head": "1531",
+ "_head": "0b00010101 0b00110001",
+ "carb_ratios": [
+ {
+ "ratio": 12,
+ "i": 0,
+ "start": "00:00:00",
+ "r": 12,
+ "offset": 0,
+ "x": 0
+ }
+ ]
+ },
+ "_date": "568c0f0c10"
+ },
+ {
"_type": "TempBasalDuration",
"_description": "TempBasalDuration 2016-06-12T12:54:49 head[2], body[0] op[0x16]",
"timestamp": "2016-06-12T12:54:49-07:00",
@@ -55,74 +567,5 @@
"_head": "3300",
"rate": 0.0,
"_date": "749d0c4c10"
- },
- {
- "_type": "Bolus",
- "_description": "Bolus 2016-06-12T10:16:05 head[4], body[0] op[0x01]",
- "timestamp": "2016-06-12T10:16:05-07:00",
- "_body": "",
- "programmed": 3.0,
- "_head": "011e1e00",
- "amount": 3.0,
- "duration": 0,
- "type": "normal",
- "_date": "45904a0c10"
- },
- {
- "_type": "BGReceived",
- "_description": "BGReceived 2016-06-12T09:35:44 head[2], body[3] op[0x3f]",
- "timestamp": "2016-06-12T09:35:44-07:00",
- "_body": "aa399b",
- "_head": "3f0e",
- "amount": 117,
- "link": "aa399b",
- "_date": "6ca3a96c10"
- },
- {
- "_type": "CalBGForPH",
- "_description": "CalBGForPH 2016-06-12T09:35:44 head[2], body[0] op[0x0a]",
- "timestamp": "2016-06-12T09:35:44-07:00",
- "_body": "",
- "_head": "0a75",
- "amount": 117,
- "_date": "6ca3296c10"
- },
- {
- "_type": "BGReceived",
- "_description": "BGReceived 2016-06-12T09:35:27 head[2], body[3] op[0x3f]",
- "timestamp": "2016-06-12T09:35:27-07:00",
- "_body": "aa399b",
- "_head": "3f0e",
- "amount": 119,
- "link": "aa399b",
- "_date": "5ba3e96c10"
- },
- {
- "_type": "CalBGForPH",
- "_description": "CalBGForPH 2016-06-12T09:35:27 head[2], body[0] op[0x0a]",
- "timestamp": "2016-06-12T09:35:27-07:00",
- "_body": "",
- "_head": "0a77",
- "amount": 119,
- "_date": "5ba3296c10"
- },
- {
- "_type": "TempBasalDuration",
- "_description": "TempBasalDuration 2016-06-12T08:59:52 head[2], body[0] op[0x16]",
- "timestamp": "2016-06-12T08:59:52-07:00",
- "_body": "",
- "_head": "1600",
- "duration (min)": 0,
- "_date": "74bb084c10"
- },
- {
- "_type": "TempBasal",
- "temp": "absolute",
- "_description": "TempBasal 2016-06-12T08:59:52 head[2], body[1] op[0x33]",
- "timestamp": "2016-06-12T08:59:52-07:00",
- "_body": "00",
- "_head": "3300",
- "rate": 0.0,
- "_date": "74bb084c10"
}
]
\ No newline at end of file
diff --git a/monitor/pumphistory.json b/monitor/pumphistory.json
index 7efef89..63be0fb 100644
--- a/monitor/pumphistory.json
+++ b/monitor/pumphistory.json
@@ -1,5 +1,517 @@
[
{
+ "_type": "BolusWizard",
+ "bg": 0,
+ "bg_target_high": 120,
+ "correction_estimate": 0.0,
+ "unknown_byte[10]": 0,
+ "_description": "BolusWizard 2016-06-12T15:13:07 head[2], body[13] op[0x5b]",
+ "timestamp": "2016-06-12T15:13:07",
+ "_body": "335009285a0038000000003878",
+ "carb_input": 51,
+ "_head": "5b00",
+ "unabsorbed_insulin_total": 0.0,
+ "_byte[5]": 0,
+ "unabsorbed_insulin_count": "??",
+ "_byte[7]": 0,
+ "_date": "478d0f0c10",
+ "bolus_estimate": 5.6,
+ "appended": [
+ {
+ "_type": "UnabsorbedInsulinBolus",
+ "_description": "UnabsorbedInsulinBolus unknown head[5], body[0] op[0x5c]",
+ "data": [
+ {
+ "amount": 3.0,
+ "age": 299
+ }
+ ],
+ "_body": "",
+ "_head": "5c05782b14",
+ "_date": ""
+ }
+ ],
+ "unknown_byte[8]": 0,
+ "carb_ratio": 9,
+ "food_estimate": 5.6,
+ "bg_target_low": 90,
+ "sensitivity": 40
+ },
+ {
+ "_type": "OldBolusWizardChange",
+ "stale": {
+ "insulin_sensitivies": [
+ {
+ "i": 0,
+ "_offset": 0,
+ "sensitivity": 40,
+ "offset": 0
+ },
+ {
+ "i": 1,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 2,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 3,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 4,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 5,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 6,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 7,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ }
+ ],
+ "_head": "0b00010101 0b00110001",
+ "head": "1531",
+ "bg_targets": [
+ {
+ "high": 100,
+ "_offset": 0,
+ "low": 90,
+ "offset": 0
+ },
+ {
+ "high": 120,
+ "_offset": 18,
+ "low": 90,
+ "offset": 540
+ },
+ {
+ "high": 100,
+ "_offset": 44,
+ "low": 90,
+ "offset": 1320
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ }
+ ],
+ "carb_ratios": [
+ {
+ "start": "00:00:00",
+ "r": 8,
+ "ratio": 8,
+ "offset": 0,
+ "i": 0,
+ "x": 0
+ }
+ ]
+ },
+ "_description": "OldBolusWizardChange 2016-06-12T15:12:43 head[2], body[117] op[0x5a]",
+ "timestamp": "2016-06-12T15:12:43",
+ "_body": "15310008000000000000000000000000000000280000000000000000000000000000005a64125a782c5a6400000000000000000000000000000015310009000000000000000000000000000000280000000000000000000000000000005a64125a782c5a6400000000000000000000000000000044",
+ "changed": {
+ "insulin_sensitivies": [
+ {
+ "i": 0,
+ "_offset": 0,
+ "sensitivity": 40,
+ "offset": 0
+ },
+ {
+ "i": 1,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 2,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 3,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 4,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 5,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 6,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 7,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ }
+ ],
+ "_head": "0b00010101 0b00110001",
+ "head": "1531",
+ "bg_targets": [
+ {
+ "high": 100,
+ "_offset": 0,
+ "low": 90,
+ "offset": 0
+ },
+ {
+ "high": 120,
+ "_offset": 18,
+ "low": 90,
+ "offset": 540
+ },
+ {
+ "high": 100,
+ "_offset": 44,
+ "low": 90,
+ "offset": 1320
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ }
+ ],
+ "carb_ratios": [
+ {
+ "start": "00:00:00",
+ "r": 9,
+ "ratio": 9,
+ "offset": 0,
+ "i": 0,
+ "x": 0
+ }
+ ]
+ },
+ "_head": "5a0f",
+ "tail": 68,
+ "_date": "6b8c0f0c10"
+ },
+ {
+ "_type": "OldBolusWizardChange",
+ "stale": {
+ "insulin_sensitivies": [
+ {
+ "i": 0,
+ "_offset": 0,
+ "sensitivity": 40,
+ "offset": 0
+ },
+ {
+ "i": 1,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 2,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 3,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 4,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 5,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 6,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 7,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ }
+ ],
+ "_head": "0b00010101 0b00110001",
+ "head": "1531",
+ "bg_targets": [
+ {
+ "high": 100,
+ "_offset": 0,
+ "low": 90,
+ "offset": 0
+ },
+ {
+ "high": 120,
+ "_offset": 18,
+ "low": 90,
+ "offset": 540
+ },
+ {
+ "high": 100,
+ "_offset": 44,
+ "low": 90,
+ "offset": 1320
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ }
+ ],
+ "carb_ratios": [
+ {
+ "start": "00:00:00",
+ "r": 12,
+ "ratio": 12,
+ "offset": 0,
+ "i": 0,
+ "x": 0
+ }
+ ]
+ },
+ "_description": "OldBolusWizardChange 2016-06-12T15:12:22 head[2], body[117] op[0x5a]",
+ "timestamp": "2016-06-12T15:12:22",
+ "_body": "1531000c000000000000000000000000000000280000000000000000000000000000005a64125a782c5a6400000000000000000000000000000015310008000000000000000000000000000000280000000000000000000000000000005a64125a782c5a6400000000000000000000000000000044",
+ "changed": {
+ "insulin_sensitivies": [
+ {
+ "i": 0,
+ "_offset": 0,
+ "sensitivity": 40,
+ "offset": 0
+ },
+ {
+ "i": 1,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 2,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 3,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 4,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 5,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 6,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ },
+ {
+ "i": 7,
+ "_offset": 0,
+ "sensitivity": 0,
+ "offset": 0
+ }
+ ],
+ "_head": "0b00010101 0b00110001",
+ "head": "1531",
+ "bg_targets": [
+ {
+ "high": 100,
+ "_offset": 0,
+ "low": 90,
+ "offset": 0
+ },
+ {
+ "high": 120,
+ "_offset": 18,
+ "low": 90,
+ "offset": 540
+ },
+ {
+ "high": 100,
+ "_offset": 44,
+ "low": 90,
+ "offset": 1320
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ },
+ {
+ "high": 0,
+ "_offset": 0,
+ "low": 0,
+ "offset": 0
+ }
+ ],
+ "carb_ratios": [
+ {
+ "start": "00:00:00",
+ "r": 8,
+ "ratio": 8,
+ "offset": 0,
+ "i": 0,
+ "x": 0
+ }
+ ]
+ },
+ "_head": "5a0f",
+ "tail": 68,
+ "_date": "568c0f0c10"
+ },
+ {
"_type": "TempBasalDuration",
"duration (min)": 0,
"_description": "TempBasalDuration 2016-06-12T12:54:49 head[2], body[0] op[0x16]",
@@ -55,74 +567,5 @@
"_head": "3300",
"rate": 0.0,
"_date": "749d0c4c10"
- },
- {
- "programmed": 3.0,
- "_type": "Bolus",
- "type": "normal",
- "_description": "Bolus 2016-06-12T10:16:05 head[4], body[0] op[0x01]",
- "duration": 0,
- "timestamp": "2016-06-12T10:16:05",
- "_body": "",
- "_head": "011e1e00",
- "amount": 3.0,
- "_date": "45904a0c10"
- },
- {
- "_type": "BGReceived",
- "link": "aa399b",
- "_description": "BGReceived 2016-06-12T09:35:44 head[2], body[3] op[0x3f]",
- "timestamp": "2016-06-12T09:35:44",
- "_body": "aa399b",
- "_head": "3f0e",
- "amount": 117,
- "_date": "6ca3a96c10"
- },
- {
- "_type": "CalBGForPH",
- "_description": "CalBGForPH 2016-06-12T09:35:44 head[2], body[0] op[0x0a]",
- "timestamp": "2016-06-12T09:35:44",
- "_body": "",
- "_head": "0a75",
- "amount": 117,
- "_date": "6ca3296c10"
- },
- {
- "_type": "BGReceived",
- "link": "aa399b",
- "_description": "BGReceived 2016-06-12T09:35:27 head[2], body[3] op[0x3f]",
- "timestamp": "2016-06-12T09:35:27",
- "_body": "aa399b",
- "_head": "3f0e",
- "amount": 119,
- "_date": "5ba3e96c10"
- },
- {
- "_type": "CalBGForPH",
- "_description": "CalBGForPH 2016-06-12T09:35:27 head[2], body[0] op[0x0a]",
- "timestamp": "2016-06-12T09:35:27",
- "_body": "",
- "_head": "0a77",
- "amount": 119,
- "_date": "5ba3296c10"
- },
- {
- "_type": "TempBasalDuration",
- "duration (min)": 0,
- "_description": "TempBasalDuration 2016-06-12T08:59:52 head[2], body[0] op[0x16]",
- "timestamp": "2016-06-12T08:59:52",
- "_body": "",
- "_head": "1600",
- "_date": "74bb084c10"
- },
- {
- "_type": "TempBasal",
- "temp": "absolute",
- "_description": "TempBasal 2016-06-12T08:59:52 head[2], body[1] op[0x33]",
- "timestamp": "2016-06-12T08:59:52",
- "_body": "00",
- "_head": "3300",
- "rate": 0.0,
- "_date": "74bb084c10"
}
]
\ No newline at end of file
diff --git a/monitor/reservoir.json b/monitor/reservoir.json
index 0e403cd..04347e2 100644
--- a/monitor/reservoir.json
+++ b/monitor/reservoir.json
@@ -1 +1 @@
-61.5
\ No newline at end of file
+59.4
\ No newline at end of file
diff --git a/monitor/status.json b/monitor/status.json
index 557b2e0..b3710c2 100644
--- a/monitor/status.json
+++ b/monitor/status.json
@@ -1,5 +1,5 @@
{
"status": "normal",
- "bolusing": false,
+ "bolusing": true,
"suspended": false
}
\ No newline at end of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment