mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-07 22:29:19 +00:00
ignore startup messages
git-svn-id: https://svn.fhem.de/fhem/trunk@3843 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
96ba79adda
commit
97a21f7976
@ -414,6 +414,9 @@ JeeLink_Parse($$$$)
|
|||||||
#Log3, $name, 5, "$name: $dmsg $rssi $lqi";
|
#Log3, $name, 5, "$name: $dmsg $rssi $lqi";
|
||||||
|
|
||||||
next if(!$dmsg || length($dmsg) < 1); # Bogus messages
|
next if(!$dmsg || length($dmsg) < 1); # Bogus messages
|
||||||
|
next if($dmsg =~ m/^\[pcaSerial/ ); # ignore startup messages
|
||||||
|
next if($dmsg =~ m/^Available commands:/ ); # ignore startup messages
|
||||||
|
next if($dmsg =~ m/^ .* - / ); # ignore startup messages
|
||||||
next if($dmsg =~ m/^-> ack/ ); # ignore send ack
|
next if($dmsg =~ m/^-> ack/ ); # ignore send ack
|
||||||
|
|
||||||
$hash->{"${name}_MSGCNT"}++;
|
$hash->{"${name}_MSGCNT"}++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user