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

[DEV][EOPatch] Wrong timestamp used in low reservoir notification #2297

Closed Cnidders closed 1 year ago

Cnidders commented 1 year ago

AAPS 3.1.0.3-dev-e Build: f41fa8a45a-2022.12.17 Merged at: f1499d1886ae1e9b3dfc17c93ae3836703429f0 Time: 14:27/14:28

I got the notification that my EOpatch reservoir is low, but the time that showed within the red notification bar was 18:02, in stead of 14:28. I suspect the timestamp of the patch wake-up time is being used to show in the notification bar (see second screenshot).

Overview EOPatch

AndroidAPS_LOG_1671544576905.log.zip

MilosKozak commented 1 year ago

14:28:20.483 [RxCachedThreadScheduler-26] D/NOTIFICATION: [NotificationStore.add():61]: Notification received: Low reservoir Replace Patch soon.

The notification is repeating and you see only only time of last occurence