mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
Patch from Hary.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1265 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
79a0f5af78
commit
03053f966c
@ -471,16 +471,15 @@ CUL_HM_Parse($$)
|
|||||||
push @event, "ValveOffset $dname: $of %";
|
push @event, "ValveOffset $dname: $of %";
|
||||||
}
|
}
|
||||||
|
|
||||||
if($cmd eq "A410" && $p =~ m/^0602(..)........$/) {
|
if(($cmd eq "A410" && $p =~ m/^0602(..)........$/) ||
|
||||||
push @event, "desired-temp:" .hex($1)/2;
|
($cmd eq "A112" && $p =~ m/^0202(..)$/)) { # Set desired temp
|
||||||
}
|
push @event, "desired-temp:" .sprintf("%0.1f", hex($1)/2);
|
||||||
|
|
||||||
if($cmd eq "A112" && $p =~ m/^0202(..)$/) { # Set desired temp
|
|
||||||
push @event, "desired-temp:" .hex($1)/2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if($cmd eq "8002" && $p =~ m/^0102(..)(....)/) { # Ack for fhem-command
|
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
|
CUL_HM_SendCmd($shash, "++8002$id${src}00",1,0) # Send Ack
|
||||||
|
Loading…
x
Reference in New Issue
Block a user