# Bosch Radiator Thermostat II

**URL:** <https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666>\
**Category:** Device Requests\
**Created:** [October 27, 2022, 8:17pm UTC](https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666 "2022-10-27T20:17:25Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![ziegelwiese](https://forum.phoscon.de/user_avatar/forum.phoscon.de/ziegelwiese/32/2860_2.png) [@ziegelwiese](https://forum.phoscon.de/u/ziegelwiese)\
**Post date:** [January 3, 2024, 7:51pm UTC](https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666/22 "2024-01-03T19:51:40Z")

</div>

Still not working in 2.25.1

---

<div class="post-metadata">

**Author:** ![kalkin](https://forum.phoscon.de/user_avatar/forum.phoscon.de/kalkin/32/4101_2.png) [@kalkin](https://forum.phoscon.de/u/kalkin)\
**Post date:** [January 4, 2024, 12:24pm UTC](https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666/23 "2024-01-04T12:24:11Z")

</div>

It works, but requires navigating through numerous unnecessary steps.

1. Obtain an [API key](https://dresden-elektronik.github.io/deconz-rest-doc/getting_started/).
2. Locate the barcode inside the battery cover of your TRV. Next to the barcode, find two values: _Zigbee EUI-64_ (referred to as `<device_mac_address>`) and _Install Code_. The _Install Code_ appears in 4-character groups separated by dashes. You’ll need this code without the dashes for the `installcode` JSON value.
3. Follow the [Pair with install code](https://dresden-elektronik.github.io/deconz-rest-doc/endpoints/devices/#pair-with-install-code) instructions. Ignore any confusing wording in the Parameters section. A successful operation will return a `200 OK` response. Ensure accuracy when entering `<device_mac_address>`; a typo can still yield a `200 OK` but won’t pair correctly.
4. Proceed to pair your Bosch TRV as you would with any other device.

---

<div class="post-metadata">

**Author:** ![ziegelwiese](https://forum.phoscon.de/user_avatar/forum.phoscon.de/ziegelwiese/32/2860_2.png) [@ziegelwiese](https://forum.phoscon.de/u/ziegelwiese)\
**Post date:** [January 4, 2024, 9:41pm UTC](https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666/24 "2024-01-04T21:41:09Z")

</div>

Yes that would be the “user-friendly” procedure. How does it help with @tstone’s hash failure?

---

<div class="post-metadata">

**Author:** ![xz13](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/x/f08c70/32.png) [@xz13](https://forum.phoscon.de/u/xz13)\
**Post date:** [January 20, 2024, 5:25pm UTC](https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666/25 "2024-01-20T17:25:55Z")

</div>

`cd /usr/lib/aarch64-linux-gnu && ln -s libcrypto.so.3 libcrypto.so` did the trick on debian/arm64 (RPI) for me.

---

<div class="post-metadata">

**Author:** ![xz13](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/x/f08c70/32.png) [@xz13](https://forum.phoscon.de/u/xz13)\
**Post date:** [January 20, 2024, 11:48pm UTC](https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666/26 "2024-01-20T23:48:40Z")

</div>

or just do `apt install libssl-dev`

---

<div class="post-metadata">

**Author:** ![Swoop](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/s/b77776/32.png) [@Swoop](https://forum.phoscon.de/u/Swoop)\
**Post date:** [January 21, 2024, 11:31am UTC](https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666/27 "2024-01-21T11:31:57Z")

</div>

You guys might want to highlight this to the community taking care of the docker image/container, as the issue is apparently a missing library and not an error in deconz. Thanks!

---

<div class="post-metadata">

**Author:** ![Mimiix](https://forum.phoscon.de/user_avatar/forum.phoscon.de/mimiix/32/10_2.png) [@Mimiix](https://forum.phoscon.de/u/Mimiix)\
**Post date:** [January 21, 2024, 2:04pm UTC](https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666/28 "2024-01-21T14:04:09Z")

</div>

@senilio @phdelodder should help out here @Swoop

---

<div class="post-metadata">

**Author:** ![xz13](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/x/f08c70/32.png) [@xz13](https://forum.phoscon.de/u/xz13)\
**Post date:** [January 21, 2024, 2:21pm UTC](https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666/29 "2024-01-21T14:21:49Z")

</div>

@Swoop I have had an issue on deconz debian install (without docker involved) as the deconz deb did not depend on libssl-dev.

---

<div class="post-metadata">

**Author:** ![phdelodder](https://forum.phoscon.de/user_avatar/forum.phoscon.de/phdelodder/32/49_2.png) [@phdelodder](https://forum.phoscon.de/u/phdelodder)\
**Post date:** [January 22, 2024, 6:40am UTC](https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666/30 "2024-01-22T06:40:21Z")

</div>

@xz13 I’m going to approve your PR today!  
@Swoop @Mimiix thanks for the poke

---

<div class="post-metadata">

**Author:** ![torti](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/t/dec6dc/32.png) [@torti](https://forum.phoscon.de/u/torti)\
**Post date:** [October 14, 2024, 1:47pm UTC](https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666/31 "2024-10-14T13:47:56Z")

</div>

Hi all,

I have the same issue wiith my Bosch Smart Thermostat II, the error message is exactly like the one from h1k3r, see screenshot:

 ![SCR-20241014-nwny](https://forum.phoscon.de/uploads/default/original/2X/d/d8c1862b01da2d4e428db0542f3784eb251b5f82.png)

This sent me through an upgrade spiral and now I am on the official Raspberry Pi SD card image from dresden electronic (bookworm desktop):  
 ![SCR-20241014-nxvi](https://forum.phoscon.de/uploads/default/original/2X/3/3308374444d7837f77b6cab1b77c7db3a1769e3b.png)

The strange thing is that I am perfectly able to pair the Bosch Light/Shutter control unit II using the installation code method.

If it helps to share the MAC and install code I am willing to do so via PM.

Regards,  
Torsten

---

<div class="post-metadata">

**Author:** ![Mimiix](https://forum.phoscon.de/user_avatar/forum.phoscon.de/mimiix/32/10_2.png) [@Mimiix](https://forum.phoscon.de/u/Mimiix)\
**Post date:** [October 14, 2024, 1:57pm UTC](https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666/32 "2024-10-14T13:57:25Z")

</div>

AFAIK, the reason it failed is because the OpenSSL lib was missing/ not installed.

That’s why your new version works 🙂

---

<div class="post-metadata">

**Author:** ![torti](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/t/dec6dc/32.png) [@torti](https://forum.phoscon.de/u/torti)\
**Post date:** [October 14, 2024, 3:12pm UTC](https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666/33 "2024-10-14T15:12:33Z")

</div>

I do not think this is the issue at hand, maybe I have not clearly described it in my comment above:  
With the latest version of deconz (2.28.1) the pairing with the light/roller shutter worked, while it failed for the thermostat.  
So this should not be a dependency issue as both processes were done on exactly the same setup.

---

<div class="post-metadata">

**Author:** ![torti](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/t/dec6dc/32.png) [@torti](https://forum.phoscon.de/u/torti)\
**Post date:** [October 14, 2024, 9:25pm UTC](https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666/34 "2024-10-14T21:25:15Z")

</div>

Ok, I found the issue: I took the install code from a picture where the text was OCRd. This created a capital letter ‘O’ instead of the number ‘0’ in one place.I am now able to pair the thermostat.  
Thanks to everyone who pondered the issue.

---

<div class="post-metadata">

**Author:** ![Sequynth](https://forum.phoscon.de/user_avatar/forum.phoscon.de/sequynth/32/4941_2.png) [@Sequynth](https://forum.phoscon.de/u/Sequynth)\
**Post date:** [December 7, 2024, 1:53pm UTC](https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666/35 "2024-12-07T13:53:14Z")

</div>

I tried the following in the windows command line on a PC in my local network (\<…\> are redactions):

```auto
curl -X PUT -H "Authorization: Bearer <API key>" -H "Content-Type: application/json" -d "{\"installcode\": \"<Install Code>\"}" http://<HA-IP>:8123/api/devices/<ZigBee EUI-64>/installcode

```

However the answer is: 404: NotFound.

Im pretty sure connections are not the issue as the following GET-command returns a sensible answer:

```auto
curl -X GET -H "Authorization: Bearer <API key>" -H "Content-Type: application/json" http://<HA IP>:8123/api/states

```

Any ideas on how to troubleshoot this?  
@torti: what kind of interface is used in your screenshot?  
Im using a RaspBee II on a RPi 4.

Thanks

---

<div class="post-metadata">

**Author:** ![torti](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/t/dec6dc/32.png) [@torti](https://forum.phoscon.de/u/torti)\
**Post date:** [December 7, 2024, 6:08pm UTC](https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666/36 "2024-12-07T18:08:17Z")

</div>

Hi Sequynth,

welcome to the community.

You do not need to use the Authorisation-Header for the call. The API token is part of the URL:

`<yourhost>:80/api/<api token>/devices/<device mac address>/installcode`

Details can be found here: [Devices - deCONZ REST-API](https://dresden-elektronik.github.io/deconz-rest-doc/endpoints/devices/#pair-with-install-code)

Looking at your HTTP call it seems a bit like you are trying to address a Home Assistant instance. Make sure you use the name/IP of the phoscon endpoint on your rpi.

The interface I am using is postman, basically a GUI for REST APIs with a lot of bells and whistles. It can be a bit overwhelming at first, once you get the hang of it it is a nice tool though.

Regards

[Previous page](https://forum.phoscon.de/t/bosch-radiator-thermostat-ii/2666.md?page=1)
