Coder Social home page Coder Social logo

tzachi-dar / juggluco Goto Github PK

View Code? Open in Web Editor NEW

This project forked from j-kaltes/juggluco

0.0 0.0 0.0 30.5 MB

Android app for Freestyle Libre 1,2 and 3 sensors

License: GNU General Public License v3.0

Shell 8.11% C++ 22.75% C 48.72% Java 18.50% Kotlin 1.27% Makefile 0.11% HTML 0.02% CMake 0.34% AMPL 0.12% Batchfile 0.03% sed 0.01% AIDL 0.01%

juggluco's Introduction

Android Build Analyzer As you see Juggluco consist according to Github for 1.2% out of Kotlin and according to Android Studio Build Analyzer tasks related to Kotlin took 43.8% of the time to make the Debug version of Juggluco.

Juggluco

An Android app that displays glucose values it receives via Bluetooth from Freestyle Libre 2 and 3 sensors.

Abbott's Freestyle Libre 2 and 3 sensors transmit every minute the perceived glucose value to the connected reader or smartphone. Juggluco displays this value on the smartphone in addition to low and high glucose alarms. Also with Libre 2 sensors you can know your current glucose value without scanning. Newer versions of Juggluco can also be used with Freestyle Libre 3 sensors, but all further remarks relate to Libre 2. See https://www.juggluco.nl/libre3 for more information about the use of Libre 3.
After using a sensor with Juggluco, you can still scan the sensor with Librelink or Freestyle Reader. Freestyle Reader's Bluetooth connection will no longer work with this sensor and if Bluetooth of Freestyle Reader isn't turned off, it will interfere with the Bluetooth connection of Juggluco with the sensors. Librelink can still continue to work with European Libre 2 sensors, if Juggluco runs on the same phone and already has a connection with the sensor. Librelink can't get a connection on it's own and it can result in connection loss of both apps that is only solved by killing Librelink and thereafter turning Bluetooth off and on and only restarting Librelink again after Juggluco receives again glucose from the sensor. So you shouldn't run them in parallel, when you want to rely on glucose alarms. Libre 3 sensors and US Libre 2 sensors can't be used in parallel. In addition to the Bluetooth stream of glucose values, Juggluco displays the result of scanning: the current value and past 8 hours history out of the memory of the sensor. All in one detailed graph.
You can also add your amounts of insulin, carbohydrate and activity to the graph.
From the Bluetooth stream data summary statistics are generated: time in range, estimated A1c and, if enough data is gathered, a summary graph.
Juggluco can send glucose values to smartwatches in six ways:

  • by creating an Android notification that is redirected to some smartwatches (Notify);
  • via watch app Kerfstok running on some Garmin watches;
  • via the webserver in Juggluco that xDrip and Nightscout watch apps can access (left menu->Watch->Web server);
  • via glucose broadcasts to other Android apps that send the glucose values again to connected watches (for example G-Watch);
  • Juggluco for WearOS;
  • by sending glucose values to Watchdrip's (MiBand/Amazfit/ZeppOS).

Juggluco can use (but not start) US Freestyle Libre 2 sensors.

WearOS

A variant of Juggluco now runs on WearOS. It contains a watch face that shows the minutely glucose value, besides the time and four complications.
Every sensor has to be initialized by the connected Android phone running Juggluco.
Juggluco for Wear OS can operate two ways:

  • The watch receives the glucose values from a smartphone connected to the sensor;
  • The watch is directly connected with the sensor and sends the glucose values to the phone.

A direct connection between Watch 4 and sensor is unusable with nearly half of the Freestyle Libre 2 sensors and a fifth of the Freestyle Libre 3 sensors. If, when directly connected with the watch, a sensor has too many connection errors, you can connect the watch with the sensor via the smartphone.
For more information: https://www.juggluco.nl/JugglucoWearOS

BUILD Juggluco

Building seems not to work under Windows. In Common/build.gradle

cppFlags " -DAPPID=\\\"$applicationId\\\" "

should result in APPID being defined with the Application ID surrounded by quotes (""). This happens under Linux, but not Windows. Gradle and cmake should work independent of operation system, so it is their fault. And why do you use Microsoft Windows anyway?

The following files need to be added to run Juggluco and can be found by unzipping a recent (>=5.1.14) Juggluco apk: https://www.juggluco.nl/Juggluco/download.html

libcalibrat2.so and libcalibrate.so in lib/* of the APK should be put in the corresponding directories in:

./Common/src/main/jniLibs/x86_64/
./Common/src/main/jniLibs/armeabi-v7a/
./Common/src/main/jniLibs/x86/
./Common/src/main/jniLibs/arm64-v8a/

libcrl_dp.so liblibre3extension.so and libinit.so in the corresponding directories of:
./Common/src/libre3/jniLibs/x86_64/
./Common/src/libre3/jniLibs/armeabi-v7a/
./Common/src/libre3/jniLibs/x86/
./Common/src/libre3/jniLibs/arm64-v8a/

juggluco's People

Contributors

geniy83 avatar ah7675 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.