Coder Social home page Coder Social logo

Comments (16)

AdrianLxM avatar AdrianLxM commented on July 20, 2024

Does this happen with every delta? Does it always show exactly the negated sign or does it show another delta value as well?
What version of xDrip and what version of NightWatch are you using?

from nightwatch.

Hebes24 avatar Hebes24 commented on July 20, 2024

Correct Value, incorrect sign (literally a '+' when there should be a '-', and vice versa). Also, the arrow is in the correct direction and the graph displays correctly.

Using xDrip 2.0.3a and NightWatch 2.0.3.

from nightwatch.

AdrianLxM avatar AdrianLxM commented on July 20, 2024

Do you have NightScout and xDrip on the same phone? In this case you could check if the delta is correct with local broadcasts instead of going via the share server.

from nightwatch.

AdrianLxM avatar AdrianLxM commented on July 20, 2024

I think I found the bug. Thanks for reporting! I will try to fix it until monday.
@Hebes24, would you like to test it (I have no Share)? If yes, do you self-compile or do you need an .apk?

Note for fixing this: https://github.com/StephenBlackWasAlreadyTaken/NightWatch/blob/master/mobile/src/main/java/com/dexdrip/stephenblack/nightwatch/sharemodels/ShareGlucose.java#L102:
bg.sgv_double() - currentValue should be: currentValue - bg.sgv_double().

from nightwatch.

Hebes24 avatar Hebes24 commented on July 20, 2024

I'd be happy to test it. I would need an .apk for that.

How do you setup the local broadcast? I am running both apps on the same phone, and I saw the option for it in xDrip to turn it on, but I was unsure of how to configure NightWatch to work with it. If it's simple enough I'd probably end up using that, since it sounds like I'd be able to cut out the Share servers, which would streamline my process (effectively eliminating the middleman).

Thanks for your responses!

from nightwatch.

AdrianLxM avatar AdrianLxM commented on July 20, 2024

@Hebes24, if you enable local broadcast in xDrip and disable that you get the values from Share, NightWatch will automatically show you the values.
No need to waste mobile data. And: Values on the watch when there is bad cell coverage :)

from nightwatch.

Hebes24 avatar Hebes24 commented on July 20, 2024

Wow, that's simple. Almost makes me feel silly for thinking uploading to Share was the only way to get this to work, haha.

I switched to that method and the deltas look correct. I'd still be willing to test out the fix for Share though if you still need assistance with that.

from nightwatch.

AdrianLxM avatar AdrianLxM commented on July 20, 2024

Thanks @Hebes24. I'll come back to you and pick you up on this offer. Glad there was an easy solution for you.

from nightwatch.

Hebes24 avatar Hebes24 commented on July 20, 2024

Me too! And Thanks for developing these apps. It's really taken my CGM experience to a new level. I really appreciate it!

from nightwatch.

ryanchen26 avatar ryanchen26 commented on July 20, 2024

I've been using the NW 2.0.3 apk download from the project site and I've been noticing the reversed (+/-) sign issue as well. I get the data from the Dexcom share account and would be thrilled to test future releases if provided an APK. Great App! I'm a big fan of the falling fast alarm. Very helpful.

from nightwatch.

AdrianLxM avatar AdrianLxM commented on July 20, 2024

Ha, sorry, I forgot. I'll put it on my todo list again. Thanks for reminding me.

from nightwatch.

bw396704 avatar bw396704 commented on July 20, 2024

I am also having a reverse sign issue. I am using dexcom server for data. I'm really not tech savvy, so what can I do to fix?

from nightwatch.

AdrianLxM avatar AdrianLxM commented on July 20, 2024

@Hebes24 @bw396704 @ryanchen26
I've created an apk with a fixed version. It would be great if you could test it and give a quick feedback:
http://bit.ly/1Pw0OmT

from nightwatch.

bw396704 avatar bw396704 commented on July 20, 2024

Just did and appears to be working now. Thank you so much!

from nightwatch.

AdrianLxM avatar AdrianLxM commented on July 20, 2024

I made this apk to the latest beta version. There were so many fixes and the adoption to Android Marshmallow already waiting to be release: Download Page

from nightwatch.

ryanchen26 avatar ryanchen26 commented on July 20, 2024

Looks great, well done!
img_20160115_141242

from nightwatch.

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.