2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

HMConfig:Typo correction of reg definition

git-svn-id: https://svn.fhem.de/fhem/trunk@22435 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2020-07-19 15:42:56 +00:00
parent 7bbee7c9d8
commit e1424f75da

View File

@ -35,12 +35,18 @@ use vars qw(%culHmFunctSets);
use vars qw(%culHmBits);
use vars qw(@culHmCmdFlags);
use vars qw(%culHmTpl);
use vars qw(%culHmUpdate);
use vars qw($K_actDetID);
# ----------------modul globals-----------------------
my $K_actDetID = '000000'; # id of actionDetector
# potential updates for readings to guarantee best update performance
%culHmUpdate=(version => 1
,regValUpdt => {toggelDim =>"toggleDim"}
);
#my %culHmDevProps=(
# "01" => { st => "AlarmControl",
# "10" => { st => "switch",
@ -385,7 +391,7 @@ foreach my $al (keys %culHmModel){ # duplicate entries for alias devices
OffDly =>{a=> 8.0,s=>1.0,l=>3,min=>"0.0" ,max=>111600,c=>'fltCvT' ,p=>'y',f=>'' ,u=>'s' ,d=>0,t=>"off delay"},
OffTime =>{a=> 9.0,s=>1.0,l=>3,min=>"0.0" ,max=>111600,c=>'fltCvT' ,p=>'y',f=>'' ,u=>'s' ,d=>0,t=>"off time" ,lit=>{unused=>111600}},
ActionTypeDim =>{a=> 10.0,s=>0.4,l=>3,min=>0 ,max=>8 ,c=>'lit' ,p=>'y',f=>'' ,u=>'' ,d=>1,t=>"" ,lit=>{off=>0,jmpToTarget=>1,toggleToCnt=>2,toggleToCntInv=>3,upDim=>4,downDim=>5,toggelDim=>6,toggelDimToCnt=>7,toggelDimToCntInv=>8}},
ActionTypeDim =>{a=> 10.0,s=>0.4,l=>3,min=>0 ,max=>8 ,c=>'lit' ,p=>'y',f=>'' ,u=>'' ,d=>1,t=>"" ,lit=>{off=>0,jmpToTarget=>1,toggleToCnt=>2,toggleToCntInv=>3,upDim=>4,downDim=>5,toggleDim=>6,toggleDimToCnt=>7,toggleDimToCntInv=>8}},
OffDlyBlink =>{a=> 14.5,s=>0.1,l=>3,min=>0 ,max=>1 ,c=>'lit' ,p=>'y',f=>'' ,u=>'' ,d=>0,t=>"blink when in off delay" ,lit=>{off=>0,on=>1}},
OnLvlPrio =>{a=> 14.6,s=>0.1,l=>3,min=>0 ,max=>1 ,c=>'lit' ,p=>'y',f=>'' ,u=>'' ,d=>0,t=>"" ,lit=>{high=>0,low=>1}},
OnDlyMode =>{a=> 14.7,s=>0.1,l=>3,min=>0 ,max=>1 ,c=>'lit' ,p=>'y',f=>'' ,u=>'' ,d=>0,t=>"" ,lit=>{setToOff=>0,NoChange=>1}},
@ -410,7 +416,7 @@ foreach my $al (keys %culHmModel){ # duplicate entries for alias devices
OffDlyOldTime =>{a=> 26.0,s=>1.0,l=>3,min=>0.1 ,max=>25.6 ,c=>'' ,p=>'y',f=>10 ,u=>'s' ,d=>0,t=>"off delay blink time for high"},
DimElsOffTimeMd =>{a=> 38.6,s=>0.1,l=>3,min=>0 ,max=>1 ,c=>'lit' ,p=>'y',f=>'' ,u=>'' ,d=>0,t=>"" ,lit=>{absolut=>0,minimal=>1}},
DimElsOnTimeMd =>{a=> 38.7,s=>0.1,l=>3,min=>0 ,max=>1 ,c=>'lit' ,p=>'y',f=>'' ,u=>'' ,d=>0,t=>"" ,lit=>{absolut=>0,minimal=>1}},
DimElsActionType=>{a=> 38.0,s=>0.4,l=>3,min=>0 ,max=>8 ,c=>'lit' ,p=>'y',f=>'' ,u=>'' ,d=>0,t=>"" ,lit=>{off=>0,jmpToTarget=>1,toggleToCnt=>2,toggleToCntInv=>3,upDim=>4,downDim=>5,toggelDim=>6,toggelDimToCnt=>7,toggelDimToCntInv=>8}},
DimElsActionType=>{a=> 38.0,s=>0.4,l=>3,min=>0 ,max=>8 ,c=>'lit' ,p=>'y',f=>'' ,u=>'' ,d=>0,t=>"" ,lit=>{off=>0,jmpToTarget=>1,toggleToCnt=>2,toggleToCntInv=>3,upDim=>4,downDim=>5,toggleDim=>6,toggleDimToCnt=>7,toggleDimToCntInv=>8}},
#output Unit
ActTypeMp3 =>{a=> 36 ,s=>1 ,l=>3,min=>0 ,max=>255 ,c=>'' ,p=>'y',f=>'' ,u=>'' ,d=>0,t=>"Tone or MP3 to be played"},
ActTypeLed =>{a=> 36 ,s=>1 ,l=>3,min=>0 ,max=>255 ,c=>'lit' ,p=>'y',f=>'' ,u=>'' ,d=>0,t=>"LED color" ,lit=>{no=>0x00,redS=>0x11,redL=>0x12,greenS=>0x21,greenL=>0x22,orangeS=>0x31,orangeL=>0x32}},
@ -1854,6 +1860,7 @@ $culHmModelSets{"HM-OU-CM-PCB"} = $culHmModelSets{"HM-SEC-SD"};
$culHmModelSets{"HM-SEN-WA-OD"} = $culHmModelSets{"HM-SEC-SD"};
$culHmModelSets{"HM-HM-LC-DW-WM"} = $culHmSubTypeSets{dimmer}; ##### reference subtype sets
%culHmChanSets = (
"HM-CC-TC00" =>{ "desired-temp" =>"[on|off|6.0..30.0]"
,statusRequest =>""