Not for treatment decisions
The information presented in these apps should not be used for treatment or dosing decisions. Consult the glucose-monitoring system and/or a healthcare professional.
Prototype status
This repository contains only prototype software. It's developed at fast pace without considering the quality. The projects do not have any quality standards like tests, CI or documentation. The code may have performance issues and bad design patterns. Check it or use it at your own risk.
Applications to monitor glucose levels from FreeStyle Libre sensors (via LibreLinkUp app connection). These applications do not connect to the sensor directly but download the most recent data from servers. They require Internet connection.
#WeAreNotWaiting
- Tested on: Garmin Forerunner 245 Music.
- Settings to configure account and glucose units.
- It updates every 5 minutes (due to Garmin API limitations).
- Requires connection to paired phone and Internet.
Widget for the main menu showing latest value available.
Data field to use during activities (e.g. running, hiking).
This is a personal use at your own risk application. For that reason, it's not published to the Connect IQ store. If you want to play and give it a try, you will need to perform a manual installation as follow:
- Follow the compile steps.
- You may want to add compatibility to your product. Usually it would be just
adding your watch model in the
manifest.xml
file by running the command Monkey C: Edit Products.
- You may want to add compatibility to your product. Usually it would be just
adding your watch model in the
- Connect your Garmin device into your computer.
- Copy the generated
*.prg
file into the Garmin device folderGARMIN/APPS
. - Due to a limitation in Garmin, we can't use the setting UI from Garmin
Connect to set the user name and password (see
issue).
Follow this step instead:
- Open the project with VS Code.
- Open any *.mc file.
- Go to the tab "Run and Debug" and click its button. It will compile and run the simulator.
- Set your email and password in the simulator from File > Edit Persistent Storage > Edit Application.Properties data
- Copy the setting file from the simulator (temp folder, in Windows at
%TEMP%\com.garmin.connectiq\GARMIN\APPS\SETTINGS
) into your Garmin device:/garmin/apps/settings
.
- Install Garmin Connect IQ SDK and generate a developer license following their instructions.
- Open VS Code in the subfolder of the project to compile. A file
monkey.jungle
must be in the top-level workspace. - Run the VS Code command "Build for Device".
- Uses .NET MAUI: compatible with Windows, MacOS, Android and iOS (and any new
future platform).
- Tested on Windows and Android.
- Updates every minute. Recent changes from LibreLinkUp servers seems to only update every 15 minutes their data.
- Requires Internet connection.
As it's prototype application, no binaries are provided. Follow the steps in compile to generate the application.
- Windows: after compiling run the following command to create a portable
binary:
dotnet publish -f net7.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None
- Android: the easiest is to start debugging from Visual Studio. It will install the application the first time. Then you can open it from your phone without requiring VS.
- Install .NET 7 and MAUI following these steps.
- Build it using command-line or an IDE. You can use
these steps
as a reference, but opening
LibreGlucoseWatcher.sln
instead of creating a new application.
Garmin:
- Update data field app
- Create barrel
- Refactor into client + background class
- Display timestamp of last value
- Display arrow of graph
- Display message if value is quite old (> 5 min)
- Alert when it reaches threshold low and high
- Show data with colors
- Add graph like Dexcom app
Desktop / Mobile:
- Clean-up code
- Use selected units
- Create foreground service
- Show value in mobile notification
- Ring alarm (configurable) in phone
- Use Windows popups to display alerts
- Store values in a database
- Calculate stats (e.g. average, percentage, Hb1ac, histograms)