pazaan / 600SeriesAndroidUploader

Your Medtronic 600-series pump data, direct to Nightscout
http://pazaan.github.io/600SeriesAndroidUploader/
MIT License
189 stars 312 forks source link

Insulin injection event on 640G #286

Closed fsamuelm closed 3 years ago

fsamuelm commented 3 years ago

Environment

Brief Explanation of Issue

After manually inserting the insulin injection event into the pump, it appears as "exercise" on the nightscout after upload. And I think that insulin (which enters the nighscout as an exercise), is also not counted as insulin on body (not sure about this point).

Severity Score

3

Pogman commented 3 years ago

Yep this is a bug - thanks.

Pogman commented 3 years ago

notes:

Change PumpHistoryMarker.RECORDTYPE.EXERCISE to PumpHistoryMarker.RECORDTYPE.INJECTION

https://github.com/pazaan/600SeriesAndroidUploader/blob/2aa572c7c807d484702b21949b595bc9ef75d008/app/src/main/java/info/nightscout/android/history/PumpHistoryParser.java#L708-L718

fsamuelm commented 3 years ago

Thanks! Changed and pull requested

Pogman commented 3 years ago

In version 0.7.3 - thanks.