Skip to content

Max IOB limits not informing user #4698

@Descent098

Description

@Descent098

When adding in a max IOB the hardcoded limits specified here are not triggering a message when exceeded.

Reproduction steps

  1. Be in loop mode (for me it SMB)
  2. Go to preferences --> OpenAPS SMB --> Maximum total IOB OpenAPS can't go over [U]
  3. Set this value to one higher than the table
  4. Value is silently turned down to the limit without warning user (As confirmed by going to the OPENAPS SMB page and looking at max_iob)

So for example if you set it to 38 while your patient type is Insulin Resistant Adult, it will be turned down to 30 without any notification. Importantly it still visually shows up as 38 in the settings, even though it's being turned down to 30.

Image Image

Extra info
Patient type was set to Insulin Resistant Adult if that helps

Build version: fe9789d-2026.04.07

I also created a PR to link to those limits from the summary #4699 4699 to come shortly

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