A Scriptable widget that displays the latest glucose measurement from LibreLinkUp, an app designed for parents and caregivers to remotely monitor glucose levels. This widget integrates seamlessly with FreeStyle Libre, a popular CGM sensor by Abbott, offering real-time glucose data at a glance.
Follow these steps to set up your FreeStyle Libre widget:
-
Set up LibreLinkUp:
- Download the LibreLinkUp app and create an account by following the instructions on the "Getting Started" page.
- Add the newly created account as a connection in the FreeStyle Libre app to enable glucose data sharing.
-
Install the Scriptable app:
- Download the Scriptable app from the App Store.
-
Create the Script:
- Open Scriptable and tap the
+
icon in the top-right corner to create a new script. - Copy the content of the
freestyle-widget.js
file into the editor.
- Open Scriptable and tap the
-
Customize the Script:
- Edit the following constants in the script:
LIBRE_LINK_UP_EMAIL
: Your LibreLinkUp account email.LIBRE_LINK_UP_PASSWORD
: Your LibreLinkUp account password.CONNECTION_FIRST_NAME
: The first name of the connection.CONNECTION_LAST_NAME
: The last name of the connection.REGION
: The region of the LibreLinkUp account (valid options:ae
,ap
,au
,ca
,de
,eu
,eu2
,fr
,jp
,la
,us
).
- Edit the following constants in the script:
-
Save the Script:
- Save the script with a name of your choice.
-
Add the Widget:
- Add a new widget to your home or lock screen.
- Select the Scriptable app and choose the script you just saved.
-
Enjoy:
- Your widget is now ready! Stay informed and maintain your Time In Range (TIR) 🧃.
- Ensure your LibreLinkUp account credentials are correct and the connection is properly set up in the FreeStyle Libre app.
- If the widget does not display data, verify that the FreeStyle Libre app is still connected to the sensor and to the network.
- The widget updates according to iOS settings, in a variable range.
This project is licensed under the GNU General Public License v3.0.