Johan Degraeve
e1a9c04eb5
Loop share changes : get latest readings with timestamp > latest share. To make sure that's there's always 60 readings shared, the shared readings are stored in userdefaults (as array of dictionary), and will be reused next time that one or more new readings are shared. This will allow to update readings in coredata (due to smoothing algorithms), but still sharing the older values with Loop, and still making sure there's always 60 readings shared
2020-12-27 23:56:13 +01:00
Johan Degraeve
efda0d9742
Merge branch 'restrictreadings' into develop
2020-12-27 21:55:03 +01:00
Johan Degraeve
09f0d09492
removed test from RootViewController, was a leftover
2020-12-27 16:55:16 +01:00
Johan Degraeve
6315ca532a
Merge branch 'checkflatvalue' into develop
2020-12-27 16:54:19 +01:00
Johan Degraeve
e8318764d6
Check for flat values : which happens in case the sensor is defect (or expired ?) and gives always exactly the same value.
...
This check happens in the rootviewcontroller on the received array of GlucoseData, which means it will only apply to Libre, because in case of Dexcom there's only one reading in this array.
2020-12-27 16:49:13 +01:00
Johan Degraeve
f8f2446ad8
resolve merge conflict
2020-12-27 15:48:01 +01:00
Johan Degraeve
e66e1b2007
Libre 2, previousRawValues permenantly stored in UserDefaults. This to allow smoothing based on previous per minute values even though Libre 2 gives only readings for every 2 minutes (4 readings for the last 8 minutes). Smoothing itself is not yet applied.
2020-12-27 15:36:38 +01:00
Johan Degraeve
d04518ba85
removed the check on last shared reading or Loop, and sharing 12 readings now
2020-12-22 12:48:37 +01:00
Johan Degraeve
911e40185f
Libre, previousRawValues permenantly stored in UserDefaults
2020-12-19 23:03:36 +01:00
Johan Degraeve
e41d95bf2c
restrict readings to Loop, Nightscout, Dexcom Share, healthkit, etc.. to 1 reading - specificially important for Libre 2 as this one gives a reading every minute
2020-12-19 10:58:11 +01:00
alekst1d
63aa9f7f21
use https://www.glucose.space instead of http://www.glucose.space (SSL) for OOPWeb Service
2020-12-16 23:48:21 +01:00
alekst1d
ce214b7316
don't show Nighscout API Secret and Dexcom Share password in plain text on the settings screen
2020-12-16 23:33:12 +01:00
Johan Degraeve
4e90f7fc8c
fix #152 Allow different nightscout port
2020-12-16 22:54:43 +01:00
Johan Degraeve
b9bcffdacc
fix #148 show battery level in NightScout
2020-12-15 23:26:27 +01:00
Johan Degraeve
b552ec47b6
if sensor active, and user swithes from master to follower, confirmation will be asked, because switching from master to follower stops the active sensor
2020-12-13 10:56:18 +01:00
Johan Degraeve
e5d197d9d3
fix #118 - when using mmol, alarms and colors on home screen are inconsistent for the same mmol value
2020-12-12 21:56:42 +01:00
Johan Degraeve
052a1800a4
fix #126 - Enchance Calibration Warning, message adapted
2020-12-11 21:48:03 +01:00
Johan Degraeve
d0c996b58a
version 4.4.15 - build 4121
2020-12-10 22:45:17 +01:00
Johan Degraeve
2b77af6d52
Libre improvements
2020-12-10 22:13:46 +01:00
Johan Degraeve
bf3b5a9c70
Dexcom G5 battery read improvement, when forcing disconnect (or stop scanning) or when deleting the transmitter, then timeStampOfLastBatteryReading is set to nil, so that when either reconnecting or recreating, battery read will be forced. Also changes the disconnect method in BluetoothTransmitter, removing unused code
2020-12-09 22:08:57 +01:00
Johan Degraeve
7bea238e9e
DexcomG5, battery read every 2 hours iso 48 hours
2020-12-08 09:17:57 +01:00
Johan Degraeve
2915a11c9b
Libre improvements
2020-12-07 23:28:28 +01:00
Johan Degraeve
8bd2d07efb
Libre 2 direct. Not for use yet. Requires first to hard code in RootViewcontroller :sensorid, patchinfo, unlockcode and unlockcount. This info can be read eg via DiaBLE.
2020-12-05 23:28:28 +01:00
Johan Degraeve
479d5316b9
minor change in comments
2020-12-05 22:49:33 +01:00
Johan Degraeve
18464b2d84
reremoved the offset in LibreReadings to improve the smoothing result, as it's not working correctly, and probably no added value
2020-11-30 20:50:15 +01:00
Johan Degraeve
a4d2049190
version 4.4.14 - build 4120
2020-11-29 22:56:55 +01:00
Johan Degraeve
3d0b211c27
Libre smoothing, option to delay the readings. Doesn't give good results so it's disabled
2020-11-29 22:56:14 +01:00
Johan Degraeve
1adabeab42
fix in BgReadingsAccessor, function get2LatestBgReadings
2020-11-29 16:23:27 +01:00
Johan Degraeve
4795a6c746
when checking lastreading timestamp, ignore the sensor id, otherwise if user changes eg from oop web to non-oop web, 8 hour values are added again - this is not done anymore with this change
2020-11-28 20:58:18 +01:00
Johan Degraeve
6ee76f1766
version 4.4.13 - build 4119
2020-11-28 00:06:29 +01:00
Johan Degraeve
70d5698a75
change in how diff between latest and latest but one reading is calculated. Latest but one must be at least 4.5 minutes earlier. This will only affect Libre
2020-11-27 21:53:31 +01:00
Johan Degraeve
fa34033b2f
Libre smoothing improvements
2020-11-26 21:38:09 +01:00
Johan Degraeve
d2e3b9b340
version 4.4.12 - build 4119
2020-11-22 21:24:38 +01:00
Johan Degraeve
921867e2e1
Libre smoothing, added a second layer of smoothing, this time on the per 5 minutes readings
2020-11-20 23:39:16 +01:00
Johan Degraeve
71aa17360a
removed unused debugging in CGMMiaoMiaoTransmitter
2020-11-14 21:40:28 +01:00
Johan Degraeve
34324c4203
removed all timeStampLastBgReading in transmitters, as it's not used anymore since changes done for smoothing
2020-11-14 21:20:06 +01:00
Johan Degraeve
5901e4eaa1
Libre fix for determinining history reading timestamps
2020-11-14 19:06:48 +01:00
Johan Degraeve
980b2272ed
Smoothing Libre, more info https://github.com/JohanDegraeve/xdripswift/wiki/Libre-value-smoothing
2020-11-13 17:45:21 +01:00
Johan Degraeve
06080196df
version 4.4.11 - build 4118
2020-11-08 22:13:21 +01:00
Johan Degraeve
ec6e3b985c
fix for libre smoothing
2020-11-07 15:28:38 +01:00
Johan Degraeve
70c58de2a9
add reference to wiki page for Libre smoothing
2020-11-05 20:46:56 +01:00
Johan Degraeve
8c244dfe8c
Libre value smoothing can be enabled/disabled via developer setting
2020-11-04 20:58:15 +01:00
Johan Degraeve
5e11bb779e
Libre value smoothing using Savitzky Golay filter
2020-11-04 20:47:39 +01:00
Johan Degraeve
948dbcf956
version 4.4.10 - build 4117
2020-10-30 20:28:09 +01:00
Johan Degraeve
33dca36661
minor improvement
2020-10-29 21:20:21 +01:00
Johan Degraeve
5de29c6dcc
removed class LibreRawGlucoseData, replaced by GlucoseData
2020-10-28 20:54:47 +01:00
Johan Degraeve
2a3927ee27
version 4.4.9 - build 4116
2020-10-28 00:05:09 +01:00
Johan Degraeve
4b710262df
requesting new reading when oop web offline is switched on or off
2020-10-27 23:54:49 +01:00
Johan Degraeve
8a17de228f
version 4.4.8 - build 4115
2020-10-27 23:49:57 +01:00
Johan Degraeve
3bcfc3033b
where TimeInterval init is used, convert parameter first to Double, because there seem to be some crashes occuring on those lines
2020-10-27 21:40:57 +01:00