diff --git a/fhem/FHEM/00_ZWDongle.pm b/fhem/FHEM/00_ZWDongle.pm index f51c8cb79..e87a0f2af 100644 --- a/fhem/FHEM/00_ZWDongle.pm +++ b/fhem/FHEM/00_ZWDongle.pm @@ -566,7 +566,7 @@ ZWDongle_Get($@) } elsif($cmd eq "backgroundRSSI") { ############################ my @list; my $i=0; - my $maxlen = (length($msg) >= 10 ? 10 : length($msg)-2); + my $maxlen = (length($msg) >= 10 ? 10 : length($msg)); for(my $off=4; $off<$maxlen; $off+=2) { my $dec = hex(substr($msg, $off, 2)); if($dec == 127 || $dec == 0) {