2
0
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:
justme-1968 2013-09-07 08:46:36 +00:00
parent 3d3a3971dd
commit bedf8100f2

View File

@ -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();