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.1.0.3-dev-g Build 0569d2ba0a Both AMA and SMB algorithms are activated at the same time. #2371

Closed fjpezuela closed 1 year ago

fjpezuela commented 1 year ago

Reporting bugs

I use the OpenAPS AMA algorithm and every time I compile a new dev version of AAPS and install it, the OpenAPS AMA and OpenAPS SMB algorithms are checked and the second one is left running. This also tends to happen without updating, every so often without any apparent cause.

The problem occurred after updating AAPS, around 13:16.

AAPS 3.1.0.3-dev-g Build 0569d2ba0a

AndroidAPS._2023-01-2101-00-40.9.zip Record_2023-01-21-13-09-44.zip AndroidAPS.zip

MilosKozak commented 1 year ago

how do you do upgrade? remove AAPS, install new and load config?

fjpezuela commented 1 year ago

It happens to me all the time. A few days ago I removed AAPS, installed it from scratch clean and it also starts with the two selected algorithms.

MilosKozak commented 1 year ago

i see 13:10 was loaded configuration with Insight enabled but not APS selected which means it was defaulted to SMB

MilosKozak commented 1 year ago

let me guess. configuration was saved with some experimental branch like AIMI. If i'm right if you now restore configuration it will be back to SMB

fjpezuela commented 1 year ago

Yes, I used AIMI several months ago, but before making the switch to the dev version, I have been using EatingNow.

I tried installing the dev on top of it and had the problem. I tried saving the dev configuration and going back to the master and the same thing happened. I switched to dev from master and the same thing happened. I left AMA and saved configuration, cleared the AAPS cache and uninstalled. Then I installed the dev version again and the same thing happened. I don't know if I might have something cached somehow that is causing this problem. I'll try it tomorrow on another phone.

MilosKozak commented 1 year ago

try dev wiith this commit https://github.com/nightscout/AndroidAPS/commit/c4353e2e3eb698393aeba587e9a19ab4304ed31e

fjpezuela commented 1 year ago

I have just tested it and it is working fine. It has left me marked AMA.

The only thing, in case you want to take it into account, is that the OpenAPS AMA check, I don't have it checked (I have it in the hamburger menu) and now it has moved it to the tabs. As I said, no problem with that.

Thank you very much for all the support.