-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
No auto cal on Nightscout sync page #3325
base: master
Are you sure you want to change the base?
Conversation
f5051bc
to
645e8b4
Compare
…4_02_06 # Conflicts: # app/src/main/res/xml/pref_data_sync.xml
Is there any relationship between Nightscout and auto calibration? |
This PR does not remove the option to enable automatic calibration. The only reason I would like this removed is to tidy up the settings. The more items we have on any menu, the more anxiety it can create for a new, or even experienced, user. |
I believe that blood test entries entered on Nightscout can become automatic calibrations sent to sensor |
@jamorham I don't disagree with that statement. If I enable automatic calibration, all blood test entries will be used. I don't believe there is any conditional to only use some of them. I believe this (redundant) menu item can be removed to clean up the menu without confusing users. I don't believe removing this item is going to cause any confusion. |
Every time a BloodTest is created, it can be used for calibration if it is not older than 5 minutes (see xDrip/app/src/main/java/com/eveningoutpost/dexdrip/models/BloodTest.java Lines 168 to 174 in 1958827
Downloaded treatments will also create a BloodTest object and will therefore trigger the calibration check: xDrip/app/src/main/java/com/eveningoutpost/dexdrip/utilitymodels/NightscoutTreatments.java Line 75 in 1958827
Indeed, it is not necessary to replicate the setting. But there should be at least a warning on the Nightscout settings page, that recently downloaded blood test values could trigger a calibration if the Or the property should be changed that it reflects downloaded blood values. |
@tolot27 Automatic calibration is not something I am happy about having in xDrip. Anyway, I cannot remove automatic calibration from xDrip. I would if I was allowed. But, that's a different story. Any blood test entered into xDrip will be used for automatic calibration if the setting is enabled. Edit: Please see a correction added in the next post. |
I made an incorrect statement. So, I would remove automatic calibration for G6 and G7 where applying a calibration in the past is not possible. |
If you look at the portion of the code you have quoted and look at line 172, you can see that the submitted calibration has a time parameter. What will G6 or G7 do to a calibration with a time parameter? We are not supposed to over calibrate G6 or G7 anyway. |
Reading my own posts, I see a lot of ranting! I am sorry about that. People tell me that I should not have removed the ability to reset calibrations for G6. If we remove the ability to run auto calibration with G6, I expect some people will be extremely unhappy with me. Making xDrip do the right thing and keeping the users happy sometimes are not on the same path. I think JamOrHam has a done a great job making decisions, and keeping me on the right track. |
I assume that the main intention of repeating the automatic calibration at the Nightscout Sync settings page is to give the user an implicit reminder that this option is potentially turned on. Since it is not helpful to replicate settings, I suggest to replace it by a warning only if automatic calibration is turned on. This will fulfill the original intention. BTW: Every BG value one is entering in a t:slim X2 pump is used for calibration (as long as the current BG value is stable). Hence, calibration is still active for both G6 and G7 and IMHO is still a useful feature. |
Please lets remove automatic calibration from the Nightscout page.
A user can enable automatic calibration on the advanced calibration page as well as on the Glucose Meters page.
There is no relationship between automatic calibration and being a Nightsocut uploader.