diff --git a/fhem/FHEM/00_ZWDongle.pm b/fhem/FHEM/00_ZWDongle.pm index 9f2c1e27d..f48f59626 100755 --- a/fhem/FHEM/00_ZWDongle.pm +++ b/fhem/FHEM/00_ZWDongle.pm @@ -343,10 +343,10 @@ ZWDongle_Get($@) if($cmd eq "neighborList") { my @b; - @b = grep(!/noRepeater/i, @a); my $noRep = (@b != @a); @a = @b; + @b = grep(!/onlyRep/i, @a); my $onlyRep = (@b != @a); @a = @b; @b = grep(!/includeDead/i, @a); my $wDead = (@b != @a); @a = @b; - $gets{neighborList} = "80%02x".($wDead ? "01":"00").($noRep ? "01":"00"); - return "Usage: get $name $cmd [noRepeater] [includeDead] nodeId" + $gets{neighborList} = "80%02x".($wDead ? "00":"01").($onlyRep ? "01":"00"); + return "Usage: get $name $cmd [onlyRep] [includeDead] nodeId" if(int(@a) != 1); } @@ -954,10 +954,11 @@ ZWDongle_parseNeighborList($$) return different controller specific information. Needed by developers only. -