Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISF/Carb ratio/pump basal settings wipe if I change data source #67

Open
SyGrOvE opened this issue Sep 16, 2017 · 23 comments
Open

ISF/Carb ratio/pump basal settings wipe if I change data source #67

SyGrOvE opened this issue Sep 16, 2017 · 23 comments
Labels

Comments

@SyGrOvE
Copy link

SyGrOvE commented Sep 16, 2017

Sorry I have another issue. I've noticed that APS stops running if I switch my data source from mobile to Wi-Fi. My aps and pump settings for ISF, carb ratio & basal rates are then wiped & I have to redo them all before I can use HAPP again.

@SyGrOvE
Copy link
Author

SyGrOvE commented Sep 16, 2017

Update - APS was inactive for about 7 hours today while I was using mobile data instead of wifi, with no data in the settings i'd described above, but has come back to life at some point since I lost mobile signal & went back to Wi-Fi. Will test again tomorrow & see what happens.

1 similar comment
@SyGrOvE
Copy link
Author

SyGrOvE commented Sep 17, 2017

Update - APS was inactive for about 7 hours today while I was using mobile data instead of wifi, with no data in the settings i'd described above, but has come back to life at some point since I lost mobile signal & went back to Wi-Fi. Will test again tomorrow & see what happens.

@SyGrOvE SyGrOvE closed this as completed Sep 17, 2017
@timomer
Copy link
Owner

timomer commented Sep 17, 2017

Hey, when it stops working, what appears to be when on mobile data, if you manually run APS does it run ok?
The loss of settings, is there some pattern to this? Does it always happen when switching to wifi for example?

Sounds like two issues, 1: losing of settings and 2: loss of alarm (alarm is how Android knows to fire the APS code every 5mins, etc)

1: What settings are lost? I have seen this once before when a profile, for example ISF is corrupted
2: Do you have any power saving apps installed? If so whitelist HAPP.

Just noticed this is now Closed, all ok again?

@SyGrOvE
Copy link
Author

SyGrOvE commented Sep 17, 2017

I thought it was, but then it did it's done it again 3 times today, and I now think it's not related to a change in data source. At least, it did it when we were out, having left the house about 30 minutes prior, then again just before lunch, when I'd been back in the house over an hour.
The settings that get lost are my basal profile in pump settings, and my ISF & carb ratio settings in aps settings. It's always all 3 together. Sometimes they are partly corrupted & other times they are totally deleted. Sometimes I get a message on my phone saying "unfortunately HAPP has stopped" but not always.
If I then click on "run APS" it gives me a message saying something like there is an error & I need to check my settings as some data is missing.

I do have battery saving on, but xdrip, NSclient, Pebble & HAPP are all excluded from this & are kept active.
BTW, I've just found the gitter chat area - am I better posting these issues on there?

@SyGrOvE SyGrOvE reopened this Sep 17, 2017
@timomer
Copy link
Owner

timomer commented Sep 17, 2017

Hey, here is best for tracking bugs.

Right, I think it's clearing your settings that use the Profile Editor - my debug code is not that hot here for logging reasons for clearing the profiles. Let me add some additional reporting and see if we can get to the bottom of this, give me a day or so, should be able to do this Tuesday

@SyGrOvE
Copy link
Author

SyGrOvE commented Sep 17, 2017

Thank you very much - you are amazing for having set this up btw, & I really appreciate the time you spend trying to help others.

@timomer
Copy link
Owner

timomer commented Sep 20, 2017

not forgotten about this, had a few days of good weather so had to get some building work done. Forcast is rain tomorrow so should be able to look then!

@SyGrOvE
Copy link
Author

SyGrOvE commented Sep 20, 2017

OK - hope it was productive! HAPP behaved perfectly for a couple of days but did it again twice during last night, so I hope it's successful.

@timomer
Copy link
Owner

timomer commented Sep 22, 2017

Hey, please try this apk
https://drive.google.com/open?id=0BxE8lMx4AjLiR3N1ak9SSlhRc1U

Nothing much has changed other than I have added more reporting for when loading profiles. When you have the next issue please let me know and give me the output of menu > Debug Info and menu > View LogCat

When you say it happened overnight, you had to manually recreate your profiles and then things worked again?

@timomer timomer added the bug label Sep 22, 2017
@SyGrOvE
Copy link
Author

SyGrOvE commented Sep 22, 2017

Yes. The profile time slots change about halfway down, so what should be 14.30 becomes 02.30 & the same for all subsequent times. The middle entry then shows the exclamation mark. That one is quite easy to reset, but each time I do that & restart, a short time later the profilevsettings are completely wiped & I need to start re-entering from scratch.

@timomer
Copy link
Owner

timomer commented Sep 22, 2017

Interesting, this sounds similar to a past bug.

When this happens next can you send me a screen grab of the profile with errors and also with it corrected. Also, the other items I asked for, I think that maybe enough info to recreate the issue. If I can recreate it, fixing it becomes significantly easier!

Please use the attached apk in my last post.

@SyGrOvE
Copy link
Author

SyGrOvE commented Sep 22, 2017

I can't install the update - it just says not installed every time. I have the allow installation of apps from unknown sources on. Any ideas?

@SyGrOvE
Copy link
Author

SyGrOvE commented Sep 22, 2017 via email

@SyGrOvE
Copy link
Author

SyGrOvE commented Sep 22, 2017 via email

@timomer
Copy link
Owner

timomer commented Sep 23, 2017

Hey, can you attach the images again.

Please export your settings, uninstall HAPP and then install the new version + import settings.

Can you also give me the output of menu > debug

@SyGrOvE
Copy link
Author

SyGrOvE commented Sep 23, 2017

Hi Tim. I sent the images from my email address as attachments. They don't show on here, but I can see them if I check in sent emails on my phone. How would I attach them to a comment in here?
I'll send the debug info once it happens again, as I didn't save my settings, just deleted & installed.

@timomer
Copy link
Owner

timomer commented Sep 23, 2017

To be honest, the easiest way would be to email me at tim@twoit.co.uk with the images. But please keep comments etc here as its too difficult to track via email

@SyGrOvE
Copy link
Author

SyGrOvE commented Sep 23, 2017

Ok, have sent them incl today's debug, as it deleted all settings shortly after I entered them this am. Hope it helps.

@timomer
Copy link
Owner

timomer commented Sep 23, 2017

Hey, got them thanks.

To be clear, are all settings being deleted or just some of the profiles get changed?

As an example, see the ISF Profile images you sent...
Correct Profile...
image

Profile with the issue...
image

Is that correct?

@SyGrOvE
Copy link
Author

SyGrOvE commented Sep 23, 2017

Usually the first thing I see is the issue. I correct it, but soon afterwards all the settings get deleted completely & I have to reset again.

@timomer
Copy link
Owner

timomer commented Sep 23, 2017

Sorry @SyGrOvE , just want to be sure I fully understand the issue...

*you notice an issue
*profile is not deleted, but changed and not working (as in my second image above)
*finally all settings in the app then get deleted

Is that correct?

@SyGrOvE
Copy link
Author

SyGrOvE commented Sep 23, 2017

Not all settings are deleted - just basal, ISF & carb ratios, and in between step 2 & 3 I have reset the profile settings & it has saved them & started to work again. So each time it needs 2 resets.

@SyGrOvE
Copy link
Author

SyGrOvE commented Sep 23, 2017

But basically; yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants