Benefits of Looping

I currently use the G7 and Mobi pump and would like to understand more about looping and the various apps that support it. Can someone explain the benefits to me given what I am currently using? About 8-10 years ago, when I was using MDI and G4, I did use XDrip for a while on my android phone. So I understood the benefits then. But I am not sure what they would be now.

Any info is greatly appreciated. Thanks

2 Likes

So you are already familiar with the Tandem Control IQ closed-loop algorithm.

Looping is just another way of doing that, but it gives you more control over what settings you want.

With Control IQ, I think you can only set a target of 120 or 150, or something like that, right? Looping lets you set whatever target you want.

Similar to the way Tandem works, you set your basal rates and BG targets. But you can set them for whatever you want.

When you are in closed-loop, the app will give you more or less basal depending on what your CGM number is. And it will also give you micro-boluses if your BG is high enough.

If you switch it to open-loop, it just follows your pre-programmed basal rates. It does not make any changes if you are in open-loop.

Advantages:
You have one less device to carry. It all runs on your phone, and most people always have their phone with them anyway. You don’t need to carry a pump around. (Although with the Mobi, it’s kind of the same thing there, since Mobi runs from your phone.)

The other advantage is that you have total control over the settings. Your BG target can be anything you want.

Disadvantages:
You have to use Omnipod Dash. I think Dash is fine, but if you are not used to it, it might be an adjustment to switch to it.

You have to build it yourself. It takes some time to learn how to build it. It’s not too hard, but just takes patience and reading. And you can ask people here for help.

2 Likes

Thanks Eric. Aren’t there other open source options that do not require switching to Omnipod Dash?

Can you clarify this? I thought the pump and phone always have to be close to each other.

If you are talking about looping in terms of a commercial pump, all 3 of the big pump manufacturers now do this - Medtronic, Tandem, and Insulet (OmniPod). There is also iLet, which is not one of the big 3, but they also do it.

If you are talking about a do-it-yourself loop system, you can do this with either iPhone or Android. There is code available that allows you to do it with either type of phone.

But you need a pump to go with the do-it-yourself loop system. As far as I know, the only pumps that work with this are OmniPod Dash, and very old discontinued versions of the Medtronic. You might still be able to find one of those Medtronic pumps, but it’s not easy because they have not been made in quite some time.

Unless there is some other option I am not aware of, I think those are the only 2 options. :man_shrugging:

Someone please let me know if I am missing something on this.

2 Likes

@funk It has gotten to the point there is not an easy answer to your question, because the environment of “looping” (small ‘l’) has become diverse. It depends largely on what phone/OS you have and what country you’re in to determine what pumps and CGMs are available and what AIDs work with them. @Eric has provided a good basic review of Tandem and commented on Dash pods; Dash pods are the favorite for looping software because the security of the pumps BT signal is known, yet considered relatively secure. In the US, the primary platforms for looping (small l) using DIY apps are Loop (large “L”, V3.6 just came out, requires iPhone/iOS), AAPS (not sure of current version, requires an Android phone), Trio (currently in beta testing w/a small group, public beta due out soon, its an offshoot of iAPS, requires iPhone/iOS), and iAPS (not sure of current version, changes more frequently than most, I believe still requires iPhone/iOS). Most DIY iAIDs are compatible with a varying set of iCGMs (most support Dexcom G6/7, many support Libre 2/3, several others are supported dependent on the iAID software); some are compatible with varying pumps (Dash is the primary for Loop, Trio, and iAPS [I can’t speak to AAPS as I’m not sure). Commercial pumps state they are “loopable,” but true capabilities vary depending on your definition of “loop.” Some allow a BG range higher than many people want, some allow a limited correction factor, some are a “black box” (i.e. you don’t know what the algorithm is); the list goes on. In addition, some are available via “pharmacy” benefit channels (current Dash pods are one), some only via DME (Durable Medical Equipment) channels (Tandem and Medtronic are examples). If you live outside the US, the number of available pumps, their manufacturer iAIDs, compatibility with DIY iAIDs, and compatibility with iCGMs varies even more.

On the good side, the options available for iAID software, iCGMs, and pumps is growing. It seems some pump manufacturers have broken the code that people expect pumps to work with multiple CGMs and AIDs, vice stove-piped into manufacturer vertical monopolies. Example the new Twiist pump, using a commercial version of the Loop code, is due out by EOY 2025 and is supposedly going to be compatible with both the Dexcom G7 and Eversense 1-Year, possibly the Libre 3. On the DIY AID side, the community has long sense broken that code and has expanded software to be compatible with multiple CGMs and pumps for some time and it’s growing to support more.

The best advice is to do your own search. Check what pumps are approved for use in your country, then check what AID software will support those pumps (commercial or DIY) and what CGMs are readable by the AID software. The one differentiating item is what support there is for the combinations available to you and what are your abilities to handle the combinations. Is DIY a realistic option for you? Is commercial and hands-off what you need/want? It’s not quite the defined commercial environment it once was, and the DIY environment isn’t quite the Wild West it once was either. We can be thankful the #WEARENOTWAITING folks pushed both the commercial and DIY markets!

5 Likes

Tom and Eric

Thanks so much for all this info/feedback. I think I am going to have to sit down with a glass of wine tonight and read thru all of this very carefully. There is a lot out there and I hadn’t realized I was asking such a loaded question.

Thanks again and I may be back with more questions!!

4 Likes

Any questions you have are welcome! FYI, I’ve used Loop, iAPS, and Trio. I’m currently a beta tester for Trio. I’ve used both Apple Xcode and Browser Builds for each (it takes time the first time and ability to carefully follow directions); subsequent browser building is easy. There’s plenty of help available on FB, GitHub, or Discord. I’m not a programmer and it doesn’t take one to do it. There is a cost: you need an Apple developer account, $90/year. I have not used a commercial AID/looping system or tubed pump (Dash was my first and only). I should have included that Loop (I think Trio and iAPS too) can use older Medtronic pumps (pumps may be out of warranty), not sure if newer variety will work with it/them. Some people swear by commercial systems (like Omnipod 5), others swear at them. YDMV is the catch phrase. Hope your research takes you in the right direction for you!

1 Like

Newer Medtronic pumps do not work. The older ones that do work are hard to find now. They are highly sought after online because they allow looping.

If you find one of the older compatible Medtronic pumps being sold online, it would go for an exorbitant price. I think they were the Medtronic MiniMed 515 and 522, and a few other old Medtronic models. I don’t recall all the numbers.

2 Likes

Trio also supports the Dana RS/-i pump.

While AndroidAPS supports a number of other pumps besides Dash, Medtronic and Dana pumps.. I believe it also supports Medtrum, Tandem t:slim and Ypso pumps.

3 Likes

Is it available in the U.S. now? For a while I think it was only available in Europe. I did not know if that had changed.

2 Likes

Trio, Loop and AndroidAPS all support Dana RS / i pumps. I believe Dana i pump is FDA approved.

From Diabetech posted in 2022:

  • The Dana-RS pump is the older version of the Dana-i and will probably not be started anymore.
  • The Dana-i is a good catheter pump, although the interface of the pump feels outdated. The pump should be “more affordable” than comparable insulin pumps. It is available in Korea, Asia and New Zealand. Availability/use in Europe is limited (UK, the Netherlands and Luxembourg). It has an FDA-label, but is not used in the US yet.
  • Ypsopump is a small light weight catheter pump that works with insulin Pumpcarts and has a unique infusion set that rotates 360 degrees. Ypsomed has integrated the CamAPS FX algorithm in their mylife Loop system. If you are choosing or offered an Ypsopump, its therefore more logical to choose the more integrated mylife Loop system (view below).
2 Likes

Thanks @Trying. Yes, that’s :arrow_up: what I saw which I was referring to.

Basically, it would work if you can get one, but it was not widely distributed yet in the U.S.

But that was a few years ago, so it might be easier now.

2 Likes

Yes, there are users but I’m not sure who is in the US. I just know that the developer is very responsive in integrating it with Trio and other loop AID systems.

2 Likes

I, too, use the Mobi and Dexcom G7. The only difference I see at this point between DIY looping and Mobi/G7 system is that with looping you can set your BG target to whatever you want, and on the Mobi, 110 is the lowest BG target allowed. The other settings on the Mobi are very flexible. The big caveat is knowing how to use the settings to your best advantage. Sigh. That is the crux of the matter. For me, at least, it will be a lifetime of trial-and-error and tweaking. My endo thinks I’m fine at A1c 6.4, TIR 92 and standard deviation of 31. It’s that standard deviation that I wish I could settle down, but my lifestyle is such that it’s hard to get better numbers. If DIY looping is really different from Mobi/G7 system, other than BG target options, someone please let me know! My personal experience with the Mobi/G7 is that I work just as hard at managing my BG now as in the days before smart algorithms, but with the Mobi/G7 I am more successful.

4 Likes

I haven’t used Mobi, so let me just ask a few questions to point out flexibilities that I have with DIY Loop.

On the Mobi, do you just enter grams of carb, or can you inform the algorithm that it’s 16g of carb in glucose tabs, or 16g of carbs in peanut butter? Because they are not the same, and if the algorithm doesn’t know how fast your carbs are, how can it do the right thing?

On the Mobi, can you say you plan to eat 100g carb in the form of pizza an hour from now so that it can start prebolusing as needed?

On the Mobi, if you took a bolus for an estimated 30g carbs, and then a half hour later you notice that your BG is rising faster than it should, can you go back and inform the algorithm that it really must have been 45g carbs so the algorithm should adjust the dosing to compensate? That’s different from entering another 15g of fake carbs now, because the dosing is already running behind the insulin requirement.

Suppose you had to pull an all-nighter, so the next day you’re a bit more resistant to insulin. Can you tell the Mobi algorithm that you need an extra 20% insulin today? Not just a basal adjustment, but also for meal boluses, corrections, and everything.

I think there’s lots of useful control in DIY Loop. For me, it’s more of a cooperative activity, rather than having the algorithm try to do everything it’s own way with maybe some work-arounds that I can use to trick it, such as by lying about my basal requirements or carb intake.

4 Likes

Thanks for your questions! No, Mobi certainly does not help in any of these ways you have itemized and I struggle with each of these scenarios! So, how do you “inform the algorithm” of these situations with DIY loop?

2 Likes

Here is a screen shot with tandem ctrl-IQ settings (same for Mobi and t-slim). There is also a new feature to make a temp basal rate while still in ctr-IQ, but the temp rate gets superseded by crtl-IQ so I am not yet understanding it.

1 Like

This is really the same with looping too though. Crap in crap out is real no matter what method you employ. If you don’t know what ISF and Basal rates are, for instance, or how to test, adjust and look for patterns that need addressed, you’re always going to be dissatisfied and lacking the desired control.

4 Likes

The first three questions I posed have to do with food and adjusting the algorithm’s response.

The meal entry screen has 4 fields

  1. amount (grams of carb)
  2. the time the food is to be eaten
    this is pre-filled to the current time, but you can scroll the wheels to change it to a time in the past or future in case you already started eating, or you’re planning to eat it at some time in the future.
  3. the food type, which has 3 buttons: lolly pop, taco, or pizza
    these are shortcuts that correspond with “digestion time” which means how fast the food will turn into carbs in the bloodstream. The lolly pop sets the time to 30 minutes, and is used for any kind of sugary fast carbs. The taco button sets the time to 3 hours, which is representative of a typical mixed meal containing carbs, protein, and fat. The pizza button sets the time to 5 hours, which is useful for slow-digesting foods. These 3 buttons just change the time displayed on the 4th line to three convenient pre-set values.
  4. absorption time
    this shows the time if you pressed one of the 3 buttons, or is pre-filled with 3 hours if you didn’t, and you can scroll it in half hour increments from 1/2 hour to 8 hours. This isn’t intended to be some scientific measurement, it’s just a knob that enables you to tell the algorithm whether to give the meal bolus rapidly, or spread out over more time. Kind of like a “square wave” or “extended” bolus on a traditional pump, but more adjustable.

If you don’t enter anything other than the grams of carb, it just acts like a traditional pump, so you aren’t required to use all the fancy features and answer lots of questions with lots of button presses. For example, if I just want to eat a 50g sandwich, I type the following:

  press the "meal" button
  50
  press the "continue" button [it shows the recommended bolus which you can change]
  press the "save and deliver" button

That was 5 button presses. On my old t:slim it was something like 14 button presses to get it done.

If you notice that your BG is rising too fast or is topping out too soon, suggesting that the meal bolus wasn’t right, it’s possible to change what you originally entered. Loop saves the data for all of today’s meals in a table. The meal grams, time eaten, and absorption time are stored as a line in that table. It’s easy to tap on a line to bring up the food entry screen pre-filled with the numbers from the table, but you can edit any of them, for example to change the grams, or the absorption time, or even the eating time. As before, the continue button goes to the bolus amount screen, which will show any additional bolus that the algorithm suggests based on the new information and the amount of insulin and remaining carbs in your system. As always, you can accept the suggestion or change it to whatever you want. And it shows a graph of your estimated BG over the next 5 hours based on all the food and insulin the algorithm knows about, so you will see if it thinks you already have too much insulin and maybe should consider eating some extra carbs to avoid going low.

If dealing with extra insulin resistance or insulin sensitivity, you press the “custom preset” button. This is a bit like “exercise mode” on a traditional pump, but much more adjustable. Here there’s a slider showing overall insulin needs, pre-set to 100%, but you can adjust it anywhere from 10% of normal to 200% of normal. There are also fields for target BG range in case you want your BG to run higher (or lower) than usual; start time; and duration of this override (in 15 minute intervals for up to a day, or “enable indefinitely” if you don’t know how long it will take for your insulin sensitivity to return to normal.

You set the kind of insulin in DIY Loop because the algorithm uses the actual published insulin absorption curves for Humalog, Novolog, Apidra, Fiasp, and Lyumjev. This enables the algorithm to be more accurate than it would be if it just used a “duration of insulin action” setting like the 2 or 3 hours that we used to put into traditional pumps to try to get them to dose more aggressively.

If you take a manual bolus by syringe or by Afrezza inhaler, there’s a screen to enter that information so that the algorithm can take that into account when deciding it’s automatic insulin corrections every 5 minutes.

3 Likes

Can I adopt you? (Just kidding; I have enough adopted children.) Thank you! This is the best description of loop that I have seen. Food for thought, for sure! I might have to check it out again - Facebook, right?

2 Likes