merge from devel

This commit is contained in:
Marko Oldenburg 2018-01-05 22:57:30 +01:00
commit a7ddc43d00

View File

@ -47,7 +47,11 @@ use JSON;
use Blocking;
my $version = "1.4.0";
my $version = "1.4.1";
my %CallBatteryFirmwareAge = ( '8h' => 28800,
'16h' => 57600,
'24h' => 86400,
@ -448,6 +452,9 @@ sub XiaomiFlowerSens_ExecGatttool_Run($) {
Log3 $name, 5, "XiaomiFlowerSens ($name) - ExecGatttool_Run: gatttool loop result ".join(",", @gtResult);
$loop++;
$gtResult[0] = 'connect error'
unless( defined($gtResult[0]) );
} while( $loop < 5 and $gtResult[0] eq 'connect error' );
Log3 $name, 4, "XiaomiFlowerSens ($name) - ExecGatttool_Run: gatttool result ".join(",", @gtResult);