Commit graph

7361 commits

Author SHA1 Message Date
t_j_s 035e9742af Use of calculation step reverted back to value / 60 * 5, as calculation step method was producing incorrect, very large numbers. 2022-02-20 15:58:06 +00:00
t_j_s b2e3399597 UPdated code to include rolling 24 hour TDD in TDD calculator; incuding updating the calculation steps code.
DYnamic ISF now based off rolling 24 hour TDD instead of estimated daily TDD in midnight to midnight period.
2022-02-20 15:43:45 +00:00
Philoul c216e41e1c New shortname for Dynamic ISF plugin 2022-02-20 11:53:06 +01:00
Edward Robinson 2eb5a4dc27 Making it so that the percentage increments by 5% each time rather than 1% 2022-02-18 11:35:11 -05:00
Philoul dc1706fde7 Add TT Icon + Improve IOB/COB 2022-02-17 22:26:12 +01:00
Milos Kozak 72d9dd398e Merge branch 'rxjava3' of https://github.com/nightscout/AndroidAPS into rxjava3 2022-02-17 21:48:47 +01:00
Milos Kozak e27bb2d04c Merge branch 'dev' into rxjava3 2022-02-17 21:45:20 +01:00
Milos Kozak dc5846daf9 AutoISF -> DynamicISF 2022-02-17 21:08:50 +01:00
Milos Kozak cf7773bda4 DynamicISF: show on overview 2022-02-17 20:28:28 +01:00
Milos Kozak 69a610b0e5 remove lastBolusNormalTime 2022-02-16 13:01:49 +01:00
Milos Kozak 842fea6ac2 proper use of calculationStep 2022-02-16 13:00:18 +01:00
Milos Kozak 8a19267a39 AutoISF -> separate plugin 2022-02-16 00:03:21 +01:00
Milos Kozak e32515a369 Merge branch 'dev' into DynamicISF 2022-02-15 20:25:30 +01:00
Milos Kozak 99a1253019
Merge branch 'dev' into rxjava3 2022-02-13 18:47:13 +01:00
Milos Kozak 286cf83215
Merge pull request #1306 from Philoul/Fix/WizardInfoMmol
Add forgotten units
2022-02-13 18:45:30 +01:00
Milos Kozak 07f530aa12
Merge pull request #1310 from Andries-Smit/a11y/apply-labels-numberpicker
A11y/apply labels number picker
2022-02-13 18:43:31 +01:00
t_j_s da0eef1a42 Fixed a typo in TDDAIMI7 2022-02-12 19:57:53 +00:00
t_j_s f98175755e Modified Master to replace profile sens with Chris Wilson's Dynamic ISF in OpenAPSSMB.
The rule of 277700 ISF using current BG is used for all predictions, while for dosing, if delta is =0 r positive, current bg is used, however, if delta is -ve, future bg is used.
2022-02-12 19:57:53 +00:00
Andries Smit 606a7d6c27 Add percentage in quickwizard 2022-02-12 09:30:55 +01:00
Andries Smit eda1c097a9 Wear: add pref sync maxCarbs maxBolus 2022-02-12 09:30:55 +01:00
Andries Smit 2013332d70 Wear: add explain message quickwizard 2022-02-12 09:30:55 +01:00
Andries Smit 0233db8226 Wear: ad quick wizard tile 2022-02-12 09:30:55 +01:00
Andries Smit baf0784df8 Wear: send units wiz % preference to watch 2022-02-12 09:30:54 +01:00
Andries Smit 6321758634 Wear: support tt presets 2022-02-12 09:30:51 +01:00
Andries Smit ad43f57f7f Wear: add tile tt and action with config 2022-02-12 09:30:50 +01:00
Andries Smit 2e5827f27f a11y: apply screenreaders labels for numberpickers 2022-02-12 08:26:07 +01:00
Philoul a3cae139c7 Add forgotten unit 2022-02-11 14:33:38 +01:00
Milos Kozak 34c4dc2a98 prevent NPE 2022-02-11 13:39:15 +01:00
Milos Kozak 22670943be
Merge pull request #1200 from Andries-Smit/a11y/overview
a11y overview screen reader accessibility
2022-02-11 12:14:00 +01:00
Andries Smit ebf943dd1e fix state enabled checkbox wizard 2022-02-11 10:58:23 +01:00
Andries Smit 0dce111e4e chore: fix merge conficts 2022-02-11 10:15:37 +01:00
Milos Kozak 738f30b1e6
Merge pull request #1301 from Philoul/Fix/WizardInfoMmol
Fix WizardInfoDialogMmol
2022-02-11 09:50:17 +01:00
Andries Smit 22a1a68e95 a11y add bg outdated state to description 2022-02-11 09:08:22 +01:00
Andries Smit e1e7b4a7a8 Improve screenreader accesibility 2022-02-11 09:06:35 +01:00
Milos Kozak 6499fe053f
Merge pull request #1253 from Andries-Smit/a11y/treatment-dialog
Improve a11y wizard dialog
2022-02-11 08:41:28 +01:00
Philoul c5d13147f3 Fix WizardInfoDialogMmol 2022-02-11 00:37:41 +01:00
Milos Kozak fa2029b9ca
Merge pull request #1264 from Andries-Smit/feat/status-light-icon
feat: show patch pump icon instead of cannula
2022-02-10 22:35:41 +01:00
Milos Kozak 064642339e
Merge pull request #1292 from Andries-Smit/new-profile-editor
profile editor add DIA and Target Chart
2022-02-10 22:25:24 +01:00
Milos Kozak 87c01a4ab4
Merge pull request #1300 from Andries-Smit/feat/list-group-by-date
Group lists treatments and BG by date
2022-02-10 22:19:13 +01:00
Andries Smit e71bf3f69b chore: use long label for profile configuration 2022-02-10 21:17:33 +01:00
Andries Smit d9ad3e35d9 chore: rewrite to use not function 2022-02-10 20:21:22 +01:00
Andries Smit a0fbf9ec96 Group list treatments and BG by date 2022-02-10 19:21:42 +01:00
Milos Kozak 0a39388f81 rxjava2 -> 3 2022-02-10 19:11:58 +01:00
Andries Smit f51df08c1f Add isPatchPump to pump description for Omnipod 2022-02-09 09:06:31 +01:00
Andries Smit 7410333177 Add profile chart trarget and dia 2022-02-08 20:14:44 +01:00
Andries Smit b6e2eaf0ef Moved area graph to core 2022-02-08 20:14:05 +01:00
Milos Kozak 3a1ca9e061
Merge pull request #1285 from BernhardRo/master
Fixes for issue [3.0.0] CGM Eversense integration does not work #1257
2022-02-07 15:53:22 +01:00
Milos Kozak 24a647d9a0
Merge pull request #1268 from Andries-Smit/fix/spacing-smb-script
fix strip duplicate spacing from smb debug script
2022-02-07 15:02:15 +01:00
Andries Smit 55927df935 chore: convert if to kotlin let 2022-02-06 19:50:39 +01:00
Andries Smit 6d9a6eb29f Bolus wizard show no action dialog 2022-02-06 19:50:39 +01:00
Andries Smit 43619b32f3 a11y improve wizard dialog 2022-02-06 19:50:39 +01:00
Bernhard 92d50ea9e5 Fixed Eversense reading
Integration of Eversense CGM was broken in AAPS 3.0.0. This fixes it.
2022-02-06 18:44:11 +01:00
Andries Smit bdf4df4bc3 Fix register carbs only treatment dialog 2022-02-03 21:33:56 +01:00
Andries Smit 36b6a6aee6 fix strip duplicate spacing from smb debug script 2022-02-03 13:01:14 +01:00
Andries Smit 58f418cd6c feat: show pod icon instead of cannula 2022-02-03 08:54:48 +01:00
Milos Kozak 479bfc4103 NSClient: enable sync controls without engineering mode #2 2022-02-01 21:55:55 +01:00
Milos Kozak b3e08c5096
Merge pull request #1260 from Andries-Smit/omnipod/hide-insulin-age-status
Feat: hide insulin age for omnipod
2022-02-01 21:04:55 +01:00
Andries Smit ebc0c5b836 Feat: hide insulin age for omnipod 2022-02-01 19:45:57 +01:00
Milos Kozak da9caa2b04 NSClient: enable sync controls without engineering mode 2022-02-01 18:48:31 +01:00
Milos Kozak cfe8c29f58 engineering_mode 2022-01-31 20:51:12 +01:00
Milos Kozak 8c28dd0f52 G6: ignore too old values 2022-01-30 19:59:44 +01:00
Milos Kozak 65eb96a580
Merge pull request #1235 from Andries-Smit/fix/carbs-event-time
Fix carbs event time
2022-01-30 19:52:17 +01:00
Milos Kozak f3c83ef582 fix local profile validation 2022-01-30 19:43:44 +01:00
Andries Smit c3e3444b07 Make back button close menu and return to home 2022-01-28 10:41:39 +01:00
Andries Smit 2705f3004a carbs dialog event time allign with time offset 2022-01-27 21:57:59 +01:00
Milos Kozak 900c5db0dc G6: calibration fix 2022-01-27 21:35:12 +01:00
Milos Kozak 74daf2e784 disable BOYDA calibration button 2022-01-25 17:58:02 +01:00
Milos Kozak 1aa4f7452c G6 calibration workaround 2022-01-24 22:32:03 +01:00
Milos Kozak 890cae381b Show IC and ISF graphs too 2022-01-24 17:04:14 +01:00
Milos Kozak 36030683be fix loop plugin TBR cancel 2022-01-17 12:54:10 +01:00
Milos Kozak 4fb1704912 Ignore exception without permission 2022-01-17 09:21:14 +01:00
Milos Kozak 686bd350c3 BgQuality: RED state from last 50 min, LGS only 2022-01-16 22:02:19 +01:00
Milos Kozak 57a6e6f119 Loop: fix canceling TBR 2022-01-16 16:01:17 +01:00
Milos Kozak 0603e741be G5: Fix double BG value after calibration 2022-01-14 18:19:05 +01:00
Milos Kozak f309f8136f Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2022-01-14 13:09:08 +01:00
Milos Kozak d7b822a436 cleanup 2022-01-14 13:08:28 +01:00
Philoul eb5a9aca55 Process Cob Click 2022-01-11 21:20:48 +01:00
Philoul 36cb37d9ac Allow click on new wizard icons 2022-01-11 21:04:43 +01:00
Milos Kozak fb799d8da6 BolusWizard: show icons based on checkbox selection in simple mode 2022-01-09 18:00:16 +01:00
Milos Kozak e6d3141ace Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2022-01-09 15:47:31 +01:00
Milos Kozak 68220e25a4
Merge pull request #1110 from erobinson/er-food-add-bolus-button
Add calculator shortcut to foods tab
2022-01-09 12:03:35 +01:00
Milos Kozak 4e36911ed8 Duplicated event 2022-01-07 21:48:26 +01:00
Milos Kozak b2bd7a7d21 Do not check for BT perm in NSC mode 2022-01-07 21:44:48 +01:00
Milos Kozak a1bc758596 reorder pumps in ConfigBuilder 2022-01-06 17:45:00 +01:00
Milos Kozak 54257ef6f0 RS,Rv2: warn if carbs are not stored 2022-01-06 17:34:04 +01:00
Milos Kozak 3a30f73aa1 Prevent Failed requirement 2022-01-06 12:11:53 +01:00
Milos Kozak 445b1bb6ae improve Android12 permision handling 2022-01-05 18:12:39 +01:00
Milos Kozak b5b6432b13 NSC: show n/a instead of zero when no queue data available 2022-01-02 15:18:50 +01:00
Milos Kozak faca82f6e8 fix bolus timer 2022-01-02 14:57:39 +01:00
Milos Kozak d2339f88c2 reorder only 2022-01-02 13:58:24 +01:00
Milos Kozak 7243f8fb66 fix setting equal basal profile 2021-12-30 22:50:03 +01:00
Milos Kozak 5d74f71d0a OBJECTIVES: Better detect existing BGs 2021-12-30 19:29:18 +01:00
Milos Kozak c22810736d
Merge pull request #1104 from Philoul/Fix/TreatmentProfileDialog
Fix Profile selected in ProfileDialog from Treatment
2021-12-30 18:54:01 +01:00
Milos Kozak 8eb707a4e3
Merge pull request #1109 from avereha/logging
Dialogs: add more logging
2021-12-30 18:53:45 +01:00
Milos Kozak 80e65824a3 Store key_boluswizard_percentage to RunningConfiguration 2021-12-30 18:46:30 +01:00
Milos Kozak 40864620e0 AUTOMATION: detect pending profile change 2021-12-30 18:03:43 +01:00
Edward Robinson 40e4054235 Adding ability to bolus from food 2021-12-29 12:59:02 -05:00
Andrei Vereha 5be29fde9c add logging 2021-12-29 16:50:32 +01:00
Milos Kozak aee036e200 scheduleReminder in seconds 2021-12-29 10:40:52 +01:00
Philoul 331b0ad340 Fix Profile selected in ProfileDialog from Treatment 2021-12-28 10:52:23 +01:00
Milos Kozak a487fea21e A12 permission 2021-12-15 18:14:13 +01:00
Milos Kozak 31a2a03efb BT: ask for permission at start 2021-12-14 16:45:41 +01:00
Milos Kozak 6fab15c82e Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2021-12-14 15:26:07 +01:00
Milos Kozak aad1e08c46 ECarbs: Allow remove carbs in the future 2021-12-14 12:03:28 +01:00
Milos Kozak 946081fb0e StringUtils -> kt 2021-12-13 17:31:48 +01:00
Milos Kozak 78c3810226 TimeChangeType -> kt 2021-12-13 16:55:47 +01:00
Milos Kozak 201a04bfbf Unify bluetooth, Android 12 permissions 2021-12-13 01:01:16 +01:00
Milos Kozak 1d31f14833 remove not used code 2021-12-12 10:15:47 +01:00
Milos Kozak acd6863461 new Dexcom package name 2021-12-11 22:38:00 +01:00
Milos Kozak dfb3bb06b1 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2021-12-11 22:35:35 +01:00
Milos Kozak 87b1a18a1d WizardDialog improvent 2021-12-11 22:15:58 +01:00
Philoul 7c4587f69f replace white by light grey for byoda CGM button 2021-12-11 13:02:38 +01:00
Philoul e6406bbaab Fix build 2021-12-11 09:16:37 +01:00
Philoul 2ae4cc3c03 Merge remote-tracking branch 'Nightscout/dev' into New/AddCorrPercentInWizard
# Conflicts:
#	app/src/main/java/info/nightscout/androidaps/dialogs/WizardDialog.kt
2021-12-11 02:33:41 +01:00
Philoul 17673a8ee3 Merge remote-tracking branch 'Nightscout/dev' into New/AddCorrPercentInWizard 2021-12-11 01:56:17 +01:00
Milos Kozak 17b4d6e7ed Wear: less static more injection 2021-12-10 15:19:19 +01:00
Milos Kozak 29559c0413 move SP to shared module 2021-12-10 12:17:03 +01:00
Milos Kozak 0a25fa3c9a share code between aap and wear 2021-12-10 08:58:23 +01:00
Philoul b05a9b7683 Remove rounding CalculatedCorrection 2021-12-09 23:50:55 +01:00
Milos Kozak fb2eaad1d2 eliminate numOfProfiles in ProfilePlugin 2021-12-09 14:49:10 +01:00
Philoul 88b2a8d0d7 Add selector to allow correction in percentage 2021-12-07 21:38:05 +01:00
Milos Kozak a83eb1c456
Merge pull request #1041 from Philoul/New/CGM_Icon_and_string
Use xDrip+ or Dexcom icon for CGM button (not only xDrip+ icon) + update preference strings
2021-12-07 10:00:31 +01:00
Milos Kozak 36a1fa15aa
Merge pull request #1042 from Philoul/Fix/FixTranslatedLoggingForCommandQueue
Add untranslated status for logging in Command interface
2021-12-07 09:58:39 +01:00
Philoul d6ade59cd3 Add untranslated status for logging in Command interface 2021-12-07 00:40:13 +01:00
Philoul 9145a11563 Simplify code 2021-12-07 00:02:58 +01:00
Philoul 61017e1b54 Set icon and text color in Overview according to MGC plugin 2021-12-06 23:48:40 +01:00
Philoul 7fc215db90 Add byoda icon for CGM button 2021-12-06 23:06:27 +01:00
swissalpine 98f2df943c
Allow/reenable the setting of TempTargets while pump is suspended or disconnected
Unfortunately, it is currently no longer possible to set a TempTarget when the pump is disconnected or suspended (TBR: 0%). This seems logical at first sight (why a TempTarget when the pump is not connected or the loop suspended!), but prevents many useful possibilities, namely when the TempTarget should be set immediately after the disconnection or suspension has expired.
An example of this are f. e. sport activities: To reduce IOB, I set a 0% TBR half an hour before sport for one hour with the function "pump disconnected", so that the associated 0% TBR continues for a while while sport starts. I also set a three hour Activity TempTarget. This continues to be active when the pump loops again with the pump disconnected time expired.
The fix allows/reenables setting a TempTarget even if the pump is suspended or disconnected.
2021-12-05 14:11:51 +01:00
Milos Kozak 2ec9517b02
Merge pull request #1030 from Philoul/Fix/UserEntryUnitsConvertion
User entry Add Glucose Value in TherapyEvents NSClient
2021-12-04 13:35:23 +01:00
Milos Kozak 4a899365db Poctech: fix unit conversion 2021-12-03 19:29:45 +01:00
Milos Kozak d7a4740e7d do not clear disk full message 2021-12-02 21:07:12 +01:00
Milos Kozak 9c09b3c526 better logs 2021-12-02 09:49:31 +01:00
Milos Kozak 6ba6cd6edd mark too close BG records 2021-11-30 22:03:19 +01:00
Philoul 9f6a2fcc4e Add BG value in CarePortal events 2021-11-30 21:55:24 +01:00
Milos Kozak 21818546e7
Merge pull request #1010
Fix user entry units convertion
2021-11-30 21:33:06 +01:00
Milos Kozak babbf8e7c9 hide controls if pump is disconnected 2021-11-30 21:21:30 +01:00
Philoul 98ef5768be Fix Calibration value in uel.log 2021-11-30 20:25:48 +01:00
Milos Kozak 85140a9c2e Loop cleanup 2021-11-30 17:08:31 +01:00
Milos Kozak 102f73fbc9 reset AS on PS instead of EPS 2021-11-29 23:13:52 +01:00
Philoul 009d428e89 Add glucose value for calibration (DexcomPlugin and GlunovoPlugin)
=> To review
2021-11-29 22:56:18 +01:00
Milos Kozak 370b504d74 improve notification dismiss 2021-11-29 22:36:20 +01:00
Milos Kozak ac62217984 allow bolus update in NSC mode 2021-11-29 19:06:04 +01:00
Milos Kozak 7f3f1c6c8b fix RandomBg start interval 2021-11-29 18:06:39 +01:00
Milos Kozak 3ee1a3a9d8 hide insulin plugin in NSClient mode 2021-11-29 17:26:29 +01:00
Milos Kozak 3739db489f Fix EB sync 2021-11-29 08:29:13 +01:00
Milos Kozak 28a6a0a8ab wrong logging tag 2021-11-28 22:40:33 +01:00
Milos Kozak 9ca1ab1f83 allow other kinds of identification 2021-11-28 18:20:52 +01:00
Milos Kozak 7374ff2eb1
Merge pull request #990 from 0pen-dash/avereha/hide-do-not-bolus
hide "do not bolus"
2021-11-27 23:15:13 +01:00
Milos Kozak 6095a29595 unify Handlers 2021-11-25 20:19:27 +01:00
Andrei Vereha 3dae8bfd6f hide the 'do not bolus' box 2021-11-25 19:26:43 +01:00