-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excessive limitation checks and logging when Custom Peak time below limit of active insulin curve #1436
Comments
If you’re seeing this in FreeAPS-X, you should probably open an issue there, and once the problem is identified and fixed, see if any changes need to be upstreamed here to oref0. Alternatively you could try to reproduce the problem in oref0 itself, but based on your hardware I think you’d have compatibility issues trying that. |
FreeAPS-X just uses the standard OpenAPS, I think the problem should arise on pi-Rig as well. Yes I cannot test, can you? Reproduction should be easy
|
This issue is partially reproducible on my Pi rig. I see the log spam in |
This issue can be closed; it would have been closed automatically but the PR was "closed" instead of "merged" despite the changes being committed to |
Per #1437 (comment) I had to revert this fix via 10f9e27 The new code was causing future IOB predictions to be incorrect (highly negative). |
@ChanceHarrison or @scottleibrand is there another solution on the horizon? |
I am not working on the issue. Would you like to? |
No unfortunatly those interaction with the other files are above my laymans skill level. |
Describe the bug
When running on an insulin curve = rapid-acting and enabling a custom peak time of 48 min, which is under the defined minimum of 50mg/dl excessive logging will start at every loop displaying :
JavaScript log: Setting minimum Insulin Peak Time of 50m for,rapid-acting,insulin
150 times every second for up to 60s resulting in 75% failed loops.
This happened when I switched back from Lyumjev and missed disabling the custom peak time.
Expected behavior
change once and display once per loop cycle
Setup Information (please complete the following information):
Additional context
the logging happens in the denomination with OpenAPS, so it is a result of determine-basal in conjunction with the other js-files meal iob etc, where I found above mentioned string.
The text was updated successfully, but these errors were encountered: