]> git.basschouten.com Git - openhab-addons.git/commitdiff
Increase timeout for thermostat status requests (#12852)
authormlobstein <michael.lobstein@gmail.com>
Tue, 31 May 2022 07:39:44 +0000 (02:39 -0500)
committerGitHub <noreply@github.com>
Tue, 31 May 2022 07:39:44 +0000 (09:39 +0200)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
bundles/org.openhab.binding.radiothermostat/README.md
bundles/org.openhab.binding.radiothermostat/src/main/java/org/openhab/binding/radiothermostat/internal/communication/RadioThermostatConnector.java

index 74f87b317a966604eebc8d6e93db55a395aedb8c..4d70ce2bcb5b9a23abc2a0c582d0891c2fd53a40 100644 (file)
@@ -2,7 +2,8 @@
 
 ![RadioThermostat logo](doc/index.jpg)
 
-This binding connects RadioThermostat/3M Filtrete models CT30, CT50/3M50, CT80, etc. with built-in Wi-Fi module to openHAB.
+This binding connects RadioThermostat/3M Filtrete models CT30, CT50/3M50, CT80, etc. with built-in Wi-Fi module to openHAB. 
+Thermostats using a Z-Wave module are not supported but can be used via the openHAB ZWave binding.
 
 The binding retrieves and periodically updates all basic system information from the thermostat.
 The main thermostat functions such as thermostat mode, fan mode, temperature set point and hold mode can be controlled.
index b6e6881339303ee028dbd3859abc594f7e118a84..4e298c46f49107245d063decb5efaa252a13ea4d 100644 (file)
@@ -86,7 +86,7 @@ public class RadioThermostatConnector {
     public void getAsyncThermostatData(String resource) {
         String urlStr = buildRequestURL(resource);
 
-        httpClient.newRequest(urlStr).method(GET).timeout(20, TimeUnit.SECONDS).send(new BufferingResponseListener() {
+        httpClient.newRequest(urlStr).method(GET).timeout(30, TimeUnit.SECONDS).send(new BufferingResponseListener() {
             @Override
             public void onComplete(@Nullable Result result) {
                 if (result != null && !result.isFailed()) {