nightscout / AndroidAPS

Opensource automated insulin delivery system (closed loop)
https://wiki.aaps.app
GNU Affero General Public License v3.0
696 stars 1.7k forks source link

[FEATURE REQUEST] Read data from smartpen Novopen Echo Plus/Echo Pen 6 #2041

Closed rICTx-T1D closed 1 year ago

rICTx-T1D commented 2 years ago

New smartpens with nfc interface was released in Europe. So diasend and glooko can read out the last injection with timestamp and amount. Please integrate it in AAPS, so MDI user or other can use it to write notices.

Andries-Smit commented 2 years ago

The Echo pen is supported by xDrip. Can you get the data via xDrip/nightscout?

rICTx-T1D commented 2 years ago

At my last knowledge, only some "official" apps in playstore support the nfc interface from the new smartpens.

EDIT: https://github.com/NightscoutFoundation/xDrip/issues/1754 @Andries-Smit : The topic is known on xdrip too

Andries-Smit commented 2 years ago

Looking in the config, there might already be something experimental, did you try it? https://github.com/NightscoutFoundation/xDrip/blob/master/app/src/main/res/xml/xdrip_plus_prefs.xml#L1081

Andries-Smit commented 2 years ago

The related topic in your link, they are testing...

The implementation is current in the nightly build of xDrip https://github.com/NightscoutFoundation/xDrip/issues/2074 It uploads to nightscout. And you might set the sync in Aaps NS client to receive treatments. Please check if it will duplicate the insuline given by Aaps?

rICTx-T1D commented 2 years ago

Hi @Andries-Smit , at moment i make MDI with virtual pump in AAPS and the BYODA . I dont use xdrip on my phone.

Is it possible to merge/clone the code to AAPS? Maybe a pump user will write a extra dose of pen insulin in ns-record.

Andries-Smit commented 2 years ago

You might be able to use xDrip just for the pen interface. As MDI is not the primary goal of AAPS I would not opt for duplicating the feature, if xDrip can do it. Though there might be someone to implement the feature.

jamorham commented 2 years ago

This feature is known to be working well within xDrip and I would expect that its possible to use the pen scanning without using any live glucose collector within xDrip although I haven't tested this. Data will be uploaded to Nightscout and I can arrange a local broadcast if that would be helpful as well.

MilosKozak commented 1 year ago

this is not purpose of AAPS, sorry lot of code, marginal impact