Skip to content

Instantly share code, notes, and snippets.

@ps2 ps2/gist:91fde96a95b7b6b2f4e0 Secret
Created Jan 1, 2016

Embed
What would you like to do?
pete$ ruby -Ilib bin/mmhistory 07000002bede0f0000006ede0f050000000000000002be02be640000000000000000000000000000000000000000000000000000000000000000000000003432e036061f0f7b01c01e081f0f1122007b02c000161f0f2c1c007b00004000011000160007000002bedf0f0000006edf0f050000000000000002be02be6400000000000000000000000000000000000000000000000000000000000000000000000006040c1e36684741100c04166d0901102100206d090110030000001b036f2901107b01136f0901101122000300010001116f0901105b001f4e0a01100a5000783c4100002000000000208c01002000200000001f4e4a011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006943
[
{
"_type": "ResultDailyTotal",
"_raw": "07000002bede0f000000",
"description": "ResultDailyTotal 2015-12-31T00:00:00",
"timestamp": "2015-12-31T00:00:00",
"valid_date": "2015-12-30"
},
{
"_type": "Sara6E",
"_raw": "6ede0f050000000000000002be02be64000000000000000000000000000000000000000000000000000000000000000000000000",
"description": "Sara6E 2015-12-31T00:00:00",
"timestamp": "2015-12-31T00:00:00",
"valid_date": "2015-12-30"
},
{
"_type": "JournalEntryPumpLowReservoir",
"_raw": "3432e036061f0f",
"description": "JournalEntryPumpLowReservoir 2015-12-31T06:54:32 Amount=5.0",
"timestamp": "2015-12-31T06:54:32"
},
{
"_type": "BasalProfileStart",
"_raw": "7b01c01e081f0f112200",
"description": "BasalProfileStart 2015-12-31T08:30:00 1 rate:0.85",
"timestamp": "2015-12-31T08:30:00",
"offset": 30600000,
"rate": 0.85,
"profile_index": 1
},
{
"_type": "BasalProfileStart",
"_raw": "7b02c000161f0f2c1c00",
"description": "BasalProfileStart 2015-12-31T22:00:00 2 rate:0.7",
"timestamp": "2015-12-31T22:00:00",
"offset": 79200000,
"rate": 0.7,
"profile_index": 2
},
{
"_type": "BasalProfileStart",
"_raw": "7b000040000110001600",
"description": "BasalProfileStart 2016-01-01T00:00:00 0 rate:0.55",
"timestamp": "2016-01-01T00:00:00",
"offset": 0,
"rate": 0.55,
"profile_index": 0
},
{
"_type": "ResultDailyTotal",
"_raw": "07000002bedf0f000000",
"description": "ResultDailyTotal 2016-01-01T00:00:00",
"timestamp": "2016-01-01T00:00:00",
"valid_date": "2015-12-31"
},
{
"_type": "Sara6E",
"_raw": "6edf0f050000000000000002be02be64000000000000000000000000000000000000000000000000000000000000000000000000",
"description": "Sara6E 2016-01-01T00:00:00",
"timestamp": "2016-01-01T00:00:00",
"valid_date": "2015-12-31"
},
{
"_type": "AlarmPump",
"_raw": "06040c1e3668474110",
"description": "AlarmPump 2016-01-01T07:40:54 raw_type:4",
"timestamp": "2016-01-01T07:40:54"
},
{
"_type": "ClearAlarm",
"_raw": "0c04166d090110",
"description": "ClearAlarm 2016-01-01T09:45:22 alarm_type:4",
"timestamp": "2016-01-01T09:45:22"
},
{
"_type": "Rewind",
"_raw": "2100206d090110",
"description": "Rewind 2016-01-01T09:45:32",
"timestamp": "2016-01-01T09:45:32"
},
{
"_type": "Prime",
"_raw": "030000001b036f290110",
"description": "Prime 2016-01-01T09:47:03 Amount:2.7 PrimeType:manual",
"timestamp": "2016-01-01T09:47:03",
"amount": 2.7,
"type": "manual",
"fixed": 0.0
},
{
"_type": "BasalProfileStart",
"_raw": "7b01136f090110112200",
"description": "BasalProfileStart 2016-01-01T09:47:19 1 rate:0.85",
"timestamp": "2016-01-01T09:47:19",
"offset": 30600000,
"rate": 0.85,
"profile_index": 1
},
{
"_type": "Prime",
"_raw": "0300010001116f090110",
"description": "Prime 2016-01-01T09:47:17 Amount:0.1 PrimeType:fixed",
"timestamp": "2016-01-01T09:47:17",
"amount": 0.1,
"type": "fixed",
"fixed": 0.1
},
{
"_type": "BolusWizardBolusEstimate",
"_raw": "5b001f4e0a01100a5000783c4100002000000000208c",
"description": "BolusWizardBolusEstimate 2016-01-01T10:14:31 ",
"timestamp": "2016-01-01T10:14:31",
"bg": 0,
"bg_target_high": 140,
"correction_estimate": 0.0,
"carb_input": 10,
"unabsorbed_insulin_total": 0.0,
"bolus_estimate": 0.8,
"carb_ratio": 12.0,
"food_estimate": 0.8,
"bg_target_low": 65,
"sensitivity": 60
},
{
"_type": "BolusNormal",
"_raw": "01002000200000001f4e4a0110",
"description": "BolusNormal 2016-01-01T10:14:31 0.8 0.8 0.0",
"timestamp": "2016-01-01T10:14:31",
"amount": 0.8,
"programmed": 0.8,
"type": "normal",
"unabsorbed": 0.0,
"duration": 0
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.