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.
10-20-2021 08:51
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.
10-20-2021 14:53
10-20-2021 14:53
Hi Rummi,
Typically, the sleep log with the longest sleep of the day will contain isMainSleep = true.
Gordon