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

Pump/Rileylink connection error messages persist after the failed connection has been resolved #889

Open rustymonkey opened 3 years ago

rustymonkey commented 3 years ago

If Pump or Rileylink connectivity is lost and subsequently regained, errors/notifications persist regarding the self-resolved problem. e.g.

1) Red notification bar that appears in some cases at the top of the dialog with a [snooze] button 2) Failed basal adjustment dialogs with the [Mute] button

The situation re. 2) is even worse since if the user ignores the warnings e.g. for 20 minutes, then upon entering AAPS they must click the 'OK' button 4x in order to make the dialog disappear (I presume that it appears every 5 minutes and that after 20minutes of failed basal updates, there are 4 dialogs superimposed upon one another).

Tested on AAPS 3.0 B5 Related to #884

rustymonkey commented 2 years ago

Related to #932 (from a design perspective--another case of error messages inconsistent with the actual status).

rustymonkey commented 2 years ago

Another side effect of the current design is 'Alarm fatigue' e.g. the Failed basal adjustment dialog / alarm appears upon a failed update. After 30 seconds, the user acknowledges the alarm and checks AAPS > Medtronic Tab to see what the problem is, but there is no longer any problem--it shows that the RL and Pump connected, and within a minute the basal adjusts on its own. i.e. the system appears to generate an alarm right away even though the connection issue often self-corrects within a minute. This results in alarm fatigue and the user either starts ignoring alarms or sets volume to 0 because of the frequency of irrelevant alarms. Perhaps such alarms should only trigger if either: