mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +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:
parent
64c82113d1
commit
45e9953ec1
@ -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";}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user