From: mlobstein Date: Tue, 31 May 2022 07:39:44 +0000 (-0500) Subject: Increase timeout for thermostat status requests (#12852) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=b829fe52e4597b3991742392c1038e188950b46d;p=openhab-addons.git Increase timeout for thermostat status requests (#12852) Signed-off-by: Michael Lobstein --- diff --git a/bundles/org.openhab.binding.radiothermostat/README.md b/bundles/org.openhab.binding.radiothermostat/README.md index 74f87b317a..4d70ce2bcb 100644 --- a/bundles/org.openhab.binding.radiothermostat/README.md +++ b/bundles/org.openhab.binding.radiothermostat/README.md @@ -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. diff --git a/bundles/org.openhab.binding.radiothermostat/src/main/java/org/openhab/binding/radiothermostat/internal/communication/RadioThermostatConnector.java b/bundles/org.openhab.binding.radiothermostat/src/main/java/org/openhab/binding/radiothermostat/internal/communication/RadioThermostatConnector.java index b6e6881339..4e298c46f4 100644 --- a/bundles/org.openhab.binding.radiothermostat/src/main/java/org/openhab/binding/radiothermostat/internal/communication/RadioThermostatConnector.java +++ b/bundles/org.openhab.binding.radiothermostat/src/main/java/org/openhab/binding/radiothermostat/internal/communication/RadioThermostatConnector.java @@ -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()) {