2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

HMInfo:bug in peer handling

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

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";}