Nightscout

Nightscout is an open source cloud based system for managing your diabetes. It will record and manage all your diabetes data, from your CGM, from your pump and from events that you enter manually. generate reports and allow a third party to monitor you remotely if you choose to allow them to. It was originally created by parents who wanted to be able to monitor their children but it has moved a long way beyond that.

You have essentially two options:

  1. to set up your own Nightscout server using the freely available Nightscout software.
  2. to use a ready hosted Nightscout service where you can set up account (www.ns.10be.de) - this is probably your quickest and easiest option.

The following is work in progress…

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, 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 https://herokuapp.com/
  • 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
    • DEVICESTATUS_ADVANCED = true
    • 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

[[https://github.com/MilosKozak/AndroidAPS/wiki/images/nightscout1.png]]

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