Add Libre 3/3+ - #1275
Conversation
… + OmnipodKit pointers
…wn, timer-driven status refresh
…n-1203-1205 # Conflicts: # OmnipodKit
…ing + per-pump test suites # Conflicts: # Trio/Sources/Localizations/Main/Localizable.xcstrings # Trio/Sources/Services/Alerts/AlertCatalogRegistry.swift # Trio/Sources/Services/UserNotifications/UserNotificationsManager.swift # TrioTests/AlertCatalogRegistryOmniFaultTests.swift
…M-app section + Carbs Required grams Brings the eight follow-up commits added on top of the prior PR nightscout#1203 integration. Notable runtime change: .xdrip is now covered by the CGM-owns-alerts gate, so xDrip4iOS users will see their reading-driven alarms move into the new "Handled by CGM App" section.
… on 0.47.11 The pinned SwiftFormat 0.47.11 doesn't split a single --exclude argument on commas — it treats the whole string as one literal path token, so the combined "Pods,Generated,...,LibreLoop,..." form silently matched nothing. Every submodule was being reformatted on each Trio build. Switch to one --exclude flag per path; that form is unambiguous across SwiftFormat versions.
I’d definitely be fine with adding it as a feature branch, but I think it probably needs a little more testing before getting added to dev. |
|
Thanks! It‘s part of Loop next-dev and we haven’t had any reports of issues. I‘d like to keep # of feature branches to an absolute minimum, because we are actively blocking people from using it by splitting all these device drivers up into different feature branches :-/ |
|
I'm okay with adding it to dev to get more testers |
|
I suggest we just follow Loop here for once, and move it to dev. It‘s dev for a reason. Merging is only blocked by CI, need to check that. |
kingst
left a comment
There was a problem hiding this comment.
I didn't test it, but LGTM based on code review. I'm fine merging this to dev
next-dev != dev, but okay |
Seems to be a type check error in Sources/LibreCRKit/Crypto/FirstPairSourceSlice.swift, especially explicitly telling the compiler which types there are seems to fix it, but it probably needs to be PRed against loopandlearn/LibreCRKit |
# Conflicts: # .gitmodules # Trio/Sources/APS/PluginManager.swift # Trio/Sources/Helpers/CGMOptions.swift
…/dev-libre3 # Conflicts: # .gitmodules # Trio/Sources/APS/PluginManager.swift # Trio/Sources/Helpers/CGMOptions.swift
|
Moving this to draft until the 1-min handling is addressed. |

Summary
next-devLoopKit) so Trio can pair FreeStyle Libre 3 / 3+ sensors directly (no internet reliance, no external app).LibreLoop,LibreCRKit,LoopAlgorithm) wired through Trio's existingPluginManager/PluginSourcepath.Important
1-min readings are currently not supported
This is still experimental
Test plan