2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

98_dewpoint: adjust log level for FAN/ALARM on/off to 4

git-svn-id: https://svn.fhem.de/fhem/trunk@17027 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
hotbso 2018-07-24 11:53:15 +00:00
parent de4a8b1ed0
commit 91f05d07c6
2 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it. # Do not insert empty lines here, update check depends on it.
- change: 98_dewpoint: adjust log level for FAN/ALARM on/off to 4
- bugfix: 82_LGTV_WebOS: fix current program list readings - bugfix: 82_LGTV_WebOS: fix current program list readings
- change: 74_Unifi: changed readings -UC_newClients and -AP_utilization - change: 74_Unifi: changed readings -UC_newClients and -AP_utilization
- bugfix: 36_WMBUS: fix decryption for AES CBC mode - bugfix: 36_WMBUS: fix decryption for AES CBC mode

View File

@ -382,14 +382,14 @@ dewpoint_Notify($$)
Log3($hashName, 5, "dewpoint_notify: fan dewpoint_out=$dewpoint_out"); Log3($hashName, 5, "dewpoint_notify: fan dewpoint_out=$dewpoint_out");
if (($dewpoint_out + $diff_temp) < $dewpoint && $temperature_out >= $min_temp) { if (($dewpoint_out + $diff_temp) < $dewpoint && $temperature_out >= $min_temp) {
$rval = "on"; $rval = "on";
Log3($hashName, 3, "dewpoint_notify: fan ON"); Log3($hashName, 4, "dewpoint_notify: fan ON");
} else { } else {
$rval = "off"; $rval = "off";
Log3($hashName, 3, "dewpoint_notify: fan OFF"); Log3($hashName, 4, "dewpoint_notify: fan OFF");
} }
$rname = "fan"; $rname = "fan";
if (!exists $defs{$devName}{READINGS}{$rname}{VAL} || $defs{$devName}{READINGS}{$rname}{VAL} ne $rval) { if (!exists $defs{$devName}{READINGS}{$rname}{VAL} || $defs{$devName}{READINGS}{$rname}{VAL} ne $rval) {
Log3($hashName, 3, "dewpoint_notify: CHANGE fan $rval"); Log3($hashName, 4, "dewpoint_notify: CHANGE fan $rval");
$dev->{READINGS}{$rname}{TIME} = $tn; $dev->{READINGS}{$rname}{TIME} = $tn;
$dev->{READINGS}{$rname}{VAL} = $rval; $dev->{READINGS}{$rname}{VAL} = $rval;
$dev->{CHANGED}[$nev++] = $rname . ": " . $rval; $dev->{CHANGED}[$nev++] = $rname . ": " . $rval;
@ -425,10 +425,10 @@ dewpoint_Notify($$)
Log3($hashName, 5, "dewpoint_notify: alarm temperature_ref=$temperature_ref"); Log3($hashName, 5, "dewpoint_notify: alarm temperature_ref=$temperature_ref");
if ($temperature_ref - $diff_temp < $dewpoint) { if ($temperature_ref - $diff_temp < $dewpoint) {
$rval = "on"; $rval = "on";
Log3($hashName, 3, "dewpoint_notify: alarm ON"); Log3($hashName, 4, "dewpoint_notify: alarm ON");
} else { } else {
$rval = "off"; $rval = "off";
Log3($hashName, 3, "dewpoint_notify: alarm OFF"); Log3($hashName, 4, "dewpoint_notify: alarm OFF");
} }
$rname = "alarm"; $rname = "alarm";
if (!exists $defs{$devName}{READINGS}{$rname}{VAL} || $defs{$devName}{READINGS}{$rname}{VAL} ne $rval) { if (!exists $defs{$devName}{READINGS}{$rname}{VAL} || $defs{$devName}{READINGS}{$rname}{VAL} ne $rval) {