Changement de profil

Documentation about profiles in general can be found at Config Builder - profile.

On starting your AAPS and selecting your profile, you will need to do a “Profile switch” event with zero duration (explained later). By doing this AAPS starts tracking history of profiles and every new profile change requires another “Profile switch” even when you change content of the profile in NS. Updated profile is pushed to AAPS immediately, but you need to switch the same profile again to start using these changes.

Internally AAPS creates snapshot of profile with start date and duration and is using it within selected period.

  • Duration of zero means infinite. Such profile is valid until new “Profile switch”.
  • Duration of x minutes means x minutes use of this profile. After that duration the profile is switched back to the previous valid “Profile switch”.

If you edited your profile inside the “local profile” tab you can activate the profile there which makes an implicit profile switch too.

To do a profile switch long-press on the name of your profile (“Tuned 03/11” in the picture below) on the homescreen of AndroidAPS.

Do profile switch

Dans le “Changement de profil”, vous pouvez choisir deux paramètres supplémentaires qui font partie du profil circadien :


  • This applies the same percentage to all parameters.

  • If you set it to 130% (meaning you are 30% more insulin resistant), it will raise the basal rate by 30%. It will also lower the ISF and IC accordingly (divide by 1.3 in this example).

    Example profile switch percentage

  • It will be sent to the pump and then be the default basal rate.

  • The loop algorithm (open or closed) will continue to work on top of the selected percentage profile. So, for example separate percentage profiles can be set up for different stages of the hormone cycle.

Décalage horaire

Changement de profil avec pourcentage et décalage horaire

  • This moves everything round the clock by the number of hours entered.
  • So, for example, when working night shifts change the number of hours to how much later/earlier you go to bed or wake up.
  • It is always a question of which hour’s profile settings should replace the settings of the current time. This time must be shifted by x hours. So be aware of the directions as described in the following example:
    • Current time: 12:00
    • Positive time shift
      • 2:00 +10 h -> 12:00
      • Settings from 2:00 will be used instead of the settings normally used at 12:00 because of the positive time shift.
    • Negative time shift
      • 22:00 -10 h -> 12:00
      • Settings from 22:00 (10 pm) will be used instead of the settings normally used at 12:00 because of the negative time shift.

Changement de profil et sens du décalage horaire

Ce mécanisme de prise de photos du profil permet des calculs beaucoup plus précis du passé et la possibilité de suivre les changements de profil.

Dépannage des erreurs de profil

‘Profil incorrect’ / ‘Valeurs des débits de basal non alignées sur des heures’

Débits de basal non alignés sur les heures

  • These error messages will appear if you have any basal rates or I:C rates not on the hour. (DanaR and DanaRS pumps do not support changes on the half hour for example.)

    Example profile not aligned to hours

  • Remember / note down date and time shown in the error message (26/07/2019 5:45 pm in screenshot above).

  • Go to Treatments tab

  • Select ProfileSwitch

  • Scroll until you find date and time from error message.

  • Use remove function.

  • Sometimes there is not only one faulty profile switch. In this case remove also the others.

    Remove profile switch

Vous pouvez également supprimer le sélecteur de profil directement dans mLab comme décrit ci-dessous.

‘Changement de profil reçu de NS mais le profil n’existe pas localement’

  • The requested profile was not synced correctly from Nightscout.
  • Follow instructions from above to delete the profile switch

Vous pouvez également supprimer le changement de profil directement dans mLab :

  • Go to your mlab collection
  • Search in the treatments for profile switch
  • Delete the profile switch with date and time that was mentioned in the error message. mlab

‘DAI 3h trop court’

  • Error message will appear if your duration of insulin action in your profile is listed at a value that AndroidAPS doesn’t believe will be accurate.
  • Read about selecting the right DIA, and edit it in your profile then do a Profile Switch to continue.