settings/bg_targets.json

This report contains the high/low glucose targets set up in your pump. OpenAPS has a hardcoded “min_bg” floor of 90, which will override any pump low target bg value below 90.

Setup code

openaps report add settings/bg_targets.json JSON pump read_bg_targets

Sample contents

{ "units": "mg/dL", "raw": "0x01 0x00 0x64 0x78 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", "targets": [ { "high": 120, "start": "00:00:00", "low": 100, "offset": 0, "i": 0, "x": 0 } ], "first": 1 }

Dependencies