mezz64 / pyEight

Python library to interface with the Eight Sleep API
MIT License
59 stars 15 forks source link

API and App data discrepancy #36

Closed andmckay01 closed 1 year ago

andmckay01 commented 1 year ago

It looks like the sleep score value in the API response is different than what is in my app.

Example: 3/10/2023 | API: 73 | App: 92 3/9/2023 | API: 76 | App: 100 3/8/2023 | API: 73 | App: 88 3/7/2023 | API: 67 | App: 96 3/6/2023 | API: 73 | App: 93

Other data such as wake-up time is confirmed to be working, but be wary of sleep score and consider calculating your own.

API response example: example.txt

IMG_1641

Hope this helps,

Mckay

andmckay01 commented 1 year ago

Update: this is merely Eight Sleep calibrating to what a user's typical sleep is and then changing their front-end to show their relative sleep performance, rather than their absolute.

This is akin to what Facebook or other social networks do to give users more dopamine. "I'm sleeping so much better now, thanks Eight Sleep!"

I trust the API data more.

Mckay