mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-10 20:19:50 +00:00
Patch from Hary.
git-svn-id: https://svn.fhem.de/fhem/trunk@1265 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
729e983bb5
commit
8fbbe6d199
@ -471,16 +471,15 @@ CUL_HM_Parse($$)
|
||||
push @event, "ValveOffset $dname: $of %";
|
||||
}
|
||||
|
||||
if($cmd eq "A410" && $p =~ m/^0602(..)........$/) {
|
||||
push @event, "desired-temp:" .hex($1)/2;
|
||||
}
|
||||
|
||||
if($cmd eq "A112" && $p =~ m/^0202(..)$/) { # Set desired temp
|
||||
push @event, "desired-temp:" .hex($1)/2;
|
||||
if(($cmd eq "A410" && $p =~ m/^0602(..)........$/) ||
|
||||
($cmd eq "A112" && $p =~ m/^0202(..)$/)) { # Set desired temp
|
||||
push @event, "desired-temp:" .sprintf("%0.1f", hex($1)/2);
|
||||
}
|
||||
|
||||
if($cmd eq "8002" && $p =~ m/^0102(..)(....)/) { # Ack for fhem-command
|
||||
push @event, "desired-temp-ack:" .hex($1)/2;
|
||||
push @event, "desired-temp-ack:" .sprintf("%0.1f", hex($1)/2);
|
||||
# FIXME: following is needed, else a set won't show up.
|
||||
push @event, "desired-temp:" .sprintf("%0.1f", hex($1)/2);
|
||||
}
|
||||
|
||||
CUL_HM_SendCmd($shash, "++8002$id${src}00",1,0) # Send Ack
|
||||
|
Loading…
x
Reference in New Issue
Block a user