Coder Social home page Coder Social logo

Comments (23)

jasoncalabrese avatar jasoncalabrese commented on July 20, 2024

@lixgbg, has already done lots of work for this in https://github.com/lixgbg/dexcom-uploader and https://github.com/lixgbg/cgm-remote-monitor

from nightscout.github.io.

ELUTE avatar ELUTE commented on July 20, 2024

You can switch your website to mmol by using the rebased/mmol branch instead of master.

from nightscout.github.io.

brianhanifin avatar brianhanifin commented on July 20, 2024

There is a new settings interface on the website, the code is currently at rebased/settings.

from nightscout.github.io.

ELUTE avatar ELUTE commented on July 20, 2024

Everything switched really well!

A few items...
Must set and save switch to mmol in all browsers. Just an item to note.

When saving the settings in Firefox I get the attached error. Settings are saved anyway.

On Jul 22, 2014, at 9:45 PM, Brian Hanifin [email protected] wrote:

There is a new settings interface on the website, the code is currently at rebased/settings.


Reply to this email directly or view it on GitHub.

from nightscout.github.io.

brianhanifin avatar brianhanifin commented on July 20, 2024

Thank you for helping test these updates!

I have made a lot of improvements today. I have fixed the Firefox issue, and I fixed a bunch of issues with mobile browsers (e.g. buttons and form fields were too small). Would you please update your site?

https://github.com/nightscout/cgm-remote-monitor/tree/rebase/settings

from nightscout.github.io.

ELUTE avatar ELUTE commented on July 20, 2024

Deployment keeps failing:

Error: The process cannot access the file 'D:\home\site\wwwroot\node_modules\mongodb\node_modules\bson\ext\win32\ia32\bson.node' because it is being used by another process.
An error has occurred during web site deployment.
Kudu Sync to Target failed

I assume this is because I have two sites in azure…

My BG delta is also not changing… the + or - does but not the 0.0 bit

On Jul 24, 2014, at 2:17 AM, Brian Hanifin [email protected] wrote:

Thank you for helping test these updates!

I have made a lot of improvements today. I have fixed the Firefox issue, and I fixed a bunch of issues with mobile browsers (e.g. buttons and form fields were too small). Would you please update your site?

https://github.com/nightscout/cgm-remote-monitor/tree/rebase/settings


Reply to this email directly or view it on GitHub.

from nightscout.github.io.

brianhanifin avatar brianhanifin commented on July 20, 2024

Can you go back to the master branch for now?

I think bson.node was added by @bewest. Maybe he can shed some light.

from nightscout.github.io.

jasoncalabrese avatar jasoncalabrese commented on July 20, 2024

I think this is a npm problem with supertest, when I deployed last night I had to remove that dependency

from nightscout.github.io.

ELUTE avatar ELUTE commented on July 20, 2024

I have two sites, one for testing so no big deal.

The bg delta was in my pebble code and was dividing twice I believe I have resolved that bit.

from nightscout.github.io.

bewest avatar bewest commented on July 20, 2024

The bson.node error is an azure bug, I've been exchanging emails with the azure folks who confirmed it this morning. It seems to only happen when using two sites. The suggest stopping/sync/starting any trouble some sites.

from nightscout.github.io.

bewest avatar bewest commented on July 20, 2024

She's depending on mmol support not in master. Stopping the site should allow it to deploy if this error persists. (Believe stop, sync, start should work.)

from nightscout.github.io.

bewest avatar bewest commented on July 20, 2024

The tests are using supertest to do the test, but should only be installed during devel, the npm install --production prevents devDependencies from being installed.

from nightscout.github.io.

ELUTE avatar ELUTE commented on July 20, 2024

stop sync start did not work

Still cannot load it

On Jul 25, 2014, at 3:16 PM, Ben West [email protected] wrote:

The tests are using supertest to do the test, but should only be installed during devel, the npm install --production prevents devDependencies from being installed.


Reply to this email directly or view it on GitHub.

from nightscout.github.io.

bewest avatar bewest commented on July 20, 2024

@ELUTE this is now an option per browser or per server. For server side, set the DISPLAY_UNITS environment variable to mmol. Azure this is in "app settings":
image

from nightscout.github.io.

bewest avatar bewest commented on July 20, 2024

Sorry, that last comment is in the wrong thread. The latest change to deploy.sh should fix this, I believe.

from nightscout.github.io.

ELUTE avatar ELUTE commented on July 20, 2024

Is it possible to ensure that the error codes are being scaled too? Right now they are coming in mg/dL which I think will cause problems when we are trying to add error icons etc.

On Jul 27, 2014, at 6:56 PM, Ben West [email protected] wrote:

Sorry, that last comment is in the wrong thread. The latest change to deploy.sh should fix this, I believe.


Reply to this email directly or view it on GitHub.

from nightscout.github.io.

jasoncalabrese avatar jasoncalabrese commented on July 20, 2024

Would be nice to let the pebble js do the unit conversion
On Jul 27, 2014 6:59 PM, "ELUTE" [email protected] wrote:

Is it possible to ensure that the error codes are being scaled too? Right
now they are coming in mg/dL which I think will cause problems when we are
trying to add error icons etc.

On Jul 27, 2014, at 6:56 PM, Ben West [email protected] wrote:

Sorry, that last comment is in the wrong thread. The latest change to
deploy.sh should fix this, I believe.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#21 (comment)
.

from nightscout.github.io.

brianhanifin avatar brianhanifin commented on July 20, 2024

What do you mean by scaled? Do you want a number to be larger our smaller
on the website?

from nightscout.github.io.

jasoncalabrese avatar jasoncalabrese commented on July 20, 2024

scaled = converted to mmol, if we do the conversion in the pebble js the alerts can stay the same

from nightscout.github.io.

ELUTE avatar ELUTE commented on July 20, 2024

All numbers are divided by 18 to go from mg/dL to mmol... That is great. But the error codes (1-12) that the Dex puts out if there is a problem need to be divided by 18 as well.

Does that make sense?

Sent from my iPhone

On Jul 27, 2014, at 11:06 PM, Brian Hanifin [email protected] wrote:

What do you mean by scaled? Do you want a number to be larger our smaller
on the website?

Reply to this email directly or view it on GitHub.

from nightscout.github.io.

jasoncalabrese avatar jasoncalabrese commented on July 20, 2024

I think what I want:
The pebble endpoint would the return the same exact data for the bg/delta no matter what the units setting is, but then also includes the units setting. The pebble code would use the units setting when building the message to send from the js to the c code just change the bg and delta, https://github.com/nightscout/cgm-pebble/blob/master/src/js/pebble-js-app.js#L108

from nightscout.github.io.

whooze avatar whooze commented on July 20, 2024

I know this topic has been dead for a while, but DISPLAY_UNITS should be good to have in the installation guide so people know about this feature

from nightscout.github.io.

psonnera avatar psonnera commented on July 20, 2024

Addressed in documentation.
https://nightscout.github.io/nightscout/new_user/#step-4-fork-and-deploy-cgm-remote-monitor

from nightscout.github.io.

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.