I have the basic working environment set up now and I have started to port the NodeJS implementation I know is working to Java. I’m now at a point where I would like to issue the first HTTP call to the Bosch Smart Home Controller.
From the NodeJS implementation, I know that authentication is based on client-side certificates. I have a pair of private/public keys that I have been paired and succesfully used with NodeJS to interact with my Bosch Smart Home conroller. Now, I would like to use the same pair of certificates from Java.
In any case, I just wanted to make sure I’m not doing anything completely unnecessary here and there is a much easier way to go ahead, or other bindings I could have a look at? I’m not aware of any other bindings that use SSL certificates for client authentication?
If this looks good, I’m stuck on SslContextFactory.Client sslContextFactory = new SslContextFactory.Client(); not compiling for some reason I don’t understand as a Java / Maven noob. It says:
“Evaluates project setup fixes to resolve the reference to the missing element ‘SslContextFactory.Client’”
I’m not finished
I have a extremely basic version of the binding running in my OpenHab installation since around December, and it works really nicely.
However, there are a bunch of things that I really have to do before the binding is useful to anybody else:
Implement login on the Bosch Smart Home Controller. Currently, I’m using a key-pair generated with another software to connect to the BSHC. This will not work for anybody else’s SHC except mine
I currently have support only for in-wall switches. That’s not really a technical limitation, since it should be relatively simply to add more devices, just didn’t have time to do so yet (I have a motion sensor, window/door sensor and also ordered a TwinGuard … so these one I will add sooner or later for certain )
Sorry to keep you all waiting for such a long time, but I’m really quite busy these days.
that gives a hope, especially that Bosch Smart Home delivers really good hardware, which unfortunately cannot be used to the full extent at present, since integration is not possible.
I Personally use the door sensors and radiator thermostat which works really good (in a closed circle). I’m excited to see how the combination with the non Bosch products will look
Many thanks in adwance for your input in the OpenHab zoo