-
-
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
[harmonyhub] Websocket implementation #4926
Conversation
Signed-off-by: digitaldan <[email protected]>
Signed-off-by: digitaldan <[email protected]>
…fixes button press Signed-off-by: digitaldan <[email protected]>
Signed-off-by: digitaldan <[email protected]>
Signed-off-by: digitaldan <[email protected]>
Signed-off-by: digitaldan <[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 for switching the binding to this small and much simpler websocket implementation! I've made a few minor comments below:
...monyhub/src/main/java/org/openhab/binding/harmonyhub/internal/handler/HarmonyHubHandler.java
Outdated
Show resolved
Hide resolved
addons/binding/org.openhab.binding.harmonyhub/META-INF/MANIFEST.MF
Outdated
Show resolved
Hide resolved
...monyhub/src/main/java/org/openhab/binding/harmonyhub/internal/handler/HarmonyHubHandler.java
Outdated
Show resolved
Hide resolved
…es, updated client to version 1.0, updated notice file of change of libraries. Signed-off-by: digitaldan <[email protected]>
@wborn thanks for the review! All changes made and committed. |
Signed-off-by: Wouter Born <[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 for the quick updates. LGTM now! Let's bring this to a bigger audience. :-)
This pull request has been mentioned on openHAB Community. There might be relevant details there: |
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/harmony-hub-binding-stopped-working/65986/12 |
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/icloud-binding-refresh-device-data-failed-again/69457/34 |
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/preparation-for-2-5m2/75738/3 |
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/preparation-for-2-5m2/75738/1 |
* Changed to using new websocket based library * Updating client lib, small changes to stability and timeouts * Update current activity when connected, update to latest client lib, fixes button press * Adding update jar * Update to latest client, fix merge issue * Removed dead/commented code, reduced log level, cleanup classpath files, updated client to version 1.0, updated notice file of change of libraries. * Remove empty line before closing brace Signed-off-by: Dan Cunningham <[email protected]> Signed-off-by: Pshatsillo <[email protected]>
* Changed to using new websocket based library * Updating client lib, small changes to stability and timeouts * Update current activity when connected, update to latest client lib, fixes button press * Adding update jar * Update to latest client, fix merge issue * Removed dead/commented code, reduced log level, cleanup classpath files, updated client to version 1.0, updated notice file of change of libraries. * Remove empty line before closing brace Signed-off-by: Dan Cunningham <[email protected]> Signed-off-by: Maximilian Hess <[email protected]>
This PR switches from using XMPP to JSON over Websockets. This was trigger by Logitech disabling XMPP access back in December. While they have since re-enabled XMPP as an option in their mobile app, WebSockets provide many advantages:
Initial tests with users show this is a drop in replacement and will not require any changes to items or files.
Fixes #4411
Also see https://community.openhab.org/t/logitech-harmony-hub-binding-4-15-206-firmware-broke-local-api-connection/60090
@wborn, anything to add?