lukas-clarke / eight_sleep

Home Assistant Eight Sleep integration that works with Eight Sleep's new API and OAUTH2
MIT License
62 stars 11 forks source link

Sleep stages #30

Closed fstolze closed 1 month ago

fstolze commented 1 month ago

Sleep stages are documented in the project as unreliable and indeed sleep stage changes are missed. Is there any strategy with which this data could be improved?

lukas-clarke commented 1 month ago

Unfortunately, not really. Unless 8 sleep decides to expose that info in the app.

fstolze commented 1 month ago

The info is in the app. But what's shown in the app seems to be different from what the sensor reports.

lukas-clarke commented 1 month ago

You see live sleep stages in the app? Would you mind including a screenshot, I can't find where this info is.

lukas-clarke commented 1 month ago

That looks like the info that the app provides after a sleep session is concluded. Does your app provide accurate sleep stages as they are occurring?

fstolze commented 1 month ago

You are correct. The sleep stages seem to get recalculated after the sleep session has concluded. H.A. collects and stores the data in real-time, which is why they are likely different.