diff --git a/fhem/FHEM/10_EnOcean.pm b/fhem/FHEM/10_EnOcean.pm index e00e0e315..ef97c5208 100755 --- a/fhem/FHEM/10_EnOcean.pm +++ b/fhem/FHEM/10_EnOcean.pm @@ -319,11 +319,11 @@ my %EnO_eepConfig = ( "F6.3F.7F" => {attr => {subType => "switch.7F"}}, "B0.00.00" => {attr => {subType => "genericProfile"}}, # special profiles - "FF.FF.08" => {attr => {subType => "gateway", eep => "A5-38-08", gwCmd => "dimming", manufID => "00D", webCmd => "on:off:dim"}}, - "FF.FF.7F" => {attr => {subType => "manufProfile", eep => "A5-3F-7F", manufID => "00D", webCmd => "opens:stop:closes"}}, - "FF.FF.FD" => {attr => {subType => "FRW", eep => "F6-02-01", manufID => "00D"}}, - "FF.FF.FE" => {attr => {subType => "PM101", manufID => "005"}}, - "FF.FF.FF" => {attr => {subType => "raw"}}, + "G5.38.08" => {attr => {subType => "gateway", eep => "A5-38-08", gwCmd => "dimming", manufID => "00D", webCmd => "on:off:dim"}}, + "G5.3F.7F" => {attr => {subType => "manufProfile", eep => "A5-3F-7F", manufID => "00D", webCmd => "opens:stop:closes"}}, + "L6.02.01" => {attr => {subType => "FRW", eep => "F6-02-01", manufID => "00D"}}, + "G5.ZZ.ZZ" => {attr => {subType => "PM101", manufID => "005"}}, + "ZZ.ZZ.ZZ" => {attr => {subType => "raw"}}, ); my %EnO_getRemoteFunctionCode = ( @@ -527,7 +527,7 @@ EnOcean_Define($$) AssignIoPort($hash); $attr{$name}{manufID} = "7FF"; $attr{$name}{room} = "EnOcean"; - if (defined($a[3]) && $a[3] =~ m/^([A-Fa-f0-9]{2})-([A-Fa-f0-9]{2})-([A-Fa-f0-9]{2})$/i) { + if (defined($a[3]) && $a[3] =~ m/^([A-Za-z0-9]{2})-([A-Za-z0-9]{2})-([A-Za-z0-9]{2})$/i) { my ($rorg, $func, $type) = (uc($1), uc($2), uc($3)); $rorg = "F6" if ($rorg eq "05"); $rorg = "D5" if ($rorg eq "06"); @@ -545,7 +545,7 @@ EnOcean_Define($$) return "EEP $rorg-$func-$type not supported"; } } - } elsif ($a[2] =~ m/^([A-Fa-f0-9]{2})-([A-Fa-f0-9]{2})-([A-Fa-f0-9]{2})$/i) { + } elsif ($a[2] =~ m/^([A-Za-z0-9]{2})-([A-Za-z0-9]{2})-([A-Za-z0-9]{2})$/i) { AssignIoPort($hash); $defs{$name}{DEF} = $def; $def = EnOcean_CheckSenderID("getNextID", $hash->{IODev}{NAME}, "00000000"); @@ -11187,11 +11187,11 @@ EnOcean_Undef($$) Inofficial EEP for special devices
IODev
is the name of the TCM Module.t/s
is the time for the learning period.