Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profile sync #84

Open
ChiSoxDev opened this issue Sep 7, 2023 · 7 comments
Open

Profile sync #84

ChiSoxDev opened this issue Sep 7, 2023 · 7 comments

Comments

@ChiSoxDev
Copy link

Describe the problem
The PROFILES parameter in the --features property/run flag does not work. If you pull up help it is not listed either.

Additional context
If the feature is already coded which I assume by it's inclusion in the documentatiom, then I assume it just needs to be added as an accepted input for the function.

I have a Docker deployment.

@jwoglom
Copy link
Owner

jwoglom commented Oct 1, 2023

Hi @ChiSoxDev, what version of tconnectsync are you using? I see PROFILES as an option within --features under tconnectsync --help in the latest release run via docker:

$ docker run --rm -it ghcr.io/jwoglom/tconnectsync/tconnectsync:v0.9.5 --help
usage: main.py [-h] [--version] [--pretend] [-v] [--start-date START_DATE] [--end-date END_DATE] [--days DAYS] [--auto-update] [--check-login]
               [--features {BASAL,BOLUS,IOB,PUMP_EVENTS,PUMP_EVENTS_BASAL_SUSPENSION,PROFILES} [{BASAL,BOLUS,IOB,PUMP_EVENTS,PUMP_EVENTS_BASAL_SUSPENSION,PROFILES} ...]]

Syncs bolus, basal, and IOB data from Tandem Diabetes t:connect to Nightscout.

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --pretend             Pretend mode: do not upload any data to Nightscout.
  -v, --verbose         Verbose mode: show extra logging details
  --start-date START_DATE
                        The oldest date to process data from. Must be specified with --end-date.
  --end-date END_DATE   The newest date to process data until (inclusive). Must be specified with --start-date.
  --days DAYS           The number of days of t:connect data to read in. Cannot be used with --from-date and --until-date.
  --auto-update         If set, continuously checks for updates from t:connect and syncs with Nightscout.
  --check-login         If set, checks that the provided t:connect credentials can be used to log in.
  --features {BASAL,BOLUS,IOB,PUMP_EVENTS,PUMP_EVENTS_BASAL_SUSPENSION,PROFILES} [{BASAL,BOLUS,IOB,PUMP_EVENTS,PUMP_EVENTS_BASAL_SUSPENSION,PROFILES} ...]
                        Specifies what data should be synchronized between tconnect and Nightscout.

Version 0.9.5

@ChiSoxDev
Copy link
Author

I will need to check my version number tomorrow, but I definitely do not have all those same options. Is v 0.9.3 ties to the "latest" channel in the docker image?

ghcr.io/jwoglom/tconnectsync/tconnectsync:latest

@jwoglom
Copy link
Owner

jwoglom commented Oct 1, 2023

The latest tag should resolve to the most recent version but you can also try pinning specifically to the latest version. v0.9.5 was just released today.

@ChiSoxDev
Copy link
Author

Great! I'll try first thing tomorrow. Thank you for all the work you have done on this project. It's making an incredibly positive impact on people's lives!

@ChiSoxDev
Copy link
Author

I tested again. Loading the latest docker image gives an error. I don't think it's properly updating.
image

@ChiSoxDev
Copy link
Author

It looks like your latest is pulling v0.6.6. I'll specify the version. Thanks!
image

@jwoglom
Copy link
Owner

jwoglom commented Oct 4, 2023

Interesting, I'll look into why GitHub is doing that. Glad you got it working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants