mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
OT2 sensor handle readings, event filter time register correction
git-svn-id: https://svn.fhem.de/fhem/trunk@3756 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
34ec947791
commit
82eeab1883
@ -863,13 +863,11 @@ sub CUL_HM_Parse($$) {##############################
|
||||
}
|
||||
elsif ($mTp eq "53"){
|
||||
my ($mChn,@dat) = unpack 'A2(A6)*',$p;
|
||||
my %dField = (41=>"temp_T1",42=>"temp_T2",43=>"temp_T1-T2",44=>"temp_T2-T1");# General todo remove
|
||||
foreach (@dat){
|
||||
my ($a,$d) = unpack 'A2A4',$_;
|
||||
$d = hex($d);
|
||||
$d -= 0x10000 if($d & 0xC000);
|
||||
$d = sprintf("%0.1f",$d/10);
|
||||
push @event, "Val_$dField{$a}$d" if ($dField{$a});# General todo remove
|
||||
|
||||
my $chId = $src.sprintf("02X",hex($a) & 0x6);
|
||||
if($modules{CUL_HM}{defptr}{$chId}){
|
||||
|
Loading…
Reference in New Issue
Block a user