Code Monkey home page Code Monkey logo

Comments (4)

jwoglom avatar jwoglom commented on June 10, 2024 1

Whenever Tandem fixes the constant t:connect logout issue on android...

This is so irritating. And you can't even downgrade to an older version of the app to try and resolve it since login is broken on version < 1.5 🙃

Not sure how much hope I should put into their upcoming phone bolus implementation being good if they can't even get login sessions right...

from tconnectsync.

jwoglom avatar jwoglom commented on June 10, 2024

Adding this functionality to be synchronized would definitely be possible, as BG data (CGM and manually-entered) is exposed via the API!

The tconnectws2 therapytimeline2csv endpoint returns blood sugar reading data from t:connect. The existing WS2Api#therapy_timeline_csv() method returns a readingData key which should contain a list of Python dicts containing the available BG data: https://github.com/jwoglom/tconnectsync/blob/master/tconnectsync/api/ws2.py#L63

IIRC, there is a field inside there that denotes whether the reading is from a manually entered BG (from the bolus screen) or CGM. If you're referring to G5/G6 calibrations I'm unsure where those go exactly, I suspect they'd be included here however (I have a G6 and don't need to calibrate).

We should add whether to upload BG data to Nightscout behind a flag, since many folks (myself included) already use xDrip to sync CGM data into Nightscout and/or already input manual BG/calibration data in xDrip or nightscout directly.

from tconnectsync.

JasonJShuler avatar JasonJShuler commented on June 10, 2024

Thanks for following up!

I also have G6, but I got a box of bad sensors - two in a row from the same box (in very different sites) have been providing dangerously terrible data to the pump, and the pump has been trying to kill me as a result LOL. Since I just got a replacement two days ago, I suspect they will want more proof this time... so removed xDrip, installed the Dexcom app thinking they could look in clarity, but as I mentioned, Dexcom only sees calibrations entered in their app.

So yes my use case is very atypical ATM 😝 I agree about the flag - most people already have the sugar from other sources. Whenever Tandem fixes the constant t:connect logout issue on android... if this ran every minute (or 30 seconds if you wanted to go all Nyquist on it LOL) theoretically it could be a single source for all the data... sure seems cleaner in my mind!

That is, t:Connect -> Nightscout -> xDrip et al... I know Nightscout is designed to aggregate sources and everything, but something about a single stream is very appealing to me 😁

Thanks again, hopefully I can find some time to have a look

from tconnectsync.

jwoglom avatar jwoglom commented on June 10, 2024

@JasonJShuler Please take a look at in-progress: support BOLUS_BG and CGM features which provides an initial implementation for this feature, specifically via two "synchronization features" (BOLUS_BG and CGM). More details are in the commit description.

You can try this out by setting ENABLE_TESTING_MODES=true and running tconnectsync with e.g. --features BASAL BOLUS IOB BOLUS_BG CGM. Just be warned, there are likely bugs.

from tconnectsync.

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.