-
-
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
[mercedesme] Initial contribution #13044
Conversation
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]>
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]>
...g.mercedesme/src/main/java/org/openhab/binding/mercedesme/internal/VehicleConfiguration.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/binding/binding.xml
Show resolved
Hide resolved
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]>
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 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
.
.../org.openhab.binding.mercedesme/src/test/java/org/openhab/binding/mercedesme/FileReader.java
Outdated
Show resolved
Hide resolved
.../org.openhab.binding.mercedesme/src/test/java/org/openhab/binding/mercedesme/FileReader.java
Outdated
Show resolved
Hide resolved
...b.binding.mercedesme/src/main/java/org/openhab/binding/mercedesme/internal/server/Utils.java
Outdated
Show resolved
Hide resolved
...b.binding.mercedesme/src/main/java/org/openhab/binding/mercedesme/internal/server/Utils.java
Outdated
Show resolved
Hide resolved
...b.binding.mercedesme/src/main/java/org/openhab/binding/mercedesme/internal/server/Utils.java
Outdated
Show resolved
Hide resolved
...mercedesme/src/main/java/org/openhab/binding/mercedesme/internal/handler/VehicleHandler.java
Outdated
Show resolved
Hide resolved
...nhab.binding.mercedesme/src/main/java/org/openhab/binding/mercedesme/internal/Constants.java
Show resolved
Hide resolved
...nhab.binding.mercedesme/src/main/java/org/openhab/binding/mercedesme/internal/Constants.java
Outdated
Show resolved
Hide resolved
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? |
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Compressed pictures to ~400 KB. |
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
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.
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
@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/ |
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]> Signed-off-by: Andras Uhrin <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
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