boschshcpy icon indicating copy to clipboard operation
boschshcpy copied to clipboard

After repeated connection - No connection possible

Open Matze89x opened this issue 1 year ago • 0 comments

Hello,

I am really at a loss. I connected to my SHCII a few months ago on a test computer and read out via rawscan here. In parallel, the instance boschshc-hass continues to run flawlessly via Home Assistant.

I have tried on two completely separate computers (raspberry OS and Ubuntu Mate on VM) and after installation (pip install boschshcpy) to connect to the SHCII fails. Of course, I press the button on the SHCII very briefly beforehand. (Very short keystroke)

root@ubuntu-maze:~# boschshc_registerclient -ip 192.168.1.209 -pw ############
DEBUG:boschshcpy:Registering new client with id boschshcpy_client and name oss_BOSCHSHCPY_Client_Binding.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): 192.168.1.209:8443
SHC Error (message: SHC probably not in pairing mode! Please press the Bosch Smart Home Controller button until LED starts flashing.
(SSL Error: HTTPSConnectionPool(host='192.168.1.209', port=8443): Max retries exceeded with url: /smarthome/clients (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: IP address mismatch, certificate is not valid for '192.168.1.209'. (_ssl.c:997)")))).)
No valid token received. Did you press client registration button on smart home controller?

Test-wise, I've even been able to reconnect an iPhone with the Bosch Smart Phone application using the same procedure with no problems. IP address and password are correctly specified. I can also ping this.

In the application, I deleted the previously connected connection under "Mobile devices".

What else could I try to change? I am happy to provide all the possibilities. Unfortunately, I can not completely reset my SHC2.

image

And here Setup: maze@ubuntu-maze:~$ python3 -V Python 3.10.7 Installing collected packages: boschshcpy Successfully installed boschshcpy-0.2.57

Matze89x avatar Jun 27 '23 05:06 Matze89x