Commit graph

12957 commits

Author SHA1 Message Date
t_j_s 913afcd289 Reverted sens logic back to original following feedback from users, with safety constraints included. 2022-02-25 06:03:54 +00:00
t_j_s 438faad4bb Reverted sens logic back to original following feedback from users, with safety constraints included. 2022-02-25 05:43:51 +00:00
t_j_s 304edd87eb Formatting fixes in sens logic 2022-02-20 16:06:34 +00:00
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 58d9ce78d7 Noticed typo in console logging line 310. Fixed. 2022-02-20 15:45:32 +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
Tim Street 5627f38f97
Merge pull request #3 from nightscout/dev
Dev
2022-02-20 15:26:56 +00:00
Milos Kozak d4b868b423 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2022-02-20 15:24:31 +01:00
Milos Kozak 8b74928422 prevent crash 2022-02-20 15:24:21 +01:00
Milos Kozak fef8421e79
Merge pull request #1338 from Andries-Smit/fix/nullable-resource-helper-get-string-args
fix rh gs with empty args
2022-02-17 23:50:07 +01:00
Andries Smit c192b48968 fix rh gs with empty args 2022-02-17 23:44:55 +01:00
Milos Kozak 0aa34a3fb4 3.0.0.1-dev-a 2022-02-17 22:16:10 +01:00
Milos Kozak 3ef758d4cf
Merge pull request #1325 from nightscout/DynamicISF
Dynamic ISF
2022-02-17 21:28:43 +01:00
Milos Kozak dc5846daf9 AutoISF -> DynamicISF 2022-02-17 21:08:50 +01:00
Milos Kozak de2b21a806
Merge pull request #1333 from swissalpine/patch-5
On click icons in a row above cancel/ok
2022-02-17 21:07:58 +01:00
Milos Kozak cf7773bda4 DynamicISF: show on overview 2022-02-17 20:28:28 +01:00
Milos Kozak 857ab4a4c0 Dynamic ISF safety update. replace #1334 2022-02-17 18:43:19 +01:00
swissalpine 09e818c8f9
Size specifiactions for checkboxes
Unfortunately, I had forgotten the new size specifications when revising ...
2022-02-17 15:48:53 +01:00
swissalpine e592632808
Switch to checkboxes 2022-02-17 15:12:46 +01:00
swissalpine 9d9cda6101
On click icons in a row above cancel/ok
If you like it, you can merge it.
This should be the layout shown in
https://github.com/nightscout/AndroidAPS/issues/1330
2022-02-17 12:13:43 +01:00
Milos Kozak e491a46f52
Merge pull request #1329 from Andries-Smit/feat/safe-get-string
Resource helper safe get string
2022-02-17 12:10:30 +01:00
Milos Kozak 8c6206ce73
Merge pull request #1331 from nightscout/dependabot/gradle/dev/dagger_version-2.41
Bump dagger_version from 2.40.5 to 2.41
2022-02-17 12:06:04 +01:00
dependabot[bot] a92b3227e1
Bump dagger_version from 2.40.5 to 2.41
Bumps `dagger_version` from 2.40.5 to 2.41.

Updates `dagger-compiler` from 2.40.5 to 2.41
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.5...dagger-2.41)

Updates `dagger-android-processor` from 2.40.5 to 2.41
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.5...dagger-2.41)

Updates `dagger` from 2.40.5 to 2.41
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.5...dagger-2.41)

Updates `dagger-android` from 2.40.5 to 2.41
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.5...dagger-2.41)

Updates `dagger-android-support` from 2.40.5 to 2.41
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.5...dagger-2.41)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android-processor
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android-support
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-17 08:08:25 +00:00
Milos Kozak f9fd899a4d SMB: fix basal rounding 2022-02-16 21:52:05 +01:00
Andries Smit cb248a1bf0 core: resource helper get string fallback with log 2022-02-16 14:40:09 +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 540aa1e78e
Merge pull request #1319 from nightscout/dependabot/gradle/dev/androidx.wear.tiles-tiles-1.0.1
Bump tiles from 1.0.0 to 1.0.1
2022-02-14 17:37:03 +01:00
Milos Kozak edcf009431
Merge pull request #1320 from nightscout/dependabot/gradle/dev/com.google.code.gson-gson-2.9.0
Bump gson from 2.8.9 to 2.9.0
2022-02-14 17:36:48 +01:00
dependabot[bot] 2d7f72d024
Bump gson from 2.8.9 to 2.9.0
Bumps [gson](https://github.com/google/gson) from 2.8.9 to 2.9.0.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.9...gson-parent-2.9.0)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 08:08:33 +00:00
dependabot[bot] 6c2e902d9e
Bump tiles from 1.0.0 to 1.0.1
Bumps tiles from 1.0.0 to 1.0.1.

---
updated-dependencies:
- dependency-name: androidx.wear.tiles:tiles
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 08:08:21 +00:00
Milos Kozak b1d45833c5 RL: check for permission before connect 2022-02-13 22:13:02 +01:00
Milos Kozak 37f7049a9b gradle 7.1.1 2022-02-13 21:43:28 +01:00
Milos Kozak 8486277622 MDT: fix TBR duration 2022-02-13 20:00:12 +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
Milos Kozak a743a81c8d
Merge pull request #1317 from Andries-Smit/wear/tile-quick-wizard
Wear: tile quick wizard
2022-02-13 18:21:25 +01:00
Andries Smit 6bc4ed2a4d wear: fix conflict gradle 2022-02-13 16:09:31 +01:00
t_j_s da0eef1a42 Fixed a typo in TDDAIMI7 2022-02-12 19:57:53 +00:00
t_j_s 7c3480b6d0 Allows use of basal if TDD7 is not available from Database. 2022-02-12 19:57:53 +00:00
t_j_s 809827eb9e 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 >=0 positive, or eventual BG > target bg with negative delta, current bg is used, however, if delta is -ve, future bg is used.
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 2c7cf27047 wear: fixup wizard percentage 2022-02-12 09:30:54 +01:00
Andries Smit baf0784df8 Wear: send units wiz % preference to watch 2022-02-12 09:30:54 +01:00