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

[mercedesme] Initial contribution #13044

Merged
merged 58 commits into from
Aug 23, 2022
Merged

[mercedesme] Initial contribution #13044

merged 58 commits into from
Aug 23, 2022

Conversation

weymann
Copy link
Contributor

@weymann weymann commented Jun 30, 2022

Mercedes Me binding to access Mercedes vehicles in openHAB.

Based on the Mercedes Benz integration which is discussed in the Community.

Community test & discussion is available for this particular binding

@weymann weymann requested a review from a team as a code owner June 30, 2022 20:34
@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/mercedes-me-binding/136852/23

Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
@weymann weymann requested a review from jlaur August 16, 2022 20:48
Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

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

I have now had a look at the most recent changes, and it looks really good. I have added a few new comments, and I think we are quite close now. Some error handling could still be improved by throwing and catching exceptions instead of comparing strings through multiple layers, but I won't insist on this. One of my comments is an example of this, but additional examples can be found by tracking usages of Constants.NOT_SET and Constants.EMPTY.

@jlaur
Copy link
Contributor

jlaur commented Aug 17, 2022

I have some repository concerns seeing megabytes of images, but will need help from @openhab/add-ons-maintainers and/or @openhab/documentation-maintainers regarding guidelines/recommended practices here.

Ping @openhab/add-ons-maintainers - still >1 MB of images, do we have any policies on this? If all bindings did this, it would be 1/2 GB of data in the repository + additional changes over time when updating images.

@weymann - while waiting for some opinions and/or guidelines, consider if you can reduce number and/or size of pictures further. Some might be replaceable by textual descriptions?

@weymann
Copy link
Contributor Author

weymann commented Aug 22, 2022

@weymann - while waiting for some opinions and/or guidelines, consider if you can reduce number and/or size of pictures further. Some might be replaceable by textual descriptions?

Compressed pictures to ~400 KB.
I want to keep them to guide the users through the very strict first setup described in readme

Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
@weymann weymann requested review from Hilbrand and jlaur August 23, 2022 19:49
Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

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

Thanks again for your contribution.

Now, you could add your binding's logo to the openHAB website. See https://www.openhab.org/docs/developer/bindings/#add-your-binding-s-logo-to-the-openhab-website

@jlaur jlaur merged commit 704000e into openhab:main Aug 23, 2022
@jlaur jlaur added this to the 3.4 milestone Aug 23, 2022
@jlaur
Copy link
Contributor

jlaur commented Aug 28, 2022

@weymann - in case you missed it, if you create a PR towards openhab/openhab-docs like described in https://www.openhab.org/docs/developer/bindings/#add-your-binding-s-logo-to-the-openhab-website, the logo will be displayed with your binding in the list of bindings and on the documentation page - see for example: https://next.openhab.org/addons/

leifbladt pushed a commit to leifbladt/openhab-addons that referenced this pull request Oct 15, 2022
andan67 pushed a commit to andan67/openhab-addons that referenced this pull request Nov 6, 2022
andrasU pushed a commit to andrasU/openhab-addons that referenced this pull request Nov 12, 2022
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Andras Uhrin <[email protected]>
marcelGoerentz pushed a commit to marcelGoerentz/openhab-addons that referenced this pull request Nov 14, 2022
psmedley pushed a commit to psmedley/openhab-addons that referenced this pull request Feb 23, 2023
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Feb 28, 2023
@weymann weymann deleted the mercedes-me branch June 11, 2023 17:32
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.

5 participants