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
[androidtv] Add PhilipsTV protocol to AndroidTV #15352
Conversation
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/philips-tv-2016-binding/64579/382 |
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
c090110 is tested to work as similar to the existing code. Currently throwing the following exceptions:
|
Open Items:
|
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
…yPress. Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
@openhab/add-ons-maintainers I've updated this PR for 4.2 and rebased. I'd really appreciate if someone could do a review on this. I have several things I want to do with this binding in early 2024 but I don't want to get that moving until this is squared away given the amount of changes this makes to the structure across. Thank you in advance for the time! |
I've pulled some of the non-Philips specific updates out and put them into #16191 to try to make the review process a little easier and to unencumber updates/work to the androidtv binding with the review cycles for this PR. This PR will need to be rebased once 16191 is merged in. |
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/androidtv-binding-3-2-0-4-1-0/142203/526 |
Signed-off-by: morph166955 <53797132+morph166955@users.noreply.github.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/androidtv-binding-3-2-0-4-1-0/142203/529 |
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, great to have improved support for Philips TV's.
Beside he inline comments, can you also fix the SAT warnings (renaming DTO, allready fixes many see: https://www.openhab.org/docs/developer/guidelines.html#null-annotations)
bundles/org.openhab.binding.androidtv/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.androidtv/src/main/resources/OH-INF/thing/thing-types.xml
Show resolved
Hide resolved
bundles/org.openhab.binding.androidtv/src/main/resources/OH-INF/i18n/androidtv.properties
Show resolved
Hide resolved
...in/java/org/openhab/binding/androidtv/internal/protocol/philipstv/service/VolumeService.java
Show resolved
Hide resolved
...java/org/openhab/binding/androidtv/internal/protocol/philipstv/service/TvPictureService.java
Show resolved
Hide resolved
...ndroidtv/src/main/java/org/openhab/binding/androidtv/internal/AndroidTVBindingConstants.java
Show resolved
Hide resolved
...in/java/org/openhab/binding/androidtv/internal/AndroidTVDynamicStateDescriptionProvider.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/openhab/binding/androidtv/internal/protocol/philipstv/ConnectionManager.java
Show resolved
Hide resolved
...c/main/java/org/openhab/binding/androidtv/internal/protocol/philipstv/ConnectionManager.java
Outdated
Show resolved
Hide resolved
...ava/org/openhab/binding/androidtv/internal/protocol/philipstv/PhilipsTVBindingConstants.java
Outdated
Show resolved
Hide resolved
Thank you @lsiepel ! I may actually have time to address this today! I'm going to put a few comments above while this is fresh. |
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
@lsiepel I think I'm there now. I believe everything that needed to be resolved is now pushed. Please let me know what I missed if anything. Thanks! |
Allmost there. Some last things that need to be looked at (mainly note to self):
|
Sounds good. Standing by here for the comments on the remaining parts. |
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
I just pushed the fix for this. |
@lsiepel checking in to see if you've had time to look at the last few bits so we can merge this in. Thanks! |
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, LGTM
Thank you! |
Adds the PhilipsTV protocol to the AndroidTV binding. The current PhilipsTV binding (which is not merged into the main repo) currently has no active mainteance. As (almost all) of the PhilipsTVs over the last several years are AndroidTV based, it is natural to add this in. The GoogleTV protocol stack will still act as the primary control mechanism. This adds vendor specific features (e.g. Ambilight) which are not available on the GoogleTV stack currently. This is conceptually identical to how the ShieldTV protocol works in the AndroidTV binding.
Depends on #16191