Component Overview

AAPS is not just a (self-built) application, it is just one of several modules of your closed loop system. Before deciding for components, it would be a good idea to have a look at the component setup, too.

Components overview



The foundation of AAPS safety features discussed in this documentation is built on the safety features of the hardware used to build your system. 인슐린 자동 주입 시스템을 사용할 시에는 완벽하게 작동한다고 증명하는 테스트와 FDA 또는 CE 승인을 받은 인슐린 펌프과 CGM만을 사용하는 것이 매우 중요합니다. 이러한 구성요소에 대한 하드웨어 또는 소프트웨어의 변형은 예기치 않은 인슐린 투약을 야기하여 사용자에게 상당한 위험을 초래할 수 있습니다. If you find or get offered broken, modified or self-made insulin pumps or CGM receivers, do not use these for creating an AAPS system.

또한, 펌프 또는 CGM을 사용할 때에는 원래 공급되는 물품 즉 제조업자에 의해 승인된 삽입기, 캐뉼러 및 인슐린 용기만을 사용하는 것이 매우 중요합니다. 검증이 되지 않고 변형된 물품을 사용하는 경우에는 CGM의 부정확성과 인슐린의 투약 오류가 발생할 수 있습니다. 인슐린은 남용되면 매우 위험하니 물품들을 해킹하여 사용하는 것과 같이 본인의 목숨을 가지고 노는 행위와 같은 행동들은 삼가해주시기 바랍니다.

마지막으로는 계산할 수 없을 정도로 혈당을 낮추기 때문에 SGLT-2 억제제 (글 리플로 진)을 절대 사용하면 안된다. 혈당을 올리기 위해 기저양(basal rate)을 낮추는 시스템과 병행하는 것은 글 리폴로 진으로 인해 매우 위헙합니다. 오히려 혈당이 오르지 않을 수 있으며 인슐린 부족의 위험한 상태까지 올 수 있습니다.

Necessary Modules

Good individual dosage algorithm for your diabetes therapy

Even though this is not something to create or buy, this is the ‘module’ which is probably underestimated the most but essential. When you let an algorithm help manage your diabetes, it needs to know the right settings to not make severe mistakes. Even if you are still missing other modules, you can already verify and adapt your ‘profile’ in collaboration with your diabetes team. Most loopers use circadian BR, ISF and CR, which adapt hormonal insulin sensitivity during the day.

The profile includes

  • BR (Basal rates)

  • ISF (insulin sensitivity factor) is your blood glucose unit per one unit insulin

  • CR (carb ratio) is grams carbohydrate per one unit insulin

  • DIA (duration of insulin acting).

No use of SGLT-2 inhibitors

SGLT-2 inhibitors, also called gliflozins, inhibit reabsorption of glucose in the kidney. As they incalculably lower blood sugar levels, you MUST NOT take them while using a closed loop system like AAPS! There would be a huge risk of a ketoacidosis or a hypoglycemia! The combination of this medication with a system that lowers basal rates in order to increase BG is especially dangerous as due to the gliflozin this rise in BG might not happen and a dangerous state of lack of insulin can happen.


The current version of AAPS requires an Android smartphone with Google Android 9.0 or above. So if you are thinking about a new phone, Android 9 is recommended at a minimum but optimally choose Android 10 or 12. Users are strongly encouraged to keep their build of AAPS up to date for safety reason, however for users unable to use a device with a minimum version of Android 8.0, AAPS version, suitable for older Android versions, remains available from the old repository.

Users are creating a list of tested phones and watches

To record a phone or watch that isn’t already listed in the spreadsheet then please fill in the form.

Any problems with the spreadsheet please send an email to, any donations of phone/watch models that still need testing please send an email to

Insulin pump

AAPS currently works with

If no additional communication device is mentioned the communication betweeen insulin pump and AAPS is based on the integrated bluetooth stack of Android without the need of an additional communication device to translate the communnication protocol.

Other pumps that may have the potential to work with AAPS are listed on the Future (possible) Pumps page.

Additional communication device

For old medtronic pumps an additional communication device (besides your phone) is needed to “translate” the radio signal from pump to bluetooth. Make sure to choose the correct version depending on your pump.

So what’s the best pump for looping with AAPS?

The Combo, the Insight and the older Medtronics are solid pumps, and loopable. The Combo has the advantage of many more infusion set types to choose from as it has a standard luer lock. And the battery is a default one you can buy at any gas station, 24 hour convenience store and if you really need one, you can steal/borrow it from the remote control in the hotel room ;-).

The advantages of the DanaR/RS and Dana-i vs. the Combo as the pump of choice however are:

  • The Dana pumps connect to almost any phone with Android >= 5.1 without the need to flash lineage. If your phone breaks you usually can find easily any phone that works with the Dana pumps as quick replacement… not so easy with the Combo. (This might change in the future when Android 8.1 gets more popular)

  • Initial pairing is simpler with the Dana-i/RS. But you usually only do this once so it only impacts if you want to test a new feature with different pumps.

  • So far the Combo works with screen parsing. In general that works great but it is slow. For looping this does not matter much as everything works in the background. Still there is much more time you need to be connected so more time where the BT connection might break, which isn’t so easy if you walk away from your phone whilst bolusing & cooking.

  • The Combo vibrates on the end of TBRs, the DanaR vibrates (or beeps) on SMB. At night time you are likely to be using TBRs more than SMB. The Dana-i/RS is configurable that it does neither beep or vibrate.

  • Reading the history on the Dana-i/RS in a few seconds with carbs makes it possible to switch phones easily while offline and continue looping as soon a soon as some CGM values are in.

  • All pumps AAPS can talk with are waterproof on delivery. Only the Dana pumps are also “waterproof by warranty” due to the sealed battery compartment and reservoir filling system.

혈당 출처

This is just a short overview of all compatible CGMs/FGM with AAPS. For further details, look here. Just a short hint: if you can display your glucose data in xDrip+ app or Nightscout website, you can choose xDrip+ (or Nightscout with web connection) as BG source in AAPS.

  • Dexcom G6: BOYDA is recommended as of version 3.0 (see release notes for details). xDrip+ must be at least version 2022.01.14 or newer

  • Dexcom G5: It works with xDrip+ app or patched Dexcom app

  • Dexcom G4: These sensors are quite old, but you can find instructions on how to use them with xDrip+ app

  • Libre 2: It works with xDrip+ (no transmitter needed), but you have to build your own patched app.

  • Libre 1: You need a transmitter like Bluecon or MiaoMiao for it (build or buy) and xDrip+ app

  • Eversense: It works so far only in combination with ESEL app and a patched Eversense-App (works not with Dana RS and LineageOS, but DanaRS and Android or Combo and Lineage OS work fine)

  • Enlite (MM640G/MM630G): quite complicated with a lot of extra stuff


Nightscout is a open source web application that can log and display your CGM data and AAPS data and creates reports. You can find more information on the website of the Nightscout project. You can create your own Nightscout website, use the semi-automated Nightscout setup on or host it on your own server (this is for IT experts).

Nightscout is independent of the other modules. You will need it to fulfill Objective 1.

Additional information on how to configure Nightscout for use with AAPS can be found here.

AAPS-.apk file

The basic component of the system. Before installing the app, you have to build the apk-file (which is the filename extension for an Android App) first. Instructions are here.

Optional Modules


You can choose any smartwatch with Android Wear 1.x and above. Most loopers wear a Sony Smartwatch 3 (SWR50) as it is the only watch that can get readings from Dexcom G5/G5 when phone is out of range. Some other watches can be patched to work as a standalone receiver as well (see this documentation for more details).

Users are creating a list of tested phones and watches. There are different watchfaces for use with AAPS, which you can find here.

To record a phone or watch that isn’t already listed in the spreadsheet then please fill in the form.

Any problems with the spreadsheet please send an email to, any donations of phone/watch models that still need testing please send an email to


Even if you don’t need to have the xDrip+ App as BG Source, you can still use it for i.e. alarms or a good blood glucose display. You can have as many as alarms as you want, specify the time when the alarm should be active, if it can override silent mode, etc. Some xDrip+ information can be found here. Please be aware that the documentations to this app are not always up to date as its progress is quite fast.

What to do while waiting for modules

It sometimes takes a while to get all modules for closing the loop. But no worries, there are a lot of things you can do while waiting. It is NECESSARY to check and (where appropriate) adapt basal rates (BR), insulin-carbratio (IC), insulin-sensitivity-factors (ISF) etc. And maybe open loop can be a good way to test the system and get familiar with AAPS. Using this mode, AAPS gives treatment advices you can manually execute.

You can keep on reading through the docs here, get in touch with other loopers online or offline, read documentations or what other loopers write (even if you have to be careful, not everything is correct or good for you to reproduce).

Done? If you have your AAPS components all together (congrats!) or at least enough to start in open loop mode, you should first read through the Objective description before each new Objective and setup up your hardware.