mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
HM-SCI-3-FM hack by tobi73
git-svn-id: https://svn.fhem.de/fhem/trunk@1563 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
429d1bb72b
commit
c5dd00e882
@ -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})) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user