05-11-2018 13:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-11-2018 13:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi, How can I use the sensors to detect sleep and or wake up of the user?
My Fitbit app would need to use this data. Any help would be great!
Many Thanks,

05-11-2018 13:57
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-11-2018 13:57
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
https://dev.fitbit.com/build/reference/web-api/sleep/ here you can find all of the informations about sleep api. Basically you need to make a fetch to get the data about a user.

05-11-2018 14:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-11-2018 14:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@Peteski Hi, you can find all of the information about sleep API here : https://dev.fitbit.com/build/reference/web-api/sleep/ . Hope it helps you.

05-12-2018 12:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-12-2018 12:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi,
I think in changes of the HRV and how long the same HRV is.
Maybe only possible with real time data of the heart rate sensor.
I guess Fitbit uses similar method for the sleep stages.
Regards
Mark

05-12-2018 17:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-12-2018 17:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks !

05-13-2018 01:10 - edited 05-13-2018 01:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-13-2018 01:10 - edited 05-13-2018 01:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi,
will you try something like that?
Or what is your plan?
Hopefully we will have one day accurate sleep stages.
But I also look for information to create that by myself, maybe with more detail and HRV.
Best regards,
Mark

05-14-2018 10:53
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-14-2018 10:53
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Is the sleep API problem fixed.
Can't see that confirmation.
(Have still problems with my sleep stages and there is no solution from support)
Thank you.
Regards
Mark

