AAPS op Wear OS smartwatch¶
Je kunt de AndroidAPS app installeren op je Wear OS based smartwatch. Met de watch versie van AAPS kun je:
AAPS gegevens bekijken: door een specifieke watchface of standaard watchface te gebruiken d.m.v. watchface complications
AAPS aansturen: stel een tijdelijk streefdoel in, bolus, etc. Je moet uiteraard wel jouw telefoon steeds in de buurt hebben, zowel voor het bekijken van gegevens als voor het aansturen.
Voor je een horloge aanschaft…¶
Sommige functies zoals complicaties vereisen Wear OS versie 2.0 of recenter om te functioneren
Google heeft Android Wear 1.x omgedoopt naar Wear OS vanaf versie 2.x. Indien een smartwatch met Android Wear wordt aangeduid, kan het goed zijn dat het de oudere 1.x versie heeft
Als in een beschrijving van smartwatch alleen compatibiliteit met Android en iOS aangegeven wordt, betekent het niet dat deze draait op Wear OS - het kan net zo goed een ander soort fabrikant specifieke OS zijn die niet compatibel is met AAPS wear!.
Check list of tested phones and watches and ask community if in doubt if your watch will be supported
Wear OS-versie van AAPS bouwen¶
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.
Instellen op de telefoon¶
Within AndroidAPS, in the ConfigBuilder you need to enable Wear plugin.
AAPS aansturen vanaf het horloge¶
AndroidAPS is ontworpen om te worden bediend vanaf Android Wear horloges. Als je wilt bolussen etc. vanaf je horloge, dan moet je bij “Wear instellingen” de optie “Bedieningen via horloge” geactiveerd hebben.
De volgende functies kunnen vanaf het horloge worden geactiveerd:
een tijdelijk BG doel (TT) instellen
use the bolus calculator (calculation variables can be defined in settings on the phone)
invoeren van vertraagde koolhydraten (eCarbs)
dien een bolus (insuline + koolhydraten) toe
watch instellingen
status
bekijk pomp status
bekijk loop status
profiel controleren en wijzigen, CPP (Circadiaans percentage profiel = tijdverschuiving + percentage)
weergeven van de TDD (Totale Dagelijkse Dosis = bolus + basale insuline per dag)
AAPS wijzerplaaten¶
Er zijn verschillende watchfaces om uit te kiezen die de gemiddelde delta, IOB, momenteel actieve tijdelijke basaal en basale profielen + een CGM grafiek kunnen weergeven.
Zorg er voor dat meldingen van AndroidAPS niet geblokkeerd zijn op het horloge. Een actie (bijv. bolus, tijdelijk BG doel) moet door middel van een notificatie worden bevestigd. Pas na swipen en herbevestiging wordt deze uitgevoerd.
Voer een double-tap uit op je BG om sneller naar het AAPS-menu te gaan. Voer een double-tap uit op de BG grafiek om de tijdschaal ervan te wijzigen.
Beschikbare watchfaces¶
Nieuw watchface vanaf AndroidAPS 2.8¶
Als je in het instellingen menu op het tandwiel-icoontje drukt bij het watchface keuzemenu, dan kun je de kleuren, lijnen, en cirkel zelf aanpassen.
AAPSv2 wijzerplaat - Legend¶
A - tijd sinds laatste uitvoering loop
B - CGM-uitlezing
C - minuten sinds laatste CGM-uitlezing
D - wijziging in vergelijking met de laatste CGM-uitlezing (in mmol of mg/dl)
Gemiddelde wijziging in de CGM-uitlezing in de laatste 15 minuten
F - telefoon batterij
G - basaal (getoond in E/uur tijdens standaard patroon en in % tijdens TBR)
H - BGI (bloed glucose interactie) -> de mate waarin BG zou moeten stijgen of dalen uitgaande van enkel de insuline activiteit.
I - koolhydraten (koolhydraten aan boord | e-carbs in de toekomst)
J - insuline aan boord (van bolus | van basaal)
Instellingen (in Android Wear horloge)¶
Om naar de wijzerplaat instellingen te gaan, ga naar het AAPS hoofdmenu swipe omhoog en selecteer “Instellingen”.
Een gevulde ster geeft aan ingeschakeld (Aan), een lege ster geeft aan dat instelling is uitgeschakeld (Uit):
AAPS-parameters¶
Trillen bij Bolus (standaard
Aan
):**Eenheden voor acties ** (standaard
mg/dl
): als On eenheden voor actiesmg/dl
is, als Off eenheidmmol/l
. Wordt gebruikt bij het instellen van een tijdelijs streefdoel vanaf het horloge.
Watchface instellingen¶
Toon Datum (standaard
Uit
): let wel: datum is niet beschikbaar op alle watchfacesToon IOB (standaard
Aan
): De IOB waarde weergeven of niet (gedetailleerde instellingen voor de waarde staan in AAPS wear instellingen)Toon COB (standaard
Aan
): Toon wel of geen COB waardeToon Delta (standaard
Aan
): Toon wel of geen BG variatie van de laatste 5 minutenToon AvgDelta (standaard
Aan
): De gemiddelde BG variatie van de afgelopen 15 minuten wel of niet weergevenToon Telefoon Batterij (standaard
Aan
): Telefoon batterij in %. Is rood beneden de 30%.Rig Batterij tonen (standaard
Uit
): Rig batterij is een samenvoeging van Telefoon batterij, pompbatterij en sensor accu (over het algemeen de laagste van de 3 waarden)Toon Basaal hoeveelheid (standaard
Aan
): Huidige basaalstand weergeven (in E/uur of in % bij TBR)Toon Loop Status (standaard
Aan
): laat aantal minuten zien sinds de laatst uitgevoerde loop (pijlen bij de waarde worden rood indien boven de 15’).Toon BG (standaard
Aan
): Wel of geen laatste BG waarde weergeven**Toon richting pijl ** (standaard
Aan
): Wel of geen BG trend pijl weergevenToon historie (standaard
Aan
): toon aantal minuten sinds de laatste uitlezing.Donker (standaard
Aan
): Je kunt overschakelen van zwarte naar witte achtergrond (behalve voor Cockpit en Steampunk wijzerplaaten)Markeer basaal (standaard
Uit
): verbeter de zichtbaarheid van basaalstanden en tijdelijke basaalstandenOvereenkomst verdeler (standaard
Uit
): Voor AAPS, AAPSv2 en AAPS(groot) wijzerplaten, toon contrast op de achtergrond voor verdeler (Uit) of match met de achtergrondkleur (Aan)Grafiek Tijdschaal (standaard
3 uur
): in het submenu kan je de maximale tijdschaal van de grafiek tussen 1 uur en 5 uur selecteren.
Gebruikersinterface instellingen¶
Invoer uiterlijk: met deze parameter kun je de positie van “+” en “- knoppen selecteren voor wanneer je opdrachten in AAPS (TT, Insuline, khd…) invoert
Specifieke watchface parameters¶
Steampunk watchface¶
Delta Korrelgrootte (standaard
Medium
)
Cirkel Watchface¶
Grote Getallen (standaard
Uit
): Verhoog tekstgrootte om de zichtbaarheid te verbeterenGeschiedenis Ring (standaard
Uit
): Bekijk BG geschiedenis met grijze ringen binnen de groene uur ringLichte Geschiedenis Ring (standaard
Aan
): Geschiedenis wordt meer discreet weergeven met een donkergrijs**Animaties ** (standaard
Aan
): Als dit is ingeschakeld, wordt ondersteund door het horloge en niet in de energiebesparing low-res modus dan zal de watchface cirkel worden geanimeerd
Opdracht Instellingen¶
Wizard in Menu (standaard
Aan
): Sta toe dat de wizard interface in het hoofdmenu gebruikt wordt voor het invoeren van koolhydraten en geef een bolus vanaf het horlogeVoorvullen in Menu (standaard
Uit
): Voorvullen / Vullen vanaf horloge toestaanEnkel doel (standaard
Aan
):Aan
: je stelt een enkele waarde als TT inUit
: Laag en hoog doel gelijktijdig als TT ingesteld
Wizard Percentage (standaard
Uit
): Bolus correctie vanuit de wizard toestaan (waarde ingevoerd in percentage voor bevestiging melding)
Complications¶
Complication is een term afkomstig van traditionele horloges, waarbij een toevoeging aan de wijzerplaat wordt beschreven als extra klein venster of een subwijzerplaat (met datum, dag van de week, maanfase, enz.). Wear OS 2.0 biedt deze optie om extra invoering mogelijk te maken voor meldingen zoals weer, notificaties, fitnesstellers etc. Deze zijn toe te voegen aan alle wijzerplaten die “Complication” ondersteunen.
De AndroidAPS Wear OS-app ondersteunt complicaties sinds build nummer 2.6
, dit maakt het mogelijk om alle watchfaces die complicaties ondersteunen, AAPS gerelateerde gegevens te laten weergeven (BG met trend, IOB, COB, enz.).
Complicaties kunnen ook dienen als snelkoppeling naar AAPS functies. Door te tikken op een complicatie kun je AAPS menu’s en dialoogvensters openen (afhankelijk van type complicatie en configuratie).
Complicatie types¶
De AAPS Wear OS-app geeft alleen ruwe gegevens door, in een vooraf gedefinieerde standaard-opmaak. Het is aan het watchface om te bepalen waar en hoe deze complicaties worden weergegeven, denk daarbij aan de lay-out, de rand, kleur en het lettertype. Van de vele beschikbare Wear OS-complicatietypes, gebruikt AAPS:
SHORT TEXT
- Bevat twee regels tekst, 7 tekens elk, soms aangeduid als waarde en label. Meestal weergegeven in een cirkel of kleine ‘pill’ - de één onder de ander, of naast elkaar. Het is een zeer ruimtebesparende complicatie. AAPS probeert onnodige tekens te verwijderen om deze complicatie in te passen: door het afronden van waarden, het verwijderen van voorafgaande en afsluitende nullen uit waarden, enz.LONG TEXT
- Bevat twee regels tekst, elk ongeveer 20 tekens. Meestal weergegeven in een rechthoek of lange pill - de één onder de ander. Het wordt gebruikt voor extra details en voor de status uitgeschreven in tekst.RANGED VALUE
- Wordt gebruikt voor waardes binnen een vooraf gedefinieerd bereik, zoals een percentage. Het bevat een pictogram, label en wordt meestal weergegeven in cirkelvorm.LARGE IMAGE
- Aangepaste achtergrondafbeelding die kan worden gebruikt (indien ondersteund door watchface) als achtergrond.
Complicaties instellen¶
Om een complicatie toe te voegen aan een watchface, houd hem lang ingedrukt en klik op het tandwiel-icoon eronder. Afhankelijk van hoe het specifieke watchface werkt: ofwel klik op de betreffende plaats ofwel ga naar het complicaties setup menu. AAPS-complicaties zijn gegroepeerd onder het AAPS menu item.
Bij het instellen van complicaties op de watchface, zal Wear OS de lijst van complicaties die geschikt zijn voor de geselecteerde plaats op het watchface weergeven en filteren. Als je een bepaalde complicatie niet kunt vinden in de lijst, komt dat waarschijnlijk doordat die complicatie niet kan worden gebruikt voor de geselecteerde plaats.
Complicaties van AAPS¶
AndroidAPS biedt de volgende complicaties:
BR, CoB & IoB (
SHORT TEXT
, opent Menu): Geeft basale snelheid op de eerste regel weer en Carbs on Board en Insulin on Board op de tweede regel.Bloed Glucose (
SHORT TEXT
, opent Menu): Geeft Bloed Glucose waarde en trend pijl op de eerste regel weer en ouderdom vd meting en BG delta op de tweede regel.CoB & IoB (
SHORT TEXT
, opent Menu): Geeft Carbs on Board op de eerste regel weer en Insulin on Board op de tweede regel.CoB Gedetailleerd (
SHORT TEXT
, opent Wizard): Geeft huidige actieve Carbs on Board op de eerste regel weer en geplande (toekomstige, eCarbs) Carbs op de tweede regel.CoB Icon (
SHORT TEXT
, opent Wizard): Geeft Carbs on Board waarde weer met een statisch pictogram.Volledige status (
LONG TEXT
, opent Menu): Laat de meeste gegevens tegelijkertijd zien: Blood Glucose waarde en trend pijl, BG delta en ouderdom vd meting op de eerste regel. Op de tweede regel Carbs on Board, Insulin on Board en basaalstand.Volledige status (omgekeerd) (
LONG TEXT
, opent Menu): Dezelfde gegevens als voor standaard Volledige status, maar de regels zijn omgedraaid. Kan worden gebruikt in watchfaces die een van de twee regels vanLONG TEXT
negeren.IoB Gedetailleerd (
SHORT TEXT
, opent Bolus): Toont totaal Insulin on Board op de eerste regel en splitst IoB voor Bolus en Basaal uit op de tweede regel.IoB Icon (
SHORT TEXT
, opent Bolus): Geeft Insulin on Board waarde weer met een statisch pictogram.Uploader/Telefoon Batterij (
RANGED VALUE
, opent Status): Geeft het batterij percentage van de AAPS telefoon (uploader) weer, zoals gerapporteerd door AAPS. Afgebeeld als percentagemeter met een batterijpictogram dat de waarde weergeeft. Het kan zijn dat het niet real-time wordt bijgewerkt, maar slechts wanneer andere belangrijke AAPS gegevens veranderen (meestal: elke ~ 5 minuten met nieuwe Blood Glucose meting).
Daarnaast zijn er drie complicaties van het LARGE IMAGE
soort: Donkere Achtergrond, Grijze Achtergrond en Lichte Achtergrond, zij laten een statische AAPS achtergrond zien.
Instellingen voor complicaties¶
Complicatie tik voor actie (standaard
Standaard
): Bepaalt welk dialoogvenster wordt geopend wanneer de gebruiker op een complicatie tikt:Standaard: actie specifiek voor complicatie type (zie lijst hierboven)
Menu: AAPS hoofdmenu
Wizard: bolus wizard - bolus calculator
Bolus: directe bolus waarde ingeven
eCarb: dialoogvenster eCarbs
Status: status submenu
Geen: Er gebeurt niets als je op de AAPS complicatie tikt
Unicode in Complicaties (standaard
Aan
): WanneerAan
, zal de complicatie gebruik maken van Unicode-tekens voor symbolen zoalsΔ
Delta,,
komma als scheidingsteken of⎍
Basaal Ratio symbool. De weergave hiervan hangt af van het lettertype, en dat kan zeer horloge-specifiek zijn. Deze optie maakt het mogelijk om Unicode-symbolenUit
te schakelen indien nodig - als het lettertype gebruikt door aangepaste watchface deze symbolen niet ondersteunt - om weergavefouten te voorkomen.
Wear OS Tiles¶
Wear OS Tiles provide easy access to users’ information and actions to get things done. The tiles are only available on Android smartwatches running on Wear Os version 2.0 and higher.
Tiles allow you to quickly access actions on the AAPS application without going through the watch face menu. The tiles are optional and can be added and configured by the user.
The tiles are used “next to” any watch face. To access a tile, when enabled, swipe right to left on your watch face to show them.
Please note; that the tiles do not hold the actual state of the AAPS phone app and will only make a request, which has to be confirmed on the watch before it is applied.
How to add Tiles¶
Before using the tiles, you have to switch on “Control from Watch” in the “Wear OS” settings of Android APS.
Depending on your Wear OS version, brand and smartphone there are two ways of enabling the tiles:
On your watch, from your watch face;
Swipe right to left till you reach the “+ Add tiles”
Select one of the tiles.
On your phone open the companion app for your watch.
For Samsung open “Galaxy Wearable”, or for other brands “Wear OS”
In the click on the section “Tiles”, followed by “+ Add” button
Find the AAPS tile you like to add by selecting it. The order of the tiles can be changed by dragging and dropping
The content of the tiles can be customized by long-pressing a tile and clicking the “Edit” or “gear icon” button.
APS(Actions) Tile¶
The action tile can hold 1 to 4 user-defined action buttons. To configure, long-press the tile, which will show the configuration options. Similar actions are also available through the standard watch menu.
Actions supported in the Action tile can request the AAPS phone app for:
Calc; do a bolus calculation, based on carb input and optional a percentage [1]
Insulin; request insulin delivery by entering the unit of insulin
Treatment; request both insulin delivery and add carbs
Carbs; add (extended) carbs
TempT; set a custom temporary target and duration
[1] Via, the Wear OS menu, set the “Calculator Percentage” option to “ON” to show the percentage input in the bolus calculator. The default percentage is based on the phone settings in the”Overview” section “Deliver this part of the bolus wizard result %” When the user does not provide a percentage, the default value from the phone is used. Configure the other parameters for the bolus calculator in the phone app via “Preferences” “Wizard Settings”.
AAPS(Temp Target) Tile¶
The Temp Target Tile can request a temporary target based on AAPS phone presets. Configure preset time and targets through the phone app setting by going to “Preferences”, “Overview”, “Default Temp-Targets” and set the duration and targets for each preset. Configure the visible actions on the tile through the tile settings. Long press the tile to show the configuration options and select 1 to 4 options:
Activity; for sport
Hypo; to raise the target during hypo treatment
Eating soon; to lower the target to raise the insulin on board
Manual; set a custom temporary target and duration
Cancel; to stop the current temporary target
AAPS(QuickWizard)Tile¶
The QuickWizard tile can hold 1 to 4 quick wizard action buttons, defined with the phone app[2]. See QuickWizard. You can set standard meals (carbs and calculation method for the bolus) to be displayed on the tile depending on the time of the day. Ideal for the most common meals/snacks you eat during the day. You can specify if the quick wizard buttons will show on the phone, watch, or both. Please note that the phone can show only one quick wizard button at a time. The quick wizard setup also can specify a custom percentage of the insulin for the bolus. The custom percentage enables you to vary, for example, snack at 120%, slow absorbing breakfast 80% and hypo treatment sugar snack at 0%
[2] Wear OS limits tiles update frequency to only once every 30 seconds. When you notice that the changes on your phone are not reflected on the tile, consider; waiting 30 seconds, using the “Resend all data” button from the Wear OS section of AAPS, or removing the tile and adding it again. To change the order of the QuickWizard buttons dragging an item up or down.
Always on¶
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”.
Night-time mode¶
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.
Troubleshooting the wear app:¶
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.
Helaas heeft Google de ondersteuning voor Wear OS 1,5 apparaten in 2020 beëindigd. This leads to problems when using Sony SW3 with AndroidAPS 2.7 and above.
A possible workaround can be found on this troubleshooting page.
View Nightscout data¶
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”. Er zijn verschillende watchfaces om uit te kiezen die de gemiddelde delta, IOB, momenteel actieve tijdelijke basaal en basale profielen + een CGM grafiek kunnen weergeven.
Pebble¶
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.