Coder Social home page Coder Social logo

libreoopalgorithm's Introduction

LibreOOPAlgorithm

This is an apk that allows translating libre sensor readings to blood glucose. It has been able to get results extremely close to the libre reader without any calibrations. Should be used with xDrip-plus.

TLDR: To create the apk, please do the following (on a windows pc):

Make sure that your pc has android studio instaled. follow the movie at https://developer.android.com/studio/install.html for instructions on how to install android studio.

Creating the apk using chrome:

  1. You are now on the page: https://github.com/tzachi-dar/LibreOOPAlgorithm.
  2. Press clone or download. Then Download zip.
  3. On the downloaded file, right click "show in folder".
  4. right click "Extract all ...". Press extract.
  5. A new windows will be opened, double click LibreOOPAlgorithm-master
  6. double click windows_create_apk.cmd (If windows will ask for permission to run the file, please allow it). After a few seconds the file LibreOOPAlgorithm.apk will be in the directory. Send it by mail to the phone and install it.

Here is a short youtube video showing what you should do: https://www.youtube.com/watch?v=PfLHT9pI058& (If this is taking more then 60 seconds, you need to practice.)

On your phone, Open the apk. If you see a message saying "The algorithm worked successfully" all is done. If you see an error message please let me know.

from command line (advanced) run

The apk that you need to install is LibreOOPAlgorithm.apk Before doing it, please go to settings->security and turn on "unknown sources"

You can install the apk in anyway you like, for example: adb install LibreOOPAlgorithm.apk git clone https://github.com/tzachi-dar/LibreOOPAlgorithm.git
cd LibreOOPAlgorithm
scripts\create_apk.cmd

You can also send it by mail (or copy) it to your phone and install it from there.

If you are using Mac or linux, please do the following:

Download and install java jdk (important!) first to make sure the "jarsigner" command is available
install brew and then do brew install wget from cli
Important! Download librelink apk (this specific version: LibreLink_v1.3.2.4_apkpure.com.apk) from apkpure and place it in your home directory on your mac

Setting xDrip to work with the oop Algorithm.

Currently tomato, blukon, librealarm and direct scanning supports the libre oop Algorithm.

xDrip has to be at a version after 21st may 2018 nightly. (This probably means that you have to download the latest nightly).

On xdrip go to setting->less common settings->other misc options-> and set out of process blukon algorithm. (If this option is disabled, this means that your version of xDrip is too old).

The propose of this project is to allow opensource projects to use the same algorithm for bg calculation.

This is a specific example that simulates official results, but anyone can implement whatever algorithm that he wants.

Please see the class IntentsReceiver for how to send and receive intents with raw data from the libre sensor.

libreoopalgorithm's People

Contributors

tzachi-dar avatar dabear 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.