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 Dexcom G6 #381

Closed doc77 closed 3 years ago

doc77 commented 6 years ago

Sorry if this has been asked, but does xDrip+ work with the new G6 sensor from Dexcom?

chrisprad commented 6 years ago

I believe the Dexcom G6 isn't slated to be shipped until June of this year, so I doubt anyone has had a chance to work on it. I'd recommend you wait until support is explicitly stated in a release before upgrading.

jamorham commented 6 years ago

I think there is a strong chance it will work.

Use the latest nightly, in the G5 debug settings enable the OB1 G5 Collector, enable G5 Native mode disable Fallback to xDrip

Anyone who tries this please let me know the results! Thanks

doc77 commented 6 years ago

Thanks @jamorham . Would there be an absolute time limit (10 days, 14 days,etc.) on the G6 sensor used in this method? Do you know or have any reports of a sensor lasting past the advertised 7 days?

pantan0 commented 6 years ago

@jamorham I'm assuming your method for getting around the current auto-stop for the g5 will translate to the g6 10 day time-bomb? I hope someone who has one of the early release units reaches out!

jamorham commented 6 years ago

There is still a way to go but collection is working with G6. See May 11th nightly option in G5 debug settings I am using G6 to enable the additional features.

Ubast commented 6 years ago

The ten day limit could be baked into the transmitter. If you can disconnect it from the sensor without breaking it you can (I have been told) extend the usage. So if this is the case it just needs a disconnect to reset.

jstevensog commented 6 years ago

The two most likely scenarios are either the sensor has some low power circuitry powered by the transmitter that has a counter incrementing over time and reset on "disconnect" (because once power is gone from the transmitter the register is cleared), or the transmitter has a counter incrementing over time and that counter is reset when a new sensor is "started", much the same as is capable with the G5 reset over bluetooth. Still, I cannot get my hands on one to know for sure. So, will be interested in what people find.

On Mon, Jun 4, 2018 at 10:19 PM, Ubast notifications@github.com wrote:

The ten day limit could be baked into the transmitter. If you can disconnect it from the sensor without breaking it you can (I have been told) extend the usage. So if this is the case it just needs a disconnect to reset.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NightscoutFoundation/xDrip/issues/381#issuecomment-394334882, or mute the thread https://github.com/notifications/unsubscribe-auth/AIQs812J5x5Bl0vRCapjKMIT7ylZo2pMks5t5SXngaJpZM4THOKc .

-- John Stevens "You are how you live, not what you have."

jpjl01 commented 6 years ago

So I now have the G6. Anyone know any updates for xdrip+ and the G6? I have a Pixel XL so no app :( back to carrying this huge receiver with me everywhere.

jwoglom commented 6 years ago

You can try a hacked version of the official app which doesn't have the compatibility check: https://www.reddit.com/r/diabetes/comments/8ja38m/oc_build_your_own_dexcom_app_now_with_g6_support/

pantan0 commented 6 years ago

@jpjl01 Get the newest alpha nightly update and check the g6 test option. All reports are that its working great. Also make sure you check( native algorithm ). You need to first pair with Dexcom app (or official reciever) to wake up the transmitter, and restart the transmitter to get it up and running with xdrip at this stage

jpjl01 commented 6 years ago

Thanks. I did get the latest nightly but I saw no G6 option. That was about 3 days ago. I'll check again!

pantan0 commented 6 years ago

https://www.facebook.com/groups/xDripG5/ I have not tried it myself. Getting a nightly directly from github may be necessary. All the info i sent was from people having success with it on the official xdrip android support group linked

jpjl01 commented 6 years ago

Yeah, maybe I'm reading this wrong, but I am not seeing anything that says G6. I have the latest nightly.

jpjl01 commented 6 years ago

Thanks! I will check it out.

jwoglom commented 6 years ago

Btw on the latest nighties I believe you have to select G5 and then in settings hit "I am using a g6"

marthajoy7 commented 6 years ago

I am wondering; I am now using Dexcom G5 covered by Medicare. I am able to to get data on an old phone nexus 6 but I am told that in the fall, Dexcom expects to force me to the new G6. My phones are not covered with the G6 and watches need to communicate with a phone to get data. I love the idea of using a Sony watch to directly communicate with G5 and G6 but scared of having to mess with operating system to get xdrip+ to work on the phone. Is it possible to get a watch already setup?

jamorham commented 6 years ago

To use G6 you should use the latest nightly. July 6th or later. The easiest way to set it up if it is not a new installation is to long press the red xDrip icon in the title bar of the home page until you get a pop-up where you can select the Source Wizard and then choose G6. You should be asked for your transmitter number and when you start a sensor you should be asked for your sensor code.

New installations will see the Source Wizard appear automatically. The source wizard will set some sensible defaults to work with G6.

For using a watch as a collector the rules are likely the same as with G5 and the sony SW3 is the only watch I know about personally which works without patching and other require rom patching using my patches which support some of the models.

marthajoy7 commented 6 years ago

Thank you so much. I have a couple of months, I believe, as they are not expecting Medicare approval until Fall. I am now kind of Technology challenged, however, I used to be pretty good, but mind not working like it used to. I see Sony smartwatch 3 (swr50) but nothing sw3. So I am guessing sw3 just is short for smart watch 3. I need to figure out if I can set things up on my own before purchasing, But finding now that I do not have to flash to and older OS and include patches, should help a lot. For now with the G5, I am able to use Nexus 6 for Mobile app and use Nexus 6P as Dexcom share. However neither show up as being compatible with with the G6. I do not want to go back to just being able to use just the rcvr for data collection. I can care less if Dexcom gets my numbers or not. But I am prone to crash hypo glucose levels, often below 40. Starting to get things under control, but every once in a while, numbers just drop out of sight in just a matter of minutes, without warning. Insulin requirements are dropping dramatically. I am now using about 1/8th, or less of the insulin I was using last year at this time. I tried Libre but allergic to adhesive and needed alarms, for obvious reasons. Why is there such a vast difference in prices for the smart watch 3? Are watches around $110 usable? Just know I do not want to wait to last minute.

marthajoy7 commented 6 years ago

Another question, and it maybe too soon. The G6 is stated to give predictive values much like the LIBRE. My understanding is is that xdrip+ reorts current values which is what I prefer. But I will need to know which it is. Thinking of ordering a watch soon. Any help appreciated.

marthajoy7 commented 6 years ago

Ok; just ordered Pink Sony Smart Watch 3 and should arrive by the 16th. Understand the pink watches have not sold for awhile. Hopefully OS will not be difficult to update and may need to have our son replace the battery soon. Will want to start out using with G5 and expect to be forced to G6 sometime after September. Then the watch and Dexcom receiver will be the only devices that will work with the CGM that I own. Any help appreciated

marthajoy7 commented 6 years ago

I hope someone, can answer this question. Since I just ordered a Sony smartwatch 3. My understanding was that the SW3 could directly communicate with the G5 or G6 dexcom. But somewhere else, someone said that the standalone function only worked if you had Xdrip+ installed on your phone. I do not find the xdrip app available on any of my phones. Motorola Nexus 6 and we have 2 Nexus 6p phones which are what we use for phone service with Project Fi. I do not know how I can get Xdrip+ to work on my phones. All the phones do have Android Wear though. How can I get this to work, or is it even possible. Motorola Nexus 6 has the G5 mobile app now and Nexus 6p phones have Dexcom share, but with the G6 compatibility goes away as they consider the phone out of date. But we like them and they work well. I thought the SW3 would work for me. Any help appreciated.

pantan0 commented 6 years ago

https://jamorham.github.io/ Click download latest APK Or if g6 get the nightly snapshot, just the apk under assets @marthajoy7

jamorham commented 6 years ago

@marthajoy7 If you want to see what the predictive points would look like you can enable this plot under the xDrip+ display settings titled G6 Prediction These are just shown like other prediction curves and not used for displayed glucose numbers.

You can get the nightlies on auto update, see these instructions: https://github.com/NightscoutFoundation/xDrip/wiki/How-to-get-the-Nightlies-on-Automatic-Update

marthajoy7 commented 6 years ago

Thank you for the link; I was very concerned when I got a message saying the app could destroy my phone, but it installed ok. Watch is due to arrive between Wednesday to as much as 8 days away. But it is on its way. Xdrips+ seems to use power even when not using. Any means of conserving power when not needed?

pantan0 commented 6 years ago

You will get that message whenever installing an app not downloaded from google play store. So yes be careful in general what you download. Not sure how friendly the app is on battery I haven't had a phone without xdrip for the past few years, but yes your Bluetooth will always need to be on and the app will need to be whitelisted to run in the background for it all to stay connected. You can use your watch as the Collector to do the heavy lifting since it's the sw3 you are getting. Someone else may have some input on how you could optimize the app if you want your watch taking more of a battery hit than your phone

Ubast commented 6 years ago

It won't destroy your phone but it will destroy your battery life. Maybe it's worse for me because I use G4 with share and leave that secondary receiver at hame and it's constantly trying to connect? But turning off bluetooth does save your battery. But what's the point of having dexcom then?. For me I have an old wifi receiver which means I have charge all week.

-------- Original message -------- From: marthajoy7 notifications@github.com Date: 9/07/2018 9:03 AM (GMT+09:30) To: NightscoutFoundation/xDrip xDrip@noreply.github.com Cc: Ubast jrid@tpg.com.au, Comment comment@noreply.github.com Subject: Re: [NightscoutFoundation/xDrip] Dexcom G6 (#381)

Thank you for the link; I was very concerned when I got a message saying the app could destroy my phone, but it installed ok. Watch is due to arrive between Wednesday to as much as 8 days away. But it is on its way. Xdrips+ seems to use power even when not using. Any means of conserving power when not needed?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread. {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/NightscoutFoundation/xDrip","title":"NightscoutFoundation/xDrip","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/NightscoutFoundation/xDrip"}},"updates":{"snippets":[{"icon":"PERSON","message":"@marthajoy7 in #381: Thank you for the link; I was very concerned when I got a message saying the app could destroy my phone, but it installed ok. Watch is due to arrive between Wednesday to as much as 8 days away. But it is on its way. Xdrips+ seems to use power even when not using. Any means of conserving power when not needed?"}],"action":{"name":"View Issue","url":"https://github.com/NightscoutFoundation/xDrip/issues/381#issuecomment-403325930"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/NightscoutFoundation/xDrip/issues/381#issuecomment-403325930", "url": "https://github.com/NightscoutFoundation/xDrip/issues/381#issuecomment-403325930", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Re: [NightscoutFoundation/xDrip] Dexcom G6 (#381)", "sections": [ { "text": "", "activityTitle": "marthajoy7", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@marthajoy7", "facts": [

] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"NightscoutFoundation/xDrip\",\n\"issueId\": 381,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"NightscoutFoundation/xDrip\",\n\"issueId\": 381\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/NightscoutFoundation/xDrip/issues/381#issuecomment-403325930" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 320660124\n}" } ], "themeColor": "26292E" } ]

marthajoy7 commented 6 years ago

Thank you all. tomorrow, my watch is set to arrive. Another question? Should I upgrade the operating system. Been trying to find out. Seems Sony stopped updating OS wear @ version 1.5, but someone cracked and released a 2.0 version and now I see 2.1 was released in March. Do not know if that works on SWR50. Is everyone using OS wear 1.5? or are their upgrades.

marthajoy7 commented 6 years ago

Let me see if I understand this right? Currently Dexcom receiver and Nexus 6 phone are connected to directly receive G5 transmitter data. 2- Nexus 6P phones are on Dexcom share thanks to Medicare finally changing their ruling. So to be able to Keep things similar, Remove Dexcom mobile app from Nexus 6, Configure SWR50 to become 2nd communicator with G5, and configure xdrip+ to send data to Dexcom share. I can then charge SWR50 while using watch while sleeping. With watch on end table. Then to be able to wear watch while awake alone side of Dexcom Receiver?

marthajoy7 commented 6 years ago

Ok, lack of input, in addition to the fact that Medicare has not come out with the exact wording on being able to use phone with Dexcom. I have found the Dexcom share app is supposed to work with android wear 1.5. So for now, I can use my watch, just arrived today, as long as I carry my nexus 6 in my purse and there is WiFi available for the nexus 6 to upload, since it does not have phone service. So I guess I need to wait until Medicare finally posts their change in regulations before xdrip+ usage

Ubast commented 6 years ago

Can you please ask a direct question. Because what you "asked" is not clear. I am sorry but I am getting a bunch of emails from this group but your request is not clear. What are you wanting to do and why can't you do it please.

-------- Original message -------- From: marthajoy7 notifications@github.com Date: 14/07/2018 9:51 AM (GMT+09:30) To: NightscoutFoundation/xDrip xDrip@noreply.github.com Cc: Ubast jrid@tpg.com.au, Comment comment@noreply.github.com Subject: Re: [NightscoutFoundation/xDrip] Dexcom G6 (#381)

Ok, lack of input, in addition to the fact that Medicare has not come out with the exact wording on being able to use phone with Dexcom. I have found the Dexcom share app is supposed to work with android wear 1.5. So for now, I can use my watch, just arrived today, as long as I carry my nexus 6 in my purse and there is WiFi available for the nexus 6 to upload, since it does not have phone service. So I guess I need to wait until Medicare finally posts their change in regulations before xdrip+ usage

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread. {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/NightscoutFoundation/xDrip","title":"NightscoutFoundation/xDrip","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/NightscoutFoundation/xDrip"}},"updates":{"snippets":[{"icon":"PERSON","message":"@marthajoy7 in #381: Ok, lack of input, in addition to the fact that Medicare has not come out with the exact wording on being able to use phone with Dexcom. I have found the Dexcom share app is supposed to work with android wear 1.5. So for now, I can use my watch, just arrived today, as long as I carry my nexus 6 in my purse and there is WiFi available for the nexus 6 to upload, since it does not have phone service. So I guess I need to wait until Medicare finally posts their change in regulations before xdrip+ usage"}],"action":{"name":"View Issue","url":"https://github.com/NightscoutFoundation/xDrip/issues/381#issuecomment-404984195"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/NightscoutFoundation/xDrip/issues/381#issuecomment-404984195", "url": "https://github.com/NightscoutFoundation/xDrip/issues/381#issuecomment-404984195", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Re: [NightscoutFoundation/xDrip] Dexcom G6 (#381)", "sections": [ { "text": "", "activityTitle": "marthajoy7", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@marthajoy7", "facts": [

] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"NightscoutFoundation/xDrip\",\n\"issueId\": 381,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"NightscoutFoundation/xDrip\",\n\"issueId\": 381\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/NightscoutFoundation/xDrip/issues/381#issuecomment-404984195" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 320660124\n}" } ], "themeColor": "26292E" } ]

gitanO0 commented 6 years ago

Hello, I've ordered g6 sensors and g6 transmitter for the first time after using g5 equipment for years. To get the g6 transmitter to talk to xdrip, do I need to also have to receiver to kick things off, as stated by @pantan0 on June 30? Also, I have a pixel 2 xl, which according to dexcom, is not supported for the g6 so I either need to use xdrip and/or xdrip+receiver but hopefully just xdrip.
Thanks.

larryprice commented 6 years ago

@gitanO0 FYI i also have a Pixel 2 XL, you can download a version of the G6 app that works on any phone using the instructions here: https://www.reddit.com/r/diabetes/comments/8ja38m

gitanO0 commented 6 years ago

Great @larryprice thanks.
I did just get confirmation from @jamorham that xdrip+ does allow for g6 setup without need for the official app or receiver and that it also allows for longer than the 10 day sensor and 90 day transmitter hard cutoffs... ALL of that being top notch news!

pantan0 commented 6 years ago

@larryprice Have you been able to get your g6 to run in OB1 + native mode with your pixel 2 xl on xdrip plus? I am running the latest nightly on my 2xl and can only run g6 in the g5 mode, not native

wanya79 commented 6 years ago

@larryprice Have you been able to get your g6 to run in OB1 + native mode with your pixel 2 xl on xdrip plus? I am running the latest nightly on my 2xl and can only run g6 in the g5 mode, not native

What will be the Advantage of running it in OB1 + native mode?

tolot27 commented 3 years ago

Since G6 is fully supported, I'll close this issue.