Git Product home page Git Product logo

libremonitor's People

Contributors

jellyrolljunior avatar robinboehm avatar upetersen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libremonitor's Issues

Just a question

Hi!

I'm a IT student at the IT-university of Copenhagen. I'm about to write my master thesis about diabetes and how technology can support parents with children diagnosed with diabetes.

I have a question regarding the code which scans the NFC tag from the Freestyle Libre Sensor.

I can't seem to find the files for the Arduino, where the actual scanning and processing of the NFC dataset from the sensor to the Arduino is done.

The goal is to develop an iOS application, which can scan the NFC tag directly from the Freestyle Libre Sensor, instead of sending it over bluetooth.

Best Regards,

Jakob

A series of build errors

I am trying to build the iOS app straight out of the fresh downloaded sources, but getting a lot of errors. Here is a screenshot of them. What am I doing wrong?
bildschirmfoto 2017-03-09 um 18 52 03

Quick Question

This is regarding reuse the sensor but with another ADC device . Since the clever bits of libre are the pt-ir skin sensor , and the current measurement pads are exposed ,is it possible to read them using another current measurement op amp and ADC?

Since the sensor just wears out when the reagents are used up (and it seems to be software locked to 14 days) would interfacing directly with the sensor be a viable way to extend the life of sensor?

My embodiment of this idea is to use a hacked /normal finger prick meter to actually measure the sensor still stuck to the skin.

Sure its not a flash CGM but its 90% there. Apologies in advance if not correct forum.

Comments regarding Libre OOP Investigation

Trying to understand how things work has always fascinated me and I found your "Libre OOP Investigation" very interesting.

You said:

To sum up: We have

a linear glucose response by the LibreOOP algorithm with respect to raw glucose variations, when raw temperature is kept constant, and
a linear glucose response by the LibreOOP algorithm with respect to raw temperature variations, when raw glucose is kept constant.

In this case we can use a bi-linear function (as is, for example, used in linear finite element formulations):
z = a1 + a2 x + a3 y + a4 xy

These 4 constants can (relatively easily) be found if we have 4 known values of z for given x and y.
This might give us a smaller target to aim for in trying to find some clues in the header / footer.

From your investigation, it is clear that each sensor will have different values for these a1 to a4.
Perhaps we can find promising candidates in the header or footer.

Just for the record, the "traditional" "slope" and "offset" can be calculated for each raw temperature as follows:
offset[T] = a1 + a3(T)
slope[T] = a2 + a4(T)

Regards
jtx

Is this portable to Swift?

Not so much of an issue as a question. Our project is looking to use the same algorithm in an iOS application. is there any reason it could not be ported to Swift? Also, in case the owner of this repo is available for such work, please hit up peter a-t viv d-o-t co, thanks!

No contact details

I was hoping to get in touch and pose a few questions about your work and how it relates to LiberOOPAlgorithm. But I fail to find any contact details. Twitter/E-mail?

Battery test

Hello,

I made 2 tests with a full charged batteries:

  • LiPo 3.7v 240mAh - After 24h with 3 m sync period consumed only 35%.
  • LiPo 3.7v 120mAh - After 18h with 5 m sync period consumed 90% and the system sttoped to communicate.

Do you think this is a normal behaviour ?

Regards,
Hugo.-

Sketchs from Arduino

Hello,

I built a limiter myself.

Some questions:

  1. What are the differences between Simblee and RFDuino ?
  2. The sketch from Limmiter will work on RFDuino without modifications, right ?

Regards,
Hugo.

Can't find "Charts" module

Hi! I downloaded the latest files and followed all their guidelines, however, when trying to build the application, I'm getting some warnings and a strange error that refers to importing the module "Charts", which it does not find. Here are the screenshots. What am I doing wrong? Tks.

erro1

erro2

erro3

App no show glucose level and others informations

Hi Uwe,

As I said before, I was able to run the app from the version you indicated, but I can not get the app to show the blood glucose level, blocks, status and start of the sensor, and the graph with the measurements. I see in the Arduino IDE that the BM019 reads the sensor and sends, via Simblee, the packets and information so much that I can see the ID of the BM019, the sensor ID and the ambient temperature and voltage, as in the image below. I'm not using lipo, I'm using the USB cable on the Mac.

libremonitor_screen_small

I did the tests with some sensors, already expired and with an active sensor that my son is using.

If you need more information, just talk.

I'm grateful for your help.

Thank you,

Jorge

Trend value index seems to be not in Range

In SensorData.swift file
let headerRange = 0..<24 // 24 bytes, i.e. 3 blocks a 8 bytes
let bodyRange = 24..<320 // 296 bytes, i.e. 37 blocks a 8 bytes
let footerRange = 320..<344 // 24 bytes, i.e. 3 blocks a 8 bytes

self.nextTrendBlock = Int(body[2])

for blockIndex in 0...15 {. //The trendMeasurement function logic is
var index = 4 + (nextTrendBlock - 1 - blockIndex) * 6 // runs backwards
let range = index..<index+6
let measurementBytes = Array(body[range])
.......

Following is the byte array read through NFC from the Libre Sensor
-86 45 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 74 70 71 89 48 56 50 45 84 48 56 56 52 63 -36 73 102 -125 16 0 105 10 -64 78 20 3 -106 -128 90 0 -19 -90 26 127 90 -22 4 -27 -118 104 -46 2 -56 27 0 0 0 0 -70 40 -85 16 11 0 28 1 -35 67 -22 -60 -103 2 -44 67 -22 -40 90 2 -60 67 -22 -20 90 2 -59 67 -22 -64 -102 2 -66 67 -22 -24 27 2 -70 67 -22 -28 90 2 -75 67 -22 20 91 2 -75 67 -22 32 91 2 -82 67 -22 56 91 2 -80 67 -22 24 91 2 -87 67 -22 -8 -102 2 -26 67 -22 -52 27 2 -52 67 .......and more bytes

Note: Bold ones is at 26th position, i.e, body[2], (24 bytes for header & 2nd byte in body)

self.nextTrendBlock = Int(body[2]) => since body[2] = 71, therefore nextTrendBlock = 71.
var index = 4 + (nextTrendBlock - 1 - blockIndex) * 6 => index = 4 + (71 - 1 - 0) * 6 = 424

Here, the index comes to be 424, but the bodySize is expected to be 296 bytes, i.e., out of index.

So I am concerned here if
a) The byte layout has changed since this code was first written.
b) Was this code developed for a fixed byte layout format.

PS: I used NFC to pull out data from the LibrePro sensor.

Translation for raspberry

Thx for your amazing work. I am working on a raspberry pi version, your code is my basis to communicate with FreeStyle. I wonder if you have links for more details about the protocol. Glimp (closed source) can indicate for example if sensor is outdated...

My goal is to send datas directly to nightscout (not yet enough info to do that).

Light always fixed

Hello,

I already connected all wires on a breadboard (RFDuino + NFC-BM019).
I saw a lot of compile issues on your RFDuino ino version so I downloaded the original one and replaced all Simblee references to RFDuino. Compiled and uploaded to the hardware.

My Android App (that previous worked with Limitter, so the main difference should be the UUID address) is never notified but I also noticed that the NFC chip have the light always fixed.
On my previous version (based on Limitter), the light is off when is sleep mode and turn on when is reading.

PS: I already checked the wire connections over and over again.

Regards,
Hugo.

Prepare the RFDuino/Simblee board

Hello,

After several weeks of delaying, I finally got my RFDuino (similar to yours).
How did you safely remove the plastic from the pins to attach on the NFC board ?

Regards,
Hugo.

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.