mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
94_PWM : loglevel angepasst
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@25211 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a8ec781c80
commit
fb92081745
@ -43,6 +43,7 @@
|
|||||||
# 11.03.21 GA fix prevent parallel InternalTimer calls
|
# 11.03.21 GA fix prevent parallel InternalTimer calls
|
||||||
# 14.03.21 GA fix change order of PWMR processing for maxOffTime handling
|
# 14.03.21 GA fix change order of PWMR processing for maxOffTime handling
|
||||||
# 18.03.21 GA fix maxOffTime handling bug in restriction of max rooms on
|
# 18.03.21 GA fix maxOffTime handling bug in restriction of max rooms on
|
||||||
|
# 10.11.21 GA fix default verbosity of logs adjusted
|
||||||
|
|
||||||
##############################################
|
##############################################
|
||||||
# $Id$
|
# $Id$
|
||||||
@ -719,7 +720,7 @@ PWM_Calculate($)
|
|||||||
{
|
{
|
||||||
$newstateOHS_eoff = 1;
|
$newstateOHS_eoff = 1;
|
||||||
$newstateOHS = "off";
|
$newstateOHS = "off";
|
||||||
Log3 ($name, 2, "PWM_Calculate: $name: OverallHeatingSwitch forced to off since ThresholdTemp reached maxTemp ($temp >= $maxTemp)");
|
Log3 ($name, 3, "PWM_Calculate: $name: OverallHeatingSwitch forced to off since ThresholdTemp reached maxTemp ($temp >= $maxTemp)");
|
||||||
readingsBulkUpdate ($hash, "OverallHeatingSwitchTT_Off", 1);
|
readingsBulkUpdate ($hash, "OverallHeatingSwitchTT_Off", 1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -732,12 +733,12 @@ PWM_Calculate($)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Log3 ($name, 2, "PWM_Calculate: $name: OverallHeatingSwitchThresholdTemp t_regexp does not match temperature");
|
Log3 ($name, 3, "PWM_Calculate: $name: OverallHeatingSwitchThresholdTemp t_regexp does not match temperature");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Log3 ($name, 2, "PWM_Calculate: $name: OverallHeatingSwitchThresholdTemp refers to invalid device or reading");
|
Log3 ($name, 3, "PWM_Calculate: $name: OverallHeatingSwitchThresholdTemp refers to invalid device or reading");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -756,12 +757,12 @@ PWM_Calculate($)
|
|||||||
|
|
||||||
if ($hash->{READINGS}{OverallHeatingSwitchWaitUntilOff}{VAL} eq "") {
|
if ($hash->{READINGS}{OverallHeatingSwitchWaitUntilOff}{VAL} eq "") {
|
||||||
$newstateOHS = "on";
|
$newstateOHS = "on";
|
||||||
Log3 ($name, 2, "PWM_Calculate: $name: OverallHeatingSwitch wait for followUpTime before switching off (init timestamp)");
|
Log3 ($name, 3, "PWM_Calculate: $name: OverallHeatingSwitch wait for followUpTime before switching off (init timestamp)");
|
||||||
readingsBulkUpdate ($hash, "OverallHeatingSwitchWaitUntilOff", FmtDateTime(time() + $hash->{OverallHeatingSwitch_followUpTime}));
|
readingsBulkUpdate ($hash, "OverallHeatingSwitchWaitUntilOff", FmtDateTime(time() + $hash->{OverallHeatingSwitch_followUpTime}));
|
||||||
|
|
||||||
} elsif ($hash->{READINGS}{OverallHeatingSwitchWaitUntilOff}{VAL} ge TimeNow()) {
|
} elsif ($hash->{READINGS}{OverallHeatingSwitchWaitUntilOff}{VAL} ge TimeNow()) {
|
||||||
$newstateOHS = "on";
|
$newstateOHS = "on";
|
||||||
Log3 ($name, 2, "PWM_Calculate: $name: OverallHeatingSwitch wait for followUpTime before switching off");
|
Log3 ($name, 3, "PWM_Calculate: $name: OverallHeatingSwitch wait for followUpTime before switching off");
|
||||||
} else {
|
} else {
|
||||||
readingsBulkUpdate ($hash, "OverallHeatingSwitchWaitUntilOff", "");
|
readingsBulkUpdate ($hash, "OverallHeatingSwitchWaitUntilOff", "");
|
||||||
}
|
}
|
||||||
@ -777,12 +778,12 @@ PWM_Calculate($)
|
|||||||
|
|
||||||
if ($hash->{READINGS}{OverallHeatingSwitchWaitBeforeOn}{VAL} eq "") {
|
if ($hash->{READINGS}{OverallHeatingSwitchWaitBeforeOn}{VAL} eq "") {
|
||||||
$newstateOHS = "off";
|
$newstateOHS = "off";
|
||||||
Log3 ($name, 2, "PWM_Calculate: $name: OverallHeatingSwitch wait for delayTimeOn before switching on (init timestamp)");
|
Log3 ($name, 3, "PWM_Calculate: $name: OverallHeatingSwitch wait for delayTimeOn before switching on (init timestamp)");
|
||||||
readingsBulkUpdate ($hash, "OverallHeatingSwitchWaitBeforeOn", FmtDateTime(time() + $hash->{OverallHeatingSwitch_delayTimeOn}));
|
readingsBulkUpdate ($hash, "OverallHeatingSwitchWaitBeforeOn", FmtDateTime(time() + $hash->{OverallHeatingSwitch_delayTimeOn}));
|
||||||
|
|
||||||
} elsif ($hash->{READINGS}{OverallHeatingSwitchWaitBeforeOn}{VAL} ge TimeNow()) {
|
} elsif ($hash->{READINGS}{OverallHeatingSwitchWaitBeforeOn}{VAL} ge TimeNow()) {
|
||||||
$newstateOHS = "off";
|
$newstateOHS = "off";
|
||||||
Log3 ($name, 2, "PWM_Calculate: $name: OverallHeatingSwitch wait for delayTimeOn before switching on");
|
Log3 ($name, 3, "PWM_Calculate: $name: OverallHeatingSwitch wait for delayTimeOn before switching on");
|
||||||
} else {
|
} else {
|
||||||
readingsBulkUpdate ($hash, "OverallHeatingSwitchWaitBeforeOn", "");
|
readingsBulkUpdate ($hash, "OverallHeatingSwitchWaitBeforeOn", "");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user