-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Libre one minute testing #2680
Comments
Just to add that in general this feature is working well, I share data to a MiBand via Watchdrip+ and that has worked too. Noisy data, alarms and trend arrows have so far behaved as expected. I am hazy about the backfilling feature (regardless of the time base). |
Hello. I think it's a good option long time awaited, but IMHO it's not so important to get readings every minute as to make them reliable and smooth, and follow the trend as fast as possible. While trying 1 minute readings, xDrip got a wrong too high value and it made xDrip to be far behind the real levels for 15 minutes because, as far as I know, it uses a weighted average from the last 5 to 20 minutes. Maybe it could be improved, I don't know... |
I think the toll on battery is fair, but when values are changing rapidly, especially during events like double arrow drops and raises then 1 minute is extremely useful. I wonder if this is something that can be toggled from situational triggers like +-change in the last 5mins == true then switch to 1 min until == false Either way, @jamorham a great piece of work. |
There's already something like this in "speak readings" settings, you can set a new speak when bg values change by an x delta or every x minutes, where x is a value set by the user. |
Fantastic addition! Thank you! Running it since today and so far no problems with xdrip, nightscout or AAPS. Two questions tho: -What is the recommended way of getting the sensor data? Juggluco and the patched app? -Is it possible to use the exact values that the Freestyle app delivers and disable any kind smoothing? In the screenshot you can see the difference between the raw data and the smoothed curve although I disable every possible smoothing setting. |
@cO5Mo2 You can use xDrip+OOP2 or Juggluco/Librelink patched to xDrip. xDrip uses weighted average values so you will never get Librelink patched app or Juggluco values unless you modify the code and compile it by yourself. |
Would this setting merge with the Wear app, so watches can also collect per minute?. Battery drain might be someting to test, |
I tested the combination juggluco/xdrip. It worked fine. |
Using xdrip to AAPS with one minute values works perfectly. There is often only one second difference - therefor can we get rid or decrease the value of the sanity check (60s)? I think it depends on the sensor itself - with one fl3 I had no problems at all - with another one it get it all the time. |
Nobody interested in this? @jamorham |
@jamorham will it be possible to use the 1 minute testing with direct Libre2 connection? Additionally, which connection would you recommend for Libre2, patched app or direct? |
I've managed to setup Juggluco + xDrip to get the 1 minute readings working. It works well, just a couple of observations:
|
I would LOVE to test this functionality with "Nightscout Follower" option!!!!! Is that possible?? |
@jamorham would it be possible to enable 1 minute readings for libre 2 direct Bluetooth connection? |
@jamorham Is there much work to get this working with a direct Bluetooth connection via OOP? The patched app is working great but I bet I'm going to get told off (in the nicest possible way) for not not uploading my data to the libre cloud before long. |
I'm using Libre 3 with xDrip+ using Web Follower interface (LibreLinkUp). Is there any update planned to have that interface support 1min update rates? Other services using LibreLinkUp support this (like G-Watch Wear App), so it is supported on the cloud side it seems. |
I second this. I'm using the following to avoid the smoothing in xDrip (#2980) flowchart LR
Libre3 --> Juggluco -->|webserver| xDrip <--> AAPS
xDrip<-->nightscout<-->AAPS
|
I third this request. |
What is your setting in xDrip? Nightscout follower? url-> 127.0.0.1:17580 did not work for me |
The feature works as expected in my testing with Libre2 + Juggluco (been using it for a few weeks without any issues), the battery drain is a bit much though it's mostly not due to anything that xDrip+ itself is doing - the majority of my battery life usage is from AAPS since it invokes the determine_basal logic whenever it receives new data and acts on it (i.e. communicates with pump) when necessary. I'll have to do some comparisons by going back to 5-minute readings but since the one-minute readings happen 5 times more often than 5-minute readings, I expect that battery usage of AAPS being at least 5 times higher is quite likely. If xDrip+ allowed to set how often it broadcasts data, that would help but on the other side, so would AAPS giving an option to limit how often the whole determine_basal logic runs so I'm not sure if it's necessarily xDrip's job. Doing it on xDrip's side means that AAPS's graph wouldn't show as much (assuming xDrip wouldn't broadcast historical data as well which... it could considering that the broadcast bundle includes the time as well) but it may at least be easier than getting AAPS to change. |
The libre3 time variance with juggulco is annoying. (refusing to broadcast a reading which is too close to previous sample/1minute check) |
It HAS to be on the receiving side aka XDRIP+ because Juggluco sends a value once it is sent from the FL3 sensor. The hardware clock of the sensor sometimes sends values to Juggluco between 57 - 64s depending on the reading of the sensor. I just commented this out in xdrip! Don’t know why it is still in there … |
Hi Blaqone, |
Hi @jamorham, would it be possible to enable 1 minute readings for libre2 direct Bluetooth connection? |
How do you backfill missed readings from Libre? I can't get that to work. Checking the according box in "Settings/Less common settings/Other misc. options doesn't do anything. Am I missing something? Is that only a OOP2 thing? Or is that incorporated only by using the "1 minute feature"? Sorry for asking here. I couldn't find a related discussion to ask or a way to contact you directly. |
NFC scan with patched app in this case, from memory. Note how some of the readings in the glucose data table are "native" and not on the 1 minuite time schedule. It is a while ago. I was using the actual patched app, not an emulation. Does juggluco not collect 3 values and backfill ? Some discussion here maheini/FreeStyle-Libre-3-patch#12 I also found "Skipped values, e.g. because you were too far away from your phone, will not be backfilled." |
juggluco can backfill in juggluco. But dev says, that sending those through "Libre2 patched" broadcast/source "does weird things in xDrip", so he disabled it in the brodcast. Do I understand right, that you're using Libre2 Sensor and source "patched app"? I never got that to backfill as well. Now, I'm on Libre3 and have to use juggluco via emulated "patched app" or "local Webserver". The local webserver seems to backfill but got other issues. |
I don't use patched app normally. I can see from what I wrote at the time about backfill but it may have been NFC scan I don't recall. |
Thanks for your reply. I will test the NFC scan option. BTW: To anyone reading here and having a clue: The developer of juggluco once asked me, if he could just send (historic) libre data through the dexcom source. |
xDrip was built on 5 minute intervals because that's what Dexcom does. |
I did the 1 minute testing for some days now, here's my feedback: It seems to work quite well.
All those things worked well and as expected. I didn't come across any inconsistencies or problems. And haven't noticed anything strange.
It does, as well as falling/rising fast. But those alerts are really annoying now, as they feel much more frequent within the same sequence now. I guess, it's got to do with new values coming in every minute. Beforehand you obviously couldn't be warned more often than every 5 minutes - now it seems much more frequent (It's a bit hard to really tell, as one can't/don't want to force those alarms for an extended time period). If I'm right, I think there should be a 5 minute interval (at least) on those alarms. Not an alarm with every new value.
The 1 minute intervals found their way into my nightscout without problems. They don't, if I broadcast from juggluco with local webserver - those values will be received/polled every 5 minutes only by xDrip (could we change that, please?) They do get backfilled into xDrip by the minute (roughly 15 minutes back max, though) but then don't get send to nightscout.
Not out of the ordinary. Other than the odd value missing inbetween. Probably because of the issue described further up by others. Other findings, questions, wishes.
|
I think this is "unfinished business" hence still an engineering mode function. Thanks for the feedback. I have observed that xDrip+ with Libre 2 picks up 45 minutes of backfill data via direct / OOP2 connection when the phone is switched on after being off for some hours. |
Over time we have been progressing to be able to support 1 minute readings. This work isn't complete but it is at the stage where users can test it out.
This currently only works with patched app data source but may be extended to other data sources as required.
To test this feature out: (use Feb 15th nightly onwards)
1 - Make sure to be using engineering mode https://github.com/NightscoutFoundation/xDrip/wiki/Engineering-Mode
2 - Make sure you are using the patched app data source
3 - Go in to xDrip main settings and search for
one minute
4 - Enable the one minute checkbox - be sure to read the associated warning
5 - Now you need to either force stop and re-open the xDrip app or reboot your phone to effect the change. The same is needed if you want to disable the feature again later.
Please observe how the app performs. Does everything work as you would expect?
Things to check:
graph smoothing
preference switch enabled.It is expected that this change will in its current form cause some problems. Please itemize anything you notice, with screenshots (if appropriate) The idea of user testing is to identify the best way to resolve these issues.
For example there will likely be a smoothing emitter which can receive data at any interval and then emit to services that can only accept 5 minute readings at that rate. This is work in progress still.
The text was updated successfully, but these errors were encountered: