From 91f05d07c6cb55e28bc0a049cefd2527b7844880 Mon Sep 17 00:00:00 2001 From: hotbso <> Date: Tue, 24 Jul 2018 11:53:15 +0000 Subject: [PATCH] 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 --- fhem/CHANGED | 1 + fhem/FHEM/98_dewpoint.pm | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 3b019a523..e1f0e12d5 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # 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. + - change: 98_dewpoint: adjust log level for FAN/ALARM on/off to 4 - bugfix: 82_LGTV_WebOS: fix current program list readings - change: 74_Unifi: changed readings -UC_newClients and -AP_utilization - bugfix: 36_WMBUS: fix decryption for AES CBC mode diff --git a/fhem/FHEM/98_dewpoint.pm b/fhem/FHEM/98_dewpoint.pm index 8d2f48780..42f61e3ec 100644 --- a/fhem/FHEM/98_dewpoint.pm +++ b/fhem/FHEM/98_dewpoint.pm @@ -382,14 +382,14 @@ dewpoint_Notify($$) Log3($hashName, 5, "dewpoint_notify: fan dewpoint_out=$dewpoint_out"); if (($dewpoint_out + $diff_temp) < $dewpoint && $temperature_out >= $min_temp) { $rval = "on"; - Log3($hashName, 3, "dewpoint_notify: fan ON"); + Log3($hashName, 4, "dewpoint_notify: fan ON"); } else { $rval = "off"; - Log3($hashName, 3, "dewpoint_notify: fan OFF"); + Log3($hashName, 4, "dewpoint_notify: fan OFF"); } $rname = "fan"; 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}{VAL} = $rval; $dev->{CHANGED}[$nev++] = $rname . ": " . $rval; @@ -425,10 +425,10 @@ dewpoint_Notify($$) Log3($hashName, 5, "dewpoint_notify: alarm temperature_ref=$temperature_ref"); if ($temperature_ref - $diff_temp < $dewpoint) { $rval = "on"; - Log3($hashName, 3, "dewpoint_notify: alarm ON"); + Log3($hashName, 4, "dewpoint_notify: alarm ON"); } else { $rval = "off"; - Log3($hashName, 3, "dewpoint_notify: alarm OFF"); + Log3($hashName, 4, "dewpoint_notify: alarm OFF"); } $rname = "alarm"; if (!exists $defs{$devName}{READINGS}{$rname}{VAL} || $defs{$devName}{READINGS}{$rname}{VAL} ne $rval) {