2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

bugs fixed2

git-svn-id: https://svn.fhem.de/fhem/trunk@4875 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-02-10 18:22:01 +00:00
parent 20a1f32261
commit 1054e5443c

View File

@ -1013,7 +1013,7 @@ sub CUL_HM_Parse($$) {##############################
);
}
elsif($mTp eq "70"){
my $chn = 1;
my $chn = "01";
$shash = $modules{CUL_HM}{defptr}{"$src$chn"}
if($modules{CUL_HM}{defptr}{"$src$chn"});
my ($t,$h) = map{hex($_)} unpack 'A4A2',$p;
@ -1024,7 +1024,7 @@ sub CUL_HM_Parse($$) {##############################
push @event, "state:T: $t H: $h";
}
elsif($mTp eq "5A"){# thermal control - might work with broadcast
my $chn = 2;
my $chn = "02";
$shash = $modules{CUL_HM}{defptr}{"$src$chn"}
if($modules{CUL_HM}{defptr}{"$src$chn"});
my ($setTemp,$actTemp) = map{hex($_)} unpack 'A4A2',$p;