mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +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:
parent
ea094c57ba
commit
38d2060838
@ -566,16 +566,13 @@ FHT_Parse($$)
|
||||
Log $ll4, "FHT $name windowsensor: $valSensor";
|
||||
}
|
||||
|
||||
if(substr($msg,24,1) eq "7") { # Do not store FHZ acks.
|
||||
$cmd = "FHZ:$cmd";
|
||||
$cmd = "FHZ:$cmd" if(substr($msg,24,1) eq "7");
|
||||
|
||||
} else {
|
||||
readingsBulkUpdate($def, $cmd, $val);
|
||||
if($cmd eq "measured-temp") {
|
||||
readingsBulkUpdate($def, "state", "measured-temp: $val", 0);
|
||||
readingsBulkUpdate($def, "temperature", $val); # For dewpoint
|
||||
}
|
||||
}
|
||||
readingsBulkUpdate($def, $cmd, $val);
|
||||
if($cmd eq "measured-temp") {
|
||||
readingsBulkUpdate($def, "state", "measured-temp: $val", 0);
|
||||
readingsBulkUpdate($def, "temperature", $val); # For dewpoint
|
||||
}
|
||||
|
||||
Log $ll4, "FHT $name $cmd: $val";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user