mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
10CUL_HM:change slat reading to pctSlat for slider support
git-svn-id: https://svn.fhem.de/fhem/trunk@15170 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
11504aaf88
commit
603b5b3cb8
@ -2199,7 +2199,7 @@ sub CUL_HM_Parse($$) {#########################################################
|
|||||||
|
|
||||||
if ($mh{md} eq "HM-LC-Ja1PBU-FM" && defined $mI[6]){
|
if ($mh{md} eq "HM-LC-Ja1PBU-FM" && defined $mI[6]){
|
||||||
my %dirName = ( 0=>"stop" ,1=>"up" ,2=>"down" ,3=>"err" );
|
my %dirName = ( 0=>"stop" ,1=>"up" ,2=>"down" ,3=>"err" );
|
||||||
push @evtEt,[$mh{cHash},1,"slat:".hex($mI[5])/2];
|
push @evtEt,[$mh{cHash},1,"pctSlat:".hex($mI[5])/2];
|
||||||
push @evtEt,[$mh{cHash},1,"slatDir:".$dirName{hex($mI[6]) & 0x3}];
|
push @evtEt,[$mh{cHash},1,"slatDir:".$dirName{hex($mI[6]) & 0x3}];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user