Skip to content

Conversation

@bjorkert
Copy link
Contributor

@bjorkert bjorkert commented Oct 5, 2025

Removed usage of insulinReq from Nightscout devicestatus, as it is not suitable for displaying as a recommended bolus.
This value is an internal oref field that is heavily adjusted and not equivalent to Trio’s bolus calculator output.
A proper replacement will be added later when the correct bolus recommendation becomes available from Trio.

@bjorkert bjorkert requested a review from marionbarker October 5, 2025 12:30
Copy link
Collaborator

@marionbarker marionbarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed the code and testing this in combinations with PR 445, 468 (this one) and 469.

Without this PR, when a bolus is recommended at Trio, the displayed recommended bolus in LoopFollow does not match the Trio recommended bolus.

With this PR, the displayed recommended bolus in LoopFollow is always blank.

LGTM

@bjorkert
Copy link
Contributor Author

bjorkert commented Oct 6, 2025

There is now a Trio PR that makes Trio upload the actual recommended bolus to the devicestatus in Nightscout.
nightscout/Trio#793

@marionbarker marionbarker merged commit 2440720 into dev Oct 6, 2025
@marionbarker marionbarker deleted the remove-trio-recommended-bolus branch October 6, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants