2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

replace comfort|lower with day|night for RT

git-svn-id: https://svn.fhem.de/fhem/trunk@4012 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2013-10-06 08:28:04 +00:00
parent 7a7d109ffc
commit 506d26e7a8
2 changed files with 8 additions and 8 deletions

View File

@ -2692,10 +2692,10 @@ sub CUL_HM_Set($@) {
$mode = substr($a[1],7);
$a[2] = ($a[2] eq "off")?4.5:($a[2] eq "on"?30.5:$a[2]);
}
return "select of mode [auto|boost|comfort|lower] or mode-manu, mode-party"
if ($mode !~ m/^(auto|manu|party|boost|comfort|lower)$/);
return "select of mode [auto|boost|day|night] or mode-manu, mode-party"
if ($mode !~ m/^(auto|manu|party|boost|day|night)$/);
my ($temp,$party);
if ($mode =~ m/^(auto|boost|comfort|lower)$/){
if ($mode =~ m/^(auto|boost|day|night)$/){
return "no additional params for $mode" if ($a[3]);
}
if($mode eq "manu"){
@ -2732,7 +2732,7 @@ sub CUL_HM_Set($@) {
$party = sprintf("%02X%02X%02X%02X%02X%02X%02X",
$sh,$sd,$sy,$eh,$ed,$ey,($sm*16+$em));
}
my %mCmd = (auto=>0,manu=>1,party=>2,boost=>3,comfort=>4,lower=>5);
my %mCmd = (auto=>0,manu=>1,party=>2,boost=>3,day=>4,night=>5);
readingsSingleUpdate($hash,"mode","set_".$mode,1);
my $msg = '8'.($mCmd{$mode}).$chn;
$msg .= sprintf("%02X",$temp) if ($temp);
@ -5224,7 +5224,7 @@ sub CUL_HM_putHash($) {# provide data for HMinfo
<li>Climate-Control (HM-CC-RT-DN)
<ul>
<li><B>controlMode &lt;auto|boost|comfort|lower&gt;</B><br></li>
<li><B>controlMode &lt;auto|boost|day|night&gt;</B><br></li>
<li><B>controlManu &lt;temp&gt;</B><br></li>
<li><B>controlParty &lt;temp&gt;&lt;startDate&gt;&lt;startTime&gt;&lt;endDate&gt;&lt;endTime&gt;</B><br>
set control mode to party, define temp and timeframe.<br>

View File

@ -854,7 +854,7 @@ my %culHmRegChan = (# if channelspecific then enter them here
condTxThrhHi =>1,condTxThrhHi =>1,highHoldTime =>1,evntRelFltTime =>1 },
"HM-CC-RT-DN03" =>{shCtValLo =>1},
"HM-CC-RT-DN04" =>{btnNoBckLight =>1,
tempComfort =>1,tempLowering =>1,tempMin =>1,tempMax =>1,
dayTemp =>1,nightTemp =>1,tempMin =>1,tempMax =>1,
tempOffset =>1,
decalcWeekday =>1,decalcTime =>1,
boostPos =>1,boostPeriod =>1,
@ -1045,7 +1045,7 @@ my %culHmChanSets = (
,displayMode =>"[temp-only|temp-hum]"
,displayTemp =>"[actual|setpoint]"
,displayTempUnit=>"[celsius|fahrenheit]"
,controlMode =>"[manual|auto|central|party]"
,controlMode =>"[auto|manual|central|party]"
,sysTime =>"" },
"HM-SEC-WIN01" =>{ stop =>"",
level =>"<level> <relockDly> <speed>..."},
@ -1061,7 +1061,7 @@ my %culHmChanSets = (
,toggle =>""},
"HM-CC-RT-DN00" =>{ sysTime =>""},
"HM-CC-RT-DN02" =>{ sysTime =>""},
"HM-CC-RT-DN04" =>{ controlMode => "[auto|boost|comfort|lower]"
"HM-CC-RT-DN04" =>{ controlMode => "[auto|boost|day|night]"
,controlManu => "[on|off|5.0..30.0]"
,controlParty => "<temp> <startDate> <startTime> <enddate> <endTime>"
,tempListSat =>"HH:MM temp ..."