10_CUL_HM.pm: change RT battarty state detection

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6625 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-09-28 11:02:51 +00:00
parent 6e6fc82af9
commit dffc9443c2
2 changed files with 9 additions and 5 deletions

View File

@ -1332,12 +1332,14 @@ sub CUL_HM_Parse($$) {#########################################################
my $s2000 = sprintf("%02X", CUL_HM_secSince2000()); my $s2000 = sprintf("%02X", CUL_HM_secSince2000());
push @ack,$shash,"${mNo}803F$ioId${src}0204$s2000"; push @ack,$shash,"${mNo}803F$ioId${src}0204$s2000";
push @evtEt,[$shash,1,"time-request"]; push @evtEt,[$shash,1,"time-request"];
# reset desired-temp just to get an AckInfo for battery state # reset desired-temp just to get an AckInfo for battery state
CUL_HM_Set(CUL_HM_name2Hash($devH->{channel_04}), my $mode = ReadingsVal($devH->{channel_04},"controlMode",undef);
$devH->{channel_04}, if ($mode){
"desired-temp",ReadingsVal($devH->{channel_04} my %mCmd = (auto=>0,manual=>1,party=>2,boost=>3,day=>4,night=>5);
,"desired-temp" my $msg = '8'.($mCmd{$mode})."04";
,"")); CUL_HM_PushCmdStack($shash,'++A011'.$ioId.$src.$msg);
}
} }
} }
elsif($md eq "HM-TC-IT-WM-W-EU") { ########################################## elsif($md eq "HM-TC-IT-WM-W-EU") { ##########################################

View File

@ -1523,6 +1523,8 @@ $culHmModelSets{"HM-PB-4DIS-WM-2"} = $culHmModelSets{"HM-PB-4DIS-WM"};
,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-CC-RT-DN06" =>{ press =>"[long|short] [<peer>] [<repCount(long only)>] [<repDelay>] ..."
},
"CCU-FHEM00" =>{ update =>"", "CCU-FHEM00" =>{ update =>"",
hmPairForSec =>"<sec>", hmPairForSec =>"<sec>",