nightscout / Trio

MIT License
45 stars 125 forks source link

Trio Does Not Backfill Missed Glucose Readings from Dexcom G6 Sensors #287

Closed Sjoerd-Bo3 closed 2 weeks ago

Sjoerd-Bo3 commented 3 weeks ago

Describe the issue

Trio does not backfill missed glucose readings when connected via the Dexcom G6 connector. This results in gaps in BG history for the Trio app, even though the Dexcom G6 app successfully backfills these readings. Additionally, using Dexcom Share as a CGM source in Trio does not work, further complicating the issue. This is particularly problematic for caregivers and users who rely on continuous and accurate glucose data.

To Reproduce

Steps to reproduce the behavior:

Expected behavior

The Trio app should backfill missed glucose readings when reconnected to the Dexcom G6 sensor, similar to how the Dexcom app does. This would ensure continuous and accurate glucose data in the Trio app.

Setup Information (please complete the following information):

Smartphone:

CGM:

Trio Version:

Technical Details

Trio currently does not backfill data from the Dexcom G6 connector, unlike the Dexcom app, which successfully backfills data upon reconnection. Additionally, using Dexcom Share as a CGM source in Trio does not work, which further exacerbates the problem. Trio might need to read glucose from Apple Health to backfill these missed readings, but Apple Health has a delay for making readings available.

Additional context

This issue has been observed with multiple missed readings overnight or during other periods of sensor disconnect. While the Dexcom app backfills the data without gaps, Trio does not reflect these backfilled readings, creating discrepancies in BG history.

dnzxy commented 2 weeks ago

Fixed by #282