mezz64 / pyEight

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

Error putting Eight data #40

Open kylemurray2 opened 1 year ago

kylemurray2 commented 1 year ago

Trying to use set_heating_level(), I'm getting an Unauthorized error. This was working fine just a few days ago.
Getting user data also works fine.

Error puting Eight data. 401, message='Unauthorized', url=URL('https://client-api.8slp.net/v1/devices/###')

lukas-clarke commented 1 year ago

I'm also seeing this issue. It seems like eight sleep may have closed this API

andrew-kennedy commented 1 year ago

They did close the API, and replaced it with a new one that the mobile app has been using for quite some time, I posted my discoveries about it here: https://github.com/mezz64/pyEight/issues/38

lukas-clarke commented 10 months ago

I wrote some python code for the new API https://github.com/lukas-clarke/pyEight. I just started it so it doesn't have the full feature set that this library has, and to use it you essentially have to "hack" the app to get your client_id and client_secret.