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

Upload issue to Apple Health #255

Open
JohnV235 opened this issue Oct 23, 2023 · 7 comments
Open

Upload issue to Apple Health #255

JohnV235 opened this issue Oct 23, 2023 · 7 comments

Comments

@JohnV235
Copy link

Nightguard has started uploading 54 entries for every second to Apple Health. Example: at 4:45 AM it sends the same glucose reading 54 times. Then at 4:45 AM it will send the reading 54 times. Then at 4:46 AM, etc. Totally messed up using Apple Health for my glucose. Any ideas?

@dhermanns
Copy link
Collaborator

Would be helpful what versions you are running.

@JohnV235
Copy link
Author

Thanks - I'm new to this. Version 3.8.1.831

@dhermanns
Copy link
Collaborator

This is the latest App-Store Version. @sebdei could you have a look?

@sebdei
Copy link
Contributor

sebdei commented Oct 25, 2023

If I remember correctly, duplication handling is done by apple health itself. Since I'm not using the App anymore, it would be nice if somebody would approve this bug. In any case I might find some time during the next few weeks.

@superevr
Copy link

First time setting up Nightguard and syncing to Apple Health. I'm really happy to have this functionality to put more of my information in one place. This is very helpful, especially when looking up historical changes and trends.

Unfortunately I also came across this bug. Similar to the first post, Nightguard generated dozens and dozens of duplicate entries for readings. For example, one of the synced historical records for Jan 26 at 5:50:23 PM appears in the Apple Health Recorded Data 56 times. That is, Same glucose, same date (to the second), same source, and nearby "Date Added to Health". (From Jan 26, 2024 at 6:17:55 PM through 6:17:56 PM)

image

This doesn't happen always, but it certainly floods Apple Health with duplicate data. I don't think Apple Health de-duplicates the raw data. But it will de-duplicate the information from two different apps before it displays it in a chart.

This is version 3.9.1 from the app store.

@superevr
Copy link

If it helps, the data is syncing from the Gluroo API, which is populating data for Freestyle Libre 3 via Libre Link Up.

@Parke-Bench
Copy link

Same issue here, data coming from GluRoo’s LibreLinkUp connection to my Libre 2.

Love the NightGuard app and having my BS nums on my Apple Watch, but I had to disable the HealthKit integration because it was flooding my history with thousands of readings every hour.

I’m not super experienced with iOS programming but I do have an Apple Developer’s Licence, and am a fairly experienced programmer in general, so if anyone wants to point me to the “likely culprit” code in the repository, I can poke around and do some diagnostics.

@dhermanns dhermanns mentioned this issue May 5, 2024
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

5 participants