Skip to content

closed-loop APS/AID system following from Nightscout

Latest
Compare
Choose a tag to compare
@JohanDegraeve JohanDegraeve released this 12 Jan 19:35

This release introduces closed-loop APS/AID system following from Nightscout. The aim of this feature is to provide a simplified version with the basic/important information up front. Can be used in Follower mode to fully follow a Looper/AAPSer/Trioer/iAPSer or in master mode to “follow yourself”. All further data can be accessed in the new AID Status view as needed.

Please note that valid AID system data must be visible in Nightscout for this to work. If your Nightscout is not showing any data in the Pump and Loop/OpenAPS pills, then we will not get any device status data and the app will show a Data Error.

Further changes are made to add “Big Number” views to the standard screen lock function by rotating the iPhone, and also to add a Big Number view to the StandBy version of the system widget (in Developer Settings).

FEATURES:

  • New options in Nightscout settings to enabled Follow Type
    • “None” - just basic treatments of insulin/carbs) will be shown in the main chart as always
    • “Loop” - used to follow Loop via Nightscout
    • “OpenAPS” - used to follow OpenAPS-based systems such as OpenAPS, AAPS, Trio and iAPS
  • When Follow Type is set to Loop or OpenAPS-based:
    • Nightscout Profile will be imported when available with scheduled basal rates and ISF/CR ratios
    • Scheduled basal and temp basals will be shown on the main chart
    • Chart will be filled in with scheduled basal when temp basals expire
    • A new pump info view is shown to the left of the BG value. Double-tapping the BG value will show/hide the pump info view.
    • Tap the “Looping Status” text to open a new AID Status view which will show current looping Device Status and Profile results. This view should show the AID system icon, version number (if available) and all detailed information. The view will auto-configure as per the information available.
    • In the pump view, the cannula age (CAGE/Site change) will be shown once a new CAGE treatment is added to Nightscout and synced after the update. Until then it will show as nil (“-“).
    • The default max age for a cannula/site change is 3 days (72 hours). For users using the Medtronic Extended cannula sets with 7 day wear-time, they can update CAGE Max Days to 7 days (168 hours) or whatever they want in the Developer Settings.
    • The pump info view will show yellow/red for pump battery and CAGE status warnings as needed.
    • If running in Follower Mode, then an uploader battery warning icon will be shown when below 25%. If the AID system supports the “isCharging” attribute, then this icon will be hidden when the master device starts charging.
  • The loop status will be shown in all widgets, live activities and Dynamic Island (when space is short, looping status will take priority over BG delta change). The Watch app will also adjust the chart size to show IOB/COB and looping status as per the main iOS app.
    • Temp basal treatments will now be shown in the Treatments tab including the option to filter (show/hide) them
  • When Follow Type is set to None (i.e. disabled):
    • No changes will be visible to the app and no extra data will be shown (pump/looping status views, basal rates etc)
  • Main toolbar icons are updated
    • The “?/help” button is removed as it seemed nobody ever used it anyway 🙂 Help/documentation is still available at the top of the Settings screen as always.
  • A new “Quick show/hide” icon in the toolbar is added. This allows the user to quickly configure some options such as showing/hiding the mini-chart or statistics on the Home Screen. Useful for users with smaller iPhone screens that may want to hide items most of the time.
  • Most of the app values will fade to grey when sending the app to the background to indicate that they are possibly not current when viewed in the app switcher.
    • A new “Big Number” view for the screen lock can be accessed by locking the screen (padlock icon) and then rotating the iPhone to horizontal/landscape. The dimming options are respected and used for this new view.
  • A new “Big Number” view is added for the iOS StandBy mode when the iPhone is locked and placed in horizontal/landscape in a MagSafe charger. This can be enabled from the Developer Settings. If disabled, the standard chart will be shown.
  • The G6 users with Anubis transmitters, there is now an option (in the G6 screen) to override the maximum sensor days from 10 days (G6 default) up to 60 days (Anubis maximum). We would recommend using 20-30 days or whatever you consider is a good number based on previous experience. This will be shown in the sensor progress view and numbers.
    • NOTE: This will not affect the real sensor lifetime. It is only a visual representation. The sensor lifetime is controlled by the transmitter, not by the app.
  • BG Values <39 and >400 in all widgets, complications, live activities, Dynamic Island and watch app will now be shown as LOW/HIGH (or will show a sensor error code) as per the main iOS app.
  • The main chart “hours to show” control has changed from 3/6/12/24 hours to 3/5/8/12 hours. Any user that previously selected 24 hours will be changed to 12 hours after updating. 24 hour chart is still fully available (now also showing basal if Follow Type is enabled) by rotating the iPhone to landscape.
  • Changes to the carb/insulin treatment markers on the main chart
  • The animation for the sensor progress has been removed

FIXES:

  • Connection/functionality improvements for Bubble Nano transmitter (from bubbledevteam)
  • Dependency updates
  • Small translation updates (mainly to shorten some text strings)
  • NightscoutUploadManager renamed to NightscoutSyncManager to better reflect the class function