nightscout / AndroidAPS

Opensource automated insulin delivery system (closed loop)
https://wiki.aaps.app
GNU Affero General Public License v3.0
685 stars 1.67k forks source link

Switching Porfile via NSclient V3 doesn't work with APPS 3.0.2.3 and NS 15.02 #3155

Closed gerison77 closed 8 months ago

gerison77 commented 8 months ago

After creating a new Dataset with new basal rates in NS with profile manager. Switching to this profile in NS is not effected on AAPS 3.0.2.3 app with NSclient V3 enabled unless switching to NSclient V1.

Example: Profile switch in NS at 7:02 was effected in AAPS directly after switching to NSclientV1 at 8:35.

Screenshot_20240103-091515 AndroidAPS.log

MilosKozak commented 8 months ago

log starts 9:06

MilosKozak commented 8 months ago

i tested it and it works like expected. If you have websockets enabled, change is performed immediately. Without websockets it takes up to 5 min. I can check your case if you find logs

gerison77 commented 8 months ago

Thank you Milos. I reproduced the behaviour today at 23:03 (profile switch in NS) than switching to NSclient V1, with effected switch at 23:05. Websockts were activated in NSClient V3.

MilosKozak commented 8 months ago

upload logs. best from both sides + screenshots

gerison77 commented 8 months ago

AndroidAPS._2024-01-0321-25-10.109.zip AndroidAPS._2024-01-0321-25-10.110.zip

MilosKozak commented 8 months ago

i need log from aapsclient too

gerison77 commented 8 months ago

AAPS Client was not involved. Profile switch effected directly on nightscout site, hosted by horoku. Profile switch via AAPS Client works.

MilosKozak commented 8 months ago

start with reading release notes https://androidaps.readthedocs.io/en/latest/Installing-AndroidAPS/Releasenotes.html#important-comments-on-using-v3-versus-v1-api-for-nightscout-with-aaps

gerison77 commented 8 months ago

Im about to get the nightscout logs as well.

gerison77 commented 8 months ago

AAPS Client was not involved. But I read now, that entries made in NS Website require NS 1 so. The issue is known. Sorry for bothering.