-
Notifications
You must be signed in to change notification settings - Fork 60
Add support for Freestyle Libre 3 #131
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
base: main
Are you sure you want to change the base?
Conversation
|
Here are two sample lines from Here are two sample lines from The first entry was marked with all checkboxes, and with entries of 1 unit rapid-acting insulin, 2 units long-acting insulin, 3g carbs (also 1hr and 2hr reminders), exercise, medication. |
The Libre 3 reports results in a different way: * The history reports are missing a column of unknown meaning. * The reading reports are missing custom comments and error values. The current workaround makes the Libre 3 results to look like the results for earlier models and is for demonstration and documentation purposes only. A better implementation would abstract the difference in reporting format into the drivers for each device.
5121cc6 to
5e8127d
Compare
|
Can confirm that with this patch applied and |
There is a "FreeStyle Libre 3 Reader" device which reads the sensor. This change allows a PC (or really any device) to communicate with the reader over USB and download the readings. So the PC isn't reading the sensor. |
|
I checked out this PR and successfully extracted data from a Freestyle Libre 3 Reader. The device was /dev/hidraw10 on my system. This is not redacted. The literal output was "[N/A]". CSV data from The Details from datetime
Details from info
As far as I can tell, all the dependencies are satisfied. However, I think the installed python version is higher than specified, which might be a problem. Reader malfunction is another possibility, since the screen and maybe other components were damaged by water. The Abbot uploader for Windows failed to get any data from this damaged Freestyle Reader, but the csv dump from glucometerutils appears to be complete with respect to glucose data and manual entries. |
I am testing locally with Python 3.11.2, and You can try using |
Wow. It worked. Thanks! I compared the the glucometer dump to a download from LibreView. The first three field names were
|
The Libre 3 reports results in a different way:
The workaround in this pull request manipulates the Libre 3 results to look like the results for earlier models and is for demonstration and documentation purposes only. A better implementation would abstract the difference in reporting format into the drivers for each device.
This pull request is meant to start discussion on the changes, the best way to accomplish them, and also eventually to produce documentation for glucometer-protocols