Completed

:iphone:

Sleep from Apple Health

117 votes

Tagged as Mobile

Created 05 February 2016 by Josh Sharp

Moved into Completed 23 May

  • Sign in to comment. Sign in with Google
  • avatar
    Josh Sharp

    See here http://blog.hellocode.co/post/apple-health/#sleep-data for why we’re holding off on this. We’ll review periodically and implement this if/when the situation changes.

    06 February 2016
  • avatar
    Oli ISaac

    In my opinion, while it would certainly be better if all apps shared data properly with apple health, integration with exist would still be useful. Sleep Cycle, one of the App Store “essentials” has just started sharing data properly.

    08 March 2016
  • avatar
    Belle B. Cooper

    @oliisaac Thanks for pointing that out. Seems like they’ve corrected the problem. I’ll test it out to confirm that it’s fixed, and then we’ll reconsider whether we can go ahead with this feature.

    08 March 2016
  • avatar
    Tomáš Baránek

    Great!!

    08 March 2016
  • avatar
    Ben Cashman

    This would be ace, as we could connect a myriad of sleep tracking apps into it then! Yes please.

    31 July 2016
  • avatar
    Anders Hafreager

    I’m not sure if Apple changed this in iOS 10, but now there are three different sleep modes (seems like it has been like this since iOS 8): https://developer.apple.com/reference/healthkit/hkcategoryvaluesleepanalysis/

    inBed, asleep and awake.

    In my data written by Sleep++, an entry looks for instance like this:

    So it seems like Apple has this pretty well defined now?

    13 September 2016
  • avatar
    Belle B. Cooper

    @andershafreager1 I think you’re right, these options were always part of HealthKit. The problem isn’t that Apple hasn’t clearly defined the data, it’s that Apple doesn’t require more than one type of data. So apps can put 8 hours of time asleep into Apple Health, without adding any time in bed. Or they put both time in bed and time asleep into Apple Health with the same values. That data is useless, because we all know the time you spend in bed trying to sleep is never exactly the same as the time you spend asleep.

    I believe Sleep++ has improved its data, and now has different values for time in bed and time asleep. Last time I checked, no other apps had done this, but I’ll definitely test them all when I get to this again in the future.

    14 September 2016
  • avatar
    Tomáš Baránek

    @bellebethcooper What about concentrate on the best sleep gadgets which really work? E.g. Beddit. Their data are very good and have real correlations with sleep. Who is serious about measuring their sleep, should use it. I like Sleep++ but the data are not so reliable as Beddit and all the workflow around preparing Watch for measurement is annoying and terrible. My personal correlations between beddit sleep score (especially length of sleep and HR) and my mood/concentration etc. are really high. Using Exist without sleep data is a bit nonsense. Sleep is essential for everyone especiall in long term.

    14 September 2016
  • avatar
    Belle B. Cooper

    @tombarys As you can see on the Beddit card, it doesn’t have many votes: https://trello.com/c/QYlg5fQX/61-beddit-smart-21-votes

    Since we started this Trello board, Beddit has only garnered 5 votes while Apple Health sleep data has 35. If it was more popular we’d look into integrating Beddit, but we have to do integrations that offer the most value for the most users.

    If you haven’t voted up the Beddit card already, feel free to do so!

    14 September 2016
  • avatar
    Tomáš Baránek

    @bellebethcooper Sorry for misunderstanding, Apple HealthKit sleep integration is what should be done first. The Beddit plea was just about it really measures and it is important for other variables in correlations! Best

    14 September 2016
  • avatar
    Belle B. Cooper

    @tombarys Sure, I definitely think a lot of the data in Apple Health that’s tracked with phones or watches rather than dedicated hardware is mediocre or worse. Unfortunately, because it’s Apple, it’s also popular and convenient, so there’s a lot of expectation around supporting data from Apple Health, even if it’s not the best quality.

    14 September 2016
  • avatar
    Tomáš Baránek

    Ok, I understand. Thanks.

    14 September 2016
  • avatar
    shoukanjuu

    While I certainly understand the desire to avoid garbage data (hardware/apps that can’t or don’t differentiate between time in bed spent awake or asleep), that doesn’t seem like a good enough reason to ignore this data entirely (time spent in bed, awake or asleep, is still a significant behavior worthy of consideration). Couldn’t you just detect when the start of sleep session is identical to the start of time in bed, and then disregard it?

    28 December 2016
  • avatar
    Halsted Bernard

    Hi! Is there any update on this? I just switched from a fitness tracker to an Apple Watch and now I use an app (AutoSleep) to track my sleep. I understand about the concern regarding bad data. At the very least, I’d love the ability to track hours slept manually via the Exist app. Thanks!

    24 February
  • avatar
    Belle B. Cooper

    Hi Halsted,

    I’m working on this as we speak! I’m still testing, but I’m hoping it won’t be long before it’ll be ready for beta testing.

    27 February
  • avatar
    Belle B. Cooper

    Just to keep everyone updated, this feature has been in beta testing for a couple of weeks now. I’ve released 3 different versions including various improvements and bug fixes, and I’m hoping it’s very close to public release now.

    11 April
  • avatar
    Belle B. Cooper

    Final beta went out today, which means if no issues arise in this version then it’s the one that will be going live to the App Store. Hopefully not long now!

    12 April
  • avatar
    Belle B. Cooper

    This is now live! Thanks to all my beta testers for their help. Announcement here: https://exist.io/blog/apple-health-sleep-launch/

    23 May