From c6c78bbf9445bba3e09f80220a5b7eba8f52b705 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Fri, 13 Dec 2019 15:58:54 +0000 Subject: [PATCH] 77_SMAEM.pm: contrib 3.5.0 git-svn-id: https://svn.fhem.de/fhem/trunk@20730 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/77_SMAEM.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/contrib/DS_Starter/77_SMAEM.pm b/fhem/contrib/DS_Starter/77_SMAEM.pm index 1a21224f8..768a0f42d 100644 --- a/fhem/contrib/DS_Starter/77_SMAEM.pm +++ b/fhem/contrib/DS_Starter/77_SMAEM.pm @@ -314,7 +314,7 @@ sub SMAEM_Read ($) { $hex =~ /.*90000000(.{6})5200000000$/; # Firmware Version extrahieren if($1) { - my $fw = $1; + my $fw = hex($1); $fw =~ s/^(.{2})(.{2})(.{2})/"$1.$2.$3"/e; $hash->{FIRMWARE} = $fw; }