-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiple errors on login / trying to connect to TI9555X9 coffee maker #46
Comments
Hey @Morg42, If you have any issues, your are welcome to create an issue in our repo. |
Hi, sorry for the lack of a response. I used to have this working with a coffee machine, but at that point the code was a mere PoC and not something that could be used productively. Since then, I didn't have time to dig into it any deeper, so I can't provide any recent insights. |
Hi,
I've been running the singlekey branch for a while now without problems, owning a dishwasher which I can access over hcpy.
System is Devuan daedalus, Python 3.11.2
Now I added a coffee maker (S500 connect, TI9555X9DE/21) and hc-login goes awry...
First error is "missing scheme" on the fourth preauth URL, which I fixed by prepending singlekey_host. (inserting 2 lines before line 123.
Next error is "failed to fetch <Response [307]>", which I fixed by adding code 307 to line 127.
Next error is a relative url for the first return_url, which I again fixed by prepending singlekey_host (again inserting 2 lines before line 136.
The next error is (subtract 4 from linenumbers for inserted code lines):
I'm guessing it's missing the X-CSRF-FORM-TOKEN cookie from the response. Response cookies include .AspNetCore.Antiforgery. and __Host-F8Mmt.
Why? What can I do? What might I have done wrong?
Anyone able to help? As far as I could see, @CRTified has a similar machine already working...?
The text was updated successfully, but these errors were encountered: