Skip to content

CGM: Add Instara CGM support.#4678

Open
leohunt wants to merge 6 commits intonightscout:devfrom
leohunt:instara-v3
Open

CGM: Add Instara CGM support.#4678
leohunt wants to merge 6 commits intonightscout:devfrom
leohunt:instara-v3

Conversation

@leohunt
Copy link
Copy Markdown

@leohunt leohunt commented Apr 4, 2026

Background
Instara CGM Link:
https://play.google.com/store/apps/details?id=com.teljane.instara

Main changes
Add files to support a new kind of CGM: Instara, with the following functions:

  1. Receiving glucose value data from Instara CGM.
  2. History data consistency check, with user setting option(default as enabled).
  3. InstaraTrendArrowUtility to help calculate trend arrow related information.

Development Notes

  1. As suggested, use the pumpId to store sgvId, with notes to avoid confusion.
  2. Save devicePrefix, sgvMark, sgvStart into preference xml. For the same device, only insert once. When the user changes to a new device, this part of information will be updated.

Test
Currently a few users are using this version and it works as expected. We'll continue the test.

@leohunt
Copy link
Copy Markdown
Author

leohunt commented Apr 4, 2026

@MilosKozak Would you please review this PR? Thanks.

# Conflicts:
#	plugins/sync/src/main/res/values-zh-rCN/strings.xml
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 5, 2026

@leohunt
Copy link
Copy Markdown
Author

leohunt commented Apr 8, 2026

@MilosKozak Would you please review this PR? Thanks.

@MilosKozak Should I change the target branch to dev3 instead?

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.

1 participant