mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
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:
parent
6e6fc82af9
commit
dffc9443c2
@ -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") { ##########################################
|
||||||
|
@ -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>",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user