nightscout / AndroidAPS

Opensource automated insulin delivery system (closed loop)
https://wiki.aaps.app
GNU Affero General Public License v3.0
725 stars 1.76k forks source link

Duplicate CGM data as the readings , in virtual pump and data coming from Knighscout not via xdrip #1180

Closed g7kbr closed 2 years ago

g7kbr commented 2 years ago

**AndriodAPS 3.0-rc1

So running in virtual mode with a Medtronic 722. The CGM is currently coming from my Knightscout account. I am on objective 5. I seem to have duplicate CGM data as the readings are very close multiple times.

I am almost at a stage to go Omnipod Dash, my CGM data is from a libre2. Tis I will use OOP2 and xdrip.

I am a bit concerned about the red triangle. As I am not using xdrip at the moment.

Any feedback would be great. I see that it is users on G6 dexcom which seem to see this.**

Attached Logs and screenshots JPG's below

Log.Export.txt IMG_7288 IMG_7290 IMG_7289 AndroidAPS._2022-01-1416-32-39.0[1].zip AndroidAPS._2022-01-1500-00-16.0[1].zip

Reporting bugs

andyrozman commented 2 years ago

Are you using Xdrip? If yes at the moment Xdrip is not compatible with AAPS 3.0... Xdrip team is working on fixing the problem, so I am hoping this will be possible soon.

g7kbr67 commented 2 years ago

No I am not using Xdrip, my current CGM data is via my iPhone and that I am using xDrip4iOS via freeaps. AndroidAPS 3.0 is getting its data via Knightscout.

MilosKozak commented 2 years ago

AAPS is just telling you your bg source has duplicated readings. it's not a bug of AAPS

andyrozman commented 2 years ago

if xDrip4iOS is using the same base code as Xdrip it might have the same problem... If wrong data is saved into NS, and AAPS reads from NS, then it gets wrong data... And like Milos said, it looks like you have duplicated readings...

g7kbr67 commented 2 years ago

duplicated

So would I need to manually delete the duplicate reading, frequently? I am not closed loop yet but am I write in saying closed loop would stop if duplicates are found?

MilosKozak commented 2 years ago

you have to resolve the issue on your BG source. Using NS BG source is last resort. you should send BG directly to AAPS to avoid necessity of internet connection And yes, duplicated BGs leads to stoped loop to prevent errors in calculations