I just downloaded the latest jar and, lo and behold, my dishwasher is online! Since de upgrade to 4.3 my washer and dryer are mostly offline. About every minute they become online for a second and go back offline.
I added the Things manually as they are on a different (iot) subnet. My washer is online in the Home connect app (by mistake, I disconnected them both from the cloud, at least I thought I did.)
Do you have a proxy or something similar between the individual networks? It seems to me that the appliance or the binding interrupts the websocket connection.
I replaced the jar with the latest and decided to delete the profles, just to make sure it wasn’t some stupid cache issue. Now I’m unable to re-download my profiles. In the logs I see the following error:
2024-12-18 19:11:51.042 [ERROR] [nal.servlet.HomeConnectDirectServlet] - Could not fetch profile data! error=SingleKey ID OAauth2 authorization code missing!
When I change debug level to DEBUG I see the content of the api calls which is a lot of html.
In the HTML there is this:
<title>Captcha - SingleKey ID</title>
<meta name="description" content="A Captcha (“Completely Automated Public Turing test to tell Computers and Humans Apart”) is used to prevent form inputs by a robot or “bot”. Automated robot attacks may cause various problems including stopping a service from working by overloading a website with excessive requests.">
Could that be why it fails to (re) download profiles for my appliances?
There is no proxy, just nat/masquerade between the networks. (and a firewall of course but I don’t see anything being blocked related to this)
because I restarted the binding my logs are empty, so I cannot send them atm.
btw: Is there any specific/sensitive data in the logs?
thanks for your work! Installation of the binding snapshot into my openhab system worked like a charm! I own a Bosch Cleaning Robot and would like to help add this kind of devices to your binding.
kind regards,
Christoph
(reposted since i replied to the wrong topic in the first place)
Thank for the new version! I uninstalled the plugin 2 days ago and deleted all thinks because I had also troublle with the leak found by @holger_hees. Now, with the new version, I made a new start.
I will send you the log of stove and oven.
The dishwasher is still offline/disabled. Not possible to enable the thing. I will add also a log from the dishwasher.
I just realize that also the discovered config looks different to the other devices:
I removed the binding, waited 24 hours, installed the latest binding (4.3.0-1734711461) but unfortunately I’m still not able to download profiles. the captcha warning disappeared from the logs, it looks like a regular login page.
Apparently I exported the washer profile so I was able to import it again, for my dryer I created the zip myself (with information from hcpy) but it will not import, it produces a 500 error, not exactly sure why but that is ok.
My washer thing still comes online and directly goes offline again. This repeats every minute. I will check the log export for any sensitive information and send it to you.
I upgraded to the new version …11461.jar.
The dishwasher is still discoverd but stays offline and I can not fetch the profile anymore.
The openhab log shows:
2024-12-21 12:06:44.240 [ERROR] [nal.servlet.HomeConnectDirectServlet] - Could not fetch profile data! error=SingleKey ID OAauth2 authorization code missing!
I think the SingleKey ID system added a Captcha-Check That is hard to bypass. I think we need to think about another way of importing the the profiles.
Not sure if it is possible through an app registration? Does a client id and secret bypass SingleKey authentication? I have used this in the past but I cant remember what it was for.
Unfortunately, this doesn’t work because the mechanism pretends to be the app. Unfortunately, “normal” developers are not allowed to use the oAuth scope.