Git Product home page Git Product logo

diable's Introduction

Since the FreeStyle Libre 2 glucose sensor is a Bluetooth Low Energy BLE device and my purchase experience with the transmitters available for the previous generation has been quite frustrating, I am trying to leverage its capabilities to implement something new compared to the traditional apps:

  • a universal SwiftUI application for iPhone, iPad and Mac Catalyst;
  • an independent Apple Watch app connecting directly via Bluetooth;
  • scanning the Libre directly via NFC;
  • using both online servers and offline methods for calibrating just like Abbott’s algorithm;
  • showing for comparison the HealthKit and Nightscout data shared with other apps;
  • varying the reading interval instead of the usual 5-minute one;
  • a detailed log to check the traffic from/to the BLE devices and remote servers.

Still too early to decide the final design (but I really like already the evil logo 😈), here there are some recent screenshots I tweeted:



  

Libre 2 decrypted thanks to @ivalkou - Atlas stress test: 1-minute uploads


Phones and transmitters: who needs them?



The project started as a single script for the iPad Swift Playgrounds to test the workings of the several BLE devices I bought, mainly the Bubble and the MiaoMiao. It was then quickly converted to an app by using a standard Xcode template: it should compile finely without external dependencies just after changing the Bundle Identifier in the General panel and the Team in the Signing and Capabilities tab of Xcode -- Spike users know already very well what that means... ;)

I am targeting only the latest betas of Xcode. To send the custom NFC commands you have to switch from “Basic” to “Devel” mode in the Log tab and enjoy the verbose flow of debug messages.

Please refer to the TODOs list for the up-to-date status of all the current limitations and known bugs of this prototype.


Credits: @bubbledevteam, @captainbeeheart, @cryptax, @dabear, @ivalkou, LibreMonitor, Loop, Nightguard, @travisgoodspeed, WoofWoof, xDrip+, xDrip4iOS.

diable's People

Contributors

gui-dos 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.