Closed kskandis closed 1 month ago
Thanks for your contribution. The changes look good, but I am not overly familiar with these details, and don’t have other looping data to test from.
Hoping someone with fresh profile data uploaded to NS from both Loop and AAPS will have a chance to test. Import of manual NS profile entries would also be good to test here.
And maybe we need to make a separate PR for this?
My only suggestion to consider is maybe setting target to the middle of the target range from Loop rather than the bottom target, since Trio only uses a single target.
@kskandis are you also up for that?
So this looks good according to current reviews. Could someone also quickly check that NS-generated profiles are also imported correctly?
And possibly AAPS-generated profiles? @t1dude ?
Could someone also quickly check that NS-generated profiles are also imported correctly?
I got to test this now, and can confirm that changes made from the NS profile editor are correctly imported. For target, only the lower bound is imported, the upper bound is ignored, as noted by others above.
For me this is LGTM. Would be interesting to know if AAPS profiles are supported too, but that’s a little out of scope for this PR.
I will merge this with 4 approvals and 4 testers.
@t1dude if you could please test this with AAPS-uploaded profiles after the fact; if a fix for AAPS-profiles is necessary, we will record this as a new issue ticket.
@MikePlante1 comment regarding not using just the lower bound of Loop's correction range can be handled via #252 .
Thank you everyone for testing and reviewing. Thank you @kskandis for your contribution to Trio.
And maybe we need to make a separate PR for this?
My only suggestion to consider is maybe setting target to the middle of the target range from Loop rather than the bottom target, since Trio only uses a single target.
@kskandis are you also up for that?
That makes sense to me. Yes, I'll look into it.
Resolves Nightscout CGM Import Settings fails with error by: