Closed vordenken closed 3 months ago
Hey there @tschamm, mind taking a look at this issue as it has been labeled with an integration (bosch_shc
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
bosch_shc documentation bosch_shc source (message by IssueLinks)
You can try to enable the debugging via configuration.yml
. By adding/adjusting your logging settings as follows:
logger:
default: info
logs:
homeassistant.components.bosch_shc: debug
More details on expanding your logging can be found here: https://www.home-assistant.io/integrations/logger/
I don't have the Bosch SHC integration myself, but anyone wanting to help you needs some more logging and/or details before one can actually be able to assist. :)
Please update to HA 2023-07-01 to receive the latest update of the bosch_shc component. Reason for this is a change in the Bosch API.
I encountered the same problem and updating it to 2023.8.4 resolved the issue.
Same Problem here with HA 2023.11.2
Same Problem here with HA 2023.11.3 More information
Registration error: SHC probably not in pairing mode! Please press the Bosch Smart Home Controller button until LED starts flashing. (SSL Error: HTTPSConnectionPool(host='10.10.10.10', port=8443): Max retries exceeded with url: /smarthome/clients (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:1006)')))).
Registration error: API call returned non-OK result (code 500)!: b'<HTML><HEAD><TITLE>500</TITLE></HEAD><BODY><H1>500 No message</H1></BODY></HTML>'... Please check your password?
Right before the logs there is a lengthy Python stack
Logger: aiohttp.server
Source: /usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py:403
First occurred: December 5, 2023 at 22:41:51 (11 occurrences)
Last logged: 12:49:46
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 31, in headers_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 148, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 63, in with_admin
return await func(self, request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 177, in post
return await super().post(request, flow_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
result = await method(view, request, data, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 293, in async_configure
result = await self._async_handle_step(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 389, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/bosch_shc/config_flow.py", line 111, in async_step_reauth_confirm
self.info = await self._get_info(self.host)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/bosch_shc/config_flow.py", line 244, in _get_info
return await self.hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/bosch_shc/config_flow.py", line 86, in get_info_from_host
information = session.mdns_info()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/boschshcpy/session.py", line 279, in mdns_info
return SHCInformation(
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/boschshcpy/information.py", line 77, in __init__
raise SHCConnectionError
boschshcpy.exceptions.SHCConnectionError
What SHC version are you using? If it is SHC2, Button need to be pressed only short, see also https://github.com/home-assistant/core/issues/85698
I have SHC2 version 2 and I pressed the button short.
I solved the issue with SSL/TLS by power cycling the SHC (waiting 2 minutes) und retrying the connection/integration.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
The Bosch SHC integration stopped working. I did not update homeassistant in any way. It first said it needs re authentication but that does not work as well. I 100% type in the correct IP and password (even changed it to 12345678) but it just cannot authenticate with the shc.
What version of Home Assistant Core has the issue?
core-2023.4.6
What was the last working version of Home Assistant Core?
core-2023.4.6
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Bosch SHC
Link to integration documentation on our website
https://www.home-assistant.io/integrations/bosch_shc
Diagnostics information
I don't have the debug logging option when clicking the 3 dots on the SHC integration...
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response