Glucose Monitoring Extension for Visual Studio Code
This Visual Studio Code extension allows users to monitor their blood sugar levels using data from a continuous glucose monitoring sensor provided by FreeStyle LibreLink. To use this extension, you need to have a FreeStyle LibreLink sensor. Follow the steps below to set up the extension:
Note: This is not an official extension from FreeStyle LibreLink. The values provided by this extension should not be used to make any medical decisions. Always verify with your official glucometer.
Installation and Setup
Connect to LibreLinkUp: Open the LibreLinkUp application. Navigate to the menu, select "Connected Apps," and then choose "Manage LibreLinkUp." Click on "Add Connection" and share your credentials (email and password) with yourself.
Once connected, you can verify that the connection has been successfully established installing LibrelinkUp and singin. After successful connection, the LibreLinkUp application is no longer necessary and can be uninstalled from your device.
Provide Credentials: Use the same email and password that you used to connect to LibreLinkUp to log in to the extension.
Usage Instructions
After installing the extension, a prompt will appear in the top search bar prompting you to enter your email. Press enter and input your password. If the prompt doesn't appear, press F1 and run the "Live Blood Sugar" command.
Additional Configuration
You can configure the extension in two different ways:
1. Using Visual Studio Code Interface
Navigate to Manage and then Settings in Visual Studio Code. Search for livebloodsugar to find the configuration options:
- Enable Alerts: Determine whether you want to receive notifications for high or low blood sugar levels.
- Lower Limit Alert: Set the lower limit for blood sugar level alerts.
- Upper Limit Alert: Set the upper limit for blood sugar level alerts.
- Alert Interval: Set the interval for displaying alerts (in minutes).
- Blood Sugar Refresh Time: Set the refresh time interval for updating blood sugar levels (in milliseconds).
2. Using Commands
You can also configure the extension through the provided commands:
- Live Blood Sugar: Log in with your email and password to start monitoring your blood sugar levels.
- LiveBloodSugar: ChangeCredentials: Change the email and password used for authentication.
- LiveBloodSugar: setAlarm: Set lower and upper limits for blood sugar levels and define an alert time in minutes.
- LiveBloodSugar: sensorExpiration: Check the expiration date of the sensor.
- LiveBloodSugar: refreshTime: Set the refresh time interval for updating blood sugar levels.
These commands allow you to adjust the settings directly within Visual Studio Code.
Errors and Improvements
- No Internet Connection: If Visual Studio Code does not have an internet connection, a message indicating "Invalid" will appear. To resolve this, restart Visual Studio Code with an active internet connection.
- Stale Data: Currently, if there are no new data updates for a while, the previous blood sugar value will be displayed. If you notice the same number being displayed continuously, it may be due to the sensor not providing new data. This issue is being addressed and will be fixed in future updates.
- Regional Availability: It is possible that this functionality only works in Europe. If you encounter issues using it from another region, please contact me and I will prioritize resolving this problem.
If you have any questions or need support with this extension, you can contact us through our Instagram page: Live blood sugar