Open
Conversation
An revised version of the fabulous original script by jwoglom called "getdata.py". This version keeps Diabetes:m from uploading BG data back to Nightscout that was obtained from Nightscout in the first place. I also modified the original code to upload the basal insulin, proteins and fats. I can't find (for now) an "official" place for this data on Nightscout, so I have included it (with labels) in the notes section, that you can see when you hover over the dots. This version would be a complete replacement for the original "getdata.py" and would work with all of the other files jwoglom has written. No changes in his installation instructions are needed other than to replace the original version of "getdata.py" with this one and, perhaps rename this file to the original filename.
A revised version of the fabulous original script by jwoglom called "getdata.py". This version keeps Diabetes:m from uploading BG data back to Nightscout that was obtained from Nightscout in the first place. I also modified the original code to upload the basal insulin, proteins and fats. I can't find (for now) an "official" place for this data on Nightscout, so I have included it (with labels) in the notes section, that you can see when you hover over the dots. This version would be a complete replacement for the original "getdata.py" and would work with all of the other files jwoglom has written. No changes in his installation instructions are needed.
This version corrects bugs with the prior version. All other files from the original program creator remain the same. This version writes out a string including notes, bolus, proteins and fats in the Notes section on Nightscout unless this data is empty. It also corrects the bug of some entries being multiplied by 18 and being posted to nightscout with the inflated number.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An revised version of the fabulous original script by jwoglom called "getdata.py". This version keeps Diabetes:m from uploading BG data back to Nightscout that was obtained from Nightscout in the first place. I also modified the original code to upload the basal insulin, proteins and fats. I can't find (for now) an "official" place for this data on Nightscout, so I have included it (with labels) in the notes section, that you can see when you hover over the dots. This version would be a complete replacement for the original "getdata.py" and would work with all of the other files jwoglom has written. No changes in his installation instructions are needed other than to replace the original version of "getdata.py" with this one and, perhaps rename this file to the original filename.