mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 07:56:03 +00:00
Fixed SR04 temprerature (by immi)
git-svn-id: https://svn.fhem.de/fhem/trunk@1701 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7c38334e4b
commit
ac1eaa9afe
@ -320,7 +320,7 @@ EnOcean_Parse($$)
|
||||
$fspeed = 1 if($db_3 >= 165);
|
||||
$fspeed = 0 if($db_3 >= 190);
|
||||
$fspeed = "Auto" if($db_3 >= 210);
|
||||
$temp = sprintf("%0.1f", $db_1/6.375); # 40..0
|
||||
$temp = sprintf("%0.1f", 40-$db_1/6.375); # 40..0
|
||||
$present= $db_0&0x1 ? "no" : "yes";
|
||||
|
||||
push @event, "3:state:temperature $temp";
|
||||
|
Loading…
x
Reference in New Issue
Block a user