ignore startup messages
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3843 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -414,6 +414,9 @@ JeeLink_Parse($$$$)
|
||||
#Log3, $name, 5, "$name: $dmsg $rssi $lqi";
|
||||
|
||||
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
|
||||
|
||||
$hash->{"${name}_MSGCNT"}++;
|
||||
|
||||
Reference in New Issue
Block a user