AndroidAPS icon indicating copy to clipboard operation
AndroidAPS copied to clipboard

I would like to see Google Health Connect integration

Open FreDiabetics opened this issue 9 months ago • 1 comments

Google Health connect could be a nice enhancement in future AndroidAPS versions.

https://developer.android.com/health-and-fitness/guides/health-connect/develop/get-started?hl=en

FreDiabetics avatar Apr 19 '25 17:04 FreDiabetics

Why you ask? It offers a convenient way to work with health data from different sources. Juggluco can already send BG to it (I don't know how useful that detour would be, though). Heart-rate and steps are already being implemented in AAPS - I think Health Connect could help streamline that process. From what I've read, I'm sure connecting a period tracker to AAPS would be a really good idea.

I picked some example permissions which are self-explanatory; detailed info can be found here: https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/package-summary#classes

<uses-permission android:name="android.permission.health.READ_ACTIVE_CALORIES_BURNED"/>
<uses-permission android:name="android.permission.health.READ_BLOOD_GLUCOSE"/>
<uses-permission android:name="android.permission.health.WRITE_BLOOD_GLUCOSE"/>
<uses-permission android:name="android.permission.health.READ_DISTANCE"/>
<uses-permission android:name="android.permission.health.READ_ELEVATION_GAINED"/>
<uses-permission android:name="android.permission.health.READ_EXERCISE"/>
<uses-permission android:name="android.permission.health.READ_FLOORS_CLIMBED"/>
<uses-permission android:name="android.permission.health.READ_HEART_RATE"/>
<uses-permission android:name="android.permission.health.READ_MENSTRUATION"/>
<uses-permission android:name="android.permission.health.READ_STEPS"/>
<uses-permission android:name="android.permission.health.READ_WEIGHT"/>

Gohtraw avatar Apr 27 '25 01:04 Gohtraw

Yes I agree having Google Health connect in the Data source would be very help full

Electrik-rich546456 avatar Dec 04 '25 12:12 Electrik-rich546456

GadgetBridge is bringing Health Connect support soon. If AAPS is able to consume it, it brings a lot of devices to AAPS. Please consider adding support.

Thomas-git avatar Dec 09 '25 11:12 Thomas-git