Replies: 13 comments 2 replies
-
Yes! It would be great to use it with smart scales for ex. |
Beta Was this translation helpful? Give feedback.
-
HealthKit integration is tough because we can only access the data when the phone is unlocked, so updates being pushed to sensors would be few and far between... |
Beta Was this translation helpful? Give feedback.
-
Not exactly HealthKit, but... Pedometer data is now in 2.0 via 47fed92. The data includes:
|
Beta Was this translation helpful? Give feedback.
-
Also, revisiting the specific request for HealthKit, since this was first requested Apple has published some documentation around getting approval for Health stating: So i'm going to close this issue. Sorry y'all! |
Beta Was this translation helpful? Give feedback.
-
For people who are looking for a solution to get Home Assistant sensor data to the iOS Health app: you can use Shortcuts on iOS with the render template task to get a value out of Home Assistant and use an Health app task to get the data in the iOS Health app. Only disadvantage is that you have to manually approve the execution on your phone or have to manually execute the shortcut. Personally I would prefer to have all my data in Home Assistant but it won't work because iOS Health is too much integrated with the Apple Watch and I can't track my activities in Home Assistant (except for now reading some basic sensors like steps, stairs). So: what if we would make a dedicated Home Assistant health app (also for watch) to track this data and store the data in Home Assistant and optionally sync it with the Health app. |
Beta Was this translation helpful? Give feedback.
-
You no longer have to manually approve the execution or manually execute the shortcut. You can now make shortcuts with the Shortcuts app that will run in the background at certain times or under certain conditions occur (e.g., you arrived at home, you opened a certain app) which will run without any manual approval. They do make a pop-up notification occur on the phone showing that they occurred, but they will occur without any personal interaction. |
Beta Was this translation helpful? Give feedback.
-
I'm all for this. I would really love to get at this data easily.
There are many, many apps in the app store that access Apple Health data which are not primarily health or fitness apps--they are instead apps that are used to monitor info from your phone, a few of them being specifically to get that data off the phone and onto a server or computer elsewhere (including information such as phone location, gyroscope information, elevation, battery life, etc., so not primarily health apps, and not advertised primarily as health apps. Even the precursor to the Apple Shortcuts app, which was not made by apple, accessed Apple HealthKit data and was certainly not a health or fitness app. |
Beta Was this translation helpful? Give feedback.
-
Second this, if the iOS HomeAssistant app could retrieve health data and display it in the app, I think there's a case to be made that this would qualify for the entitlements to retrieve health data. |
Beta Was this translation helpful? Give feedback.
-
@robbiet480 Can we reopen this issue? I think it's clear now that the problem that lead you to close this is no longer an problem. |
Beta Was this translation helpful? Give feedback.
-
I'll convert this to a feature request discussion, but keep in mind: the only way to know whether Apple would permit it is to build it and pray. That's sometimes worthwhile (it's the approach I did with the focus sensor, which we are using out of the norms) but it's also sometimes just a mentally draining exercise. |
Beta Was this translation helpful? Give feedback.
-
There is a way to do this via a 3rd party app & node-red, I'm setting this up for myself now: Also, check the comments; @wivaku provided some alternate scrips for data transformation. I bet all one would need to do is write an app like Auto Export and submit it for Home Assistant if we wanted something "native". I also personally want to use the Emotibit (https://www.emotibit.com) and Crown EEG device (https://neurosity.co/tech-specs) and collect data. I'm not sure if the author is around, but it could be worthwhile to convert the blog post into a wiki somewhere on the Home Assistant project so others can contribute code and collaborate on node red flows |
Beta Was this translation helpful? Give feedback.
-
I'm all for Healthkit integration with Home Assistant. Just putting my hand up in here. |
Beta Was this translation helpful? Give feedback.
-
Health Auto Export will have native export to HA in the upcoming release. |
Beta Was this translation helpful? Give feedback.
-
I think it would be pretty nice to expose data fields from HealthKit to Home Assistant as sensors via the app. I'd be willing to put some time into it myself, if this indeed a wanted feature.
Beta Was this translation helpful? Give feedback.
All reactions