NightscoutFoundation / xDrip

Nightscout version of xDrip+
https://jamorham.github.io/#xdrip-plus
GNU General Public License v3.0
1.39k stars 1.14k forks source link

Support Novopen 6 / Echo Plus #1754

Closed madsviggers closed 2 years ago

madsviggers commented 3 years ago

The Novopen 6 is released in Denmark probably globally also. It works with NFC and should be build to work with all the apps that wants to use it. If needed I could buy one and send it to someone who could get it to work with xdrip?

tolot27 commented 3 years ago

Thanks for the suggestion. I've contacted the German customer service and asked for the interface documentation. Unfortunately, the smartpens are not released in Germany, yet. Maybe, I can get two (6 and Echo Plus) for integration testing. If not, I'll contact you again.

retroneo commented 3 years ago

The interface documentation is here:

https://developer.novonordisk.com/home/register.html

PieterDeBruijn commented 3 years ago

I've made a request for the Echo Plus pen, so I'll let you know once it has arrived. I'm in The Netherlands. At least I can help test.

PieterDeBruijn commented 3 years ago

We will receive the new smart Echo Plus pen today/tomorrow (The Netherlands), so it's available over here. Let me know if I can test anything.

PieterDeBruijn commented 3 years ago

I've had the message that it won't be delivered. No timeline as of yet. I guess we'll have to wait to start testing this one.

madsviggers commented 3 years ago

Have received the novopen 6. Anything I can do?

utzaki commented 3 years ago

In Germany, it is available now: https://www.diashop.de/novopen-6-novopen-echo-plus

tolot27 commented 3 years ago

My registration to the Novo Nordisk Developer Portal was still not processed. I've sent them a reminder.

utzaki commented 3 years ago

@tolot27 Unfortunately, I do not have the knowledge to integrate Novopen6 into Xdrip+. Nevertheless, I could help by doing a parallel registration to the Developer Portal (maybe they process it quicker for any reason) and also buying Novopen6 and lending it to you. I am not too far from Munich. Just tell me if I can do anything to help.

tolot27 commented 2 years ago

Maybe we do not get any response from Novo Nordisk because they require:

"NovoPen® 6 and NovoPen Echo® Plus are medical devices and therefore the integration of NovoPen® 6 and NovoPen Echo® Plus, and the use of insulin injection data, are subject to medical device regulations."

yoshimo commented 2 years ago

Which they could easily tell you. A no would be atleast an answer :(

madsviggers commented 2 years ago
madsviggers commented 2 years ago

Here is a screenshot from a nec reader tool. I have no idea if this is going to help, but this is what I can get from my novopen 6

yoshimo commented 2 years ago

The record might be easier to decode if you can find the raw hex values and some additional info that should be encoded in this value. Time&Date &Dose of the last injection if i remember the ad from novo nordisk well enough.

utzaki commented 2 years ago

According to https://www.novonordiskpro.de/diabetes/smartpens.html Diasend and Mysgr are already able to read the data. So maybe it is helpful to read values with NFC Tools and one of those two apps in parallel in order to have some samples.

madsviggers commented 2 years ago

I can get diasend to read data from the pen, but I can't export it. Also the only information I can extract is the information that you see in the picture.

JtxGit commented 2 years ago

I have also received such a device for testing and am busy playing with it using NFC on Android. I can read the UID and some data, but it does not seem that this data changes over time, so I don't think that this can be the data that we want... As a hex string it looks like: e2000032800000000001002a5079002680000000800080000000000000000080000000080014650040016006400a0001010000000000

I wanted to try Diasend to see what the data looks like, but they require some account login... and I don't really feel like signing up just to test it.

JtxGit commented 2 years ago

Yes, I also looked at it, but have not found where and how they use the native library. I can send transceive commands without this library and I get replies, but this data that I get does not seem to change over time...

utzaki commented 2 years ago

My NovoPen 6 arrived today and I started testing it and looking at some documentation. Here are my findings:

I'm afraid we're lost at this point. As long as we don't know more details about the authentication process, we won't be able to read the data. This may also be the reason why the above NDEF data are the same for every scan and do not include individual insulin treatment information.

PaarnTh commented 2 years ago

Only android app what i find to read my novopen echo plus is glooko. Maybe someone can find authentication process from glooko app.

tolot27 commented 2 years ago

Today, I got an answer from Novo Nordisk:

We are sorry for the very long response time to your request. We have been in the process of developing our processes as we were making the developer portal available

Novo Nordisk has a strong focus on patient safety. For that reason, we strongly believe that our medical devices should be used together with digital solutions that are governed by regulatory authorities to ensure patient safety. While Nightscout is an open-source solution with an admirable purpose, but, as far as we know, it is not regulated by authorities. As such, Novo Nordisk cannot at this point support the technical integration with our medical devices. We will encourage Nightscout to engage with the regulatory authorities, and we are happy to further engage in discussions about integrations with our devices.

Kind regards, The Novo Nordisk Digital Health Team

They are right to some extend. But providing the already injected amount of insulin to an app does not influence the patient safety at all. I'm still thinking about what to respond but don't believe that we will ever get access to the developer portal, unless we try to get some medical approval.

tolot27 commented 2 years ago

I've closed the issue for now and tagged it with postponed. We can still discuss everything about integration here.

Navid200 commented 2 years ago

Duplicated by #2074. Continue on this issue.