Juggluco icon indicating copy to clipboard operation
Juggluco copied to clipboard

Sensor sends values in a wrong timeframe

Open blaqone opened this issue 1 year ago • 1 comments

Some L3 sensors seem to send the new glucose value not every 60s, sometimes even faster.

As soon as juggluco receives a value it broadcasts the value to other apps (xdrip ie) and this can lead to problems, as other apps do have sanity checks for new values not before 60s+. In xdrip this causes values to forwarded to AAPS. xdrip is needed for calibrating wrong sensor values thou!

The smartest solution would be to keep the receiving value back until 60s from last received value have passed and then send a broadcast. Not as soon as receiving a new value.

This can lead to errors like this:

8050EB48-AC3E-44B2-8084-CB8E67D53A8A

blaqone avatar Apr 08 '23 17:04 blaqone