Giter VIP home page Giter VIP logo

Comments (12)

jasoncalabrese avatar jasoncalabrese commented on May 21, 2024

I was expecting to only see changes to client.js try reverting those and see if it works. We should be able to do the conversion client side only.

from cgm-remote-monitor.

Dexcgm avatar Dexcgm commented on May 21, 2024

I reverted client.js to the same code in the nightscout client.js but can't tell if that solved the issue because none of the data points show up (since the scale is then wrong).

from cgm-remote-monitor.

jasoncalabrese avatar jasoncalabrese commented on May 21, 2024

I thought client.js might have been right, but server.js might need to be reverted.

from cgm-remote-monitor.

rnpenguin avatar rnpenguin commented on May 21, 2024

They both need changes.

In the client, the scaling should be updated and the predictAR function. Looks like the client has been updated.

In the server, sgv is used for alarms, loss function calculation, and prediction. This should be updated as well.

from cgm-remote-monitor.

Dexcgm avatar Dexcgm commented on May 21, 2024

I have tried reverting both, but both do require the edits in order for mmol to work correctly... Blue dots are now sloping correctly. Just need now line to be correct.

from cgm-remote-monitor.

Dexcgm avatar Dexcgm commented on May 21, 2024

Still haven't been able to figure what I have done wrong... If you could help that would be great so that I can share my version with those who want to use the mmol version. I really appreciate any help I can get here...

from cgm-remote-monitor.

rnpenguin avatar rnpenguin commented on May 21, 2024

Sure. I'm guessing your dB records are in mmol?

from cgm-remote-monitor.

jasoncalabrese avatar jasoncalabrese commented on May 21, 2024

I thought db was going to stay mg/dl and the conversion to mmol was going to be done UI only

from cgm-remote-monitor.

rnpenguin avatar rnpenguin commented on May 21, 2024

That would be best, just wondering which units his dB records are in cause I would guess the uploaded uploads which ever units they are in

from cgm-remote-monitor.

rnpenguin avatar rnpenguin commented on May 21, 2024

Take a look at https://github.com/nightscout/cgm-remote-monitor/tree/rebased/mmol branch.

from cgm-remote-monitor.

ELUTE avatar ELUTE commented on May 21, 2024

db records are in mg/dl I will take a look at the above branch, it will not allow me to test deployment for some reason.

from cgm-remote-monitor.

ELUTE avatar ELUTE commented on May 21, 2024

WORKS BEAUTIFULLY!!! THANK YOU!!!!

from cgm-remote-monitor.

Related Issues (20)

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.