mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
10_CUL_HM:mdir wm55 improve
git-svn-id: https://svn.fhem.de/fhem/trunk@8388 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7fae1953ad
commit
dafcff0d61
@ -230,8 +230,8 @@ sub CUL_HM_updateConfig($){
|
|||||||
delete $attr{$name}{$_}
|
delete $attr{$name}{$_}
|
||||||
foreach ( "autoReadReg","actCycle","actStatus","burstAccess","serialNr"
|
foreach ( "autoReadReg","actCycle","actStatus","burstAccess","serialNr"
|
||||||
,"IODev","IOList","IOgrp","hmProtocolEvents","rssiLog");
|
,"IODev","IOList","IOgrp","hmProtocolEvents","rssiLog");
|
||||||
$hash->{helper}{role}{vrt} = 1;
|
#$hash->{helper}{role}{vrt} = 1;
|
||||||
$hash->{helper}{role}{dev} = 1;
|
#$hash->{helper}{role}{dev} = 1;
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
CUL_HM_ID2PeerList($name,"",1); # update peerList out of peerIDs
|
CUL_HM_ID2PeerList($name,"",1); # update peerList out of peerIDs
|
||||||
@ -3014,7 +3014,7 @@ sub CUL_HM_Get($@) {#+++++++++++++++++ get command+++++++++++++++++++++++++++++
|
|||||||
my ($dst,$chn) = unpack 'A6A2',$hash->{DEF}.($roleC?'01':'00');
|
my ($dst,$chn) = unpack 'A6A2',$hash->{DEF}.($roleC?'01':'00');
|
||||||
|
|
||||||
my $h = undef;
|
my $h = undef;
|
||||||
$h = $culHmGlobalGets->{$cmd} if(!$roleV);
|
$h = $culHmGlobalGets->{$cmd} if(!$roleV &&($roleD || $roleC));
|
||||||
$h = $culHmVrtGets->{$cmd} if(!defined($h) && $roleV);
|
$h = $culHmVrtGets->{$cmd} if(!defined($h) && $roleV);
|
||||||
$h = $culHmSubTypeGets->{$st}{$cmd} if(!defined($h) && $culHmSubTypeGets->{$st});
|
$h = $culHmSubTypeGets->{$st}{$cmd} if(!defined($h) && $culHmSubTypeGets->{$st});
|
||||||
$h = $culHmModelGets->{$md}{$cmd} if(!defined($h) && $culHmModelGets->{$md});
|
$h = $culHmModelGets->{$md}{$cmd} if(!defined($h) && $culHmModelGets->{$md});
|
||||||
@ -3023,7 +3023,7 @@ sub CUL_HM_Get($@) {#+++++++++++++++++ get command+++++++++++++++++++++++++++++
|
|||||||
|
|
||||||
if(!defined($h)) {
|
if(!defined($h)) {
|
||||||
my @arr = ();
|
my @arr = ();
|
||||||
if(!$roleV) {foreach(keys %{$culHmGlobalGets} ){push @arr,"$_:".$culHmGlobalGets->{$_} }};
|
if(!$roleV &&($roleD || $roleC)){foreach(keys %{$culHmGlobalGets} ){push @arr,"$_:".$culHmGlobalGets->{$_} }};
|
||||||
if($roleV) {foreach(keys %{$culHmVrtGets} ){push @arr,"$_:".$culHmVrtGets->{$_} }};
|
if($roleV) {foreach(keys %{$culHmVrtGets} ){push @arr,"$_:".$culHmVrtGets->{$_} }};
|
||||||
if($culHmSubTypeGets->{$st}) {foreach(keys %{$culHmSubTypeGets->{$st}}){push @arr,"$_:".${$culHmSubTypeGets->{$st}}{$_} }};
|
if($culHmSubTypeGets->{$st}) {foreach(keys %{$culHmSubTypeGets->{$st}}){push @arr,"$_:".${$culHmSubTypeGets->{$st}}{$_} }};
|
||||||
if($culHmModelGets->{$md}) {foreach(keys %{$culHmModelGets->{$md}} ){push @arr,"$_:".${$culHmModelGets->{$md}}{$_} }};
|
if($culHmModelGets->{$md}) {foreach(keys %{$culHmModelGets->{$md}} ){push @arr,"$_:".${$culHmModelGets->{$md}}{$_} }};
|
||||||
@ -3281,7 +3281,7 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
|
|||||||
my $fkt = $hash->{helper}{fkt}?$hash->{helper}{fkt}:"";
|
my $fkt = $hash->{helper}{fkt}?$hash->{helper}{fkt}:"";
|
||||||
|
|
||||||
my $h = undef;
|
my $h = undef;
|
||||||
$h = $culHmGlobalSets->{$cmd} if( !$roleV);
|
$h = $culHmGlobalSets->{$cmd} if( !$roleV &&($roleD || $roleC));
|
||||||
$h = $culHmGlobalSetsVrtDev->{$cmd} if(!defined($h) &&( $roleV || !$st) && $roleD);
|
$h = $culHmGlobalSetsVrtDev->{$cmd} if(!defined($h) &&( $roleV || !$st) && $roleD);
|
||||||
$h = $culHmGlobalSetsDevice->{$cmd} if(!defined($h) && !$roleV && $roleD);
|
$h = $culHmGlobalSetsDevice->{$cmd} if(!defined($h) && !$roleV && $roleD);
|
||||||
$h = $culHmSubTypeDevSets->{$st}{$cmd}if(!defined($h) && !$roleV && $roleD);
|
$h = $culHmSubTypeDevSets->{$st}{$cmd}if(!defined($h) && !$roleV && $roleD);
|
||||||
@ -3299,13 +3299,13 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
|
|||||||
if(!defined($h) && defined($culHmSubTypeSets->{$st}{pct}) && $cmd =~ m/^\d+/) {
|
if(!defined($h) && defined($culHmSubTypeSets->{$st}{pct}) && $cmd =~ m/^\d+/) {
|
||||||
splice @a, 1, 0,"pct";#insert the actual command
|
splice @a, 1, 0,"pct";#insert the actual command
|
||||||
}
|
}
|
||||||
elsif(!defined($h)) {
|
elsif(!defined($h)) { ### unknown - return the commandlist
|
||||||
my @arr1 = ();
|
my @arr1 = ();
|
||||||
if( $st ne "virtual") {foreach(keys %{$culHmGlobalSets} ){push @arr1,"$_:".$culHmGlobalSets->{$_} }};
|
if( !$roleV &&($roleD || $roleC) ){foreach(keys %{$culHmGlobalSets} ){push @arr1,"$_:".$culHmGlobalSets->{$_} }};
|
||||||
if(($st eq "virtual"||!$st) && $roleD){foreach(keys %{$culHmGlobalSetsVrtDev} ){push @arr1,"$_:".$culHmGlobalSetsVrtDev->{$_} }};
|
if(( $roleV||!$st) && $roleD){foreach(keys %{$culHmGlobalSetsVrtDev} ){push @arr1,"$_:".$culHmGlobalSetsVrtDev->{$_} }};
|
||||||
if( $st ne "virtual" && $roleD){foreach(keys %{$culHmGlobalSetsDevice} ){push @arr1,"$_:".$culHmGlobalSetsDevice->{$_} }};
|
if( !$roleV && $roleD){foreach(keys %{$culHmGlobalSetsDevice} ){push @arr1,"$_:".$culHmGlobalSetsDevice->{$_} }};
|
||||||
if( $st ne "virtual" && $roleD){foreach(keys %{$culHmSubTypeDevSets->{$st}}){push @arr1,"$_:".${$culHmSubTypeDevSets->{$st}}{$_}}};
|
if( !$roleV && $roleD){foreach(keys %{$culHmSubTypeDevSets->{$st}}){push @arr1,"$_:".${$culHmSubTypeDevSets->{$st}}{$_}}};
|
||||||
if( $st ne "virtual" && $roleC){foreach(keys %{$culHmGlobalSetsChn} ){push @arr1,"$_:".$culHmGlobalSetsChn->{$_} }};
|
if( !$roleV && $roleC){foreach(keys %{$culHmGlobalSetsChn} ){push @arr1,"$_:".$culHmGlobalSetsChn->{$_} }};
|
||||||
if( $culHmSubTypeSets->{$st} && $roleC){foreach(keys %{$culHmSubTypeSets->{$st}} ){push @arr1,"$_:".${$culHmSubTypeSets->{$st}}{$_} }};
|
if( $culHmSubTypeSets->{$st} && $roleC){foreach(keys %{$culHmSubTypeSets->{$st}} ){push @arr1,"$_:".${$culHmSubTypeSets->{$st}}{$_} }};
|
||||||
if( $culHmModelSets->{$md}) {foreach(keys %{$culHmModelSets->{$md}} ){push @arr1,"$_:".${$culHmModelSets->{$md}}{$_} }};
|
if( $culHmModelSets->{$md}) {foreach(keys %{$culHmModelSets->{$md}} ){push @arr1,"$_:".${$culHmModelSets->{$md}}{$_} }};
|
||||||
if( $culHmChanSets->{$md."00"} && $roleD){foreach(keys %{$culHmChanSets->{$md."00"}} ){push @arr1,"$_:".${$culHmChanSets->{$md."00"}}{$_} }};
|
if( $culHmChanSets->{$md."00"} && $roleD){foreach(keys %{$culHmChanSets->{$md."00"}} ){push @arr1,"$_:".${$culHmChanSets->{$md."00"}}{$_} }};
|
||||||
@ -8667,6 +8667,7 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
|
|||||||
restore will not delete any peered channels, it will just add peer channels.<br>
|
restore will not delete any peered channels, it will just add peer channels.<br>
|
||||||
</li>
|
</li>
|
||||||
<li><B>listDevice</B><br>
|
<li><B>listDevice</B><br>
|
||||||
|
<ul>
|
||||||
<li>when used with ccu it returns a list of Devices using the ccu service to assign an IO.<br>
|
<li>when used with ccu it returns a list of Devices using the ccu service to assign an IO.<br>
|
||||||
</li>
|
</li>
|
||||||
<li>when used with ActionDetector user will get a comma separated list of entities being assigned to the action detector<br>
|
<li>when used with ActionDetector user will get a comma separated list of entities being assigned to the action detector<br>
|
||||||
@ -8676,9 +8677,9 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
|
|||||||
get ActionDetector listDevice unknown # returns entities with status unknown<br>
|
get ActionDetector listDevice unknown # returns entities with status unknown<br>
|
||||||
get ActionDetector listDevice dead # returns entities with status dead<br>
|
get ActionDetector listDevice dead # returns entities with status dead<br>
|
||||||
</li>
|
</li>
|
||||||
</li>
|
|
||||||
<br>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul><br>
|
||||||
|
|
||||||
<a name="CUL_HMattr"></a><b>Attributes</b>
|
<a name="CUL_HMattr"></a><b>Attributes</b>
|
||||||
<ul>
|
<ul>
|
||||||
@ -9944,6 +9945,7 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
|
|||||||
"restore" löscht keine verknüpften Kanäle, es fügt nur neue Peers hinzu.<br>
|
"restore" löscht keine verknüpften Kanäle, es fügt nur neue Peers hinzu.<br>
|
||||||
</li>
|
</li>
|
||||||
<li><B>listDevice</B><br>
|
<li><B>listDevice</B><br>
|
||||||
|
<ul>
|
||||||
<li>bei einer CCU gibt es eine Liste der Devices, welche den ccu service zum zuweisen der IOs zurück<br>
|
<li>bei einer CCU gibt es eine Liste der Devices, welche den ccu service zum zuweisen der IOs zurück<br>
|
||||||
</li>
|
</li>
|
||||||
<li>beim ActionDetector wird eine Komma geteilte Liste der Entities zurückgegeben<br>
|
<li>beim ActionDetector wird eine Komma geteilte Liste der Entities zurückgegeben<br>
|
||||||
@ -9953,8 +9955,8 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
|
|||||||
get ActionDetector listDevice unknown # returns entities mit status unknown<br>
|
get ActionDetector listDevice unknown # returns entities mit status unknown<br>
|
||||||
get ActionDetector listDevice dead # returns entities mit status dead<br>
|
get ActionDetector listDevice dead # returns entities mit status dead<br>
|
||||||
</li>
|
</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul><br>
|
</ul><br>
|
||||||
<a name="CUL_HMattr"></a><b>Attribute</b>
|
<a name="CUL_HMattr"></a><b>Attribute</b>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -302,9 +302,6 @@ my $K_actDetID = '000000'; # id of actionDetector
|
|||||||
|
|
||||||
# "HM-LGW-O-TW-W-EU" #Funk LAN Gateway
|
# "HM-LGW-O-TW-W-EU" #Funk LAN Gateway
|
||||||
#################open:---------------------------
|
#################open:---------------------------
|
||||||
|
|
||||||
# rf_s list 1 ist neu
|
|
||||||
# rf_s_644 list 1 ist neu
|
|
||||||
);
|
);
|
||||||
|
|
||||||
##----------definitions for register settings-----------------
|
##----------definitions for register settings-----------------
|
||||||
@ -447,7 +444,7 @@ my $K_actDetID = '000000'; # id of actionDetector
|
|||||||
signalTone =>{a=> 3.6,s=>0.2,l=>0,min=>0 ,max=>3 ,c=>'lit' ,f=>'' ,u=>'' ,d=>0,t=>"" ,lit=>{low=>0,mid=>1,high=>2,veryHigh=>3}},
|
signalTone =>{a=> 3.6,s=>0.2,l=>0,min=>0 ,max=>3 ,c=>'lit' ,f=>'' ,u=>'' ,d=>0,t=>"" ,lit=>{low=>0,mid=>1,high=>2,veryHigh=>3}},
|
||||||
|
|
||||||
brightness =>{a=> 4.0,s=>0.4,l=>0,min=>0 ,max=>15 ,c=>'' ,f=>'' ,u=>'' ,d=>1,t=>"Display brightness"},
|
brightness =>{a=> 4.0,s=>0.4,l=>0,min=>0 ,max=>15 ,c=>'' ,f=>'' ,u=>'' ,d=>1,t=>"Display brightness"},
|
||||||
energyOpt =>{a=> 8.0,s=>1.0,l=>0,min=>0 ,max=>127 ,c=>'' ,f=>2 ,u=>'s' ,d=>1,t=>"energy Option: Duration of ilumination"},
|
energyOpt =>{a=> 8.0,s=>1.0,l=>0,min=>0 ,max=>127 ,c=>'' ,f=>1 ,u=>'s' ,d=>1,t=>"energy Option: Duration of ilumination",lit=>{permanent=>0}},
|
||||||
# sec_mdir
|
# sec_mdir
|
||||||
cyclicInfoMsg =>{a=> 9.0,s=>1.0,l=>0,min=>0 ,max=>1 ,c=>'lit' ,f=>'' ,u=>'' ,d=>1,t=>"cyclic message" ,lit=>{off=>0,on=>1,on_100=>200}},
|
cyclicInfoMsg =>{a=> 9.0,s=>1.0,l=>0,min=>0 ,max=>1 ,c=>'lit' ,f=>'' ,u=>'' ,d=>1,t=>"cyclic message" ,lit=>{off=>0,on=>1,on_100=>200}},
|
||||||
sabotageMsg =>{a=> 16.0,s=>1.0,l=>0,min=>0 ,max=>1 ,c=>'lit' ,f=>'' ,u=>'' ,d=>1,t=>"enable sabotage message" ,lit=>{off=>0,on=>1}},# sc needs 1 - others?
|
sabotageMsg =>{a=> 16.0,s=>1.0,l=>0,min=>0 ,max=>1 ,c=>'lit' ,f=>'' ,u=>'' ,d=>1,t=>"enable sabotage message" ,lit=>{off=>0,on=>1}},# sc needs 1 - others?
|
||||||
@ -1357,7 +1354,7 @@ $culHmRegChan{"ROTO_ZEL-STG-RM-FWT03"}= $culHmRegChan{"HM-CC-TC03"};
|
|||||||
);
|
);
|
||||||
%culHmModelGets = (
|
%culHmModelGets = (
|
||||||
"CCU-FHEM" =>{ "listDevice"=>"" },
|
"CCU-FHEM" =>{ "listDevice"=>"" },
|
||||||
"ActionDetector" =>{ "listDevice"=>"[all|alive|unknown|dead|notAlive] ..." },
|
ActionDetector =>{ "listDevice"=>"[all|alive|unknown|dead|notAlive] ..." },
|
||||||
);
|
);
|
||||||
|
|
||||||
##############################---set---########################################
|
##############################---set---########################################
|
||||||
@ -1383,25 +1380,21 @@ $culHmRegChan{"ROTO_ZEL-STG-RM-FWT03"}= $culHmRegChan{"HM-CC-TC03"};
|
|||||||
switch =>{ getSerial => ""
|
switch =>{ getSerial => ""
|
||||||
,pair => ""
|
,pair => ""
|
||||||
,getVersion => ""
|
,getVersion => ""
|
||||||
},
|
}
|
||||||
# remote =>{ },
|
,winMatic =>{ statusRequest => ""}
|
||||||
# threeStateSensor =>{ statusRequest =>""},
|
,keyMatic =>{ statusRequest => ""}
|
||||||
# THSensor =>{ statusRequest =>""}, at least OT/OT2 do not support this
|
,repeater =>{ statusRequest => ""
|
||||||
# virtual =>{ },
|
,getSerial => ""
|
||||||
# smokeDetector =>{ statusRequest => ""},#not SCD
|
}
|
||||||
winMatic =>{ statusRequest => ""},
|
,outputUnit =>{ statusRequest => ""}
|
||||||
keyMatic =>{ statusRequest => ""},
|
|
||||||
repeater =>{ statusRequest => "",
|
|
||||||
getSerial => ""},
|
|
||||||
outputUnit =>{ statusRequest => ""},
|
|
||||||
);
|
);
|
||||||
$culHmSubTypeDevSets{dimmer} = $culHmSubTypeDevSets{switch};
|
$culHmSubTypeDevSets{dimmer} = $culHmSubTypeDevSets{switch};
|
||||||
$culHmSubTypeDevSets{blindActuator} = $culHmSubTypeDevSets{switch};
|
$culHmSubTypeDevSets{blindActuator} = $culHmSubTypeDevSets{switch};
|
||||||
|
|
||||||
|
|
||||||
%culHmGlobalSetsChn = (# all channels but virtuals
|
%culHmGlobalSetsChn = (# all channels but virtuals
|
||||||
sign => "[on|off]",
|
sign => "[on|off]"
|
||||||
peerBulk => "<peer1,peer2,...> [set|unset]",
|
,peerBulk => "<peer1,peer2,...> [set|unset]"
|
||||||
);
|
);
|
||||||
%culHmSubTypeSets = (# channels of this subtype
|
%culHmSubTypeSets = (# channels of this subtype
|
||||||
switch =>{ "on-for-timer" =>"<ontime>"
|
switch =>{ "on-for-timer" =>"<ontime>"
|
||||||
@ -1413,8 +1406,8 @@ $culHmSubTypeDevSets{blindActuator} = $culHmSubTypeDevSets{switch};
|
|||||||
,inhibit =>"[on|off]"
|
,inhibit =>"[on|off]"
|
||||||
,statusRequest =>""
|
,statusRequest =>""
|
||||||
,peerIODev =>"[IO] <btn> [set|unset]... not for future use"
|
,peerIODev =>"[IO] <btn> [set|unset]... not for future use"
|
||||||
},
|
}
|
||||||
dimmer =>{ "on-for-timer" =>"<ontime> [<ramptime>]..."
|
,dimmer =>{ "on-for-timer" =>"<ontime> [<ramptime>]..."
|
||||||
,"on-till" =>"<time> [<ramptime>]..."
|
,"on-till" =>"<time> [<ramptime>]..."
|
||||||
,on =>""
|
,on =>""
|
||||||
,off =>""
|
,off =>""
|
||||||
@ -1427,8 +1420,8 @@ $culHmSubTypeDevSets{blindActuator} = $culHmSubTypeDevSets{switch};
|
|||||||
,inhibit =>"[on|off]"
|
,inhibit =>"[on|off]"
|
||||||
,statusRequest =>""
|
,statusRequest =>""
|
||||||
,peerIODev =>"[IO] <btn> [set|unset]... not for future use"
|
,peerIODev =>"[IO] <btn> [set|unset]... not for future use"
|
||||||
},
|
}
|
||||||
blindActuator =>{ on =>""
|
,blindActuator =>{ on =>""
|
||||||
,off =>""
|
,off =>""
|
||||||
,toggle =>""
|
,toggle =>""
|
||||||
,toggleDir =>""
|
,toggleDir =>""
|
||||||
@ -1440,26 +1433,27 @@ $culHmSubTypeDevSets{blindActuator} = $culHmSubTypeDevSets{switch};
|
|||||||
,inhibit =>"[on|off]"
|
,inhibit =>"[on|off]"
|
||||||
,statusRequest =>""
|
,statusRequest =>""
|
||||||
,peerIODev =>"[IO] <btn> [set|unset]... not for future use"
|
,peerIODev =>"[IO] <btn> [set|unset]... not for future use"
|
||||||
},
|
}
|
||||||
remote =>{ peerChan =>"<btnNumber> <actChn> ... [single|dual|reverse] [set|unset] [actor|remote|both]"},
|
,remote =>{ peerChan =>"<btnNumber> <actChn> ... [single|dual|reverse] [set|unset] [actor|remote|both]"}
|
||||||
threeStateSensor =>{ peerChan =>"<btnNumber> <actChn> ... single [set|unset] [actor|remote|both]"
|
,threeStateSensor =>{ peerChan =>"<btnNumber> <actChn> ... single [set|unset] [actor|remote|both]"}
|
||||||
# ,statusRequest =>""
|
,THSensor =>{ peerChan =>"0 <actChn> ... single [set|unset] [actor|remote|both]"}
|
||||||
},
|
,virtual =>{ peerChan =>"<btnNumber> <actChn> ... [single|dual|reverse] [set|unset] [actor|remote|both]"
|
||||||
THSensor =>{ peerChan =>"0 <actChn> ... single [set|unset] [actor|remote|both]"},
|
|
||||||
virtual =>{ peerChan =>"<btnNumber> <actChn> ... [single|dual|reverse] [set|unset] [actor|remote|both]"
|
|
||||||
,press =>"[long|short] [noBurst] [<repCount(long only)>] [<repDelay>] ..."
|
,press =>"[long|short] [noBurst] [<repCount(long only)>] [<repDelay>] ..."
|
||||||
,postEvent =>"<condition>"},
|
,postEvent =>"<condition>"
|
||||||
smokeDetector =>{ peerChan =>"<btnNumber> <actChn> ... single [set|unset] actor"},
|
}
|
||||||
winMatic =>{ statusRequest =>""},
|
,smokeDetector =>{ peerChan =>"<btnNumber> <actChn> ... single [set|unset] actor"}
|
||||||
keyMatic =>{ lock =>""
|
,winMatic =>{ statusRequest =>""}
|
||||||
|
,keyMatic =>{ lock =>""
|
||||||
,unlock =>"[<sec>] ..."
|
,unlock =>"[<sec>] ..."
|
||||||
,open =>"[<sec>] ..."
|
,open =>"[<sec>] ..."
|
||||||
,inhibit =>"[on|off]"
|
,inhibit =>"[on|off]"
|
||||||
,statusRequest =>""},
|
,statusRequest =>""
|
||||||
repeater =>{ setRepeat => "[no1..36] <sendName> <recName> [bdcast-yes|no]"
|
}
|
||||||
|
,repeater =>{ setRepeat => "[no1..36] <sendName> <recName> [bdcast-yes|no]"
|
||||||
,inhibit => "[on|off]"
|
,inhibit => "[on|off]"
|
||||||
,statusRequest =>""},
|
,statusRequest =>""
|
||||||
outputUnit =>{ statusRequest =>""},
|
}
|
||||||
|
,outputUnit =>{ statusRequest =>""}
|
||||||
);
|
);
|
||||||
# clones- - - - - - - - - - - - - - - - -
|
# clones- - - - - - - - - - - - - - - - -
|
||||||
$culHmSubTypeSets{pushButton} = $culHmSubTypeSets{remote};
|
$culHmSubTypeSets{pushButton} = $culHmSubTypeSets{remote};
|
||||||
@ -1473,27 +1467,32 @@ $culHmSubTypeSets{powerMeter} = $culHmSubTypeSets{outputUnit};
|
|||||||
$culHmSubTypeSets{motionDetector} = $culHmSubTypeSets{threeStateSensor};
|
$culHmSubTypeSets{motionDetector} = $culHmSubTypeSets{threeStateSensor};
|
||||||
|
|
||||||
%culHmModelSets = (# channels of this subtype-------------
|
%culHmModelSets = (# channels of this subtype-------------
|
||||||
"HM-CC-VD" =>{ valvePos =>"[off|0.0..99.0]"},
|
"HM-CC-VD" =>{ valvePos =>"[off|0.0..99.0]"}
|
||||||
"HM-RC-19" =>{ service => "<count>"
|
,"HM-RC-19" =>{ service => "<count>"
|
||||||
,alarm => "<count>"
|
,alarm => "<count>"
|
||||||
,display => "<text> [comma|no] [unit] [off|1|2|3] [off|on|slow|fast] <symbol>"},
|
,display => "<text> [comma|no] [unit] [off|1|2|3] [off|on|slow|fast] <symbol>"
|
||||||
"HM-PB-4DIS-WM" =>{ text => "<txt1> <txt2>..."
|
}
|
||||||
|
,"HM-PB-4DIS-WM" =>{ text => "<txt1> <txt2>..."
|
||||||
#text => "<btn> [on|off] <txt1> <txt2>...", old style will not be offered anymore
|
#text => "<btn> [on|off] <txt1> <txt2>...", old style will not be offered anymore
|
||||||
},
|
}
|
||||||
"HM-OU-LED16" =>{ led => "[off|red|green|orange]"
|
,"HM-OU-LED16" =>{ led => "[off|red|green|orange]"
|
||||||
,ilum => "[0-15] [0-127]"},
|
,ilum => "[0-15] [0-127]"
|
||||||
"HM-OU-CFM-PL" =>{ "on-for-timer" =>"<sec>"
|
}
|
||||||
|
,"HM-OU-CFM-PL" =>{ "on-for-timer" =>"<sec>"
|
||||||
,"on-till" =>"<time>"
|
,"on-till" =>"<time>"
|
||||||
,on =>""
|
,on =>""
|
||||||
,off =>""
|
,off =>""
|
||||||
,toggle =>""
|
,toggle =>""
|
||||||
,press =>"[long|short] [<peer>] ..."
|
,press =>"[long|short] [<peer>] ..."
|
||||||
,inhibit =>"[on|off]"},
|
,inhibit =>"[on|off]"
|
||||||
"HM-CC-TC" =>{ burstXmit =>""},
|
}
|
||||||
"HM-CC-RT-DN" =>{ burstXmit =>""
|
,"HM-CC-TC" =>{ burstXmit =>""}
|
||||||
,inhibit =>"[on|off]"},
|
,"HM-CC-RT-DN" =>{ burstXmit =>""
|
||||||
"HM-TC-IT-WM-W-EU" =>{ inhibit =>"[on|off]"},
|
,inhibit =>"[on|off]"
|
||||||
"HM-SEC-SD" =>{ statusRequest =>""},
|
}
|
||||||
|
,"HM-TC-IT-WM-W-EU" =>{ inhibit =>"[on|off]"}
|
||||||
|
,"HM-SEC-SD" =>{ statusRequest =>""}
|
||||||
|
,"ActionDetector" =>{ clear => "[readings|all]"}
|
||||||
);
|
);
|
||||||
# clones- - - - - - - - - - - - - - - - -
|
# clones- - - - - - - - - - - - - - - - -
|
||||||
$culHmModelSets{"HM-CC-RT-DN-BoM"} = $culHmModelSets{"HM-CC-RT-DN"};
|
$culHmModelSets{"HM-CC-RT-DN-BoM"} = $culHmModelSets{"HM-CC-RT-DN"};
|
||||||
@ -1515,8 +1514,9 @@ $culHmModelSets{"HM-RC-Dis-H-x-EU"} = $culHmModelSets{"HM-PB-4DIS-WM"};
|
|||||||
"HM-CC-TC00" =>{ "desired-temp" =>"[on|off|6.0..30.0]"
|
"HM-CC-TC00" =>{ "desired-temp" =>"[on|off|6.0..30.0]"
|
||||||
,statusRequest =>""
|
,statusRequest =>""
|
||||||
,sysTime =>""
|
,sysTime =>""
|
||||||
,getSerial => ""},
|
,getSerial => ""
|
||||||
"HM-CC-TC02" =>{ peerChan =>" 0 <actChn> ... single [set|unset] [actor|remote|both]"
|
}
|
||||||
|
,"HM-CC-TC02" =>{ peerChan =>" 0 <actChn> ... single [set|unset] [actor|remote|both]"
|
||||||
,"desired-temp" =>"[on|off|6.0..30.0]"
|
,"desired-temp" =>"[on|off|6.0..30.0]"
|
||||||
,tempListSat =>"[prep|exec] HH:MM temp ..."
|
,tempListSat =>"[prep|exec] HH:MM temp ..."
|
||||||
,tempListSun =>"[prep|exec] HH:MM temp ..."
|
,tempListSun =>"[prep|exec] HH:MM temp ..."
|
||||||
@ -1532,27 +1532,27 @@ $culHmModelSets{"HM-RC-Dis-H-x-EU"} = $culHmModelSets{"HM-PB-4DIS-WM"};
|
|||||||
,displayTempUnit=>"[celsius|fahrenheit]"
|
,displayTempUnit=>"[celsius|fahrenheit]"
|
||||||
,controlMode =>"[auto|manual|central|party]"
|
,controlMode =>"[auto|manual|central|party]"
|
||||||
,statusRequest =>""
|
,statusRequest =>""
|
||||||
,sysTime =>""},
|
,sysTime =>""
|
||||||
"HM-OU-CFM-PL01" =>{ led =>"[redL|greenL|orangeL|redS|greenS|orangeS|pause][,<color2>...] [<repeat>]"},
|
}
|
||||||
"HM-OU-CFM-PL02" =>{ playTone =>"[replay|<MP3No>[,<MP3No>...]] [<repeat>]"},
|
,"HM-OU-CFM-PL01" =>{ led =>"[redL|greenL|orangeL|redS|greenS|orangeS|pause][,<color2>...] [<repeat>]"}
|
||||||
"HM-SEC-WIN01" =>{ stop =>"",
|
,"HM-OU-CFM-PL02" =>{ playTone =>"[replay|<MP3No>[,<MP3No>...]] [<repeat>]"}
|
||||||
|
,"HM-SEC-WIN01" =>{ stop =>"",
|
||||||
,level =>"<level> <relockDly> <speed>..."
|
,level =>"<level> <relockDly> <speed>..."
|
||||||
,keydef =>"<btn> <txt1> <txt2>"
|
,keydef =>"<btn> <txt1> <txt2>"
|
||||||
,inhibit =>"[on|off]"
|
,inhibit =>"[on|off]"
|
||||||
,press =>"[long|short] [<peer>] [<repCount(long only)>] [<repDelay>]..."
|
,press =>"[long|short] [<peer>] [<repCount(long only)>] [<repDelay>]..."
|
||||||
,peerIODev =>"[IO] <btn> [set|unset]... not for future use"
|
,peerIODev =>"[IO] <btn> [set|unset]... not for future use"
|
||||||
},
|
}
|
||||||
"HM-Sen-RD-O02" =>{ "on-for-timer" =>"<sec>"
|
,"HM-Sen-RD-O02" =>{ "on-for-timer" =>"<sec>"
|
||||||
,"on-till" =>"<time>"
|
,"on-till" =>"<time>"
|
||||||
,on =>""
|
,on =>""
|
||||||
,off =>""
|
,off =>""
|
||||||
,toggle =>""},
|
,toggle =>""
|
||||||
"HM-CC-RT-DN00" =>{ sysTime =>""
|
}
|
||||||
,fwUpdate =>"<filename> <bootTime> ..."
|
,"HM-CC-RT-DN00" =>{ sysTime =>""
|
||||||
},
|
,fwUpdate =>"<filename> <bootTime> ..."}
|
||||||
"HM-LC-Bl1PBU-FM00" =>{ fwUpdate =>"<filename> <bootTime> ..."
|
,"HM-LC-Bl1PBU-FM00" =>{ fwUpdate =>"<filename> <bootTime> ..."}
|
||||||
},
|
,"HM-CC-RT-DN04" =>{ controlMode =>"[auto|manual|boost|day|night]"
|
||||||
"HM-CC-RT-DN04" =>{ controlMode =>"[auto|manual|boost|day|night]"
|
|
||||||
,controlManu =>"[on|off|5.0..30.0]"
|
,controlManu =>"[on|off|5.0..30.0]"
|
||||||
,controlParty =>"<temp> <startDate> <startTime> <enddate> <endTime>"
|
,controlParty =>"<temp> <startDate> <startTime> <enddate> <endTime>"
|
||||||
,tempListSat =>"[prep|exec] HH:MM temp ..."
|
,tempListSat =>"[prep|exec] HH:MM temp ..."
|
||||||
@ -1565,8 +1565,8 @@ $culHmModelSets{"HM-RC-Dis-H-x-EU"} = $culHmModelSets{"HM-PB-4DIS-WM"};
|
|||||||
,tempListTmpl =>"[verify|restore] [[<file>:]templateName] ..."
|
,tempListTmpl =>"[verify|restore] [[<file>:]templateName] ..."
|
||||||
,"desired-temp" =>"[on|off|5.0..30.0]"
|
,"desired-temp" =>"[on|off|5.0..30.0]"
|
||||||
,sysTime =>""
|
,sysTime =>""
|
||||||
},
|
}
|
||||||
"HM-TC-IT-WM-W-EU02"=>{ controlMode =>"[auto|manual|boost|day|night]"
|
,"HM-TC-IT-WM-W-EU02"=>{ controlMode =>"[auto|manual|boost|day|night]"
|
||||||
,controlManu =>"[on|off|5.0..30.0]"
|
,controlManu =>"[on|off|5.0..30.0]"
|
||||||
,controlParty =>"<temp> <startDate> <startTime> <enddate> <endTime>"
|
,controlParty =>"<temp> <startDate> <startTime> <enddate> <endTime>"
|
||||||
,tempListSat =>"[prep|exec] [p1|p2|p3] HH:MM temp ..."
|
,tempListSat =>"[prep|exec] [p1|p2|p3] HH:MM temp ..."
|
||||||
@ -1579,27 +1579,28 @@ $culHmModelSets{"HM-RC-Dis-H-x-EU"} = $culHmModelSets{"HM-PB-4DIS-WM"};
|
|||||||
,"desired-temp" =>"[on|off|5.0..30.0]"
|
,"desired-temp" =>"[on|off|5.0..30.0]"
|
||||||
,tempListTmpl =>"[verify|restore] [[<file>:]templateName] ..."
|
,tempListTmpl =>"[verify|restore] [[<file>:]templateName] ..."
|
||||||
,peerChan =>"<btnNumber> <actChn> ... single [set|unset] [actor|remote|both]"
|
,peerChan =>"<btnNumber> <actChn> ... single [set|unset] [actor|remote|both]"
|
||||||
},
|
}
|
||||||
"HM-TC-IT-WM-W-EU01"=>{ peerChan =>"<btnNumber> <actChn> ... single [set|unset] [actor|remote|both]"},
|
,"HM-TC-IT-WM-W-EU01"=>{ peerChan =>"<btnNumber> <actChn> ... single [set|unset] [actor|remote|both]"}
|
||||||
"HM-TC-IT-WM-W-EU07"=>{ peerChan =>"<btnNumber> <actChn> ... single [set|unset] [actor|remote|both]"},
|
,"HM-TC-IT-WM-W-EU07"=>{ peerChan =>"<btnNumber> <actChn> ... single [set|unset] [actor|remote|both]"}
|
||||||
"HM-ES-PMSw1-Pl01" =>{ "on-for-timer" =>"<sec>"
|
,"HM-ES-PMSw1-Pl01" =>{ "on-for-timer" =>"<sec>"
|
||||||
,"on-till" =>"<time>"
|
,"on-till" =>"<time>"
|
||||||
,on =>""
|
,on =>""
|
||||||
,off =>""
|
,off =>""
|
||||||
,toggle =>""
|
,toggle =>""
|
||||||
,press =>"[long|short] [<peer>] [<repCount(long only)>] [<repDelay>] ..."
|
,press =>"[long|short] [<peer>] [<repCount(long only)>] [<repDelay>] ..."
|
||||||
,inhibit =>"[on|off]"
|
,inhibit =>"[on|off]"
|
||||||
,statusRequest =>""},
|
,statusRequest =>""
|
||||||
"HM-ES-PMSw1-Pl00" =>{ fwUpdate =>"<filename> <bootTime> ..."
|
}
|
||||||
,getSerial => ""},
|
,"HM-ES-PMSw1-Pl00" =>{ fwUpdate =>"<filename> <bootTime> ..."
|
||||||
"HM-CC-RT-DN06" =>{ press =>"[long|short] [<peer>] [<repCount(long only)>] [<repDelay>] ..."
|
,getSerial => ""
|
||||||
},
|
}
|
||||||
"HM-Dis-WM5501" =>{ displayWM =>"[long|short|help] <lineX> <textNo1> <color1> <icon1> [<textNo2> <color2> <icon2>] ...[<textNo6> <color6> <icon6>] "},
|
,"HM-CC-RT-DN06" =>{ press =>"[long|short] [<peer>] [<repCount(long only)>] [<repDelay>] ..."}
|
||||||
"CCU-FHEM00" =>{ update =>"",
|
,"HM-Dis-WM5501" =>{ displayWM =>"[long|short|help] <lineX> <textNo1> <color1> <icon1> [<textNo2> <color2> <icon2>] ...[<textNo6> <color6> <icon6>] "}
|
||||||
hmPairForSec =>"<sec>",
|
,"CCU-FHEM00" =>{ update =>""
|
||||||
hmPairSerial =>"<serial>",
|
,hmPairForSec =>"<sec>"
|
||||||
defIgnUnknown=>"",
|
,hmPairSerial =>"<serial>"
|
||||||
},
|
,defIgnUnknown=>""
|
||||||
|
}
|
||||||
);
|
);
|
||||||
# clones- - - - - - - - - - - - - - - - -
|
# clones- - - - - - - - - - - - - - - - -
|
||||||
$culHmChanSets{"HM-Dis-WM5502"} = $culHmChanSets{"HM-Dis-WM5501"};
|
$culHmChanSets{"HM-Dis-WM5502"} = $culHmChanSets{"HM-Dis-WM5501"};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user