Skip to content
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

Bosch Smart Home radiator thermostat cannot be controlled with HA 2025.1.2 and boschshc-hass #225

Open
jannikolasdicke opened this issue Jan 13, 2025 · 5 comments

Comments

@jannikolasdicke
Copy link

Hello,

about a week ago, I installed Home Assistant (current version: 2025.1.2) on an HP t630 and am now trying to integrate my old Bosch Smart Home Controller I including connected devices with boschshc-hass into Home Assistant. Unfortunately, I'm having problems controlling the radiator valves.

The installation of HA and boschshc-hass seems to have worked. After an initial overview, all devices are displayed. In the overview, a room climate display appears for each room, with which it should be possible to control the valves. The values displayed are plausible. However, when I try to change the temperature by clicking on the controller or on the “plus” or “minus” buttons below it, I get the error message "“The action climate/set_temperature could not be executed. unknown error”.

This happens with all installed valves.

Under “Settings/System/Logs” I find the message 15 times

`Logger: homeassistant.components.websocket_api.http.connection
Quelle: components/websocket_api/commands.py:245
Integration: Home Assistant WebSocket API (Dokumentation, Probleme)
Erstmals aufgetreten: 09:34:59 (15 Vorkommnisse)
Zuletzt protokolliert: 12:55:06

[139646590710208] Unexpected exception
[139646556497968] Unexpected exception
[139646718252880] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1006, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
hass, entity, func, data, call.context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1078, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 954, in async_service_temperature_set
await entity.async_set_temperature(**kwargs)
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 647, in async_set_temperature
await self.hass.async_add_executor_job(
ft.partial(self.set_temperature, **kwargs)
)
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/bosch_shc/climate.py", line 164, in set_temperature
self.set_hvac_mode(
~~~~~~~~~~~~~~~~~~^
kwargs.get(ATTR_HVAC_MODE)
^^^^^^^^^^^^^^^^^^^^^^^^^^
) # set_temperature args may provide HVAC mode as well
^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 681, in set_hvac_mode
raise NotImplementedError
NotImplementedError`

There's also the following message:

`Logger: boschshcpy
Quelle: /usr/local/lib/python3.13/site-packages/boschshcpy/session.py:284
Erstmals aufgetreten: 09:40:05 (4 Vorkommnisse)
Zuletzt protokolliert: 11:20:30

Error in polling thread: HTTPSConnectionPool(host='192.168.XXX.XXX', port=8444): Read timed out. (read timeout=15). Waiting 15 seconds.
Error in polling thread: HTTPSConnectionPool(host='192.168.XXX.XXX', port=8444): Max retries exceeded with url: /remote/json-rpc (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f01ff609310>, 'Connection to 192.168.XXX.XXX timed out. (connect timeout=15)')). Waiting 15 seconds.`

The failed contact attempt refers to the Bosch Smart Home Controller according to the IP address. I don't know whether the two problems are related; from the time it seems to me that this is not the case, because the connection problems in the second error message occurred 90 minutes or more ago.

Can you perhaps help me with this?

Best regards,

Jan

@KETRF
Copy link

KETRF commented Jan 13, 2025

I have the same problem, with the previous version everything still worked. TRV + SHC1

@MJon1987
Copy link

Same problem, as @KETRF already written (same configuration)

@tschamm
Copy link
Owner

tschamm commented Jan 13, 2025

Can you check whether PR #224 fixes the problem.

@KETRF
Copy link

KETRF commented Jan 14, 2025

With the new dev version it works again. Thank you very much!

@jannikolasdicke
Copy link
Author

Same here. Great! Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants