pyEight icon indicating copy to clipboard operation
pyEight copied to clipboard

Error putting Eight data

Open kylemurray2 opened this issue 1 year ago • 3 comments

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/###')

kylemurray2 avatar Aug 22 '23 21:08 kylemurray2

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

lukas-clarke avatar Aug 23 '23 03:08 lukas-clarke

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

andrew-kennedy avatar Aug 24 '23 12:08 andrew-kennedy

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.

lukas-clarke avatar Oct 26 '23 22:10 lukas-clarke