Nightscout setup

It is assumed you already have a Nightscout site, if not visit the Nightscout page for full instructions on set up, the instructions below are then settings you will also need to add to your Nightscout site. Your Nightscout site needs to be at least version 10 (displayed as 0.10...), so please check you are running the latest version otherwise you will get an error message on your AAPS app. Some people find looping uses more than the azure free quota allowed, so heroku is the preferred choice.

  • Go to
  • Click your App Service name.
  • Click Application settings (azure) or Settings > “Reveal Config Variables (heroku)
  • Add or edit the variables as follows:
    • ENABLE = careportal boluscalc food bwp cage sage iage iob cob basal ar2 rawbg pushover bgi pump openaps
    • PUMP_FIELDS = reservoir battery clock
    • Various alarms can be set for monitoring the pump, battery % in particular is encouraged:
      • PUMP_WARN_BATT_P = 51
      • PUMP_URGENT_BATT_P = 26


  • Click “Save” at the top of the panel.

This service is offered by fellow looper Martin Schiftan free of charge at the moment. You can install Nightscout with a few clicks and use it directly. He tries to automate the administration to such an extent that you don’t have to do much manual work anymore. All settings can be made via a user-friendly web interface. The service includes an automated basal rate check using Autotune. The server is located in Germany.