-
-
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
[lgwebos] Removal of connectsdk library and its dependencies #6060
Conversation
2a29aaf
to
ae4df49
Compare
Replaced connectsdk with OH native json, websocket, UpnpDiscovery. Signed-off-by: Sebastian Prehn <[email protected]>
ae4df49
to
32d13f7
Compare
Travis tests were successfulHey @sprehn, |
Signed-off-by: Sebastian Prehn <[email protected]>
Signed-off-by: Sebastian Prehn <[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, I real appreciate removing those external dependencies. I left some comments in the code. Please pay special attention to the 3rdparty-content and the SAT report, I did not mention it everywhere.
bundles/org.openhab.binding.lgwebos/src/main/feature/feature.xml
Outdated
Show resolved
Hide resolved
...openhab.binding.lgwebos/src/main/java/org/openhab/binding/lgwebos/action/LGWebOSActions.java
Outdated
Show resolved
Hide resolved
...b.binding.lgwebos/src/main/java/org/openhab/binding/lgwebos/internal/BaseChannelHandler.java
Outdated
Show resolved
Hide resolved
...inding.lgwebos/src/main/java/org/openhab/binding/lgwebos/internal/LGWebOSHandlerFactory.java
Outdated
Show resolved
Hide resolved
...inding.lgwebos/src/main/java/org/openhab/binding/lgwebos/internal/LGWebOSHandlerFactory.java
Show resolved
Hide resolved
...ding.lgwebos/src/main/java/org/openhab/binding/lgwebos/internal/handler/LGWebOSTVSocket.java
Outdated
Show resolved
Hide resolved
...ding.lgwebos/src/main/java/org/openhab/binding/lgwebos/internal/handler/LGWebOSTVSocket.java
Show resolved
Hide resolved
...ding.lgwebos/src/main/java/org/openhab/binding/lgwebos/internal/handler/LGWebOSTVSocket.java
Show resolved
Hide resolved
...ding.lgwebos/src/main/java/org/openhab/binding/lgwebos/internal/handler/LGWebOSTVSocket.java
Outdated
Show resolved
Hide resolved
...ding.lgwebos/src/main/java/org/openhab/binding/lgwebos/internal/handler/LGWebOSTVSocket.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Sebastian Prehn <[email protected]>
where do I find 3rdparty-content? |
Travis tests were successfulHey @sprehn, |
Regarding 3rdparty-content: At best look at the logreader binding. It's just a new Folder (with the same structure as |
Otherwise looks good from my side. |
…e call in LGWebOSHandler. Signed-off-by: Sebastian Prehn <[email protected]>
Travis tests were successfulHey @sprehn, |
One user has reported a bug with TV: [LG] webOS TV OLED65E7P, webOS v5.80.35 |
I did some testing and also had the bug. Here are 2 improvements:
|
so that they do not disconnect the websocket only due to a misconfigured item, for example. Signed-off-by: Sebastian Prehn <[email protected]>
Travis tests were successfulHey @sprehn, |
User reported that this fixed the issue. |
@J-N-K do you still request any changes? |
At least this needs to be fixed:
The catching doesn't fix the problem. It only blocks the binding from going into an endless loop due to it crashing. The crashing is caused (at least with my TV) by the exception thrown by gson due to the missing constructors. |
sure will do, I actually also now see the other remarks.. had to click on "load more" |
Signed-off-by: Sebastian Prehn <[email protected]>
Travis tests were successfulHey @sprehn, |
Signed-off-by: Sebastian Prehn <[email protected]>
Travis tests were successfulHey @sprehn, |
Thanks again. |
@sprehn 2 questions:
|
1 similar comment
@Hilbrand I don't have a fork of the openhab distro repository. Could you review and add this comment for me, if you don't mind? ALERT;LGWebOS Binding: The binding parameter 'localIP' was removed. The binding now uses system defaults for network communication. Thing type parameters 'deviceId' is no longer a parameter, but a property. Parameters 'host' and 'key' were added. |
Related to https://github.com/openhab/openhab2-addons/pull/6060 Signed-off-by: Hilbrand Bouwkamp <[email protected]>
* [LGWebOS] Added alert about breaking change in 2.5 Related to https://github.com/openhab/openhab2-addons/pull/6060 Signed-off-by: Hilbrand Bouwkamp <[email protected]>
…b#6060) * Removal of connectsdk library and its dependencies. * Replaced connectsdk with OH native json, websocket, UpnpDiscovery. Signed-off-by: Sebastian Prehn <[email protected]> Signed-off-by: Rene Scherer <[email protected]>
…b#6060) * Removal of connectsdk library and its dependencies. * Replaced connectsdk with OH native json, websocket, UpnpDiscovery. Signed-off-by: Sebastian Prehn <[email protected]>
…b#6060) * Removal of connectsdk library and its dependencies. * Replaced connectsdk with OH native json, websocket, UpnpDiscovery. Signed-off-by: Sebastian Prehn <[email protected]>
…b#6060) * Removal of connectsdk library and its dependencies. * Replaced connectsdk with OH native json, websocket, UpnpDiscovery. Signed-off-by: Sebastian Prehn <[email protected]> Signed-off-by: Tim Roberts <[email protected]>
…b#6060) * Removal of connectsdk library and its dependencies. * Replaced connectsdk with OH native json, websocket, UpnpDiscovery. Signed-off-by: Sebastian Prehn <[email protected]>
This is a major refactoring of the lgwebos binding.
This removes a lot of the connectsdk abstractions and allows us to use OH native json, websocket, UpnpDiscovery capabilities.