Rytiggy / Glance

Mg/dL and mmol/L Fitbit watchface for CGM in the Cloud Group
https://glancewatchface.com
GNU General Public License v3.0
98 stars 68 forks source link

Get IOB and COB working for all data sources in Glance (local treatments) #43

Open Rytiggy opened 5 years ago

Rytiggy commented 5 years ago

Known info:

sensor age added to local xDrip. Need to use: http://127.0.0.1:17580/stv.json?sensor=Y

[{"_id":"a11dec8c-6afd-420b-b9c9-fb285dd405e6","device":"Tomato","dateString":"2019-01-26T11:18:37.554+0000","sysTime":"2019-01-26T11:18:37.554+0000","date":1548501517554,"sgv":219,"delta":9.544,"direction":"FortyFiveUp","noise":1,"filtered":290470,"unfiltered":290470,"rssi":100,"type":"sgv","units_hint":"mmol","sensor_status":"20\/01\/2019 19:20 (5d 16h)"}]
simonish commented 5 years ago

Hi is there a way to do this as presently using xDrip and Android phone with Versa and Glance and all I see is BGM with graph and arrow plus rates of change ie 1 mmol 0 mins ago.. how do i get the IOB and COB data?

Rytiggy commented 5 years ago

Hey @simonish currently in the released version v2.0 and the upcoming v2.1 beta using xDrip+ as a data source will not display IOB and COB. this is a planned feature for the v2.2 update.

But if you would like when I start work on this feature I can include you in the beta testing!

Nightfoxy commented 5 years ago

I can test this when it is ready. Thanks for your work! Glance makes it much easier to monitor my year old.

roycesimpson commented 5 years ago

Did IOB directly from xdrip+ ever get implemented or are we still having to use Nightscout to get that?

Rytiggy commented 5 years ago

Still waiting on XDrip to update they don't offer that data on their endpoints

roycesimpson commented 5 years ago

Ok, our only option still is data via the web and no local access of any sort, correct?

Rytiggy commented 5 years ago

Spike should work if you're using an iPhone in offline mode and show iob and cob

roycesimpson commented 5 years ago

Shucks. On Android.

Rytiggy commented 4 years ago

Added a local treatments feature to Glance's pre-release which will allow you to make treatments from the watch and have the watch calculate IOB and COB!

simonish commented 4 years ago

Where can I get this pre release is it on github?

Sent from my iPad

On 29 Dec 2019, at 19:40, Ryan Mason notifications@github.com wrote:

 Added a local treatments feature to Glance's pre-release which will allow you to make treatments from the watch and have the watch calculate IOB and COB!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Rytiggy commented 4 years ago

You can grab it here https://glancewatchface.com/