]> git.basschouten.com Git - openhab-addons.git/commit
[freeboxos] Add websocket connection refresh mechanism (#15543)
authorGaël L'hopital <gael@lhopital.org>
Sun, 8 Oct 2023 08:47:08 +0000 (10:47 +0200)
committerGitHub <noreply@github.com>
Sun, 8 Oct 2023 08:47:08 +0000 (10:47 +0200)
commitbef7744c568ab0a52a61d6b83e87a0f1ee3fd3a7
tree8e1806cfb6d75a5c2304471cef12bad47bdc86df
parent58d20839c18bf28ca2ea751c7955f43f25bcc033
[freeboxos] Add websocket connection refresh mechanism (#15543)

* Adding the possibility to disable websocket listening.
This is set up in order to ease debugging of the "Erreur Interne" issue.

* Enhancing websocket work with recurrent deconnection, simplification of listeners handling
* refactored function name
* Fixed the name of the channel where the refresh command is sent.
* Solving SAT issues
* Corrected doc error
* Added properties
* Removed gson 2.10 now that it is included into core.

---------

Signed-off-by: clinique <gael@lhopital.org>
bundles/org.openhab.binding.freeboxos/README.md
bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/api/rest/FreeboxOsSession.java
bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/api/rest/WebSocketManager.java
bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/config/FreeboxOsConfiguration.java
bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/handler/ApiConsumerHandler.java
bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/handler/HostHandler.java
bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/handler/VmHandler.java
bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/config/bridge-config.xml
bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/i18n/freeboxos.properties