Is it possible to connect the Bosch Thermostat 2 only by using ZigBee? So not using the Bosch Controller to connect to Home Assistent?
@manup Reposting from https://github.com/zigpy/zigpy-deconz/issues/214 as a publ…
Is it possible to connect the Bosch Thermostat 2 only by using ZigBee? So not using the Bosch Controller to connect to Home Assistent?
If it is a standard Zigbee device then yes if you use a Zigbee Coordinator (radio) adapter → https://www.home-assistant.io/integrations/zha#knowing-which-devices-are-supported
If it does not show all attributes (configuration options) once connected then submit a issue as Device support request with device signature, etc. to ZHA Device Handlers → https://github.com/zigpy/zha-device-handlers/issues/
The reason why is explained in this ZHA docs section here → https://www.home-assistant.io/integrations/zha#zha-exception-and-deviation-handling
Hey @hraschan,
Did you figure out how to do it? I didn’t manage to get the Thermostats interviewed by Z2MQTT.
The connection was easy with ZHA. Using them in multiple automations now. Just give ZHA a shot. @FlyingUnicorn
I have mine working in Z2MQTT. Did you add the install code (qr code) from the battery compartment? Then it should start the interviewing process and add the thermostat without problems.
Awesome, thanks!! I’ll test it out later today
How did you manage to pair the device? My thermostat keeps searching for networks but isn’t discovered by ZHA.
To pair it with ZHA I had to use the zha permit service call and supply the IEEE Address and the install code from the back of the cover
https://www.home-assistant.io/integrations/zha/#service-zhapermit
See related feature request → Zigbee device provisioning by scanning QR Code = QR camera scanner in ZHA's UI config and companion apps to include new Zigbee 3.0 devices to Home Assistant's ZHA integration?
Thanks for that hint. Tried it, unfortunately I receive an unknown error…
Failed to call service zha.permit. Unknown error
My logs show two Errors:
homeassistant.components.websocket_api.http.connection:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 646, in handle_execute_script
await script_obj.async_run(msg.get("variables"), context=context)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1524, in async_run
await asyncio.shield(run.async_run())
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 409, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 453, in _async_step
self._handle_exception(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 476, in _handle_exception
raise exception
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 451, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 684, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1787, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1824, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 756, in admin_handler
await result
File "/usr/src/homeassistant/homeassistant/components/zha/api.py", line 1231, in permit
await application_controller.permit_with_key(
File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 109, in permit_with_key
raise NotImplementedError()
NotImplementedError
and
homeassistant.helpers.script.websocket_api_script:
raceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 451, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 684, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1787, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1824, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 756, in admin_handler
await result
File "/usr/src/homeassistant/homeassistant/components/zha/api.py", line 1231, in permit
await application_controller.permit_with_key(
File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 109, in permit_with_key
raise NotImplementedError()
NotImplementedError
Does anyone have experience with that= I’m running Hassio in a container on a Proxmox hypervisor, the Conbee II is passed through to home assistant and working fine.
Thanks a lot!
I’m using the Sonoff P dongle (TI).
It seems that the code is not implemented for the deconz handler.
FYI, went ahead and opened issues at respective deconz repositories for Dresden-Elektronik and zigpy:
@manup Reposting from https://github.com/zigpy/zigpy-deconz/issues/214 as a publ…
and
Another user of Home Assistant’s ZHA integration with an ConBee Zigbee Coordinat…
Thanks a lot @Hedda - but looks like I need to be patient and hope that the functionality will be implemented for ConBee II
FYI, ChrisHae from Dresden Elektronik wrote a reply there that ConBee 2 / RaspBee 2 firmware deconz serial interface does not currently support joining/paring via install code or QT code but a firmware update that will add it is on their roadmap, see ChrisHae’s reply here → Does deCONZ serial protocol for ConBee/RaspBee Zigbee Coordinator adapters not support joining/pairing via install code and qr code? · Issue #20 · dresden-elektronik/deconz-serial-protocol · GitHub
One possible workaround could be to migrate your Zigbee network in ZHA to a Silicon Labs EmberZNet (EZSP) based adapter or a Texas Instruments Z-Stack (ZNP) based Zigbee Coordinator adapter, as those support joining/pairing via install code and qr code, and then migrate back (or not) → https://skyconnect.home-assistant.io/zigbee-migration-selection/
Another related tip specific to the Bosch Thermostat 2 device is that it might be worth alsy try upgrading the OTA firmware on that Bosch Radiator Thermostat II device (via Zigbee2MQTT), as that was at least mentioned in the Zigbee2MQTT community → [New device support]: Bosch Radiator Thermostat II · Issue #14926 · Koenkk/zigbee2mqtt · GitHub
By the way, for manually upgrading firmware in ZHA after a device has already been joined/paired, see ZHA Toolkit → https://github.com/mdeweerd/zha-toolkit#ota_notify
FYI, someone submitted a firmware upgrade image file for Bosch BTH-RA (a.k.a. Smart Thermostat 2) to https://github.com/Koenkk/zigbee-OTA/ as per this PR https://github.com/Koenkk/zigbee-OTA/pull/279
Hi,
just to make sure there’s currently no way to use the Bosch Thermostat II with ZHA using a Conbee 2, right?
Just trying to confirm before I send the four new thermostats back
there’s currently no way to use the Bosch Thermostat II with ZHA using a Conbee 2, right?
That is correct, at least until developers that the Desden Elektronik company employee adds support for the missing/needed “install code” feature via a firmware update, see → Does deCONZ serial protocol for ConBee/RaspBee Zigbee Coordinator adapters not support joining/pairing via install code and qr code? · Issue #20 · dresden-elektronik/deconz-serial-protocol · GitHub
Until then the best workaround is to instead just buy a brand new Texas Instruments or Silicon Labs based Zigbee Coordinator adapter/dongle (that has their newer radio chips) and then simply migrate your Zigbee network to that new adapter/dongle.
If you are currently using the Phoscon/deCONZ or Zigbee2MQTT applications as your Zigbee gateway application then it is unfortunately only possible to do partial Zigbee network migration (and even that not fully seamlessly), but it is possible to do a fully seamless migration if you are already using Home Assistant’s own native ZHA integration.
As a two-step migration if using Phoscon/deCONZ or Zigbee2MQTT then you can first migrate to Home Assistant’s own native ZHA integration, see migration guides → https://skyconnect.home-assistant.io/zigbee-migration-selection/
As for which dongles you should buy I recommend Home Assistant SkyConnect if both want to sponsor Nabu Casa development and like something that is very easy to maintain as long as using Home Assistant’s own native ZHA integration, otherwise recommend that you check out both ITead’s “Sonoff Zigbee 3.0 USB Dongle Plus” (model “ZBDongle-P” which is best for Zigbee2MQTT) as well as their other variant which is “Sonoff Zigbee 3.0 USB Dongle Plus V2” (model “ZBDongle-E” for ZHA).
Thanks a lot @Hedda!
As I really like the thermostats I bought a Sonoff dongle with CC2652P and also moved from ZHA to Zigbee2MQTT in the process.
Everything working now