nightscout / AndroidAPS

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

[3.1.0] [master or dev] Error "Wrong pump device" on virtual pump after restart #1956

Closed rICTx-T1D closed 2 years ago

rICTx-T1D commented 2 years ago
rICTx-T1D commented 2 years ago

Screenshot_20220724-002734_AndroidAPS

libxmike commented 2 years ago

can report same issue on 3.1.02 (dev) but not doing anything special, using all the time same pump driver.

mpessnegger commented 2 years ago

can report the very same behaviour on 3.1.0.2 (fullrelease). i just press "dismiss" and the app works properly (Accu Check Combo, Decom G6

rICTx-T1D commented 2 years ago

Additional I will report, that when error message is shown, the insulin injection was not save in database or nightscout. After switching pump driver to an other and back, all working fine with saving the data.

muthijammy commented 2 years ago

Every restart of AAPS 3.1.0.2 reports the same error. Changing to virtual pump & then physical combo pump fixes till next restart. Not sure if it is impacting any other functionality. But error msg fills the screen and so graph1 on home screen is truncated on s9 plus mobile which has bigger screen compared to even more smaller mobile.

Pallesauka commented 2 years ago

Not sure if you are referring to the full release but we have similar issues with NSClient v 3.1.0.3. we are two parents following our sons master through NSClient. We have dana-I pump. Both NSClient instances get this error. Switching to virtual pump and back (on master) does not resolve the issue. Switching to different pump/MDI and back on NSClient does not resolve it either.

VoronMods commented 2 years ago

@Pallesauka @muthijammy and others, switching back and fort between pumps will do nothing, this is an issue in the Java Code, it is a bug. @MilosKozak any info on this issue/bug?

muthijammy commented 2 years ago

For everyone interested, I found following workaround suggested in fb works for me as well when error msg popsup:

choose a virtual pump, subtype is AAPS generic Snooze popup error msg Kill AAPS Reopen AAPS. No error msg Switch to needed pump. Error msg no longer popsup after restart of AAPS or mobile

VoronMods commented 2 years ago

For everyone interested, I found following workaround suggested in fb works for me as well when error msg popsup:

choose a virtual pump, subtype is AAPS generic Snooze popup error msg Kill AAPS Reopen AAPS. No error msg Switch to needed pump. Error msg no longer popsup after restart of AAPS or mobile

its not about suppressing the error message, but about the error itself. Your solution doesn't work, it's not a permanent solution, the error comes on the AAPS screen and comes from AAPS

MilosKozak commented 2 years ago

resolved by https://github.com/nightscout/AndroidAPS/commit/3f3cdde53bcff139515cf9cdfb9bb5dbd68a4ca2