msupply-foundation / msupply-cold-chain

Android application for viewing and monitoring temperatures of fridges
GNU General Public License v3.0
3 stars 3 forks source link

'Flat-line' temperature sections #319

Open adamdewey opened 2 days ago

adamdewey commented 2 days ago

Describe the bug Occasionally sensors seem to be reporting unnaturally flat temperature logs for a period of time.

For example:

image

These are easy to spot because other sensors monitoring the same location do not reflect the same:

image

The flat sections appear on the sensor app too:

image

Unsure if this is purely a sensor hardware issue or there is some interaction between the sensor and CCA causing them.

Needs investigation of sensor data without CCA involvement to see if any instances occur in that configuration too.

To Reproduce Steps to reproduce the behavior:

  1. Run a bunch of sensors for a while
  2. Monitor data and look for flat sections (easiest in dashboard)

Expected behavior Temperature logs are not unnaturally flat

Smartphone (please complete the following information):

Additional context Logs for example above can be found here: https://drive.google.com/drive/folders/1nf_NiKps9HB-iA3Akn84bNq9rjtH2sWo

image

adamdewey commented 2 days ago

Another example:

image

image

telegram-cloud-photo-size-1-4976630223248403899-y

Log compare (offset because of other duplicate / skipping bug)

image

Logs available here: https://docs.google.com/spreadsheets/d/1fuVPTAQe2-6bKrIQj555Bs6tazvZ3KgOv5qxai0pUlI/edit?gid=205582777#gid=205582777

adamdewey commented 2 days ago

Another:

image

telegram-cloud-photo-size-1-4976630223248403900-y

image

Logs: https://docs.google.com/spreadsheets/d/1lsy8mi7p24-sAa4-dDKPfI3LzU4_ZK4XQKQtlQ_pdqM/edit?gid=2902448#gid=2902448