JohanDegraeve / xdripswift

xdrip for iOS, written in Swift
GNU General Public License v3.0
317 stars 313 forks source link

Use VoltageB instead of VoltageA for Dexcom Transmitter Battery Alarms #488

Closed MikePlante1 closed 6 months ago

MikePlante1 commented 6 months ago

Also change default alarm threshold to 260 (2600mV)

paulplant commented 6 months ago

Looks great!

LiroyvH commented 6 months ago

Nice! One more thing to cross off the list. :) Suggestion: wouldn't do 2600 as default, from a perspective of Anubis that's typically with only hours to days left and normal Dexcom transmitters don't very often go there. I'd just put it on 2700, once it starts dropping there it's usually time to start ordering batteries and sugru. 2650 may be doable as well.

I know the Dexcom defaults are 2600 low and 2400 critical, but bit earlier warning may be a good idea.

Also, beware: for reset transmitters this will trigger an alarm at reset point. (Might wish to ignore this and don't fire alarm if VoltB == 0mv)