GithubHelp home page GithubHelp logo

Comments (24)

JohanDegraeve avatar JohanDegraeve commented on July 20, 2024

First of all there's no need to keep the app at the front, no need to close other apps, as long as your Bluetooth is on then it should work.

This is only during the night ?

from xdripswift.

alexmoir1 avatar alexmoir1 commented on July 20, 2024

Mainly at night. Sometimes drops during the day.

from xdripswift.

JohanDegraeve avatar JohanDegraeve commented on July 20, 2024

what kind of transmitter ?
do you have a mac with xcode and a developper account ?
probably the only way to find out what happens is to follow the logs. At the moment the only way to do this is with xcode

from xdripswift.

alexmoir1 avatar alexmoir1 commented on July 20, 2024

MM1, sorry, don't have a mac

from xdripswift.

JohanDegraeve avatar JohanDegraeve commented on July 20, 2024

Ok no problem.
Are you sure the MM is wel on placed on the sensor ?
If it isn't you'll get a sensor not detected notification.
That notification is removed as soon as there's a new reading.

can you test : setting missed reading alert to 6 minutes, if it goes off, then check if there's a 'sensor not detected' notification
(sorry that may keep you out of your sleep)

from xdripswift.

alexmoir1 avatar alexmoir1 commented on July 20, 2024

Switched to Android Xdrip last night & got the number OK all night. Will try ios with missed reading alert tonight.

from xdripswift.

JohanDegraeve avatar JohanDegraeve commented on July 20, 2024

if it works with Android then it looks like indeed there's something wrong with xdrip ios.
Strange however that there's not more complaints.

from xdripswift.

ondrejpelak avatar ondrejpelak commented on July 20, 2024

Hi guys! I am having the same problem as @alexmoir1 . Also pretty much no reading overnight. I also tried to kill all the other apps, did not help. iPhone is on the charger every night. During the day, the values are pretty much stable. I have up everyday with missing readings for 300+ minutes.

The empty window starts usually at 2-3am and then when I wake up I have to restart xDrip. But sometimes it works overnight so I don't really understand it.

But @JohanDegraeve I do have a mac so I can try to do whatever may help us - but I don't know how :-). I really enjoy using this app, before I was on spike, but it was working terribly compared to xdrip.

from xdripswift.

JohanDegraeve avatar JohanDegraeve commented on July 20, 2024

I've been having the same problem actuallY. It's the same.
It seems to be not every night.
I've been trying previous releases (because it's a recent problem i might have been caused by recent changes i did), but it's all the same.

I can only conclude that this is due to iOS13. But then why not since the start of iOS13 (which was September i believe) ? I don't know.

Tonight I'll try to switch off NightScout upload. Who knows maybe iOS takes into account the battery consumption. Without Nightscout upload, the battery consumption should be minimal.

I'm also reviewing the missed reading alerts. Because I also find it strange that I'm not woken up by a missed reading alert. I'll make the missed reading alerts repeatable

from xdripswift.

JohanDegraeve avatar JohanDegraeve commented on July 20, 2024

@MrrDonn probably not necessary anymore to use Mac, as I've been experiencing the problem myself.
I checked myself and what i see is "Terminated due to signal 9"
but that doesn't give enough info. I was hoping to see an exception

from xdripswift.

ondrejpelak avatar ondrejpelak commented on July 20, 2024

So it is probably really ios thing, I was worried about that. iOS is acting weirdly since ios 12 I guess. I will try to turn off nightscout as well tonight. Although my nightscout credentials were wrong up until yesterday, I don't know if it has something in common, there were still missed readings...
And I remember that Spike was doing the same thing, also not working overnight.
Still, if it was thing with battery drain, I don't understand why it does not kill the app during the day. Especially when the phone is changing the whole night.
But if you would give me some guidance I could try to do the mac log thing as well and maybe we could see something.

from xdripswift.

JohanDegraeve avatar JohanDegraeve commented on July 20, 2024

You would need to 'clone or download' (zip) : https://github.com/JohanDegraeve/xdripswift
(clone means you need to install git, for example if you install sourcetree for mac, you also get git. Probably easier to download the zip and unzip)
Instsall also cocoapods: open a terminal session (search for terminal), and type "sudo gem install cocoapods"
Then go to the folder where you've downloaded the project and type "pod install"
Install also xCode.
Then in Finder, double click on xdrip.xcworkspace

You'll probably need a developer account further on. A bit a lot to explain here. Once you have a developer account and an app configured in iTunesConnect, a lot goes automatic
Once you're able to run xdrip on your phone, you can see all the logs.

from xdripswift.

ondrejpelak avatar ondrejpelak commented on July 20, 2024

Thank you @JohanDegraeve for this guidance! I will do it tonight. I am using DIY Loop so I have some experience with Xcode and I have the developer account.

Btw I tried to turn off the nightscout upload tonight and got 100% of the readings. How about you?

from xdripswift.

JohanDegraeve avatar JohanDegraeve commented on July 20, 2024

I also turned off NightScout and there were no missed readings or crashes. I'll do this again the coming days

from xdripswift.

ondrejpelak avatar ondrejpelak commented on July 20, 2024

The same, if it was the case, do you know how to fix it?

from xdripswift.

JohanDegraeve avatar JohanDegraeve commented on July 20, 2024

If it's the case that iOS kills the app because it's consuming to much energy (when using NightScout), then I don't see how to solve this.

from xdripswift.

ondrejpelak avatar ondrejpelak commented on July 20, 2024

Understand. But why is it not happening during the day? Perhaps isn't is possible to kinda slow down the frequency of sending data to nightscout?

from xdripswift.

JohanDegraeve avatar JohanDegraeve commented on July 20, 2024

Difficult to say what Apple exactly did for iOS13.

Yes slowing down the frequency of uploading during the night would be an option.

from xdripswift.

ondrejpelak avatar ondrejpelak commented on July 20, 2024

Hi again, unfortunately, tonight I got a blank window again :/ Nightscout is off. Did not have the log going on, will do it tonight.

from xdripswift.

JohanDegraeve avatar JohanDegraeve commented on July 20, 2024

Hi, same here.
It's not a solution but I'm improving the missed reading alert. It will be repeatable.

Thanks for verifying the logs

from xdripswift.

JohanDegraeve avatar JohanDegraeve commented on July 20, 2024

3.6.0 allows scheduling nightscout (and dexcom share) upload.
It allows to specify time intervals during which upload should be enabled/disabled

from xdripswift.

alexmoir1 avatar alexmoir1 commented on July 20, 2024

Hi Johan, is there a Nightscout update schedule that works without totally stopping uploads overnight?

from xdripswift.

JohanDegraeve avatar JohanDegraeve commented on July 20, 2024

no not that, you could schedule a change from on to off every 15 minutes

from xdripswift.

JohanDegraeve avatar JohanDegraeve commented on July 20, 2024

As additional guideline : what seems to have helped for me is to delete all unused or not frequently used apps from my iPhone. Strange but it seems to hep.

I will close this issue, I don't think there's anything else I can do

from xdripswift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.