Closed freakadings closed 4 years ago
Hi, thank you, but that was a decision of the company. I have just published the documentation here. To be precisely, my boss must be your personal hero. :)
I guess the mistake is at your sixth point. The 'system password' is the one you had assigned when you set up the controller. If you set up a new Bosch Smart Home App, the App will also ask for this password. This password you need to encode to base64 to get the {{system_password_base64}}
variable.
That was quick!
I used my raspberry pi to quickly convert the systemPW to base64, wrote it directly to the Pre-request Script and now i'm getting a Bad request error 400.
This might be, because of the certificate. Take a closer look to the example certificate. Behind -----BEGIN CERTIFICATE-----
and in front of -----END CERTIFICATE-----
you will find a carriage return \r
. Did you set this in yours?
In fact i thought they were part of your certificate. I changed it and now it's working. "201 created" was returned and the user was created and appears within the app under "mobile devices" (bzw. "Mobilgeräte"). Thank you very much!
First of all: Thank you for providing the API to us, you're my personal hero now!
I'm new to postman and using certificates so please forgive me if the solution to my problem is quite obvious.
What i did so far:
So after pushing the pairing-button on the SHC, running back to my PC and hitting "SEND" i got the following:
I'm sure that my mistake has something to do with my usage of the certificate (or maybe postman in general).
Any help would be great. Thank you in advance and thank you again for releasing the API!