New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xDrip detect future data #1690
Comments
Do you have somewhere available alternative xDrip source that can be used in parallel with original xDrip? I've already installed alternative release on phone, but need to debug it with source. Seems like failing on this catch -
|
The suggestion was to use facebook first, not to use facebook and also open an issue here. Anyway, do you have a watch or any other device like a pump that you have not mentioned? Can you show Android settings -> System -> Date & Time |
There are but nothing that should interfere with xDrip. After a day xDrip started working properly, it's fully working now. (It fixed by it own) from a scan to scan error about NonMonotonicSequenceException disappear. Date time is set to use network provided. I think screen is not needed here, anyway most likely it will not be understandable as it's in my language which is not English. If needed I can also provide the dump of sensor memory from time when problem happened for further investigation. |
This can be found in a search even after it is closed. If your issue has been resolved, there is no reason to keep this issue open. And if you find instructions or more data that you like to add, you can continue to add it here even after the issue is closed. |
Additional useful information, issue happened between: Ended: |
I've tried to close this issue, however it's not appearing anymore on list of open issues. I would still like to keep it open maybe someone will have idea for it. |
Duplicate: #1493 |
Dear @Navid200, how is it a duplicate? I've did research across all the issues and I seen just one similar behavior but it was happening for Libre2. Can you please provide more info how the issue explained in #1493 is relevant to the one reported by me ? Also subject of MiBand and everything else is not relevant. The relevant issue is #1294 but there was never an answer/fix. |
He calls it legal time. But, he means daylight savings time, which is the issue. |
But it's not related at all, as you can see in my previous posts here, I'm mentioning that xDrip discover data from 2 months in future. That seems to be not relevant for daylight saving time at all. Quote - 30-March-2021 19:35 (First error about "Cannot inject display glucose value as time different is too great: 2021-05-19 12:33:10 vs 2021-03-30 19:35:23) I'm fine having marked it as duplicate, doesn't matter that much for me. |
Your description states that this whole thing started because you changed the time. Whenever you have multiple devices communicating and transferring data, time synchronization is a requirement. If the times are not synchronized, you could have all sorts of symptoms. The symptoms may be different. But, if we open a unique issue for every single symptom, we will have hundreds of issues, which aren't real issues, burying the real issues. |
@Navid200 Sorry then, I didn't meant that that the issue started after changing the time. I didn't touch the date/time before the issue happened. |
That's OK. The label suggests that there are commonalities. That's all. |
Can you describe a method to reproduce this? |
I have one a little bit advanced way. I have exported memory of sensor while the issue happened. I was able to import the memory into another sensor that is not used anymore and xDrip while reading showing exactly the same error. Apart from this I have no idea how we can re-produce that, it just randomly happened. If any of dev willing to try it out I can share the memory dump, or if something I am available to collect traces or whatever is needed from xDrip using the sensor with "corrupted" memory. I am also available for remote session if needed. I will put my all efforts to help you fix it if it's a bug (and seems it is). |
I personally only know about Dexcom and I am not a developer yet. |
Do you have a Bluetooth glucose meter? |
Yes, but not connected to xDrip/Phone. |
Again, the same problem happening on a fresh new sensor. Some screens - https://i.imgur.com/1AkFKBM.png I can try re-install the app, maybe some of the settings I use cause this. |
Another person in another group experienced similar issue with same error - |
New sensor started, error still appear - "NonMonotonicSequenceException: org.apache.commons.math3.exception.NonMonotonicSequenceException: points 0 and 1 are not strictly increasing (1 619 473 052 521 >= 1 619 473 052 521) Application updated to latest possible beta version. |
haplz - just to let you know that are not alone. My xDrip has had the exact same issue for the second time yesterday. The first time it happened I tried all the same things you did with the same observations. |
Hi, just a question related to this. I'm suffering from BLE disconnections with both direct link to FL2, patched app passing data to Xdrip and MM2. Any configuration shares the problem that, ocasionally, when the BLE is interrupted, xdrip is unable to yield the BG reading, despite OOP2 has replied to query. The main error in log is "sensor age has not advanced" and it seems to me -I am not a techie expert at all- that the main problem is that every 5 minutes xdrip takes values from FRAM. When a reading is lost, the most updated set of readings still contains readings in the past so, somehow, xdrip understoods that sensor age has not advanced (timestamp readings from sensor contain some past readings and "future" readings). Can this problem be related to your issue? Is it a common problem of time handling with FL2? Earlier versions that did not use FRAM do not have this problem. Furthermore, when I NFC scanned the sensor in Xdrip it yielded readings, but with newer versions the problem is "sensor age has not advanced" when doing such NFC scan. Any update on this? |
@tzachi-dar Do you have any idea what is causing the ""sensor age has not advanced" message? |
Hello, @hapvlz Did you manage to find any solution? |
@PhilTU Do you know anything about this? |
Is this still happening to anyone? |
No readings, with the message: future data |
don't recall seeing that. Sensor age backwards is more common. Will keep an eye out. |
Hi Guys,
I've been using xDrip for some time but today I've experienced seems like a bug.
On main page I can see that last update of glucose is from 182 minutes ago.
In Status page I can see message "Your device has future data on it, Please double check the time and timezone on this phone"
Restarting collector, forgetting device, deleting future data do not help.
In log viewer I can see error "NonMonotonicSequenceException: org.apache.commons.math3.exception.NonMonotonicSequenceException: points 20 and 21 are not strictly increasing (1 621 420 351 801 >= 1 617 126 284 505)
No any other errors observed. Sensor can be scanned using other apps, but manual scan also fails on xDrip.
I am using FreeStyle Libre 1 + Miao Miao 2 -> xDrip
xDrip version is: 1f9d6e6-2021.03.26
Phone is: Xiaomi Mi 8 Pro Android 10 QKQ1
Not sure what is causing this behavior.
Any ideas?
// What I've noticed that in the background the reading looks fine, when I scan manually sensor with NFC graph seems to showing correct value, however main screen and it value on the top is getting crazy, same about the time.
Also due to that data is not being passed to Nightscout, and also dats is not fetched from miao miao.
The text was updated successfully, but these errors were encountered: