tconnectsync icon indicating copy to clipboard operation
tconnectsync copied to clipboard

Automatically update Nightscout basal profile settings from pump

Open jwoglom opened this issue 2 years ago • 5 comments

Tconnectsync should have an option to change Nightscout's built-in basal profile options based on the pump's current values.

jwoglom avatar Jan 06 '22 04:01 jwoglom

This would be really awesome. I manually entered my kids profile information into nightscout, but will have to update when we change settings.

craigpress avatar Jan 09 '22 16:01 craigpress

Initial code to query for profile and pump settings is in https://github.com/jwoglom/tconnectsync/commit/fae1d4de2c870d96fe0c0f082fa44f70237b6991

There's remaining work to be done to actually upload these values into nightscout, hoping to get to this in the next week or two

jwoglom avatar Jan 11 '22 01:01 jwoglom

Any progress on this part?

rankelly avatar Jul 19 '22 17:07 rankelly

Would be nice if they had an API to grab this data.

rankelly avatar Jul 19 '22 17:07 rankelly

@rankelly unfortunately not, however I started on the baseline work to scrape pump settings out of a table inside the tconnect UI, so the work for this is about halfway done. I haven't spent as much time working on tconnectsync lately as I've been focused on https://github.com/jwoglom/pumpx2.

The work on that effort could one day remove the dependency on tconnect (and tconnectsync) entirely for pushing data to nightscout. Not dissimilar from how xDrip can publish directly to Nightscout using without Dexcom Share.

jwoglom avatar Jul 19 '22 17:07 jwoglom