mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
remove strange logs
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4524 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
28778d750b
commit
af8adf487e
@ -579,9 +579,6 @@ sub CUL_HM_Parse($$) {##############################
|
|||||||
&& ($mTp eq '01' || $mTp eq '11')){
|
&& ($mTp eq '01' || $mTp eq '11')){
|
||||||
my $ioId = AttrVal($dhash->{IODev}{NAME},"hmId","-");
|
my $ioId = AttrVal($dhash->{IODev}{NAME},"hmId","-");
|
||||||
CUL_HM_eventP($dhash,"ErrIoId_$src")if($ioId ne $src);
|
CUL_HM_eventP($dhash,"ErrIoId_$src")if($ioId ne $src);
|
||||||
Log 1,"General ErrIoAttack ".$dhash->{NAME}.":$msg"
|
|
||||||
."\n ".$dhash->{helper}{cSnd}
|
|
||||||
if(defined $dhash->{helper}{cSnd} && $dhash->{helper}{cSnd} ne substr($msg,7));
|
|
||||||
CUL_HM_eventP($dhash,"ErrIoAttack")
|
CUL_HM_eventP($dhash,"ErrIoAttack")
|
||||||
if(defined $dhash->{helper}{cSnd} && $dhash->{helper}{cSnd} ne substr($msg,7));
|
if(defined $dhash->{helper}{cSnd} && $dhash->{helper}{cSnd} ne substr($msg,7));
|
||||||
}
|
}
|
||||||
@ -1944,7 +1941,7 @@ sub CUL_HM_parseCommon(@){#####################################################
|
|||||||
|
|
||||||
my @peers = split(",",AttrVal($cName,"peerIDs",""));
|
my @peers = split(",",AttrVal($cName,"peerIDs",""));
|
||||||
my @entities;
|
my @entities;
|
||||||
foreach my $peer (@peers){
|
foreach my $peer (grep !/00000000/,@peers){
|
||||||
my $pName = CUL_HM_id2Name($peer);
|
my $pName = CUL_HM_id2Name($peer);
|
||||||
$pName = CUL_HM_id2Name(substr($peer,0,6)) if (!$defs{$pName});
|
$pName = CUL_HM_id2Name(substr($peer,0,6)) if (!$defs{$pName});
|
||||||
next if (!$defs{$pName});#||substr($peer,0,6) ne $dst
|
next if (!$defs{$pName});#||substr($peer,0,6) ne $dst
|
||||||
@ -1952,8 +1949,9 @@ sub CUL_HM_parseCommon(@){#####################################################
|
|||||||
,"trig_$cName:$level"
|
,"trig_$cName:$level"
|
||||||
,"trigLast:$cName ".(($level ne "-")?":$level":""));
|
,"trigLast:$cName ".(($level ne "-")?":$level":""));
|
||||||
}
|
}
|
||||||
|
return (@entities
|
||||||
return "entities:".join(",",@entities);
|
?"entities:".join(",",@entities)
|
||||||
|
:"");
|
||||||
}
|
}
|
||||||
elsif($mTp eq "70"){ #Time to trigger TC##################
|
elsif($mTp eq "70"){ #Time to trigger TC##################
|
||||||
#send wakeup and process command stack
|
#send wakeup and process command stack
|
||||||
|
Loading…
x
Reference in New Issue
Block a user