mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
write sketch version to internal value VERSION
git-svn-id: https://svn.fhem.de/fhem/trunk@3869 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3d3a3971dd
commit
bedf8100f2
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user