diff --git a/fhem/FHEM/73_PRESENCE2.pm b/fhem/FHEM/73_PRESENCE2.pm index 7b3d5d9ec..95baa862a 100644 --- a/fhem/FHEM/73_PRESENCE2.pm +++ b/fhem/FHEM/73_PRESENCE2.pm @@ -1,3 +1,4 @@ + # $Id$ ############################################################################## # @@ -33,7 +34,7 @@ use Blocking; use Time::HiRes qw(gettimeofday usleep sleep); use DevIo; -my $ModulVersion = "01.03d"; +my $ModulVersion = "01.03e"; my %LOG_Text = ( 0 => "SERVER:", 1 => "ERROR:", @@ -287,7 +288,6 @@ sub PRESENCE2_Define($$) { $hash->{helper}{updateConfig} = $name . ".Initialize"; use List::Util qw(pairmap); - my $hciDev = qx(hcitool dev); if ($a[2] eq "lan-ping") { delete $attr{$name}{nonblockingTimeOut}; @@ -383,6 +383,8 @@ sub PRESENCE2_Define($$) { . "FhemLog3Std:0,1 " . "hcitoolParam:name,info "; + my $hciDev = qx(hcitool dev); + if ($hciDev =~ /Devices:/) { $hciDev =~ s/\s+/ /g; $hciDev =~ s/Devices:\s//g; @@ -1894,7 +1896,6 @@ Options:

PRESENCE2

-
-
=end html_DE