HMInfo:bug in peer handling

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@23741 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2021-02-14 18:49:25 +00:00
parent 2f6d93fe2b
commit 2eca4d74d2

View File

@ -716,7 +716,11 @@ sub HMinfo_burstCheck(@) { ####################################################
my $prxt = CUL_HM_getRxType($defs{$pn}); my $prxt = CUL_HM_getRxType($defs{$pn});
next if (!($prxt & 0x82)); # not a burst peer next if (!($prxt & 0x82)); # not a burst peer
my $pnb = ReadingsVal($eName,"R-$pn-peerNeedsBurst" ,ReadingsVal($eName,".R-$pn-peerNeedsBurst",undef));
my ($pnb) = map{$defs{$eName}{READINGS}{$_}{VAL}}
grep/\.?R-$pn(_chn-..)?-peerNeedsBurst/,
keys%{$defs{$eName}{READINGS}};
if (!$pnb) {push @needBurstMiss, "$eName:\t$pn";} if (!$pnb) {push @needBurstMiss, "$eName:\t$pn";}
elsif($pnb !~ m /on/){push @needBurstFail, "$eName:\t$pn";} elsif($pnb !~ m /on/){push @needBurstFail, "$eName:\t$pn";}