loudnate / openaps-monitor

Status dashboard for your openaps project
MIT License
6 stars 8 forks source link

Plot Fingersticks / Calibrations #20

Open channemann opened 9 years ago

channemann commented 9 years ago

Plot dots where fingersticks occurred on the chart, with a different color reserved for ones that were used as calibrations.

loudnate commented 9 years ago

Do finger sticks appear in your raw pump history?

channemann commented 9 years ago

Yes:

  {
    "_type": "BGReceived", 
    "link": "aed763", 
    "_description": "BGReceived 2015-09-04T15:22:46 head[2], body[3] op[0x3f]", 
    "timestamp": "2015-09-04T15:22:46", 
    "_body": "aed763", 
    "_head": "3f0f", 
    "amount": 120, 
    "_date": "ae560f640f"
  }, 
  {
    "_type": "CalBGForPH", 
    "_description": "CalBGForPH 2015-09-04T15:22:46 head[2], body[0] op[0x0a]", 
    "timestamp": "2015-09-04T15:22:46", 
    "_body": "", 
    "_head": "0a78", 
    "amount": 120, 
    "_date": "ae562f640f"
  }, 
channemann commented 8 years ago

Might also be able to do this with calibrations from Dex receiver now that they are being passed through.