Comments (6)
@t1diotac Hot off the presses -- please take a look at the new PUMP_EVENTS feature!
It can detect the following types of pump events:
- Site/Cartridge Change (occurs for both a site change and a cartridge change)
- Empty Cartridge/Pump Shutdown (from my investigation, occurs either when the cartridge runs out of insulin OR you hard-shut off the pump)
- User Suspended (occurs when you manually disable insulin delivery)
- Exercise Mode
- Sleep Mode
- AutoBolus and CarbOnly events -- I'm not entirely sure what these do, but they exist as event types in tconnect
To try this out, update to the latest version of tconnectsync and enable PUMP_EVENTS using the --features
flag. The feature options default to --features BASAL BOLUS IOB
, so if you want to add pump events to what is already being synchronized you would run with --features BASAL BOLUS IOB PUMP_EVENTS
.
from tconnectsync.
Great ideas. I've created a structure of "synchronization features" which can be enabled or disabled by the user, which should allow us to iterate on adding in new data which can be synced to Nightscout without impacting existing users.
Cannula/cartridge data should definitely be possible -- I am hoping to work on this soon. I don't think battery is, at least as far as I know. Battery stats is trending more in the land of features which the community would likely need to build its own Android app that communicates with the pump with in order to extract -- e.g., we have xDrip which is an open-source implementation of the Dexcom android app (and in fact predates it!), this would be an open-source implementation of the Tandem app.
from tconnectsync.
Very cool! I appreciate the work you've put into this, it has been very useful in the week or 2 that I've been using it so far!
from tconnectsync.
@jwoglom : Great work on this! I tried to use the PUMP_EVENTS feature but got an error:
tconnectsync: error: argument --features: invalid choice: 'PUMP_EVENTS' (choose from 'BASAL', 'BOLUS', 'IOB')
Is there something I need to do? I'm running version 0.5.
Thanks so much!
from tconnectsync.
@rehudson sounds like you just need to upgrade to the latest version which is 0.6
from tconnectsync.
This works like a champ for me in the latest version! Very much appreciated!
from tconnectsync.
Related Issues (20)
- parser/tconnect.py does not account for BG therapy event types HOT 2
- Running tests in different timezone HOT 3
- Get CGMTherapyEvent processed and logged to Nightscout
- Python 3.9.9 is Not Available for Heroku-22 Stack - Heroku Not Compiling App HOT 2
- Crash with "TypeError: get() got an unexpected keyword argument 'timeout'" HOT 2
- Issues with self-signed SSL cert on local install HOT 1
- Initial Install HOT 1
- docker crash v0.8.5 read timed out tconnectws2.tandemdiabetes.com HOT 1
- Question HOT 1
- heroku
- API Errors: Error occurred querying WS2 therapy_timeline_csv / get() got an unexpected keyword argument 'timeout' HOT 2
- Updating to a new version fails HOT 2
- Unknown therapy event type: Basal HOT 1
- Error: Cannot parse 2022-12-02+06:47:45.300389 00:00 as a valid ISO-8601 date HOT 21
- arrow.parser.ParserError: Could not match input '' to any of the following formats: ... HOT 1
- API Errors on startup ("Web Page Blocked!") HOT 7
- Heroku Free Resource causing app not to deploy HOT 2
- Bolus not updating in NS HOT 1
- Set up tconnectsync - login issues HOT 4
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tconnectsync.