Increase timeout for thermostat status requests (#12852)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
This commit is contained in:
mlobstein
2022-05-31 02:39:44 -05:00
committed by GitHub
parent 4ded5732c3
commit b829fe52e4
2 changed files with 3 additions and 2 deletions

View 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.

View 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()) {