Code Monkey home page Code Monkey logo

Comments (4)

jwoglom avatar jwoglom commented on June 2, 2024

Hi, I think you might have specified your Nightscout address improperly.

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='cgm-roberts.herokuapp.comapi', port=443):

Make sure your NS_URL ends in a slash and is a full url with http/https prefix

from tconnectsync.

smatthew avatar smatthew commented on June 2, 2024

Doh! I thought it was something like that......
Now it runs... but doesn't do anything. Any suggestions?

smatthew@Scotts-iMac tconnectsync % pipenv run tconnectsync
Loading .env environment variables...
Processing data between 2021-03-21 18:26:51.460202 and 2021-03-22 18:26:51.460202 
Downloading t:connect ControlIQ data
Downloading t:connect CSV data
Last Nightscout basal upload: None
Last Nightscout bolus upload: None
Last Nightscout iob upload: None
No IOB events: skipping
Added 0 items

from tconnectsync.

jwoglom avatar jwoglom commented on June 2, 2024

Hm, do you mind logging in to the t:connect website and verifying that data appears in the therapy timeline there?

I just added a --check-login option, which might also help. It will try to log in to each API and output some data from it, and might help see whether there is any data in t:connect that this script can query.

You can also try increasing the date range using the --days option, in case there is no uploaded pump data from the past day.

from tconnectsync.

smatthew avatar smatthew commented on June 2, 2024

I'm not usually an idiot, but apparently yesterday was an exception.

I had logged into t:connect, but hadn't noticed that the data was old... for some reason my t:connect app stopped uploading. I did a manual upload to t:connect, re-connected the app, and your program is chugging away importing data.

I really appreciate the work you put into making this. I'm looking forward to trying to use autotune to see if I can improve my numbers.

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.