# 설정 - **Open preferences** by clicking the three-dot menu on the top right side of the home screen. ![Open preferences](../images/Pref2020_Open2.png) - You can jump directly to preferences for a certain tab (i.e. pump tab) by opening this tab and clicking Plugin preferences. ![Open plugin preferences](../images/Pref2020_OpenPlugin2.png) - **Sub-menus** can be opened by clicking the triangle below the sub-menu title. ![Open submenu](../images/Pref2020_Submenu2.png) - With the **filter** on top of the preferences screen you can quickly access certain preferences. Just start typing part of the text you are looking for. ![Preferences filter](../images/Pref2021_Filter.png) ```{contents} :backlinks: entry :depth: 2 ``` (Preferences-general)= ## General ![Preferences > General](../images/Pref2020_General.png) **Units** - Set units to mmol/l or mg/dl depending on your preferences. **Language** - New option to use phone's default language (recommended). - In case you want **AAPS** in a different language than your standard phone language, you can choose from a broad variety. - If you use different languages, you might sometimes see a language mix. This is due to an android issue where overriding the default android language sometimes doesn't work. **Patient name** - Can be used if you have to differentiate between multiple setups (i.e. two T1D kids in your family). (Preferences-protection)= ### Protection ![Preferences > General - Protection](../images/Pref2020_General2.png) (Preferences-master-password)= #### Master password Mandatory to be able to [export settings](../Maintenance/ExportImportSettings.md) as they are encrypted from version 2.7. **Biometric protection may not work on OnePlus phones. This is a known issue of OnePlus on some phones.** ![Set master password](../images/MasterPW.png) #### Settings protection - Protect your settings with a password or phone's biometric authentication (i.e. [child is using **AAPS**](../RemoteFeatures/RemoteMonitoring.md)). If you enable this feature, you will be prompted for authentication each time you want to access any Preferences related view. - Custom password should be used if you want to use master password just for securing [exported settings](../Maintenance/ExportImportSettings.md), and use a different one for editing the preferences. - If you are using a custom password click on line "Settings password" to set password as described [above](#Preferences-master-password). ![Protection](../images/Pref2020_Protection.png) #### Application protection If the app is protected, you must enter the password or use the phone's biometric authentication to open **AAPS**. **AAPS** will shut down immediately if a wrong password is entered - but will still run in background if it was previously opened successfully. #### Bolus protection - Bolus protection might be useful if **AAPS** is used by a small child and you [bolus via SMS](../RemoteFeatures/SMSCommands.md). - In the example below you see the prompt for biometric protection. If biometric authentication does not work, click in the space above the white prompt and enter thr master password. ![Prompt biometric protection](../images/Pref2020_PW.png) #### Password and PIN retention Define how long (in seconds), the preferences or bolus functionalities remain unlocked after you successfully enter the password. (Preferences-skin)= #### Skin You can choose from four types of skins: ![Select skin](../images/Pref2021_SkinWExample.png) 'Low resolution skin' comes with shorter labels and age/level removed to have more available space on a very low resolution screen. Difference between the other skins depends on the phone's display orientation: ##### Portrait orientation - **Original Skin** and **Buttons are always displayed on bottom of screen** are identical - **Large Display** has an increased height for all graphs compared to other skins ##### Landscape orientation - Using **Original Skin** and **Large Display**, you have to scroll down to see buttons at the bottom of the screen - **Large Display** has an increased height for all graphs compared to other skins ![Skins depending on phone's display orientation](../images/Screenshots_Skins.png) ## 개요 In the **Overview** section, you can define the preferences for the home screen. ![Preferences > Overview](../images/Pref2020_OverviewII.png) ### 화면을 켜진 상태로 유지 Option 'Keep screen on' will force Android to keep the screen on at all times. This is useful for presentations etc. But it consumes a lot of battery power. Therefore, it is recommended to connect the smartphone to a charger cable. (Preferences-buttons)= ### 버튼 - Define which buttons are visible on the bottom of your home screen. ![Preferences > Buttons](../images/Pref2020_OV_Buttons.png) - The **Increment** options allow you to define the amount for the three buttons in the carb and insulin dialogues, for easy entry. ![Preferences > Buttons > Insulin](../images/Pref2020_OV_Buttons2.png) ![Preferences > Buttons > Carbs](../images/Pref2020_OV_Buttons3.png) (Preferences-quick-wizard)= ### Quick Wizard Create customized buttons for certain standard meals or snacks which will be displayed on the home screen. Useful for standard meals frequently eaten. For each button, you define the carbs and calculation method for the bolus. Then, you define during which time period the button will be visible on your home screen - just one button per period. The button will not be visible if outside the specified time range or if you have enough IOB to cover the carbs defined in the QuickWizard button. If different times are specified for the different meals you will always have the appropriate standard meal button on the home screen, depending on the time of day. ![Preferences > Quick Wizard Button Setup](../images/Pref2020_OV_QuickWizard.png) If you click the quick wizard button **AAPS** will calculate and propose a bolus for those carbs based on your current ratios (considering blood glucose value or insulin on board if set up). The proposal has to be confirmed before insulin is delivered. ![Preferences > Quick Wizard Button](../images/Pref2020_OV_QuickWizard2.png) (Preferences-default-temp-targets)= ### Default temp targets [Temporary targets (TT)](../DailyLifeWithAaps/TempTargets.md) allow you to change your blood glucose target for a certain time period. When setting a default TT, you can easily change your target for activity, eating soon etc. Here you can change the target and the duration for each predefined TT. Preset values are: * Eating soon: target 72 mg/dL / 4.0 mmol/l, duration 45 min * Activity: target 140 mg/dL / 7.8 mmol/l, duration 90 min * Hypo: target 125 mg/dL / 6.9 mmol/l, duration 45 min ![Preferences > Default temp targets](../images/Pref2020_OV_DefaultTT.png) Learn how to [activate Temp Targets here](#TempTargets-where-can-i-select-a-temp-target). ### Fill/Prime standard insulin amounts If you want to fill the tube or prime cannula through **AAPS** you can do this through the [**Actions** tab](#screens-action-tab). Pre-set values can be defined in this dialogue. Choose the default amounts of the three buttons in fill/prime dialogue, depending on the length of your catheter. (Preferences-range-for-visualization)= ### Range for visualization Choose the high and low marks for the BG-graph on **AAPS** overview and smartwatch. It is only the visualization, not the target range for your BG. Example: 70 - 180 mg/dl or 3.9 - 10 mmol/l ![Preferences > Range for visualization](../images/Pref2020_OV_Range2.png) ### Shorten tab titles Useful to see more tab titles on screen. For example the 'OpenAPS AMA' tab becomes 'OAPS', 'OBJECTIVES' becomes 'OBJ' etc. ![Preferences > Tabs](../images/Pref2020_OV_Tabs.png) (Preferences-show-notes-field-in-treatments-dialogs)= ### Show notes field in treatments dialogs Gives you the option to add short text notes to your treatments (bolus wizard, carbs, insulin...) ![Preferences > Notes in treatment dialogs](../images/Pref2020_OV_Notes.png) (Preferences-status-lights)= ### Status lights Status lights give a visual warning for: - Sensor age - Sensor battery level for certain smart readers (see [screenshots page](#screens-sensor-level-battery) for details). - Insulin age (days reservoir is used) - Reservoir level (units) - Cannula age - Pump battery age - Pump battery level (%) If the warning threshold is exceeded, values will be shown in yellow. If the critical threshold is exceeded, values will be shown in red. The last option allows you to import those settings from Nightscout if defined there. See [Nightscout documentation](https://nightscout.github.io/nightscout/setup_variables/#age-pills) for more information. ![Preferences > Status Lights](../images/Pref2020_OV_StatusLights2.png) (Preferences-deliver-this-part-of-bolus-wizard-result)= ### Deliver this part of bolus wizard result Set the [default percentage](#AapsScreens-section-j) of the bolus calculated when using the bolus wizard. Default is 100%: no correction. Even when setting a different value here, you can still change each time you use the bolus wizard. If this setting is 75 % and you had to bolus 10U, the bolus wizard will propose a meal bolus of only 7.5 units. When using [SMB](#objectives-objective9), many people do not meal-bolus 100% of needed insulin, but only a part of it (e.g. 75 %) and let the SMB with UAM (Unattended Meal Detection) do the rest. Using a value lower than 100% here can be useful: * for people with slow digestion: sending all the bolus upfront can cause hypo because the insulin action is faster than the digestion. * to leave more room to **AAPS** to deal by itself with **BG rise**. In both cases, **AAPS** will compensate for the missing part of the bolus with SMBs, if/when deemed adequate. ### Enabled bolus advisor ![Bolus Advisor](../images/BolusAdvisor.png) When enabled, when you use the bolus wizard as you are in hyperglycemia, you will get a warning, prompting you if you wish to pe-bolus and eat later, when your **BG** gets back in range. ### Enabled bolus reminder % todo (Preferences-advanced-settings-overview)= ### Advanced Settings (Overview) ![Preferences > Advanced Settings](../images/Pref2021_OV_Adv.png) #### Superbolus Option to enable superbolus in bolus wizard. [Superbolus](https://www.diabetesnet.com/diabetes-technology/blue-skying/super-bolus/) is a concept to "borrow" some insulin from basal rate in the next two hours to prevent spikes. It is different from *super micro bolus*! Use with caution and do not enable it until you learn what it really does. Basically, the basal for the next two hours is added to the bolus and a two hour zero-temp activated. **AAPS looping functions will be disabled - so use with care! If you use SMB **AAPS** looping functions will be disabled according to your settings in ["Max minutes of basal to limit SMB to"](#Open-APS-features-max-minutes-of-basal-to-limit-smb-to), if you do not use SMB looping functions will be disabled for two hours.** Details on super bolus can be found [here](https://www.diabetesnet.com/diabetes-technology/blue-skying/super-bolus). ## Treatment safety (preferences-patient-type)= ### Patient type - Safety limits are set based on the age you select in this setting. - If you start hitting these hard limits (like max bolus) it's time to move one step up. - It's a bad idea to select higher than real age because it can lead to overdosing by entering the wrong value in the insulin dialog (by skipping the decimal dot, for example). - If you want to know the actual numbers for these hard-coded safety limits, scroll to the algorithm feature you are using on [this page](../DailyLifeWithAaps/KeyAapsFeatures.md). ### Max allowed bolus - Defines the maximum amount of bolus insulin, in insulin units, that **AAPS** is allowed to deliver at once. - This setting exists as a safety limit to prevent the delivery of a massive bolus due to accidental input or user error. - It is recommended to set this to a sensible amount that corresponds roughly to the maximum amount of bolus insulin that you are ever likely to need for a meal or correction dose. - This restriction is also applied to the results of the bolus calculator. ### Max allowed carbs - Defines the maximum amount of carbs, in grams, that **AAPS** bolus calculator is allowed to dose for. - This setting exists as a safety limit to prevent the delivery of a massive bolus due to accidental input or user error. - It is recommended to set this to a sensible amount that corresponds roughly to the maximum amount of carbs that you are ever likely to need for a meal. ## Loop (Preferences-aps-mode)= ### APS mode Switch between Open Loop, Closed Loop and Low Glucose Suspend (LGS). ![Config builder - loop mode](../images/ConfigBuilder_LoopLGS.png) (Preferences-pen-loop)= #### Open Loop **AAPS** continuously evaluates all available data (IOB, COB, BG...) and makes treatment suggestions (temporary basal rates) on how to adjust your therapy if necessary. The suggestions will not be executed automatically (as in closed loop). The suggestions have to be enacted by the user manually into the pump (if using virtual pump) or by using a button if **AAPS** is connected to a real pump. This option is for getting to know how **AAPS** works or if you are using an unsupported pump. You will be in Open Loop, no matter what choice you make here, until the end of **[Objective 5](#objectives-objective5)**. (preferences-closed-loop)= #### Closed Loop **AAPS** continuously evaluates all available data (IOB, COB, BG...) and automatically adjusts the treatment if necessary (_i.e._ without further intervention by you) to reach the set [target range or value](#profile-glucose-targets) (bolus delivery, temporary basal rate, insulin switch-off to avoid hypo etc.). The Closed Loop works within numerous safety limits, which can be set individually. Closed Loop is only possible if you are in **[Objective 6](#objectives-objective6)** or higher and use a supported pump. #### Low Glucose Suspend (LGS) In this mode, [maxIOB](#Open-APS-features-maximum-total-iob-openaps-cant-go-over) is set to zero. This means that if blood glucose is dropping, **AAPS** can reduce the basal for you. But if blood glucose is rising, no automatic correction will be made. Your basal rates will remain the same as defined in your current **Profile**. Only if basal IOB is negative (from a previous Low Glucose Suspend) additional insulin will be given to lower **BG**. (Preferences-minimal-request-change)= ### Minimal request change When using **Open loop**, you will receive notifications every time **AAPS** recommends adjusting the basal rate. To reduce the number of notifications you can either use a [wider bg target range](#profile-glucose-targets) or increase the percentage of the minimal request rate. This defines the relative change required to trigger a notification. ## Advanced Meal Assist (AMA) or Super Micro Bolus (SMB) Depending on your settings in [config builder](../SettingUpAaps/ConfigBuilder.md) you can choose between three algorithms: - [Advanced meal assist (OpenAPS AMA)](#Open-APS-features-advanced-meal-assist-ama) - state of the algorithm in 2017 - [Super Micro Bolus (OpenAPS SMB)](#Open-APS-features-super-micro-bolus-smb) - most recent algorithm recommended for beginners - [Dynamic ISF](../DailyLifeWithAaps/DynamicISF.md) - released in 2024, available starting at **[Objective 11](#objectives-objective11)** ### OpenAPS AMA All the settings for OpenAPS AMA are described in the dedicated section in [Key AAPS Features > Advanced Meal Assist (AMA)](#Open-APS-features-advanced-meal-assist-ama). (Preferences-openaps-smb-settings)= ### OpenAPS SMB All the settings for OpenAPS SMB are described in the dedicated section in [Key AAPS Features > Super Micro Bolus (SMB)](#Open-APS-features-super-micro-bolus-smb). ### Dynamic ISF All the settings for Dynamic ISF are described in the dedicated section in [Dynamic ISF](../DailyLifeWithAaps/DynamicISF.md). ## Absorption settings (Preferences-min_5m_carbimpact)= ### min_5m_carbimpact The algorithm uses BGI (blood glucose impact) to determine when [carbs are absorbed](../DailyLifeWithAaps/CobCalculation.md). At times when carb absorption can’t be dynamically worked out based on your blood's reactions, **AAPS** inserts a default decay to your carbs. Basically, it is a failsafe. This value is only used during gaps in **CGM** readings or when physical activity “uses up” all the blood glucose rise that would otherwise cause **AAPS** to decay COB. To put it simply: The algorithm "knows" how your BGs *should* behave when affected by the current dose of insulin etc. Whenever there is a positive deviation from the expected behaviour, some carbs are absorbed/decayed. Big change=many carbs etc. The min_5m_carbimpact does define the default carb absorption impact per 5 minutes. For more details see [OpenAPS docs](https://openaps.readthedocs.io/en/latest/docs/While%20You%20Wait%20For%20Gear/preferences-and-safety-settings.html?highlight=carbimpact#min-5m-carbimpact). Standard value for AMA is 5, for SMB it's 8. The COB graph on the home screen indicates when min_5m_impact is being used by putting an orange circle at the top. ![COB graph](../images/Pref2020_min_5m_carbimpact.png) ### Meal max absorption time If you often eat high fat or protein meals you will need to increase your meal absorption time. ### Advanced settings - autosens ratio ![Absorption settings](../images/Pref2020_Absorption.png) - Define min. and max. [autosens](#Open-APS-features-autosens) ratio. - Normally standard values (max. 1.2 and min. 0.7) should not be changed. ## Pump ### BT Watchdog Activate BT watchdog if necessary (e.g. for Dana pumps). It switches off bluetooth for one second if no connection to the pump is possible. This may help on some phones where the bluetooth stack freezes. ## Pump settings The options here will vary depending on which pump driver you have selected in [Config Builder](#Config-Builder-pump). Pair and set your pump up according to the [pump related instructions](../Getting-Started/CompatiblePumps.md). ## Tidepool More information on the dedicated [Tidepool](../SettingUpAaps/Tidepool.md) page. (Preferences-nsclient)= ## NSClient ![NSClient](../images/Pref2020_NSClient.png) Original communication protocol, can be used with older Nightscout versions. - Set your *Nightscout URL* (i.e. ). - **Make sure that the URL is WITHOUT /api/v1/ at the end.** - The *[API secret](https://nightscout.github.io/nightscout/setup_variables/#api-secret-nightscout-password)* (a 12 character password recorded in your Nightscout variables). - This enables data to be read and written between both the Nightscout website and **AAPS**. - Double check for typos here if you are stuck in Objective 1. ## NSClientV3 ![NSClientV3](../images/Pref2024_NSClientV3.png) [New protocol introduced with AAPS 3.2.](#Important-comments-on-using-v3-versus-v1-API-for-Nightscout-with-AAPS) Safer and more efficient. ```{admonition} V3 data uploaders :class: warning When using NSClientV3, all uploaders must be using the API V3. Since most are not compatible yet, this means **you must let **AAPS** upload all data** (BG, treatments, ...) to Nightscout and disable all other uploaders if they're not V3 compliant. ``` - Set your *Nightscout URL* (i.e. ). - **Make sure that the URL is WITHOUT /api/v1/ at the end.** - In Nightscout, create an *[Admin token](https://nightscout.github.io/nightscout/security/#create-a-token)* (requires [Nightscout 15](https://nightscout.github.io/update/update/) to use the V3 API) and enter it in the **NS access token** (not your API Secret!). - This enables data to be read and written between both the Nightscout website and **AAPS**. - Double check for typos here if you are stuck in Objective 1. - Leave Connect to websockets enabled (recommended). ### Synchronization Synchronization choices will depend on the way you will want to use **AAPS**. You can select which data you want to [upload and download to or from Nightscout](#Nightscout-aaps-settings). ### Alarm options ![Alarm options](../images/Pref2024_NSClient_Alarms.png) - Alarm options allows you to select which Nightscout alarms to use through the app. **AAPS** will alarm when a Nightscout alarm triggers. - For the alarms to sound you need to set the Urgent High, High, Low and Urgent Low alarm values in your [Nightscout variables](https://nightscout.github.io/nightscout/setup_variables/#alarms). - They will only work whilst you have a connection to Nightscout and are intended for parent/caregivers. - If you have the **CGM** source on your phone (i.e. xDrip+ or BYODA) then use those alarms instead of Nightscout Alarms. - Create notifications from Nightscout [announcements](https://nightscout.github.io/nightscout/discover/#announcement) will echo Nightscout announcements in the **AAPS** notifications bar. - You can change stale data and urgent stale data alarms threshold when no data is received from Nightscout after a certain time. ### Connection settings ![NSClient connection settings](../images/ConfBuild_ConnectionSettings.png) - Connection settings define when Nightscout connection will be enabled. - Restrict Nightscout upload to Wi-Fi only or even to certain Wi-Fi SSIDs. - If you want to use only a specific Wi-Fi network you can enter its Wi-Fi SSID. - Multiple SSIDs can be separated by semicolon. - To delete all SSIDs enter a blank space in the field. (Preferences-advanced-settings-nsclient)= ### Advanced settings (NSClient) ![NS Client advanced settings](../images/Pref2024_NSClientAdv.png) Options in advanced settings are self-explanatory. ## SMS 통신기 More information on the dedicated [SMS Commands](../RemoteFeatures/SMSCommands.md) page. ## Automation Select which location service shall be used: - Use passive location: **AAPS** only takes locations if other apps are requesting it - Use network location: Location of your Wi-Fi - Use GPS location (Attention! May cause excessive battery drain!) ## Local alerts ![Local alerts](../images/Pref2020_LocalAlerts.png) Settings should be self-explanatory. ## Data choices ![Data choices](../images/Pref2020_DataChoice.png) You can help develop **AAPS** further by sending crash reports to the developers. ## Maintenance settings ![Maintenance settings](../images/Pref2020_Maintenance.png) Standard recipient of logs is . ## Open Humans You can help the community by donating your data to research projects! Details are described on the [Open Humans page](../SupportingAaps/OpenHumans.md). In Preferences, you can define when data shall be uploaded - only if connected to Wi-Fi - only if charging