Skip to content
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

Support the newer libre 2 plus European sensors. #886

Merged
merged 3 commits into from
Oct 29, 2024
Merged

Support the newer libre 2 plus European sensors. #886

merged 3 commits into from
Oct 29, 2024

Conversation

Jon-b-m
Copy link
Member

@Jon-b-m Jon-b-m commented Sep 26, 2024

No description provided.

@Crystalflame66
Copy link

Crystalflame66 commented Sep 26, 2024

Happy to support in any way I can.
What would be required of me to assist?

I have only tried one sensor so far and at the time of trying to link it with iAPS via the CGM options, it would not recognise or scan the sensor (like you would do with the Libre 2).

Unfortunately wasted a sensor as a result. That's when I realised the compatability issues.

Thank you.

@Jon-b-m
Copy link
Member Author

Jon-b-m commented Sep 26, 2024

Happy to support in any way I can. What would be required of me to assist?

Thank you.

I need users like you to run the this branch (librePlus) with Libre plus sensors in iAPS. Please report if it works or not.

@Crystalflame66
Copy link

I may need some assistance with how to run a branch with the Libre Plus Sensors in iAPS. I'm not very Github savy so it's a new world to me!

I am happy to follow any instructions on running a branch and feeding back. I do have one spare Plus sensor so I can try with that when I get round to it.

@Jon-b-m
Copy link
Member Author

Jon-b-m commented Sep 27, 2024

I may need some assistance with how to run a branch with the Libre Plus Sensors in iAPS. I'm not very Github savy so it's a new world to me!

I am happy to follow any instructions on running a branch and feeding back. I do have one spare Plus sensor so I can try with that when I get round to it.

If you’re building with Xcode you can make a new clone in MacOS terminal:
git clone --branch=librePlus https://github.com/artificial-pancreas/iaps.git
cd iaps
xed .

Or if you already have an existing iAPS project open in Xcode you can switch branch using the Xcode source code navigator (the second symbol from the left, to the right hand side of the file navigator). In source code navigator right click Origin/librePlus and choose “Switch” to check out this branch. Then after eventual signing you can build as usual.

@Crystalflame66
Copy link

Thank you- I believe i built iAPS via the browser build method. Is there any way to work around this method of building??

@Jon-b-m
Copy link
Member Author

Jon-b-m commented Sep 30, 2024

Thank you- I believe i built iAPS via the browser build method. Is there any way to work around this method of building??

You can build any branch via the browser method. To build "librePlus" branch:

  1. Select your dev branch in your fork,
  2. Create a new branch named "librePlus
  3. Tap Sync to fetch upstream commits.
  4. Now you can build as usual using GitHub Actions, just select "librePlus" before tapping the green button.

@Crystalflame66
Copy link

Thank you- I believe i built iAPS via the browser build method. Is there any way to work around this method of building??

You can build any branch via the browser method. To build "librePlus" branch:

  1. Select your dev branch in your fork,
  2. Create a new branch named "librePlus
  3. Tap Sync to fetch upstream commits.
  4. Now you can build as usual using GitHub Actions, just select "librePlus" before tapping the green button.

Thank you- would there be an opportunity to remote in and talk me through at all? I appreciate you are very busy; however, i am just really conscious of doing something incorrectly. I did try and follow the instructions above which seems to play ball initially- however all builds are now failing including my main IAPS build. Just worried this will impact my IAPS that i am currently using. Any support i can have to review this and be guided would really be appreciated. I do want to help but i need support from experts to ensure i am setting things up correctly without causing issues with my existing settings :(

@Jon-b-m
Copy link
Member Author

Jon-b-m commented Sep 30, 2024

Thank you- I believe i built iAPS via the browser build method. Is there any way to work around this method of building??

You can build any branch via the browser method. To build "librePlus" branch:

  1. Select your dev branch in your fork,
  2. Create a new branch named "librePlus
  3. Tap Sync to fetch upstream commits.
  4. Now you can build as usual using GitHub Actions, just select "librePlus" before tapping the green button.

Thank you- would there be an opportunity to remote in and talk me through at all? I appreciate you are very busy; however, i am just really conscious of doing something incorrectly. I did try and follow the instructions above which seems to play ball initially- however all builds are now failing including my main IAPS build. Just worried this will impact my IAPS that i am currently using. Any support i can have to review this and be guided would really be appreciated. I do want to help but i need support from experts to ensure i am setting things up correctly without causing issues with my existing settings :(

If you add me as “collaborator” in your GitHub iaps fork settings I think I can set this up for you.

@Crystalflame66
Copy link

Thank you- I believe i built iAPS via the browser build method. Is there any way to work around this method of building??

You can build any branch via the browser method. To build "librePlus" branch:

  1. Select your dev branch in your fork,
  2. Create a new branch named "librePlus
  3. Tap Sync to fetch upstream commits.
  4. Now you can build as usual using GitHub Actions, just select "librePlus" before tapping the green button.

Thank you- would there be an opportunity to remote in and talk me through at all? I appreciate you are very busy; however, i am just really conscious of doing something incorrectly. I did try and follow the instructions above which seems to play ball initially- however all builds are now failing including my main IAPS build. Just worried this will impact my IAPS that i am currently using. Any support i can have to review this and be guided would really be appreciated. I do want to help but i need support from experts to ensure i am setting things up correctly without causing issues with my existing settings :(

If you add me as “collaborator” in your GitHub iaps fork settings I think I can set this up for you.

Thank you! I believe i have sent an invite to you now... please do let me know if you receive this!

@Jon-b-m
Copy link
Member Author

Jon-b-m commented Sep 30, 2024

Thank you- I believe i built iAPS via the browser build method. Is there any way to work around this method of building??

You can build any branch via the browser method. To build "librePlus" branch:

  1. Select your dev branch in your fork,
  2. Create a new branch named "librePlus
  3. Tap Sync to fetch upstream commits.
  4. Now you can build as usual using GitHub Actions, just select "librePlus" before tapping the green button.

Thank you- would there be an opportunity to remote in and talk me through at all? I appreciate you are very busy; however, i am just really conscious of doing something incorrectly. I did try and follow the instructions above which seems to play ball initially- however all builds are now failing including my main IAPS build. Just worried this will impact my IAPS that i am currently using. Any support i can have to review this and be guided would really be appreciated. I do want to help but i need support from experts to ensure i am setting things up correctly without causing issues with my existing settings :(

If you add me as “collaborator” in your GitHub iaps fork settings I think I can set this up for you.

Thank you! I believe i have sent an invite to you now... please do let me know if you receive this!

Yes. I’ve created a dev and librePlus branch for you now. I can now build for you but I get an error that your Bundle ID isn’t registered with Apple Connect. Did you create a custom APP_IDENTIFIER repo variable perhaps?

@Crystalflame66
Copy link

Crystalflame66 commented Sep 30, 2024

Thank you- I believe i built iAPS via the browser build method. Is there any way to work around this method of building??

You can build any branch via the browser method. To build "librePlus" branch:

  1. Select your dev branch in your fork,
  2. Create a new branch named "librePlus
  3. Tap Sync to fetch upstream commits.
  4. Now you can build as usual using GitHub Actions, just select "librePlus" before tapping the green button.

Thank you- would there be an opportunity to remote in and talk me through at all? I appreciate you are very busy; however, i am just really conscious of doing something incorrectly. I did try and follow the instructions above which seems to play ball initially- however all builds are now failing including my main IAPS build. Just worried this will impact my IAPS that i am currently using. Any support i can have to review this and be guided would really be appreciated. I do want to help but i need support from experts to ensure i am setting things up correctly without causing issues with my existing settings :(

If you add me as “collaborator” in your GitHub iaps fork settings I think I can set this up for you.

Thank you! I believe i have sent an invite to you now... please do let me know if you receive this!

Yes. I’ve created a dev and librePlus branch for you now. I can now build for you but I get an error that your Bundle ID isn’t registered with Apple Connect. Did you create a custom APP_IDENTIFIER repo variable perhaps?

Thanks so much! That's wonderful- really appreciate all your help. That is very strange... my Bundle ID should be registered with Apple Developer Connect? Happy to show a screen shot if this helps at all? Or if you can guide me where to check & add if needed on Apple Connect? I recall registering it through Apple Connect though when i built IAPS... this was a while back and i was literally following instructions to the word at the time; so please forgive me for not knowing where to navigate and what to check.

I have had a look at the Apple Connect> Apps> General >App Information and there is a bundle ID incorporated within the iAPS app i built at the time.

@Jon-b-m
Copy link
Member Author

Jon-b-m commented Sep 30, 2024

Thank you- I believe i built iAPS via the browser build method. Is there any way to work around this method of building??

You can build any branch via the browser method. To build "librePlus" branch:

  1. Select your dev branch in your fork,
  2. Create a new branch named "librePlus
  3. Tap Sync to fetch upstream commits.
  4. Now you can build as usual using GitHub Actions, just select "librePlus" before tapping the green button.

Thank you- would there be an opportunity to remote in and talk me through at all? I appreciate you are very busy; however, i am just really conscious of doing something incorrectly. I did try and follow the instructions above which seems to play ball initially- however all builds are now failing including my main IAPS build. Just worried this will impact my IAPS that i am currently using. Any support i can have to review this and be guided would really be appreciated. I do want to help but i need support from experts to ensure i am setting things up correctly without causing issues with my existing settings :(

If you add me as “collaborator” in your GitHub iaps fork settings I think I can set this up for you.

Thank you! I believe i have sent an invite to you now... please do let me know if you receive this!

Yes. I’ve created a dev and librePlus branch for you now. I can now build for you but I get an error that your Bundle ID isn’t registered with Apple Connect. Did you create a custom APP_IDENTIFIER repo variable perhaps?

Thanks so much! That's wonderful- really appreciate all your help. That is very strange... my Bundle ID should be registered with Apple Developer Connect? Happy to show a screen shot if this helps at all? Or if you can guide me where to check & add if needed on Apple Connect? I recall registering it through Apple Connect though when i built IAPS... this was a while back and i was literally following instructions to the word at the time; so please forgive me for not knowing where to navigate and what to check.

I have had a look at the Apple Connect> Apps> General >App Information and there is a bundle ID incorporated within the iAPS app i built at the time.

OK, please look at these instructions in the section named “Missing Certificate”. You have the same error message https://loopkit.github.io/loopdocs/browser/bb-errors/#annotation-without-clear-message-certificates

@Crystalflame66
Copy link

Thank you- I believe i built iAPS via the browser build method. Is there any way to work around this method of building??

You can build any branch via the browser method. To build "librePlus" branch:

  1. Select your dev branch in your fork,
  2. Create a new branch named "librePlus
  3. Tap Sync to fetch upstream commits.
  4. Now you can build as usual using GitHub Actions, just select "librePlus" before tapping the green button.

Thank you- would there be an opportunity to remote in and talk me through at all? I appreciate you are very busy; however, i am just really conscious of doing something incorrectly. I did try and follow the instructions above which seems to play ball initially- however all builds are now failing including my main IAPS build. Just worried this will impact my IAPS that i am currently using. Any support i can have to review this and be guided would really be appreciated. I do want to help but i need support from experts to ensure i am setting things up correctly without causing issues with my existing settings :(

If you add me as “collaborator” in your GitHub iaps fork settings I think I can set this up for you.

Thank you! I believe i have sent an invite to you now... please do let me know if you receive this!

Yes. I’ve created a dev and librePlus branch for you now. I can now build for you but I get an error that your Bundle ID isn’t registered with Apple Connect. Did you create a custom APP_IDENTIFIER repo variable perhaps?

Thanks so much! That's wonderful- really appreciate all your help. That is very strange... my Bundle ID should be registered with Apple Developer Connect? Happy to show a screen shot if this helps at all? Or if you can guide me where to check & add if needed on Apple Connect? I recall registering it through Apple Connect though when i built IAPS... this was a while back and i was literally following instructions to the word at the time; so please forgive me for not knowing where to navigate and what to check.
I have had a look at the Apple Connect> Apps> General >App Information and there is a bundle ID incorporated within the iAPS app i built at the time.

OK, please look at these instructions in the section named “Missing Certificate”. You have the same error message https://loopkit.github.io/loopdocs/browser/bb-errors/#annotation-without-clear-message-certificates

Thank you very much for your direction and support. I will I have a look and try and work through this when I get a moment away from work! Thanks again for your continued support :)

@francesc0-cgm
Copy link

francesc0-cgm commented Oct 29, 2024

Has anyone tried it and get a fsl2 plus working? I ported this code on autoisf 3.6.6 and i have connection issue loop issue

RPReplay_Final1725359290.mov

@Jon-b-m
Copy link
Member Author

Jon-b-m commented Oct 29, 2024

Has anyone tried it and get a fsl2 plus working? I ported this code on autoisf 3.6.6 and i have connection issue loop issue

RPReplay_Final1725359290.mov

Thanks. I've now pushed the missing sensor type string, suggested and tested by you.

@Jon-b-m Jon-b-m merged commit e754f18 into dev Oct 29, 2024
@Jon-b-m Jon-b-m deleted the librePlus branch October 29, 2024 19:18
Jon-b-m added a commit that referenced this pull request Nov 21, 2024
* Change insulin concentration

Change insulin to a non standard insulin concentration, without having to change any of your other settings in iAPS (ISF, CR or Basal rate settings).

TDD and pump history and IOB and oref0 suggestions will stay the same, regardless of concentration setting.

Just change one setting, the insulin concentration setting in pump settings, when changing to another insulin concentration (U200 or diluted insulin).  To use a diluted insulin setting you first need to enable dilution in debug option before this option appears in the concentration Picker.

CAVE! All existing settings in iAPS have to be entered using standard insulin concentration (ISF, CR, Basal rates) before changing this setting.
Any on-device pump bolus calculator (Medtronic or Dana) will not display a correct bolus suggestion amount unless you also change the CR and ISF locally on the pump, as CR and ISF entries are never saved on pump in iAPS. New basal rate settings will be automatically saved on pump, to support open loop mode and disconnects.

Some other UI changes:

New pod image in header View, which fills up with blue insulin to easier see the pod insulin amount.
An added optional label for the insulin concentration for this pod Image in header View. Change setting in UI/UX View.
Added a small amount of padding between the test tubes (COB and IOB).

* Toggle for diluted insulin

* Optional Insulin concentration badge in Home View

* Support the newer libre 2 plus European sensors. (#886)

* Allow bolus calcuator adjustment with two fraction digits

* Resolve a type error (#935)

Resolves a Preferences type error.
CAVE! This will reset Preferences.json to defaults, but if you have backup of settings enabled (sharing) you will have the option to restore the settings with just a tap in a confirmation dialogue, no key needed.

* Save the new CR, not the old (profile CR)

* Resolve issue #380

* Crowdin translations

* Alert when tapping bolus button while pump is bolusing

* Reduce minutes for bolus View reminder and  bolus View max minutes.

* Bump version nr
This was referenced Nov 21, 2024
Closed
@Crystalflame66
Copy link

Hello,

I did manage to get hold of a FS2 Plus sensor and tried running the Libre Plus branch and pairing with no success unfortunately. It provides the option to connect the sensor but when you scan it, the sensor scans but iaps doesn't seem to recognise it and keeps providing prompts to scan the sensor. It advises to check that the sensor has completed warming up (which it had).

I continued to try but it just wasn't moving forward so unfortunately had to disconnect and waste a sensor as a result.

I don't have any more FS2 Plus sensors to work with as I've been put back on the FS2 sensor for now. However, I am worried for when the FS2 sensor is no longer available.

I am so sorry I haven't had any positive updates to show with my attempt 😞

@Jon-b-m Jon-b-m mentioned this pull request Nov 22, 2024
Merged
@Jon-b-m
Copy link
Member Author

Jon-b-m commented Nov 22, 2024

Hello,

I did manage to get hold of a FS2 Plus sensor and tried running the Libre Plus branch and pairing with no success unfortunately. It provides the option to connect the sensor but when you scan it, the sensor scans but iaps doesn't seem to recognise it and keeps providing prompts to scan the sensor. It advises to check that the sensor has completed warming up (which it had).

I continued to try but it just wasn't moving forward so unfortunately had to disconnect and waste a sensor as a result.

I don't have any more FS2 Plus sensors to work with as I've been put back on the FS2 sensor for now. However, I am worried for when the FS2 sensor is no longer available.

I am so sorry I haven't had any positive updates to show with my attempt 😞

I have reports from other users telling this now works with Libre 2 plus. This has therefore already been merged into dev branch. Are you running the latest dev branch or librePlus? There was an update to librePlus some time ago which sorted out some mixed up CGM types.

@Crystalflame66
Copy link

Thanks Jon- it's likely I was running an older version of the branch then. Would it be possible to link me to the updated branch as I am sure thay will be why I've had issues! (Re: Libre Plus- are you also referring to the actual Libre Plus app? I believe I am running the latest version). The branch however is likely to be where I've gone wrong!

That's really great news to hear!

@Jon-b-m
Copy link
Member Author

Jon-b-m commented Nov 22, 2024

Thanks Jon- it's likely I was running an older version of the branch then. Would it be possible to link me to the updated branch as I am sure thay will be why I've had issues! (Re: Libre Plus- are you also referring to the actual Libre Plus app? I believe I am running the latest version). The branch however is likely to be where I've gone wrong!

That's really great news to hear!

It’s easier if you just build dev branch or if you wait until next main version (5.6)

@Crystalflame66
Copy link

Thank you Jon. I'm happy to wait till version 5.6. (I think I'm on version 5.4 now but it automatically updates everytime the version updates on iAPS).

Thank you! Great news 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants