mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-17 05:16:02 +00:00
74_XiaomiFlowerSens: fix error then use ssh and no connect
git-svn-id: https://svn.fhem.de/fhem/trunk@15805 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0115b6664e
commit
afcf38cc5b
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 74_XiaomiFlowerSens: fix error then use ssh and no connect
|
||||
- change: 72_FB_CALLIST: mapping tables (icon-mapping, external-mapping,...)
|
||||
will be evaluated after initialization is finished (Forum: #81892)
|
||||
- feature: 01_FHEMWEB.pm: -> as room separator (Forum #82151)
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user