Skip to content
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

Merged
merged 185 commits into from
May 1, 2021
Merged

[BMW ConnectedDrive] initial contribution #8576

merged 185 commits into from
May 1, 2021

Conversation

weymann
Copy link
Contributor

@weymann weymann commented Sep 24, 2020

Binding to connect BMW Vehicles via ConnectedDrive with openHAB.
It's supporting all types of Vehicles:

  • Conventional Fuel Vehicle
  • Plugin-Hybrid Electrical Vehicle
  • Battery Electric Vehicle with Range Extender
  • Battery Electric Vehicle

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

@weymann weymann requested a review from a team as a code owner September 24, 2020 22:12
@TravisBuddy
Copy link

TravisBuddy commented Sep 24, 2020

Travis tests were successful

Hey @weymann,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@cpmeister cpmeister added the new binding If someone has started to work on a binding. For a new binding PR. label Sep 25, 2020
@kaikreuzer kaikreuzer added rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Sep 25, 2020
@fwolter fwolter self-assigned this Oct 7, 2020
Copy link
Member

@fwolter fwolter left a 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.

bundles/org.openhab.binding.bmwconnecteddrive/.classpath Outdated Show resolved Hide resolved
bundles/org.openhab.binding.bmwconnecteddrive/.project Outdated Show resolved Hide resolved
bundles/org.openhab.binding.bmwconnecteddrive/README.md Outdated Show resolved Hide resolved
bundles/org.openhab.binding.bmwconnecteddrive/README.md Outdated Show resolved Hide resolved
bundles/org.openhab.binding.bmwconnecteddrive/README.md Outdated Show resolved Hide resolved
bundles/org.openhab.binding.bmwconnecteddrive/README.md Outdated Show resolved Hide resolved
bundles/org.openhab.binding.bmwconnecteddrive/README.md Outdated Show resolved Hide resolved
bundles/org.openhab.binding.bmwconnecteddrive/README.md Outdated Show resolved Hide resolved
bundles/org.openhab.binding.bmwconnecteddrive/README.md Outdated Show resolved Hide resolved
bundles/org.openhab.binding.bmwconnecteddrive/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@cpmeister cpmeister left a 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.

@kennethwhymns
Copy link

I get a unauthorized error code if i try to connect using north america region

fwolter added a commit to fwolter/openhab-docs that referenced this pull request Dec 6, 2020
Source is @kaikreuzer openhab/openhab-addons#8576 (comment)

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Confectrician pushed a commit to openhab/openhab-docs that referenced this pull request Dec 10, 2020
Source is @kaikreuzer openhab/openhab-addons#8576 (comment)

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
@weymann
Copy link
Contributor Author

weymann commented Dec 27, 2020

I get a unauthorized error code if i try to connect using north america region

@kennethwhymns
Yes, same problem was reported in the forum. Somehow the auth method was changed again in November and I fixed it some days ago. Few hours later I got the success confirmation from the US member who reported the bug. Bugfix is applied now for OH3 binding version.

@weymann weymann requested review from cpmeister and fwolter December 28, 2020 12:11
@wborn wborn added rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Jan 22, 2021
@Hilbrand Hilbrand requested a review from fwolter January 25, 2021 07:45
@ntruchsess
Copy link
Member

I fixed most of the outstanding review-comments in new PR #10170

@fwolter
Copy link
Member

fwolter commented Mar 3, 2021

Please raise your hand when you finished incorporating @cpmeister's findings. I will continue with the review, then.

@ntruchsess
Copy link
Member

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

Copy link
Member

@ntruchsess ntruchsess left a 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

@weymann weymann requested a review from cpmeister March 7, 2021 19:53
@weymann
Copy link
Contributor Author

weymann commented Mar 7, 2021

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.

weymann and others added 15 commits March 29, 2021 03:49
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>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de>
@openhab-bot
Copy link
Collaborator

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

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Copy link
Member

@fwolter fwolter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fwolter fwolter merged commit e69a65d into openhab:main May 1, 2021
@fwolter fwolter added this to the 3.1 milestone May 1, 2021
themillhousegroup pushed a commit to themillhousegroup/openhab2-addons that referenced this pull request May 10, 2021
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>
computergeek1507 pushed a commit to computergeek1507/openhab-addons that referenced this pull request Jul 13, 2021
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de>
frederictobiasc pushed a commit to frederictobiasc/openhab-addons that referenced this pull request Oct 26, 2021
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de>
thinkingstone pushed a commit to thinkingstone/openhab-addons that referenced this pull request Nov 7, 2021
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de>
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this pull request May 5, 2022
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new binding If someone has started to work on a binding. For a new binding PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.