AAPS en reloj inteligente Wear OS¶
Puede instalar la aplicación AndroidAPS en su reloj basado en Wear OS. La versión de AAPS para reloj le permite:
- muestra datos en el reloj: proporcionando pantallas personalizadas o en pantalla estándar con el uso de compilaciones complicaciones
- control de AAPS en el teléfono: para bolo, establecer un objetivo temporal, etc.
Antes de comprar un reloj...¶
- Algunas características como complicaciones requieren que Wear OS versión 2.0 o más reciente funcione
- Google ha renombrado de Android Wear 1.x a Wear OS a partir de la versión 2.x, de modo que cuando se dice Android Wear puede indicar la presencia de versiones mayores a la versión 1.x del sistema
- Si la descripción de los smartwatch indica sólo compatibilidad con Android y iOS - esto no significa que pueda ejecutar Wear OS - puede ser también de otro tipo de Proveedor de sistema operativo específico que no es compatible con la AAPS Wear!
- Consulte la lista de teléfonos y relojes probados y pregunta a la comunidad si duda de si su reloj será compatible
Construyendo la versión de AAPS para Wear OS¶
The Wear OS App of AAPS has been seperated from the AAPS build for the Android mobile. Therefore you have to generate a second signed APK. Select as module “AndroidAPS.wear” and as build variant “fullRelease” and a second apk file for the Wear OS clock is generated when building the APK (or “pumpcontrolRelease” which will allow you to just remote control the pump without looping).
From March 2021 you need to sideload AAPS onto the watch, it is no longer accessible via the watch’s Google Play Store. You can sideload using Wear Installer which you will need to install on both your watch and phone. The Wear Installer app can be downloaded from the Google Play Store. The linked video from Malcolm Bryant the developer of Wear Installer gives you detailed instructions to a) download the apk to your mobile b) setup the Android Debugger on the wear c) use Wear Installer on mobile and wear to sideload the AAPS wear app to the mobile. Once you have selected AndroidAPS as your app to upload wear version onto the watch you will be able to use watchfaces and complications and the AAPS controls.
Configuración en el teléfono¶
Within AndroidAPS, in the ConfigBuilder you need to enable Wear plugin.
Control AAPS desde el reloj¶
AndroidAPS is designed to be controlled by Android Wear watches. Si desea bolo etc. desde el reloj entonces dentro de “Configuración de Reloj” que necesitas para activar “Controles desde el Reloj”.
The following functions can be triggered from the watch:
- Establecer un objetivo temporal
- utilizar el calculador de bolos (las variables de cálculo se pueden definir en configuración en el teléfono)
- Administrar carbohidratos extendidos (eCarbs)
- administrar un bolo (insulina + carbohidratos)
- ajustes del reloj
- comprobar estado de la infusora
- comprobar estado del lazo
- comprobar y cambiar perfil, CPP (Perfil en Porcentaje circadiano= turno de tiempo + porcentaje)
- mostrar TDD (dosis diaria total = bolos + basal por día)
Esferas de AAPS¶
There are several watchfaces to choose from that include average delta, IOB, currently active temp basal rate and basal profiles + CGM readings graph.
Ensure notifications from AndroidAPS are not blocked on the watch. Confirmation of action (e.g. bolus, tempt target) comes via notification which you will need to swipe and tick.
To get faster to the AAPS menu, do a double tap on your BG. With a double tap onto the BG curve you can change the time scale..
New watchface as of AndroidAPS 2.8¶
- Color, lines and circle are configurable in setting menu on cog-sign of watchface chooser menu.
Leyenda de esferas AAPSv2¶
A - time since last loop run
B - CGM reading
C - minutes since last CGM reading
D - change compared to last CGM reading (in mmol or mg/dl)
E - average change CGM reading last 15 minutes
F - phone battery
G - basal rate (shown in U/h during standard rate and in % during TBR)
H - BGI (blood glucose interaction) -> the degree to which BG “should” be rising or falling based on insulin activity alone.
I - carbs (carbs on board | e-carbs in the future)
J - insulin on board (from bolus | from basal)
Configuración (desde el smartwatch)¶
To access to the watchface settings, enter AAPS main menu, slide up and select “Settings”.
Filled star is for enabled state (On), and hollow star icon indicates that setting is disabled (Off):
AAPS companion parameters¶
- Vibrate on Bolus (default
- Units for Actions (default
mg/dl): if On units for actions is
mg/dl, if Off unit is
mmol/l. Used when setting a TT from watch.
- Show Date (default
Off): note, date is not available on all watchfaces
- Show IOB (default
On): Display or not IOB value (setting for detailed value is in AAPS wear parameters)
- Show COB (default
On): Display or not COB value
- Show Delta (default
On): Display or not the BG variation of the last 5 minutes
- Show AvgDelta (default
On): Display or not the average BG variation of the last 15 minutes
- Show Phone Battery (default
On): Phone battery in %. Red if below 30% .
- Show Rig Battery (default
Off): Rig battery is a synthesis of Phone battery, pump battery and sensor battery (generally the lowest of the 3 values)
- Show Basal Rate (default
On): Display or not current basal rate (in U/h or in % if TBR)
- Show Loop Status (default
On): show how many minutes since last loop run (arrows around value turn red if above 15’).
- Show BG (default
On): Display or not last BG value
- Show Direction Arrow (default
On): Display or not BG trend arrow
- Show Ago (default
On): show how many minutes since last reading.
- Dark (default
On): You can switch from black background to white background (except for Cockpit and Steampunk watch face)
- Highlight Basals (default
Off): Improve the visibility of basal rate and temp basals
- Matching divider (default
Off): For AAPS, AAPSv2 and AAPS(Large) watchfaces, show contrast background for divider (Off) or match divider with the background color (On)
- Chart Timeframe (default
3 hours): you can select in the sub menu the max time frame of your chart between 1 hour and 5 hours.
User Interface setting¶
- Input Design: with this parameter, you can select the position of “+” and “-” buttons when you enter commands for AAPS (TT, Insulin, Carbs...)
Specific watchface parameters¶
- Delta Granularity (default
- Big Numbers (default
Off): Increase text size to improve visibility
- Ring History (default
Off): View graphically BG history with gray rings inside the hour’s green ring
- Light Ring History (default
On): Ring history more discreet with a darker gray
- Animations (default
On): When enabled, on supported by watch and not in power saving low-res mode, watchface circle will be animated
- Wizard in Menu (default
On): Allow wizard interface in main menu to input Carbs and set Bolus from watch
- Prime in Menu (default
Off): Allow Prime / Fill action from watch
- Single Target (default
On: you set a single value for TT
Off: you set Low target and high target for TT
- Wizard Percentage (default
Off): Allow bolus correction from wizard (value entered in percentage before confirmation notification)
Complication is a term from traditional watchmaking, where it describes addition to the main watchface - as another small window or sub-dial (with date, day of the week, moon phase, etc.). Wear OS 2.0 brings that metaphor to allow custom data providers, like weather, notifications, fitness counters and more - to be added to any watchfaces that support complications.
AndroidAPS Wear OS app supports complications since build
2.6, and allow any third party watchface that supports complications to be configured to display AAPS related data (BG with the trend, IOB, COB, etc.).
Complications also serve as shortcut to AAPS functions. By tapping them you can open AAPS related menus and dialogs (depending on complication type and configuration).
AAPS Wear OS app provides only raw data, according to predefined formats. It is up to third-party watchface to decide where and how to render complications, including its layout, border, color, and font. From many Wear OS complication types available, AAPS uses:
SHORT TEXT- Contains two lines of text, 7 characters each, sometimes referred to as value and label. Usually rendered inside a circle or small pill - one below another, or side by side. It is a very space-limited complication. AAPS tries to remove unnecessary characters to fit-in: by rounding values, removing leading and trailing zeroes from values, etc.
LONG TEXT- Contains two lines of text, about 20 characters each. Usually rendered inside a rectangle or long pill - one below another. It is used for more details and textual status.
RANGED VALUE- Used for values from predefined range, like a percentage. It contains icon, label and is usually rendered as circle progress dial.
LARGE IMAGE- Custom background image that can be used (when supported by watchface) as background.
To add complication to watchface, configure it by long press and clicking the gear icon below. Depending on how specific watchface configures them - either click on placeholders or enter the watchface setup menu for complications. AAPS complications are grouped under the AAPS menu entry.
When configuring complications on watchface, Wear OS will present and filter the list of complications that can be fit into selected complication place on watchface. If specific complications cannot be found on the list, it is probably due to its type that cannot be used for the given place.
Complications provided by AAPS¶
AndroidAPS provides following complications:
- BR, CoB & IoB (
SHORT TEXT, opens Menu): Displays Basal Rate on the first line and Carbs on Board and Insulin on Board on the second line.
- Blood Glucose (
SHORT TEXT, opens Menu): Displays Blood Glucose value and trend arrow on the first line and measurement age and BG delta on the second line.
- CoB & IoB (
SHORT TEXT, opens Menu): Displays Carbs on Board on the first line and Insulin on Board on the second line.
- CoB Detailed (
SHORT TEXT, opens Wizard): Displays current active Carbs on Board on the first line and planned (future, eCarbs) Carbs on the second line.
- CoB Icon (
SHORT TEXT, opens Wizard): Displays Carbs on Board value with a static icon.
- Full Status (
LONG TEXT, opens Menu): Shows most of the data at once: Blood Glucose value and trend arrow, BG delta and measurement age on the first line. On the second line Carbs on Board, Insulin on Board and Basal Rate.
- Full Status (flipped) (
LONG TEXT, opens Menu): Same data as for standard Full Status, but lines are flipped. Can be used in watchfaces which ignores one of two lines in
- IoB Detailed (
SHORT TEXT, opens Bolus): Displays total Insulin on Board on the first line and split of IoB for Bolus and Basal part on the second line.
- IoB Icon (
SHORT TEXT, opens Bolus): Displays Insulin on Board value with a static icon.
- Uploader/Phone Battery (
RANGED VALUE, opens Status): Displays battery percentage of AAPS phone (uploader), as reported by AAPS. Displayed as percentage gauge with a battery icon that reflects reported value. It may be not updated in real-time, but when other important AAPS data changes (usually: every ~5 minutes with new Blood Glucose measurement).
Additionally, there are three complications of
LARGE IMAGE kind: Dark Wallpaper, Gray Wallpaper and Light Wallpaper, displaying static AAPS wallpaper.
Long battery life for Android Wear OS smartwatches is a challenge. Some smartwatches get as much as 30 hours before recharging. The display should be switched off for optimal power saving when not in use. Most watches support the “Always on” display.
Since AAPS version 3, we can use a “Simplify UI” during always-on-mode. This UI only contains the blood glucose, direction, and time. This UI is power-optimized with less frequent updates, showing less information and lightening fewer pixels to save power on OLED displays.
The simplified UI mode is available for the watch-faces: AAPS, AAPS V2, Home Big, Digital Style, Steampunk, and Cockpit. The simplified UI is optional and is configured through the watch face settings. (log press the watch face and click “edit” or the gear icon) Select the configuration “Simplify UI” and set it to “Always on” or “Always on and charging”.
While charging, it would be helpful if the display could stay “always-on” and show your blood glucose during the night. However, the standard watch-faces are too bright and have too much information, and the details are hard to read with sleepy eyes. Therefore, we added an option for the watch-face to simplify the UI only during charging when set in the configuration.
The simplified UI mode is available for the watch-faces: AAPS, AAPS V2, Home Big, Digital Style, Steampunk, and Cockpit. The simplified UI is optional and is configured through the watch face settings. (log press the watch face and click “edit” or the gear icon) Select the configuration “Simplify UI” and set it to “During charging” or “Always on and charging”
The Android developer options enable your watch to stay awake during charging. To make the developer options available, see https://developer.android.com/training/wearables/get-started/debugging. Set the “Stay awake when charging” to “on” in the developer options”.
Note: not all displays can handle always-on very well. It can cause screen burn-in, especially on the older OLED displays. The watches will generally dim the display to prevent burn-in; please check your owner’s manual, the manufacturing, or the internet for advice.
Performance and battery life tips¶
Wear OS watches are very power-constrained devices. The size of the watch case limits the capacity of the included battery. Even with recent advancements both on hardware and software side, Wear OS watches still require daily charging.
If an experienced battery span is shorter than a day (from dusk to dawn), here are some tips to troubleshoot the issues.
Main battery-demanding areas are:
- Active display with a backlight on (for LED) or in full intensity mode (for OLED)
- Rendering on screen
- Radio communication over Bluetooth
Since we cannot compromise on communication (we need up-to-date data) and want to have the most recent data rendered, most of the optimizations can be done in display time area:
- Stock watchfaces are usually better optimized than custom one, downloaded from the store.
- It is better to use watchfaces that limit the amount of rendered data in inactive / dimmed mode.
- Be aware when mixing other Complications, like third party weather widgets, or other - utilizing data from external sources.
- Start with simpler watchfaces. Add one complication at the time and observe how they affect battery life.
- Try to use Dark theme for AAPS watchfaces, and Matching divider. On OLED devices it will limit the amount of pixels lit and limit burnout.
- Check what performs better on your watch: AAPS stock watchfaces or other watchfaces with AAPS Complications.
- Observe over a few days, with different activity profiles. Most watches activate the display on glancing, movement and other usage-related triggers.
- Check your global system settings that affect performance: notifications, backlight/active display timeout, when GPS is activated.
- Check list of tested phones and watches and ask community for other users experiences and reported battery lifetime.
- We cannot guarantee that data displayed on watchface or complication is up-to-date. In the end, it is up to Wear OS to decide when to update a watchface or a complication. Even when the AAPS app requests update, the System may decide to postpone or ignore updates to conserve battery. When in doubt and low on battery on watch - always double-check with main AAPS app on phone.
Resolución de problemas de app del reloj:¶
- Sometimes it helps to re-sync the apps to the watch as it can be a bit slow to do so itself: Android Wear > Cog icon > Watch name > Resync apps.
- Enable ADB debugging in Developer Options (on watch), connect the watch via USB and start the Wear app once in Android Studio.
- If Complications does not update data - check first if AAPS watchfaces work at all.
Sony Smartwatch 3¶
- The Sony Smartwach 3 is one of the most popular watches to be used with AAPS.
- Unfortunately Google dropped support for wear OS 1.5 devices in fall 2020. This leads to problems when using Sony SW3 with AndroidAPS 2.7 and above.
- A possible workaround can be found on this troubleshooting page.
Ver datos de Nightscout¶
If you are using another looping system and want to view your looping detail on an Android Wear watch, or want to watch your child’s looping, then you can build/download just the NSClient APK. To do this follow the build APK instructions selecting the build variant “NSClientRelease”. There are several watchfaces to choose from that include average delta, IOB, currently active temp basal rate and basal profiles + CGM readings graph.
Pebble users can use the Urchin watchface to view looping data (if uploaded to Nightscout), but you will not be able to interact with AndroidAPS through the watch. You can choose fields to display such as IOB and currently active temp basal rate and predictions. If open looping you can use IFTTT to create an applet that says if Notification received from AndroidAPS then send either SMS or pushover notification.