Skip to content

Instantly share code, notes, and snippets.

@scottleibrand
Created August 13, 2018 21:31
Show Gist options
  • Save scottleibrand/c941aba7a201b1d36d610d08efac853f to your computer and use it in GitHub Desktop.
Save scottleibrand/c941aba7a201b1d36d610d08efac853f to your computer and use it in GitHub Desktop.
Generic autotune pumpprofile.json
{
"carb_ratios": {
"schedule": [
{
"x": 0,
"i": 0,
"offset": 0,
"ratio": 10,
"r": 10,
"start": "00:00:00"
}
],
"first": 1,
"raw": "0x01 0x00 0x0a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00",
"units": "grams"
},
"carb_ratio": 10,
"isfProfile": {
"first": 1,
"sensitivities": [
{
"endOffset": 1440,
"offset": 0,
"x": 0,
"sensitivity": 50,
"start": "00:00:00",
"i": 0
}
],
"user_preferred_units": "mg/dL",
"units": "mg/dL"
},
"sens": 50,
"bg_targets": {
"first": 1,
"targets": [
{
"max_bg": 100,
"min_bg": 100,
"x": 0,
"offset": 0,
"low": 100,
"start": "00:00:00",
"high": 100,
"i": 0
}
],
"user_preferred_units": "mg/dL",
"units": "mg/dL"
},
"max_bg": 100,
"min_bg": 100,
"out_units": "mg/dL",
"max_basal": 4,
"remainingCarbsFraction": 1,
"autotune_isf_adjustmentFraction": 1.0,
"carbratio_adjustmentratio": 1,
"min_5m_carbimpact": 8,
"bolussnooze_dia_divisor": 99,
"unsuspend_if_no_temp": true,
"override_high_target_with_low": false,
"maxCOB": 120,
"max_iob": 6,
"max_daily_safety_multiplier": 4,
"current_basal_safety_multiplier": 5,
"autosens_max": 2,
"autosens_min": 0.5,
"rewind_resets_autosens": true,
"autosens_adjust_targets": true,
"adv_target_adjustments": true,
"remainingCarbsCap": 90,
"enableUAM": true,
"enableSMB_with_bolus": true,
"enableSMB_with_COB": true,
"enableSMB_with_temptarget": false,
"enableSMB_after_carbs": true,
"maxSMBBasalMinutes": 75,
"curve": "rapid-acting",
"useCustomPeakTime": false,
"insulinPeakTime": 75,
"carbsReqThreshold": 1,
"dia": 6,
"model": "522",
"current_basal": 1.0,
"basalprofile": [
{
"minutes": 0,
"rate": 1.0,
"start": "00:00:00",
"i": 0
}
],
"max_daily_basal": 1.0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment