Increase timeout for thermostat status requests (#12852)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
This commit is contained in:
parent
4ded5732c3
commit
b829fe52e4
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
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 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.
|
The main thermostat functions such as thermostat mode, fan mode, temperature set point and hold mode can be controlled.
|
||||||
|
|||||||
@ -86,7 +86,7 @@ public class RadioThermostatConnector {
|
|||||||
public void getAsyncThermostatData(String resource) {
|
public void getAsyncThermostatData(String resource) {
|
||||||
String urlStr = buildRequestURL(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
|
@Override
|
||||||
public void onComplete(@Nullable Result result) {
|
public void onComplete(@Nullable Result result) {
|
||||||
if (result != null && !result.isFailed()) {
|
if (result != null && !result.isFailed()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user