pazaan / 600SeriesAndroidUploader

Your Medtronic 600-series pump data, direct to Nightscout
http://pazaan.github.io/600SeriesAndroidUploader/
MIT License
189 stars 312 forks source link

"Poll due in XX seconds" does not work #237

Closed GHNS closed 5 years ago

GHNS commented 5 years ago

Extra polls due to expected sensor communication are ignored, the uploader just tries 5 minutes later (when sensor communications are expected again).

Your Environment

Brief Explanation of Issue

The issue appears sometimes when the polling interval of the uploader just fits the sensor reading of the pump (my guess).

I get a log message like 12:05:51: Please wait: Pump is expecting sensor communication. Poll due in 38 seconds ... but instead of polling again in 28 seconds, I get the next message 5 minutes later: 12:10:51: Please wait: Pump is expecting sensor communication. Poll due in 38 seconds ... and so on. The problem is, I never get a new reading until timing changes over time.

Steps to Reproduce (for bugs)

It just happens from time to time.

Severity Score

5 = Severe (potential impact on care), because I miss alerts

Pogman commented 5 years ago

This is not a uploader bug. Android 5.0.0 + 5.0.1 (e.g. Galaxy S4) has a device bug that causes them to not wake for a poll at the requested time and at some unspecified time that can clash with with pump-sensor comms.

The uploader will try and protect against radio clashes with the pump as there can be a risk of a lost sensor caused by broadcasting at the same time as the weaker sensor transmitter.

You can disable this protection via the 'advanced system settings' in the uploader and it will always process the poll request.

GHNS commented 5 years ago

Thanks, I will try that option. It will probably improve the situation.

volkerrichert commented 5 years ago

We use a S4 too. We upgrade it to the CM 13.0 (Android 6.0.1)

volkerrichert commented 5 years ago

This will fix that issue, too. We are running CM13 over a few years now.