From d0ac2d772e5e15888da41bc159d838fecc240397 Mon Sep 17 00:00:00 2001 From: klaus-schauer <> Date: Thu, 21 Apr 2016 18:41:53 +0000 Subject: [PATCH] 10_EnOcean: SmartAck routine changed git-svn-id: https://svn.fhem.de/fhem/trunk@11291 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_EnOcean.pm | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/fhem/FHEM/10_EnOcean.pm b/fhem/FHEM/10_EnOcean.pm index bd712335d..f4b6c7ea9 100755 --- a/fhem/FHEM/10_EnOcean.pm +++ b/fhem/FHEM/10_EnOcean.pm @@ -1,7 +1,7 @@ ############################################## # $Id$ -# 2016-04-17 +# 2016-04-21 # PID V1.0.0.9 # EnOcean Security in Perl, teach-in, VAES, MAC and message handling @@ -163,6 +163,7 @@ my %EnO_manuf = ( "040" => "Jaeger Direkt", "041" => "Air System Components Inc", "045" => "Holter", + "046" => "ID-RF", "049" => "Micropelt GmbH", "7FF" => "Multi user Manufacturer ID", ); @@ -6012,12 +6013,14 @@ sub EnOcean_Parse($$) $attr{$name}{$attrCntr} = $EnO_eepConfig{$subType}{attr}{$attrCntr}; } } - if (defined AttrVal($name, 'subDef', undef)) { - $subDef = $attr{$name}{subDef}; - } else { - $subDef = $postmasterID; - $attr{$name}{subDef} = $postmasterID; - } + #if (defined AttrVal($name, 'subDef', undef)) { + # $subDef = $attr{$name}{subDef}; + #} else { + #$subDef = $postmasterID; + #$attr{$name}{subDef} = $postmasterID; + #} + $subDef = 8 x '0'; + $attr{$name}{subDef} = 8 x '0'; # sent response to create mailbox $sendData = sprintf "00%04X00", $responseTime; EnOcean_SndRadio(undef, $hash, 2, $rorg, $sendData, $subDef, '00', $hash->{DEF});