Comments (35)
Done and the pill still showed nothing so updated to latest xdrip+ version and we have movement. Pill displays the 3% still but it does now when hovering over it display both Sony with correct % and wixel at the 3%
from xdrip.
Can you describe your setup in detail, which hardware components are you using? The later versions support uploading of multiple battery status for different devices and nightscout shows the lowest of these in the battery pill.
from xdrip.
Dexcom G4 with Xdrip bluetooth wixel in form of the xdrip kit. Sony Z3 compact running android 6.0.1
from xdrip.
issue is with using version 1704030800 Xdrip +
from xdrip.
Is there a possibility that, for example, your bluetooth wixel was reporting a battery level of 2% ? Does the battery % indicator normally work with that device? Is it running xBridge firmware?
from xdrip.
not running xBridge firmware but it could be thinking it's the wixel power although I know it's got far more than 2% power at the moment due to recharging schedules.
from xdrip.
So you have rolled forward again to 1704030800 which was problematic for you? And now you're seeing the battery status you would expect?
from xdrip.
Hi Sorry yes is was 1704030800 that introduced the issue for me, rolling back to 1701201513 resolved the issue and battery level for uploader is reporting correctly on NS site
from xdrip.
But now it is working correctly on 1704030800 ?
from xdrip.
Sorry for earlier confusion on my posts as got the version numbers the wrong way. On the 1704030800 the battery status is stuck. Works fine on 1701201513
from xdrip.
Okay, if you upgrade again to the latest version (you should find it in your downloads folder) when you see the stuck at 2% on Nightscout battery pill, can you hover your mouse over it and see a description of multiple battery readings like as shown in this screenshot?
https://www2.pic-upload.de/img/33033744/xdrip-nightscout-batterie-status.jpg
If you do get the description text, can you tell me what items you have and what battery % levels they are at. Thanks.
from xdrip.
No worries, will get on it within next 20 minutes
from xdrip.
nothing happens when I roll mouse over pil in either version
from xdrip.
Maybe this helps, If I enable 'display bridge battery' in less common settings it shows on screen of uploader at - yes you've guessed it 2%
from xdrip.
@jamorham I also see nothing when I hover over the battery pill. Should I not see the watch (as bridge_battery) and the phone? It only shows phone. Just took a look at NightscoutUploader.java and see that it only loads on DexCollectionType.hasBattery()
which does not include DexcomG5. I guess we need to change the condition in NightscoutUploader.java to:
if (DexCollectionType.hasBattery() || (Home.get_forced_wear() && DexCollectionType.getDexCollectionType().equals(DexCollectionType.DexcomG5))) batteries.add("Bridge");
When I add that, NS does indeed display the wear battery now but not the phone! On hover, nothing happens. The JSON that gets sent is:
{"device":"samsung SM-N910V","uploader":{"battery":97}} {"device":"DexcomG5","uploader":{"battery":99}}
So xDrip+ does send multiple uploader batteries but it appears my NS site only displays the last entry.
from xdrip.
I'm on Nightscout version 0.9.0
from xdrip.
Okay thanks for that @kskandispersonal I'm on 0.9.2 and I don't see the hover text either but when I asked about this in the nightscout channel I was sent the screenshot I linked to above which is from 0.9.1-dev Its my understanding that it is supposed to show the multiple battery statuses.
from xdrip.
@jamorham Okay. I haven't checked the nightscout channel in a long while. I don't see any pref that would enable multiple batteries. I think we should add that code snippet to NightscoutUploader in any case, don't you think?
from xdrip.
@kskandispersonal If you're forwarding the wear battery and treating it as the bridge battery in the case of forced wear with G5 then yes it makes sense to add the condition you suggested to get the wear battery uploaded as well.
The original problem appears to be that the xdripkit bridge device is stuck reporting a 2% battery life but a secondary problem is that this isn't clear in nightscout as the hover text isn't showing the breakdown of each entry.
What I don't know yet is whether that is a nightscout issue or something to do with the format of the data xDrip is uploading to nightscout which is preventing it showing the detailed view.
from xdrip.
If there's anything you want me to try out at all to help just let me know.
from xdrip.
@jamorham Yes, we are forwarding the wear battery data and treating as the bridge battery for forced wear with G5. We also performs the checkBridgeBattery()
on it.
from xdrip.
@DooDah how do you feel about installing the xBridge firmware on your xdripkit device? You should be able to do this without changing any of the soldering. I'm hoping this will resolve your battery status issue.
from xdrip.
I can certainly give it a go. Looking likely a sensor change is imminent so might get on it this afternoon.
from xdrip.
Wixel flashed with xbridge (at least I think!) seems to have connected to uploader and and have made sure that's on the latest release so will keep you posted after new sensor is inserted and we are rock and rolling again.
from xdrip.
@jamorham new sensor started and on latest release downloaded today still showing in the pill on NS what it thinks the wixel battery status is not the actual uploader status. Will try rolling back to older version to see if issue goes away again.
from xdrip.
Yep back to displaying uploader status after rollback to earlier version.
from xdrip.
@kskandispersonal has tracked this down and as a first step, can you try setting: DEVICESTATUS_ADVANCED
to true
in your environment variables for nightscout? You should then see all your devices when you hover over the battery pill in nightscout.
from xdrip.
I assume as that variable appears to be missing from his NS site that I should add that under app settings in Azure as a new line? I've done that and deleted existing documents in the admin panel so I'll report back after a couple of updates to see if anything has changed. I did roll back to the earlier version of xdrip+ though so we could keep seeing the correct battery level and I did reflash the wixel with the standard xdrip firmware as the xbridge seemed to use more battery as it ran out unexpectedly
from xdrip.
Yep, under Applications Settings, create the new setting, DEVICESTATUS_ADVANCED, with value, true.
from xdrip.
Okay so I think the issue still remains that you're getting a reported bridge battery, but that your bridge battery indication value is bogus and is still causing confusion on nightscout.
I think for this circumstance I will need to implement a mechanism to ignore the battery value coming from xbridge. I haven't yet thought of any clever automated way of doing this reliably without increasing the complexity of the settings pages.
I'm a little surprised though because I run xbridge without any battery monitoring circuit and mine just always is reporting at 100% so I don't know why yours is stuck at 3%
from xdrip.
I always like to provide a challenge 😊
from xdrip.
Okay, so the 25th April Nightly contains a new option within Cloud Upload
-> API Upload
-> Extra Options
which is a checkbox for Upload bridge battery
which you can uncheck if your bridge battery sensor is broken and this should stop it being uploaded to Nightscout.
It may take approx 30 minutes before nightscout expires the old data. Please let me know if this works for you.
from xdrip.
from xdrip.
Done and option unchecked. Will report back in a couple of hours to see what's occurring.
@jstevensog I only use a xdrip setup with xdrip firmware so don't know if that makes a difference. This battery issue uploading issue only appeared recently.
from xdrip.
I can confirm that unchecking the option has done the trick. Really appreciate your help on tracking down this and sorting it out.
from xdrip.
Related Issues (20)
- G7 backfill limited to 3 hours
- xDrip ignores battery voltage warning level adjustments for G7 HOT 1
- Libre3 Webfollower: beonlabs community script for Web Follower is not available HOT 4
- Vehicle mode does not stop after bluetooth is disconnected, causing 'speak readings' to continue. HOT 9
- Remove duplicate Norwegian language in Crowdin and xDrip+ HOT 24
- Number wall on lock screen got scrambled after recent Android 14 update HOT 15
- Invalid G7 start time sent to AAPS HOT 34
- Bluetooth may be disabled by airplane mode HOT 5
- Getting the Eversense CGM to work with Xdrip
- where is the wearos apk for xdrip in the newer versions HOT 1
- Procedure to get the "force update" of wearos component to update to the watch. HOT 1
- UiBasedCollector + Medtronic Minimed Mobile = 5-minute delay in xDrip when IoB != 0 HOT 2
- RFE: Insulin Pens - Changing insulin types
- xDrip can show an overlap when switching hardware data source HOT 6
- Always on Display not working while connected to Android Auto
- Carelink HOT 1
- Sensor error HOT 1
- Possible new serial number for Libre2
- Confirmation pop up before deleting an alert HOT 1
- NovoPen scanning inconsistent uploading to Nightscout HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xdrip.