Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bolus is not displayed in Nightscout when there's a "glucose" property in the MongoDB document #109

Open
HockeyTrafalgar opened this issue Oct 18, 2024 · 2 comments

Comments

@HockeyTrafalgar
Copy link

I've noticed that some boluses that are imported to Nightscout by tconnectsync are not displayed on the Nightscout timeline. By comparing the documents in the "treatments" collection I've figured out that the problem is with the "glucose" field:

{
_id: ObjectId('6712477db4e184956acc623a'),
eventType: 'Combo Bolus',
created_at: '2024-10-17T18:09:45.000Z',
insulin: 0.4,
notes: 'Standard Bolus (Override)',
enteredBy: 'Pump (tconnectsync)',
pump_event_id: '1726261,1726246,1726247,1726248',
glucose: 218,
utcOffset: 240
},

If I remove this field from the document manually and restart Nightscout, the bolus appears on the timeline. Nightscout version 15.0.0.

@jwoglom
Copy link
Owner

jwoglom commented Oct 19, 2024

Huh, that's bizarre. Honestly feels like a Nightscout bug to me? I think it's expected that you can specify a BG value in the same object as a treatment.

@jwoglom
Copy link
Owner

jwoglom commented Oct 19, 2024

Are there any errors in the Nightscout web client or the server logs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants