write sketch version to internal value VERSION
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3869 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -414,10 +414,14 @@ JeeLink_Parse($$$$)
|
||||
#Log3, $name, 5, "$name: $dmsg $rssi $lqi";
|
||||
|
||||
next if(!$dmsg || length($dmsg) < 1); # Bogus messages
|
||||
return if($dmsg =~ m/^\[pcaSerial/ ); # ignore startup messages
|
||||
return if($dmsg =~ m/^Available commands:/ ); # ignore startup messages
|
||||
return if($dmsg =~ m/^ .* - / ); # ignore startup messages
|
||||
return if($dmsg =~ m/^-> ack/ ); # ignore send ack
|
||||
return if($dmsg =~ m/^Available commands:/ ); # ignore startup messages
|
||||
return if($dmsg =~ m/^ .* - / ); # ignore startup messages
|
||||
return if($dmsg =~ m/^-> ack/ ); # ignore send ack
|
||||
|
||||
if($dmsg =~ m/^\[pcaSerial/ ) {
|
||||
$hash->{VERSION} = $dmsg;
|
||||
return;
|
||||
}
|
||||
|
||||
$hash->{"${name}_MSGCNT"}++;
|
||||
$hash->{"${name}_TIME"} = TimeNow();
|
||||
|
||||
Reference in New Issue
Block a user