Skip to content

Releases: nightscout/Trio

Trio v0.2.1

29 Sep 14:34
2e86678
Compare
Choose a tag to compare

Trio v0.2.1 trio

Hotfix for Browser Builders

This release addresses and resolves issue #422.
We have updated all our dependencies, including a bump of fastlane to version 2.223.1.
It is a hotfix for browser builders only.

Trio v0.2.0

17 Aug 19:06
6433d94
Compare
Choose a tag to compare

Trio v0.2.0 trio

expand details

This app splits from Artificial-Pancreas/iAPS at v2.3.3 on the main branch and this commit. Very minimal UI changes were made in this initial update, but while it may look and for the most part seem the same as iAPS v2.3.3, you can see from the number of commits and files/lines of code changed in this PR that there are extensive changes under the hood. These changes were done to ensure it is truly open source, peer-reviewed and tested, to keep it in sync with updates from Loop's submodules (the stuff that connects your pump, CGM, and services), to fix some bugs, and to add a few new features.

The Team

expand details

Trio is a collaborative project set up by members of the DIY community who welcome a peer reviewed, Open Source iOS implementation of the Oref/APS algorithm.

The team consists of:

  • Software architects
  • Developers
  • Code reviewers
  • Designers
  • Testers
  • Documentation specialists
  • Project managers / agile coaches
Anyone who wants to contribute is welcome to join the team!

The Name

expand details

“Trio” is inspired by several joint efforts:

  • Algorithm/CGM/Pump: the three components that make up your DIY loop
  • Basal/CR/ISF: the three main settings that, when tuned, treat your TxD
  • Carbs/Fat/Protein: the three main food components that impact your blood glucose
  • FAX/iAPS/Trio: the three stages of Oref/APS leading to the birth of Trio
  • In true DIY fashion, make the Trio definition individualized to you

Hosted by The Nightscout Foundation

expand details

The most obvious change from iAPS, other than the name, is that the repository location has changed to be housed by The Nightscout Foundation, alongside Nightscout and AndroidAPS. The Nightscout Foundation has a long track record of facilitating innovation in DIY diabetes technology and stoking collaboration between many developers and projects. This will keep Trio in the hands of the community rather than a single individual, and ensure all development is peer-reviewed and tested before being released.

New Bundle ID

expand details

If you're switching to Trio from iAPS, another big change is the app's Bundle ID, which is now org.nightscout.TEAMID.trio. This means Trio will not overwrite the iAPS app on your iPhone, but all settings must be re-entered and all devices re-connected. Trio will need about 24 hours of data before the dynamic features can be enabled.

If you're using Omnipod DASH or Eros, you will have to pair a new pod to start using Trio, but all other devices can transfer mid-session.

New App Group

expand details

Instead of using the Loop's App Group, group.com.TEAMID.loopkit.LoopGroup, Trio uses its own - group.org.nightscout.TEAMID.trio.trio-app-group. This prevents settings from being retained when deleting and reinstalling Trio while Loop or iAPS is also installed. You still need to delete xDrip4iOS to completely reset settings, though.

New Icons

expand details

New icons have been created as a symbol of the name Trio. (by @tmhastings, plus some old ones by @tqb43)
logos

Default Setting Changes

expand details

  • Default CGM: None (instead of Nightscout)
  • Show high/low lines on main chart: On (instead of Off)
  • High value for main chart lines and statistics: 180 (instead of 145)
  • Sensitivity Raises Target: Off (instead of On)
  • Minimum Safety Threshold: 60 (instead of 65, which keeps it more in line with Oref0)
  • Adjustment Factor: 0.8 (instead of 0.5)
(by @MikePlante1 with input from @bjornoleh and many others)

Sigmoid Adjustment Factor

expand details

With Dynamic ISF toggled on, the effects of Adjustment Factor vary drastically between having Sigmoid turned on and off. Because of this, we've split the Adjustment Factor in two and given Sigmoid its own setting. This allows Adjustment Factor to be defaulted to 0.8 with Sigmoid turned off and to 0.5 with Sigmoid turned on. (by @MikePlante1)

sigmoid settings

External Insulin & Glucose

expand details

External insulin entry (to log non-pump insulin, eg. from an insulin pen) has been moved to the History screen rather than the Bolus screen. External insulin entries will display a warning if amount is larger than Max Bolus setting and will not be allowed if over three times the Max Bolus setting. The History screen also now displays if a bolus was an SMB or External, and uses swipe gestures to delete entries. (by @BrianWieder with many cherry picks from @dnzxy)

History (Treatments) History (Glucose)
historyInsulin glucoseHistory
Log External Insulin Log Glucose
maxExternalBolus logGlucose

Distinguish Manual Glucose Readings

expand details

Manually entered glucose readings are now more noticeable in both the history and the main chart. (by @mountrcg)

Chart History
chart history

Edit Profile Overrides & Temp Targets

expand details

Swiping left on a saved profile override or temp target now gives you the option to edit or delete. Selecting to edit will open a new page where you can change the name and/or any of the settings. (by @dsnallfot)

Option to Edit/Delete Editing a Profile Override
edit or delete delete

LoopKit Submodules (pumps/cgms/services)

expand details

The code that's used to connect to pumps, CGMs, and other things was taken from their implementations in Loop. This release changes where that code is housed from within this app to point to the code in @LoopKit or @loopandlearn's repositories. This allows for a better development as it makes it easy to see the differences between the code used in Trio vs the code being used in LoopKit and allows updates in the LoopKit repo to easily be pulled into Trio and vice versa as submodules are improved in Trio and shared to LoopKit. (by @bjornoleh with help from @marionbarker and @bjornoleh)

Updates to submodules versus what was used in iAPS v2.3.3 (by @itsmojo with help from @marionbarker and others):

  • Use `appName` instead of `Loop` or `Trio` so both apps can share the same code but display their own name. This change is still be applied throughout the different submodules.
  • Reduced the battery load on pods by reducing the rate of getStatus calls to the pod to one third of the previous level without affecting all the other commanding needed to control the pod. This reduced battery load on pods
  • Updated to avoid triggering the Critical Pod Fault 049 (0x31) error which caused a pod loss.
  • Added Tidepool submodule to allow direct uploading instead of using Apple Health.
  • Fix display bug for Medtronic to show scheduled basal right properly.
  • Now guards against time change while a bolus is in progre...
Read more

Trio v0.2.0-rc1

17 Aug 17:58
08eba43
Compare
Choose a tag to compare
Trio v0.2.0-rc1 Pre-release
Pre-release

Trio v0.2.0 Release Candidate 1

Detailed contents of this release candidate, see #2
This release candidate is for final QA testing of Trio v0.2.0.

image

Thanks to all contributors and testers!

– Trio team