2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-30 12:07:09 +00:00

Display FHZ: data if activated by the CUL X61 flag

git-svn-id: https://svn.fhem.de/fhem/trunk@3234 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-06-01 17:10:27 +00:00
parent ea094c57ba
commit 38d2060838

View File

@ -566,16 +566,13 @@ FHT_Parse($$)
Log $ll4, "FHT $name windowsensor: $valSensor"; Log $ll4, "FHT $name windowsensor: $valSensor";
} }
if(substr($msg,24,1) eq "7") { # Do not store FHZ acks. $cmd = "FHZ:$cmd" if(substr($msg,24,1) eq "7");
$cmd = "FHZ:$cmd";
} else { readingsBulkUpdate($def, $cmd, $val);
readingsBulkUpdate($def, $cmd, $val); if($cmd eq "measured-temp") {
if($cmd eq "measured-temp") { readingsBulkUpdate($def, "state", "measured-temp: $val", 0);
readingsBulkUpdate($def, "state", "measured-temp: $val", 0); readingsBulkUpdate($def, "temperature", $val); # For dewpoint
readingsBulkUpdate($def, "temperature", $val); # For dewpoint }
}
}
Log $ll4, "FHT $name $cmd: $val"; Log $ll4, "FHT $name $cmd: $val";