10-20-2021 08:25
10-20-2021 08:25
Hi, I am analyzing sleep data downloaded from fitbit API. There is a column called mainevent that has either TRUE or FALSE. I want to know the algorithm of how fitbit figures out which one is sleep main event (night sleep) or just a nap.
Best Answer10-20-2021 08:51
Diamond Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
10-20-2021 08:51
Hi @Rummi you posted this in the Blaze area of the forum and it's been moved to the Developer's area for API. You'll get better responses in this forum area.
Best Answer10-20-2021 14:53
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
10-20-2021 14:53
Hi Rummi,
Typically, the sleep log with the longest sleep of the day will contain isMainSleep = true.
Gordon