diff --git a/fhem/CHANGED b/fhem/CHANGED index 454b2f419..ec7958c42 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,8 @@ # 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_XiaomiBTLESens: fix ssh gatttool which test + - new: 74_XiaomiBTLESens: modul replace 74_XiaomiFlowerSens, add Support + for Xiamomi Themometer/Hygrometer mit Display - bugfix: 42_SYSMON: Falsche Angabe von Ram free / used bei Debian Stretch - bugfix: 70_BRAVIA: fixed hash for space (application, channel, input names) diff --git a/fhem/FHEM/74_XiaomiBTLESens.pm b/fhem/FHEM/74_XiaomiBTLESens.pm index 9f98652fc..a990b2a49 100644 --- a/fhem/FHEM/74_XiaomiBTLESens.pm +++ b/fhem/FHEM/74_XiaomiBTLESens.pm @@ -47,7 +47,7 @@ use JSON; use Blocking; -my $version = "2.0.0"; +my $version = "2.0.1"; @@ -442,9 +442,8 @@ sub XiaomiBTLESens_ExecGatttool_Run($) { $gatttool = qx(which gatttool) if($sshHost eq 'none'); $gatttool = qx(ssh $sshHost 'which gatttool') if($sshHost ne 'none'); chomp $gatttool; - $gatttool = "ssh $sshHost \'$gatttool\'" if($sshHost ne 'none'); - if(-x $gatttool) { + if(defined($gatttool) and ($gatttool)) { my $cmd; my $loop;