[
  {
    "type": "device",
    "cgm": {
      "vendor": "openaps.vendors.dexcom",
      "extra": "cgm.ini"
    },
    "name": "cgm",
    "extra": {}
  },
  {
    "extra": {
      "fields": "",
      "cmd": "oref0",
      "args": ""
    },
    "type": "device",
    "name": "oref0",
    "oref0": {
      "vendor": "openaps.vendors.process",
      "extra": "oref0.ini"
    }
  },
  {
    "extra": {
      "fields": "pumphistory profile clock",
      "cmd": "oref0",
      "args": "calculate-iob"
    },
    "type": "device",
    "name": "iob",
    "iob": {
      "vendor": "openaps.vendors.process",
      "extra": "iob.ini"
    }
  },
  {
    "extra": {
      "fields": "pumphistory profile clock glucose basal carbs",
      "cmd": "oref0",
      "args": "meal"
    },
    "type": "device",
    "name": "meal",
    "meal": {
      "vendor": "openaps.vendors.process",
      "extra": "meal.ini"
    }
  },
  {
    "extra": {
      "fields": "settings bg_targets isf basal_profile preferences carb_ratios",
      "cmd": "oref0",
      "args": "get-profile"
    },
    "type": "device",
    "name": "get-profile",
    "get-profile": {
      "vendor": "openaps.vendors.process",
      "extra": "get-profile.ini"
    }
  },
  {
    "extra": {
      "fields": "glucose pumphistory isf basal_profile profile",
      "cmd": "oref0",
      "args": "detect-sensitivity"
    },
    "type": "device",
    "name": "detect-sensitivity",
    "detect-sensitivity": {
      "vendor": "openaps.vendors.process",
      "extra": "detect-sensitivity.ini"
    }
  },
  {
    "pebble": {
      "vendor": "openaps.vendors.process",
      "extra": "pebble.ini"
    },
    "type": "device",
    "name": "pebble",
    "extra": {
      "fields": "glucose iob basal_profile temp_basal suggested enacted meal",
      "cmd": "oref0",
      "args": "pebble"
    }
  },
  {
    "type": "device",
    "tz": {
      "vendor": "openapscontrib.timezones",
      "extra": "tz.ini"
    },
    "name": "tz",
    "extra": {}
  },
  {
    "pump": {
      "vendor": "openaps.vendors.medtronic",
      "extra": "pump.ini"
    },
    "type": "device",
    "name": "pump",
    "extra": {
      "serial": "123456"
    }
  },
  {
    "units": {
      "vendor": "openaps.vendors.units",
      "extra": "units.ini"
    },
    "type": "device",
    "name": "units",
    "extra": {}
  },
  {
    "xdrip": {
      "vendor": "openaps.vendors.process",
      "extra": "xdrip.ini"
    },
    "type": "device",
    "name": "xdrip",
    "extra": {
      "fields": "",
      "cmd": "bash -c \"curl --compressed -s http://localhost:5000/api/v1/entries?count=288 | json -e \\\"this.glucose = this.sgv\\\"\"",
      "args": ""
    }
  }
]
