Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AAPS a Garmin body battery #3522

Open
Tomchytil007 opened this issue Nov 11, 2024 · 4 comments
Open

AAPS a Garmin body battery #3522

Tomchytil007 opened this issue Nov 11, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@Tomchytil007
Copy link

Hi, I have a question about an upcoming AAPS version. We attended a training this weekend, where we were informed that connecting our Garmin watch with AAPS will be possible in the next update. This would allow the AAPS algorithm to access data like heart rate and step count, and based on this information, the algorithm could potentially adjust insulin settings accordingly.

My question is whether it will also be possible to import data on metrics like body battery or sleep quality. After a poor night’s sleep, my son is often more fatigued, and his response to insulin can differ from usual.

Milos Kozak mentioned that the key question is whether Garmin can send this additional data outside of its own app, or if only data like heart rate and step count can be shared.

Thank you.

@MilosKozak
Copy link
Contributor

@swissalpine
Copy link
Contributor

swissalpine commented Nov 11, 2024

I would like to say in advance that, from my own experience, I don't consider the sleep values to be very meaningful (I repeatedly find measured values that claim poor sleep, which definitely didn't happen and vice versa), and what's more, I'm annoyed that I can't deactivate this function because it modifies my training suggestions in a bad way.
Irrespective of this, it is certainly possible to transmit these values, but the logic that would then have to be behind it in order to reinterpret these values in profile adjustments, ISF adjustments or similar is not trivial, very individual and - in my opinion - hardly mapped by algorithms.
Also, only the body battery could be transferred, but this changes from minute to minute and decreases throughout the day ...
Maybe @robertbuessow sees it differently, but I don't see it as a valid approach.


There is also (my) minority opinion that an increased pulse rate should not have any effect on the therapy! A high pulse rate can also be observed in stressful situations (exams, anger, etc.) that are not accompanied by exercise. In contrast to a high pulse rate due to exercise, the sensitivity is reduced in this case and resistance may be observed due to the adrenaline. The same can happen in the case of illness (increased pulse and increased resistance), here too in contrast to sport: here a high pulse leads to a higher insulin sensitivity. But at the same time a very high pulse rate (keyword: anaerobic stress) in turn leads to resistance.
Since AAPS will not recognize why a pulse is elevated, I do not consider both pulse and body battery to be a sensible approach.

@buessow
Copy link
Contributor

buessow commented Nov 13, 2024

I agree that it's rather unlikely that the body battery will help. There is a chance that it helps with detecting long term higher insulin sensitivity because of sports but I think that's rather unlikely.

@MilosKozak MilosKozak added the enhancement New feature or request label Nov 13, 2024
@tim2000s
Copy link
Contributor

tim2000s commented Dec 30, 2024

Based on manually observed data, the most useful information from watches in general is:

Step count
Sleep hours
Heart rate

I put heart rate last because, as others have said, it needs to be used in conjunction with other factors to better indicate real information.

Step count is useful for identifying inactivity, and modifying profile accordingly, but is generally too late for notification of activity, other than indicating when activity is finished and how long to leave an adjusted profile in place for after activity. In conjunction with heart rate, these modifications can be improved.

Finally, sleep hours rather than sleep quality data, seems to provide a more reliable indicator of likely effects the following day, however, so far the only way I've found to get that out of the Garmin app requires paying.

If @swissalpine can get to it then there's a pretty clear algorithm modification relating to profile % increase when sleep hours are less than n, where n is an individual user's minimum sleep hours.

There's also a relationship between multiple nights with sleep less than m (a different value to n on a per user basis) where profile % increases are required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants