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

Revise getdata.py #7

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Revise getdata.py #7

wants to merge 4 commits into from

Conversation

jhmon
Copy link

@jhmon jhmon commented Nov 12, 2020

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.

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.
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

Successfully merging this pull request may close these issues.

1 participant