New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[boschshc] Initial contribution - Bindings for Bosch Smart Home devices #8371
Conversation
Travis tests have failedHey @coeing, |
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
…roller Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
This gives basic functionality to receive updates from the Bosch Smart Home Controller Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Otherwise, code would get stuck on requesting second subscription ID Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
…from them Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Can you post a comment if you think all comments are addressed so we can have a second look? |
I will give it a try. |
Sure, will do. Right now we are still busy fixing some of your commented code. Once we resolved every conversation, I'll post a comment and reference you and @fwolter :) |
Unfortunately this results in
The size is related to the used bouncycastle libs for the certificate creation. |
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
…CBridgeHandler.updateSwitchState Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
…et the thing to offline Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
…y-rating channels Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
4d5c3d8
to
fc375bf
Compare
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Automatic code migration to openHAB 3 succeeded. The resulting code can be found at https://ci.openhab.org/job/openHAB-Addons-Migration/31/artifact/bundles/. You can download the migrated code from there and create a new PR against the master branch of the openhab-addons repo to contribute it for being included in openHAB 3.x. Please see this issue about the details on how to proceed with your existing PR. |
…kdown the HTTPClient requests were broken updated exception handling and logging for connection and pairing describing source of certificates Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
Hello @coeing,
It seems to be the best to switch asap to openHAB3 with Java11, new base code and the migrated add-on code, because up to now only my last "http fix" needs to be ported. What do you think? |
Yes, probably the best way to go. We would have to support openHAB 3 anyway, so it would be easier to develop against one code base only. The changes from 2.5 to 3 do not seem to be too big for bindings, so I'm pretty confident we can get it done quickly. I just downloaded the artifacts and copied them over. I will push them to a new branch which I rebase on openHAB 3. |
Do what you feel comfortable with. In general we suggest people not to open new pr's as this would make reviewing more difficult because reviews comments are more difficult to track. But with the breaking history changes this might be more difficult for people to know how to do it correctly. If you create a new pr, please do close this pr. |
Alright, thanks for the quick message! I started a draft of a new pull request (#8629). We need to fix one more issue, afterwards I will close this pull request and open the other one. |
Closing in favor of #8629 |
Hi there,
@stefan-kaestle started a fork of your repository in November 2019 to implement the bindings for Bosch Smart Home devices which are pretty popular in Germany. @GerdZanker and I joined earlier this year.
Together we managed to built a good base for a first release, which already has the base structure to setup and communicate with the Bosch Smart Home controller and supports a lot of devices:
Before we continue our development we'd like to do a first public release to gather user feedback and your feedback as openHAB maintainers :)
We already found some fellow openHAB users who tested pre-release versions and apart from some minor issues which we fixed, they were already quite content with the result (and had some ideas for enhancements for the next version of course :) ).
We tried to get some upfront feedback about our code base from one of your maintainers, but got no answer, so we thought we just create a pull request to discuss any further issues here: https://community.openhab.org/t/towards-merging-the-new-bosch-shc-binding/101952
You can find the fork here: https://github.com/stefan-kaestle/openhab2-addons We already tried to sign-off each commit and follow your coding guidelines (https://www.openhab.org/docs/developer/development/guidelines.html), but might have missed some points as it is our first contribution to your project.
We have a thread in the community forum: https://community.openhab.org/t/will-there-be-a-bosch-smart-home-binding
The last pre-release is up-to-date apart from some file moving: https://github.com/stefan-kaestle/openhab2-addons/releases/tag/v1.0-beta.1
Feel free to ask any questions and let us know what work needs to be done before our work can be merged. Thanks for your help and for your great open-source Smart Home platform!