General CGM recommendations

CGM hygiene

Whichever CGM system you are using, if you are going to use blood based calibration, then there are some very clear rules you should apply, whether or not you are using DIY CGM software or the official apps.

  • Make sure hands and kit are clean.
  • Try to calibrate when you have a series of dots with a flat arrow (15-30 minutes is usually enough)
  • Avoid calibrating when glucose levels are moving up or down.
  • Do “enough” calibrations – on official apps, you will be prompted for once or twice per day checks. On DIY systems you may not be, and should be careful about continuing without calibrations.
  • If it all possible, calibrate with some of your readings in a lower range (4-5mmol/l or 72-90mg/dl) and some at a slightly higher level (7-9mmol/l or 126-160mg/dl) as this provides a better range for the point/slope calibration.

BG source

Smoothing blood glucose

AAPS works best when the blood glucose data it receives is smooth and consistent. Some features like ‘Enable SMB always’ and ‘Enable SMB after carbs’ can only be used with a nice-filtering BG source.

Dexcom G5 App (patched)

When using Dexcom G5 App (patched) your BG data is smooth and consistent. There are no restrictions in using SMB.

xDrip+ with Dexcom G5

Smooth enough data is only delivered if you use xDrip G5 ‘OB1 collector in native mode’.

xDrip+ with Freestyle Libre

When using xDrip+ as your data source for Freestyle Libre values until now you cannot activate ‘Enable SMB always’ and ‘Enable SMB after carbs’ within SMB because the BG values are not smooth enough. Except this, there are a couple of things you can do to help reduce noise in the data.

Smooth Sensor Noise. In xDrip+ Settings > xDrip+ Display Settings ensure that Smooth Sensor Noise is turned on. This attempts to apply smoothing to noisy data.

Smooth Sensor Noise (Ultrasensitive). If you are still seeing noisy data in xDrip+ you can apply more aggressive smoothing using the Smooth Sensor Noise (Ultrasensitive) setting. This will attempt to apply smoothing even on very low levels of detected noise. To do this, first enable engineering mode in xDrip+. Then navigate to Settings > xDrip+ Display Settings and turn on Smooth Sensor Noise (Ultrasensitive).

For users of Dexcom

Dexcom G6: General hints for looping

See Dexcom G6 page for details on setting Dexcom G6 sensor and solutions for common difficulties with Dexcom G6.

What’s clear is that using the G6 is perhaps a little more complex than it as first suggests. To use it safely, there are a few points to be aware of:

  • If you are using the native data with the calibration code in xDrip or Spike, the safest thing to do is not allow preemptive restarts of the sensor.
  • If you must use preemptive restarts, then make sure you insert at a time of day where you can observe the change and calibrate if necessary.
  • If you are restarting sensors, either do it without the factory calibration for safest results on days 11 and 12, or ensure you are ready to calibrate and keep an eye on variation.
  • Pre-soaking of the G6 with factory calibration is likely to give variation in results. If you do pre-soak, then to get best results, you will probably need to calibrate the sensor.
  • If you aren’t being observant about the changes that may be taking place, it may be better to revert to non-factory-calibrated mode and use the system like a G5.

To learn more about the details and reasons for these recommendations read the complete article published by Tim Street at www.diabettech.com.

If using G6 with xdrip+

  • If not already set up then download xdrip and follow instructions on nightscout (G4 without share, G4 share, G5).
  • Select xdrip in ConfigBuilder (setting in AndroidAPS).
  • Adjust settings in xDrip+ according to xDrip+ settings page
  • If AAPS does not receive BG values when phone is in airplane mode use Identify receiver as describe on xDrip+ settings page.

If using G5 with xdrip+

  • If not already set up then download xdrip and follow instructions on nightscout (G4 without share, G4 share, G5).
  • In xdrip go to Settings > Interapp Compatibility > Broadcast Data Locally and select ON.
  • In xdrip go to Settings > Interapp Compatibility > Accept Treatments and select OFF.
  • If you want to be able to use AndroidAPS to calibrate then in xdrip go to Settings > Interapp Compatibility > Accept Calibrations and select ON. You may also want to review the options in Settings > Less Common Settings > Advanced Calibration Settings.
  • Select xdrip in ConfigBuilder (setting in AndroidAPS).
  • If AAPS does not receive BG values when phone is in airplane mode use Identify receiver as describe on xDrip+ settings page.

If using G5 or G6 with patched Dexcom app

  • Download the apk from https://github.com/dexcomapp/dexcomapp, and choose the version that fits your needs (mg/dl or mmol/l version, G5 or G6).
  • Stop sensor and uninstall the original Dexcom app, if not already done.
  • Install downloaded apk
  • Start sensor
  • Select DexcomG5 App (patched) in ConfigBuilder (setting in AndroidAPS).

If using G4 with OTG cable (‘traditional’ Nightscout)…

  • If not already set up then download Nightscout Uploader app from the Play Store and follow instructions on Nightscout.
  • In AndroidAPS Preferences enter your Nightscout website and API secret.
  • Select NSClient in ConfigBuilder (setting in AndroidAPS).

For users of Libre with Bluetooth cap

To use your Libre as a CGM that is getting new BG values every 5 minutes you first need to buy a NFC to Bluetooth adapter like:

If using xdrip...

  • If not already set up then download xdrip and follow instructions on LimiTTEer, Libre Alarm or BlueReader(Hardware).
  • In xdrip go to Settings > Interapp Compatibility > Broadcast Data Locally and select ON.
  • In xdrip go to Settings > Interapp Compatibility > Accept Treatments and select OFF.
  • If you want to be able to use AndroidAPS to calibrate then in xdrip go to Settings > Interapp Compatibility > Accept Calibrations and select ON. You may also want to review the options in Settings > Less Common Settings > Advanced Calibration Settings.
  • Select xdrip in ConfigBuilder (setting in AndroidAPS).
  • For settings in xDrip+ with screenshots see xDrip+ settings page
  • If AAPS does not receive BG values when phone is in airplane mode use Identify receiver as describe on xDrip+ settings page.

If using Glimp...

  • If not already set up then download Glimp and follow instructions on Nightscout.
  • Select Glimp in ConfigBuilder (setting in AndroidAPS).

For users of Eversense

The easiest way to use Eversense with AndroidAPS is to install the modified Eversense app (and unistall the original one first).

Warning: by uninstalling the old app, your local historical data older than one week will be lost!

To finally get your data to AndroidAPS, you need to install ESEL and enable “Send to AAPS and xDrip” in ESEL and “MM640g” as BG source in the Configuration Builder in AndroidAPS. As the BG data from Eversense can be noisy sometimes, it is good to enable “Smooth Data” in ESEL, which is better than enabling “Always use short average delta instead of simple delta” in AAPS.

You can find another instruction for using xDrip with an Eversense here.

For users of MM640g or MM630g

  • If not already set up then download 600SeriesAndroidUploaer and follow instructions on Nightscout.
  • In 600 Series Uploader go to Settings > Send to xdrip+ and select ON (tick).
  • Select MM640g in ConfigBuilder (setting in AndroidAPS).

For users of PocTech CT-100

  • Install PocTech App
  • Select PocTech App in ConfigBuilder (setting in AndroidAPS).

For users of other CGM uploaded to Nightscout

If you have any other CGM set up that sends your data to Nightscout then

  • In AndroidAPS Preferences enter your Nightscout website and API secret.
  • Select NSClient in ConfigBuilder (setting in AndroidAPS).