From 4bd23c4c0eaf92368313d5f9a19aed797c9c2cba Mon Sep 17 00:00:00 2001 From: mgehre Date: Sun, 9 Dec 2012 15:03:53 +0000 Subject: [PATCH] MAX: increase timeouts git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2307 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/00_MAXLAN.pm | 2 +- fhem/FHEM/14_CUL_MAX.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/00_MAXLAN.pm b/fhem/FHEM/00_MAXLAN.pm index f9d61ec5e..16d8a5a65 100755 --- a/fhem/FHEM/00_MAXLAN.pm +++ b/fhem/FHEM/00_MAXLAN.pm @@ -30,7 +30,7 @@ my $reconnect_interval = 2; #seconds #the time it takes after sending one command till we see its effect in the L: response my $roundtriptime = 3; #seconds -my $read_timeout = 1; #seconds. How long to wait for an answer from the Cube over TCP/IP +my $read_timeout = 2; #seconds. How long to wait for an answer from the Cube over TCP/IP my $metadata_magic = 0x56; my $metadata_version = 2; diff --git a/fhem/FHEM/14_CUL_MAX.pm b/fhem/FHEM/14_CUL_MAX.pm index 210ea9feb..9c87e4283 100644 --- a/fhem/FHEM/14_CUL_MAX.pm +++ b/fhem/FHEM/14_CUL_MAX.pm @@ -25,7 +25,7 @@ my $timeBroadcastInterval = 6*60*60; #= 6 hours, the same time that the cube use my $resendRetries = 10; #how often resend before giving up? -my $ackTimeout = 2.3; #seconds: The MAX devices wake up once every second. Making this a fraction increases our change to hit +my $ackTimeout = 1.3; #seconds: The MAX devices wake up once every second. Making this a fraction increases our change to hit # the right moment the next time. sub