Skip to content

Commit 79ebafe

Browse files
authored
Merge pull request #61 from marionbarker/claude_suggestions
Overall update for LoopTips using claude suggestions
2 parents b0879b5 + b15bf0f commit 79ebafe

21 files changed

+612
-225
lines changed

dev-requirements.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pip-tools

dev-requirements.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.12
3+
# by the following command:
4+
#
5+
# pip-compile --output-file=dev-requirements.txt dev-requirements.in
6+
#
7+
build==1.2.2.post1
8+
# via pip-tools
9+
click==8.1.7
10+
# via pip-tools
11+
packaging==24.1
12+
# via build
13+
pip-tools==7.4.1
14+
# via -r dev-requirements.in
15+
pyproject-hooks==1.2.0
16+
# via
17+
# build
18+
# pip-tools
19+
wheel==0.44.0
20+
# via pip-tools
21+
22+
# The following packages are considered to be unsafe in a requirements file:
23+
# pip
24+
# setuptools

docs/data/nightscout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The day-to-day report will show a detailed overlay of boluses, basal rates, carb
5757

5858
### Daily Stats report
5959

60-
The daily stats report is a pie chart showing the daily breakdown of your low, in-range, and high time in target, as well as other statistical analysis of your BG trends.
60+
The daily stats report is a pie chart showing the daily breakdown of your low, in-range, and high time in target, as well as other statistical analysis of your glucose trends.
6161

6262
![Daily Stats](img/daily-stats.png){width="700"}
6363
{align="center"}

docs/data/overview.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,28 @@ When you go to your endocrinology office, they need to have a method to view all
1111

1212
## Available solutions for DIY apps
1313

14-
The good news is that the community has some very useful tools to help address the shortcomings in the traditional data aggregation for Loop users. There are several tools available to help you and/or your endocrinologist evaluate your Loop data. Specifically, this section covers:
14+
The good news is that the community has some very useful tools to help address the shortcomings in the traditional data aggregation for Loop users. There are several tools available to help you and/or your endocrinologist evaluate your Loop data.
1515

16-
* *Apple* Health app
17-
* *Nightscout*
18-
* *Tidepool*
19-
* *Perceptus*
16+
### Comparison of Data Tools
17+
18+
| Tool | Best For | Data Retention | Cost | Setup Complexity |
19+
|------|----------|----------------|------|------------------|
20+
| **Apple Health** | Quick daily review, on-device access | Indefinite (on device) | Free | None (built-in) |
21+
| **Nightscout** | Remote monitoring, real-time troubleshooting, detailed Loop data | Varies by hosting plan | Low ($0-12/month) | Moderate |
22+
| **Tidepool** | Endo appointments, professional reports, long-term trends | Indefinite (cloud) | Free | Low |
23+
| **Perceptus** | Advanced algorithm analysis, deep insights | As long as you maintain account | Free | Low |
24+
25+
### Which Tool Should You Use?
26+
27+
- **Start with Apple Health** - It's already there and requires no setup
28+
- **Add Nightscout** if you need remote monitoring or want detailed troubleshooting capabilities
29+
- **Use Tidepool** for sharing data with your healthcare team and generating reports
30+
- **Try Perceptus** when you want advanced analysis of how Loop's algorithm is performing
31+
32+
This section covers each tool in detail:
33+
34+
* Apple Health app
35+
* Nightscout
36+
* Tidepool
37+
* Perceptus
2038

docs/data/tidepool.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ If you hover over an item on the *Tidepool* web display, information is revealed
101101
* details about a manual bolus:
102102
* the recommended value with notation if this recommendation was modified (override or underride)
103103
* if this was a meal entry: Carbs and IC (insulin to carb ratio, called CR in Loop) are shown
104-
* in all manual bolus, the Glucose, IOB, ISF and correction target range are shown
104+
* in all manual bolus, the Glucose, IOB, ISF and correction range are shown
105105
* in the graphic below, the left image is from meal entry and the right from a bolus added after the meal
106106

107107
![meal entry details](img/tidepool-hover-meal-postmeal.png)

docs/how-to/cgm.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,18 @@
33
Obviously, without CGM data your Loop will not function. With the stability that Looping brings, many people are looking for ways to minimize their Loop downtime due to avoidable factors. Factors that make CGMs a potential problem include sensor failure, transmitter signal loss, poor calibrations, and the warmup period.
44

55
## Sensor warmup
6-
One of the obvious downtimes is during new sensor warmup. Unfortunately, the only way to avoid the 2-hour warmup (in the case of Dexcom's system) is to overlap your sensor sessions and this just isn't feasible for most people.
6+
One of the obvious downtimes is during new sensor warmup.
77

8-
* Insurance doesn't provide adequate supplies to overlap sensor supplies; you would need two active transmitters and enough sensors to allow for overlap of use.
9-
* Sometimes sensors fail before a session was due to expire, making a planned overlap impossible.
10-
* Some people just don't want to wear two sensors at once.
8+
### Dexcom G7 CGM
9+
One of the nice things about the Dexcom G7 is that many people begin the warm-up of the new sensor while the current sensor is in the grace period. Amazing - no gap in CGM coverage.
10+
11+
### CGM that cannot be overlapped
12+
13+
Unfortunately, many sensors cannot be overlapped, so there will be a period without CGM data between sensors.
1114

1215
Since warmups are an important part of stabilizing CGM values and decreasing sensor noise, they are just going to continue to be a no-Loop time period for the foreseeable future. Most people simply cancel a currently running temporary basal, or let it run its course, when they start a new sensor session. For the two hours of warmup, the Loop will revert to the basal schedule programmed into the pump.
1316

14-
Some people have opted to keep looping during sensor warmups by manually entering blood glucose checks through the Apple Health app for Loop to read. While technically Loop can use those values, the entries would have to be sufficiently frequent to be meaningful. If a person is willing to test 8-12 times in a two hour span, then looping through sensor warmup could be feasible through this method.
17+
Some people have opted to keep looping during sensor warmups by manually entering blood glucose checks, either through the *Loop* app (with version 3 and newer) or through the Apple Health app. While technically Loop can use those values, the entries would have to be sufficiently frequent to be meaningful. If a person is willing to test 8-12 times in a two hour span, then looping through sensor warmup could be feasible through this method.
1518

1619
## Sensor noise
1720
Depending on which CGM device you use, you may observe a sweet spot of data accuracy in the middle of your sensor's session but have sensor "noise" at the beginning and end of the session. Generally speaking, Loop does fairly well despite these times of sensor noise, although having a reasonable maximum basal rate does help mitigate the risk due to a noisy sensor.

docs/how-to/disconnect.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Disconnecting from Pump
22

3-
For Medtronic pump users, you will have times where you need to disconnect from your insulin infusion site. Showers, some sports activities, swimming, and medical exams are some of the common reasons when disconnections are unavoidable.
3+
For tubed pump users, you will have times where you need to disconnect from your insulin infusion site. Showers, some sports activities, swimming, and medical exams are some of the common reasons when disconnections are unavoidable.
44

5-
The simplest way to deal with periods of disconnect is to suspend the Medtronic pump so that Loop knows no insulin was being delivered while you were disconnected. This will let Loop know that there is missing basal insulin that may need to be considered as part of the blood glucose prediction. Typically when disconnected from insulin delivery and negative insulin on board has developed, blood glucose will start to rise so Loop will expect to need to make up the missed insulin from disconnections.
5+
The simplest way to deal with periods of disconnect is to suspend the pump so that Loop knows no insulin was being delivered while you were disconnected. This will let Loop know that there is missing basal insulin that may need to be considered as part of the blood glucose prediction. Typically when disconnected from insulin delivery and negative insulin on board has developed, blood glucose will start to rise so Loop will expect to need to make up the missed insulin from disconnections.
66

77
Some users are prone to forget to resume insulin delivery after suspending for disconnects. One option is to use Siri by simply saying "Hey Siri, set a timer for 30 minutes" and that can serve as a reminder alarm to resume the pump after the shower is over. Other users may want to consider canceling any running temporary basal, setting a 30 minute zero temporary basal, and then setting Loop to open loop. This will keep IOB fairly accurate while at the same time providing an automatic restart of normal basals if the user forgets to resume delivery. The user will then have to close loop again when ready to resume looping. Find what option works for you (or your child) the best; there are a number of ways to deal with disconnects.
88

0 commit comments

Comments
 (0)