]> git.basschouten.com Git - openhab-addons.git/commit
[homematic] Fix for two (re)connection problems (#9692)
authorMartin Herbst <develop@mherbst.de>
Tue, 12 Jan 2021 21:11:52 +0000 (22:11 +0100)
committerGitHub <noreply@github.com>
Tue, 12 Jan 2021 21:11:52 +0000 (22:11 +0100)
commit706af08fb62618ecac40c05582f404ce892469f2
tree4871eb359f9573485957cd6d6a0387041f1f2ab4
parentac3f907b36cb014edea213bf4f1891a8dc602876
[homematic] Fix for two (re)connection problems (#9692)

* Replace deprecated constructors
* Removed no longer existing settings from the documentation. They were already marked as deprecated since several versions.
* Refactored communication with the HM gateway
- simplified coding for the communication with the gateway
- buffer size for communication is now configurable to avoid problems
with too small buffers
- Previous solution for #6963 was not sufficient. Should be finally done
with these changes
* Retrieving the duty cycle is sufficient to check connection
- ping requests could therefore be safely removed problems with the automatic reconnection were solved.
* Changed to explicit list of Exception

Fixes #8808

Signed-off-by: Martin Herbst <develop@mherbst.de>
bundles/org.openhab.binding.homematic/README.md
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/common/HomematicConfig.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/AbstractHomematicGateway.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/client/RpcClient.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/client/XmlRpcClient.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/message/BinRpcMessage.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/message/XmlRpcResponse.java
bundles/org.openhab.binding.homematic/src/main/resources/OH-INF/thing/bridge.xml