-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[BMW ConnectedDrive] initial contribution #8576
Conversation
Travis tests were successfulHey @weymann, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reviewed the readme so far. Here is my feedback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't able to finish reviewing it, so these are the things I found after my first pass.
...ve/src/main/java/org/openhab/binding/bmwconnecteddrive/internal/ConnectedDriveConstants.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/openhab/binding/bmwconnecteddrive/internal/discovery/VehicleDiscovery.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/openhab/binding/bmwconnecteddrive/internal/discovery/VehicleDiscovery.java
Outdated
Show resolved
Hide resolved
...ecteddrive/src/main/java/org/openhab/binding/bmwconnecteddrive/internal/dto/Destination.java
Outdated
Show resolved
Hide resolved
...e/src/main/java/org/openhab/binding/bmwconnecteddrive/internal/dto/status/VehicleStatus.java
Outdated
Show resolved
Hide resolved
...rive/src/main/java/org/openhab/binding/bmwconnecteddrive/internal/utils/BimmerConstants.java
Outdated
Show resolved
Hide resolved
...ecteddrive/src/main/java/org/openhab/binding/bmwconnecteddrive/internal/utils/Constants.java
Outdated
Show resolved
Hide resolved
...ecteddrive/src/main/java/org/openhab/binding/bmwconnecteddrive/internal/utils/Converter.java
Outdated
Show resolved
Hide resolved
...nhab.binding.bmwconnecteddrive/src/main/resources/OH-INF/thing/destination-channel-types.xml
Outdated
Show resolved
Hide resolved
...openhab.binding.bmwconnecteddrive/src/main/resources/OH-INF/thing/bridge-connected-drive.xml
Outdated
Show resolved
Hide resolved
I get a unauthorized error code if i try to connect using north america region |
Source is @kaikreuzer openhab/openhab-addons#8576 (comment) Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Source is @kaikreuzer openhab/openhab-addons#8576 (comment) Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
@kennethwhymns |
...src/main/java/org/openhab/binding/bmwconnecteddrive/internal/discovery/VehicleDiscovery.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/openhab/binding/bmwconnecteddrive/internal/discovery/VehicleDiscovery.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/openhab/binding/bmwconnecteddrive/internal/discovery/VehicleDiscovery.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/openhab/binding/bmwconnecteddrive/internal/discovery/VehicleDiscovery.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/openhab/binding/bmwconnecteddrive/internal/discovery/VehicleDiscovery.java
Outdated
Show resolved
Hide resolved
...java/org/openhab/binding/bmwconnecteddrive/internal/handler/ConnectedDriveBridgeHandler.java
Outdated
Show resolved
Hide resolved
...java/org/openhab/binding/bmwconnecteddrive/internal/handler/ConnectedDriveBridgeHandler.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/openhab/binding/bmwconnecteddrive/internal/handler/ConnectedDriveProxy.java
Outdated
Show resolved
Hide resolved
...rive/src/main/java/org/openhab/binding/bmwconnecteddrive/internal/utils/ImageProperties.java
Outdated
Show resolved
Hide resolved
.../main/java/org/openhab/binding/bmwconnecteddrive/internal/handler/VehicleChannelHandler.java
Outdated
Show resolved
Hide resolved
I fixed most of the outstanding review-comments in new PR #10170 |
Please raise your hand when you finished incorporating @cpmeister's findings. I will continue with the review, then. |
If you refer to my changes fixing @cpmeisters findings - they are all included in weymann#1 to @weymann s repository. Unfortunately he seems to have not enough time to review or merge, he didn't respond to my latest emails either. Feel free to check out my changes if you like. I'm willing to continue to work on this in case my contribution is appreciated. If not, I'm not bothered about it - it's open source, anybody might pick it up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove obsolete catches of JsonSyntaxException
...va/org/openhab/binding/bmwconnecteddrive/internal/dto/compat/VehicleAttributesContainer.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/openhab/binding/bmwconnecteddrive/internal/handler/ConnectedDriveProxy.java
Outdated
Show resolved
Hide resolved
.../main/java/org/openhab/binding/bmwconnecteddrive/internal/handler/VehicleChannelHandler.java
Outdated
Show resolved
Hide resolved
Changes & fixes from @ntruchsess are in, review findings from @cpmeister are resolved, CI build is running successful again. Thanks to all we've a clean state again. |
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de>
Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de>
editable DateTimeType-channels, removal of minute and hour-channels
Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de>
…ules rules for editing datetimes in sitemap
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de>
Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de>
rename actions-scope as requested by @kaikreuzer
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de>
descriptions in readme were swapped
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/bmw-connecteddrive-binding/105124/1 |
bundles/org.openhab.binding.bmwconnecteddrive/src/main/resources/OH-INF/binding/binding.xml
Outdated
Show resolved
Hide resolved
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com> Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de> Signed-off-by: John Marshall <john.marshall.au@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com> Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com> Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com> Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com> Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de>
Binding to connect BMW Vehicles via ConnectedDrive with openHAB.
It's supporting all types of Vehicles:
Concept is based on the project Bimmer Connected.
Also a manual installation based on python was already available for openHAB.
Test Bundle, Full Example and Enhancements described in Readme.md are available here