pyEight
pyEight copied to clipboard
Error putting Eight data
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/###')
I'm also seeing this issue. It seems like eight sleep may have closed this API
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
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.