diff --git a/fhem/FHEM/36_JeeLink.pm b/fhem/FHEM/36_JeeLink.pm index 1b58a2102..c9f92a774 100644 --- a/fhem/FHEM/36_JeeLink.pm +++ b/fhem/FHEM/36_JeeLink.pm @@ -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();