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

[AAPS 3.0.0.1] Frequent pump unreachable errors with Orangelink and Emalink #1309

Closed happygirlnyc70 closed 2 years ago

happygirlnyc70 commented 2 years ago

Pixel 4a 5g Android 12 AAPS build479bfc410

On three occasions now either the orangelink or emalink has disconnected from AAPS

Log is from 11Feb noticed issue around about 9 AM

I received an alert that my pump was unreachable. Steps I took to fix the issue (play protect is disabled - verified that it is off): 1) Refreshed pod status 2) Scan for link 3) Remove link and re-scan 4) switch to virtual pump then back to eros to restart pump driver 5) restart AAPS 6) restart phone

Both links are able to connect to to nRF connect. Sometimes the link will connect but it fails to refresh. Other times it stays in the initialization step

Reporting bugs

harentius commented 2 years ago

I observe something similar

robertrub commented 2 years ago

I had made a wiki on how to restore a dead connection in Discord AAPS wiki. It is dated May 19th, 2021 (edited).

Normally, the connection to OL code was perfected and this problem was solved...

Next time it happens, try the solution in the wiki.

Which OL firmware are you using ?

happygirlnyc70 commented 2 years ago

@robertrub I did shut off the orange link but I didn't force stop aaps. I will try that next time. I will also make sure to do things in order in the wiki if it happens again.I'm using fw 3.2. I also turned off adaptive battery. I do have optimization turned off for aaps but I'm wondering if adaptive battery is impacting Bluetooth.

robertrub commented 2 years ago

Doing it on order is a must ;)

Yes, you need to stop battery optimization for BT also.

Try the OL firmware version before v3.2 (from memory v2.5). It was working better.

Once again, this was supposed to have been solved. So keep this issue open and add info here.

happygirlnyc70 commented 2 years ago

I have not had any problem since I reported the issue. @harentius if you are still having similar problems please add to this

harentius commented 2 years ago

Actions decribed in wiki fopr 19.05.2021(!) (not 2020) indead fix the issue, I also noticed this early. I just thought that such things shouldn't happen or can happen very rarely.

For me simple restart Android APS solves issue. I noticed that sometimes Android APS app crashes and after that there are connection issues, but I am not 100% sure.

happygirlnyc70 commented 2 years ago

The orangelink disconnected again today. The instructions from the discord wiki fixed it. Here's the log AndroidAPS_LOG_1645032158112.log.zip t

Technixx commented 2 years ago

Hi, i have a similar problem.

My son is using AAPS v3, on Unihertz Jelly2 (Android 10 i believe) , I have tested on Orangelink Pro and original with fw 3.2. The pod looses connection a lot (pod unreachable) and it also fails multiple times during activation with fault: 049 | 0x31 | Incorrect pod state for command

I have seen an incline in errors when changing omnipod batches.

With this batch I have detected more problems: https://photos.app.goo.gl/3haYCFYqrHjLwwoG6

With this batch, not so much https://photos.app.goo.gl/XryfViPLN6BKPKNH9

happygirlnyc70 commented 2 years ago

@MilosKozak I believe we can close this ticket as well. @Technixx since you have opened your own ticket I am closing this one.

Technixx commented 2 years ago

Quite ok with me. 👍