nightscout / nightguard

iOS and WatchOS Client for the Nightscout CGM System
GNU Affero General Public License v3.0
240 stars 158 forks source link

Check BG every minute toggle not working on iPhone APP #314

Open Uksa007 opened 4 days ago

Uksa007 commented 4 days ago

Hi,

Using Nightguard iOS APP V3.29.2.906 (latest?) on iPhone

My Nightscout(web page) updates its data every one minute from the Libre 2 Sensor.

When I turn on the "Check BG every minute" toggle in the iOS APP Preferences, it still only updates every 5 minutes, not every minute!

I have tried restarting the iOS APP. Removing and reinstalling the iOS APP.

Is there anyway to get Nightguard to update every one minute?

dhermanns commented 4 days ago

@poml88 Any thoughts?

poml88 commented 4 days ago

Not really. So, it is not working on the phone? The watch? Both? And Nightscout shows a new value every minute? This is the official release from the app store?

Codewise, we just change the 5 for a 1, the rest remained the same... Maybe something with UserDefaults, does not remember the setting.

Btw, @dhermanns did you get my email? I sent you an email a while ago... :)

Uksa007 commented 4 days ago

Not really. So, it is not working on the phone? The watch? Both? And Nightscout shows a new value every minute? This is the official release from the app store?

Codewise, we just change the 5 for a 1, the rest remained the same... Maybe something with UserDefaults, does not remember the setting.

I'm testing on the iPhone. Don't have a watch to test. Using the official release from the app store.

Can you test, even if your sensor doesn't update every minute it should still check and update the time last checked beside the BG value, with the "Check BG every minute" toggle on? MIne is always 5min before the BG is changing and the time last checked then goes back back to 1min.

Regards

poml88 commented 3 days ago

Ok, thanks. I can test it on my setup, I have a Libre 3.

poml88 commented 3 days ago

Ok, same here. Seems the phone app is doing something differently and ignoring the one minute option. It did work on the watch so. I guess I never noticed, because I only cared about the watch. However, I never tried the app store offical release. I only tried my own builds.

Uksa007 commented 3 days ago

Ok, same here. Seems the phone app is doing something differently and ignoring the one minute option

Thanks for testing and confirming that this is indeed a bug.

How to progress fixing? Who wrote the code for the Check BG every minute toggle, are they able to test and fix for the iPhone?

Regards