mddub / urchin-cgm

A graph of your CGM data on a Pebble watch.
MIT License
56 stars 45 forks source link

Add support for Loop/OpenAPS predictions #56

Closed mddub closed 7 years ago

mddub commented 7 years ago

This change makes it possible to view up to 3 series of predicted future BG values, each of which may be up to 5 hours long.

Predictions from the Loop app consist of a single series which takes into account insulin on board and carbs according to user-input absorption rates. Predictions from AMA (oref0) consist of three series assuming different rates of carb absorption. To use either of these with Urchin, the respective artificial pancreas device must upload its status to Nightscout's devicestatus.json collection.