this is the response regardless if am in the 60 second “Authenticate App” mode or.
Again: the very same thing worked today on the version I had installed before.
Thank you so much for this example URL. It did the trick.
In the end it seems that I could connect the BOSCH Thermostat with the firmware 344 to Deconz 2.30.2 in the Thermostat menu.
FWIW here is what ended working for me today on my rPI:
I did
curl http://localhost:80/api/ -X POST -d '{"devicetype": "TestKey"}
and got
[{"success":{"username":"71A2B7F139"}}]
interestingly BEFORE I had enabled the authentication mode in the DeCONZ app.
That step seems not to be needed anymore.
I obtained the Install Code (BOSCH_INSTALLCODE ) and ZigBee EUI-64 (from the Battery lid. Thanks gpt for doing such a good job in OCR. Really beats typing those numbers, and having to wonder if it fails because I can’t type or read properly.
It did
curl -X PUT -H "Content-Type: application/json" -d '{"installcode": "BOSCH_INSTALLCODE"}' http://localhost:80/api/71A2B7F139/devices/BOSCH_EUI-64/installcode
and got
[{"success":{"installcode":....
I then went to the UI and did go to Thermostats and clicked on Add thermostat.
During the 3 minute period I inserted the batteries into the BOSCH Thermostat II while I was holding down the front (and only) button. It connected to DeConz.
This was not possible with my old app version. I had Thermostat with Firmware
Version 325, but they all died after a couple of months because of an hardware error.
The first replacement I got runs Bosch firmware 344.
Thanks so much for providing me with the proper username request curl program.
Feels like that the syntax for that has changed with deconz versions.
Problem solved. Now I hope that the new Bosch devices do better in terms of hardware
reliability.
Bosch Firmware 325 was working with pre V2.30.2 phoscon and probably V2.30.2,
could not test since I have no more functional 325 Thermostats left. They all died a hardware death after a couple of months.
Bosch Firmware 344 is NOT working with pre V2.30.2 phoscon
Hence the upgrade.
which DID CHANGE the onboarding mechanism as described here.
Pre V2.30.2 you had to enable auth to get a user name even if you are on the same machine.