Skip to content

Therapy settings | Basal rates and insulin sensitivity history #2234

Open

Description

@nadavv

Hi dear developers,

Changing basal rates in the therapy settings is something I do once in a while. I usually look at my cgm data, i.e. 30 days overview, and bring up or bring down the basal rate for a time slot. I might also change the time slots themselves to better suit to the cgm data I inspect. The problem is, I don't remember what I changed last, and I don't know when I did it. Have I already changed the basal 7 days ago? Was the change I did last night after an annoying hypo (or hyper) a reckless and wrong change?

I would like to have a clear history of the basal rates that were last changed. It would look like a list of charts. The chart would look like the basal rates table itself - rows of timeslots and basal rate (u/hr), and the list would hold these tables with timestamps. This way I can look at the differences between different basal therapies I recently had.

An alternative I considered would be to take a screenshot every time I do any change to the basal rate treatment.

The history of the insulin sensitivity is also something that would help, in exactly the same way and reasoning.

Thanks a lot in advance
Nadav

Activity

  1. marionbarker commented on Oct 1, 2024

    @marionbarker
    Contributor

    Great request. I'm not sure if anyone will work on this for Loop. (Takes someone with skill and time to prepare the code.)
    But there are 2 ways to get the capability now.

    Options 1 - Use released code

    • Install a Nightscout instance for yourself and add it to Loop as a Service
      • All your treatments, including therapy settings, are uploaded to your Nightscout URL
      • One of the reports in Nightscout is to show Profiles over time
      • Link to Nightscout Documentation
      • Link to Nightscout Profile Report
      • One issue is that every time you use an override, a new profile is uploaded, so those reports can be repetitive - takes searching to find differences

    Option 2 - Use a Customization

    • Install the "Profiles Save & Load" customization from the Loop and Learn team (I use this myself, in addition to Nightscout)
    • Hint to keep a record of profiles locally
      • after you modify Therapy setting, tap on Profiles and select cancel - you do not want to update the named profile
      • then tap on the + sign to create a new named profile that has your current values
      • I begin my "names" with a date and add a comment
      • I use a single CR and ISF all day, so my names are "date daily-basal CR ISF" where I put the values in each time
  2. Stampertina commented on Oct 1, 2024

    @Stampertina

    Those are great solutions- thanks, Marion. Thanks for explaining them.
    Nadav, your idea for screenshots is a good one. I do that on my son's Loop phone for any settings changes and send it to my phone. It's easy to keep track of that way. I have also used a spreadsheet in the past for all of the settings, but did not keep up with that.

  3. nadavv commented on Oct 2, 2024

    @nadavv
    Author

    Thanks for your replies and ideas.

  4. nadavv commented on Feb 11, 2026

    @nadavv
    Author

    Hi Marion, I'd like to try building this myself on a side branch.
    Is there somewhere a dev contributor faq or starters guide?
    Thanks!

    Edit: As I'm a windows user, I'm still on my way to find a way to develop on Mac.

  5. marionbarker commented on May 2, 2026

    @marionbarker
    Contributor

    I recommend you read this document on contributing to Trio. Then apply the same principals to how you would contribute to Loop.

    https://github.com/nightscout/Trio/blob/main/CONTRIBUTING.md

    If you start with a feature coded by claude (or some other AI), you are responsible for understanding every requested change - whether is makes sense or is superfluous and what it actually does. And then testing the feature. A completely vibe-coded PR will not be considered for inclusion.

  6. taylorpatterson-T1D commented on May 2, 2026

    @taylorpatterson-T1D

    @nadavv the capability you are seeking may be addressed by LoopInsights
    #2405

    As Marion mentions a completely vibe-coded PR will not be considered into the main branch which is why I am maintaining mine via separate installation script: LoopPowerPack/LoopWorkspace#2

  7. nadavv commented on May 6, 2026

    @nadavv
    Author

    Thanks for your responses. I'll update if and when this feature is polished enough for master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions