-
-
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] Switch to Mercedes App SDK #15628
Conversation
2fb3559
to
e557cc2
Compare
IIRC we only check our own classes in the |
@wborn [ERROR] com.daimler.mbcarkit.proto.VehicleCommands.java:[6] Maybe I should be more specific: It's generated sources, not directly class files. |
541b261
to
eaace89
Compare
8292c4a
to
42ee800
Compare
Work in progress removed.
|
I had a look and currenty checkstyle is configured to check everything in Some other add-ons have third party sources in src/3rdparty/java like flicbutton. If that doesn't help, the last resort is to add a suppression for those packages in suppressions.xml. |
@weymann this is marked as WIP for some time and that is perfectly fine. With 150+ changed files, it would take multiple review rounds i guss and some extensive testing to prevent regressions. Is there anything you need to proceed? |
Please check the initial comment of this PR. Testing of this implementaion started Sep 23 here and there are ~80 comments afterwards which came into bugfixing. WIP removed in comment from Nov 23 here |
It still has the WIP label. I’ll remove that. Once the conflicts are also solved a review can take place |
6ef305f
to
fe43225
Compare
163 000 lines of code ! |
@lolodomo Keep calm and start review! code without comments and blank lines ~111K
|
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
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.
Only the /build/gen/com/daimler/mbcarkit files are left to be moved.
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
...mercedesme/src/main/java/org/openhab/binding/mercedesme/internal/handler/VehicleHandler.java
Outdated
Show resolved
Hide resolved
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.
Last one ^^
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.
Thanks for the work on adapting this binding to the new Mercedes SDK.
LGTM.
Do you need some additional days to test before merge or is it well tested after all changes we made?
You can leave it open for one or two weeks as you want, It's running on my machine and published on Marketplace. If I don't provide any more commits in this time it should be fine. |
Oke, will do. Could you create a upgrade warning in openHAB/distro ? |
Please assist. |
It is an extra (more active) notice so that users are aware they have to adapt their configuration. Recreate Thing and or update item channel links. This is not a drop in replacement |
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.
This one slipped through.
@@ -1,218 +0,0 @@ | |||
# add-on |
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.
From my understanding there should not be any changes to this file from this PR. You can manually save/backup the file and manually upload it after this PR is merged into crowdin.
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Yes, I messed up previous revert - some special charachters were destroyed while copy/paste. Took now original file from main branch and pushed it. Now file isn't listed any longer in file changes |
* add protocol buffer definitions * oauth rework * websocket introduction Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
This reverts commit 8eb99ee.
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/mercedes-me-binding/136852/206 |
* add protocol buffer definitions * oauth rework * websocket introduction Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com> Signed-off-by: Patrik Gfeller <patrik.gfeller@proton.me>
* add protocol buffer definitions * oauth rework * websocket introduction Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
* add protocol buffer definitions * oauth rework * websocket introduction Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
The current implementation of MercedesMe binding is based on Developer API from Mercedes. Unfortunately they quit supporting this on short hand notice end of August. Confirmed by me and recognized by the Community - binding is not working anymore!
New solution is based on Mercedes App SDK. Same as Homeassitant Mercedes integration which is still working.
This is a breaking change but it's needed to have this binding running again. I see no way Bridges and Vehicles can be reused due to different configurations.