HM-SCI-3-FM hack by tobi73

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@1563 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2012-05-15 09:03:27 +00:00
parent 674c02c377
commit a11458478e

View File

@@ -1477,6 +1477,9 @@ CUL_HM_Pair(@)
$devInfo =~ m,(..)(..)(..), ) {
my ($b1, $b2, $b3) = (hex($1)&0xf, hex($2), $3);
######## Hack for SCI: Channel B starting 0 not 1
$b2++ if($model eq "HM-SCI-3-FM");
for(my $i = $b2+1; $i<=$b1; $i++) {
my $nSrc = sprintf("%s%02X", $src, $i);
if(!defined($modules{CUL_HM}{defptr}{$nSrc})) {