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

Manual use with command line possible? #31

Open gforums opened 1 month ago

gforums commented 1 month ago

Hi there, I am not using home assistant but openhab and wanted to ask whether this easily can be used from command line directly?

If yes, would anyone willing to share some rough details with me on how to do this?

Thanks a lot, Christian

lukas-clarke commented 1 month ago

There is a python project https://github.com/lukas-clarke/pyEight that I stopped maintaining in order to focus on this library. However, in this library there is essentially a clone of that project. You could use the documentation for the python project and apply it to the maintained code in this repo.

gforums commented 1 month ago

Thanks for that hint Lukas! Will give it a try soon :)

gforums commented 3 weeks ago

Thanks Lukas, got it working with the known ID client/secret from this version. Getting some error messages, but setting heat/cool level and turning off both is working.

Will try to look into more details, but so far thanks for this scipt!