Skip to content

Revise getdata.py#7

Open
jhmon wants to merge 4 commits intojwoglom:masterfrom
jhmon:patch-1
Open

Revise getdata.py#7
jhmon wants to merge 4 commits intojwoglom:masterfrom
jhmon:patch-1

Conversation

@jhmon
Copy link
Copy Markdown

@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