mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
98_PID20 : fix in Sub PID20_Calc, concerning
git-svn-id: https://svn.fhem.de/fhem/trunk@6836 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ba563078e6
commit
2d0f6c3a29
@ -42,6 +42,8 @@
|
|||||||
# code review, pod added, removed old version info (will be provided via SVN)
|
# code review, pod added, removed old version info (will be provided via SVN)
|
||||||
# V 1.01
|
# V 1.01
|
||||||
# 19.10.2014 fix in sub PID20_Set : wrong parameter $hash instead of $name, when calling PID20_Calc
|
# 19.10.2014 fix in sub PID20_Set : wrong parameter $hash instead of $name, when calling PID20_Calc
|
||||||
|
# V 1.0.0.2 30.10.14 - fix in PID20_Calc when setting $retStr (thanks to Thorsten Pferdekaemper)
|
||||||
|
#
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
package main;
|
package main;
|
||||||
use strict;
|
use strict;
|
||||||
@ -52,6 +54,8 @@ use vars qw($readingFnAttributes);
|
|||||||
use vars qw(%attr);
|
use vars qw(%attr);
|
||||||
use vars qw(%modules);
|
use vars qw(%modules);
|
||||||
|
|
||||||
|
my $PID20_Version="1.0.0.2";
|
||||||
|
|
||||||
sub PID20_Calc($);
|
sub PID20_Calc($);
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
@ -682,8 +686,9 @@ sub PID20_Calc($)
|
|||||||
# note timestamp
|
# note timestamp
|
||||||
$hash->{helper}{actorTimestamp}=TimeNow();
|
$hash->{helper}{actorTimestamp}=TimeNow();
|
||||||
$actuationDone=$actuation;
|
$actuationDone=$actuation;
|
||||||
my $retStr="" if (!$ret);
|
my $retStr="";
|
||||||
PID20_Log $hash, 3, "<$cmd> with ret:$retStr";
|
$retStr = " with return-value:".$ret if (defined($ret) && ($ret ne ''));
|
||||||
|
PID20_Log $hash, 3, "<$cmd> ".$retStr;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $updateAlive= ($actuation ne "")
|
my $updateAlive= ($actuation ne "")
|
||||||
@ -838,10 +843,10 @@ sub PID20_Calc($)
|
|||||||
</ul>
|
</ul>
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
|
|
||||||
<b>Additional informations</b><br/><br/>
|
<b>Additional information</b><br/><br/>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="http://forum.fhem.de/index.php/topic,17067.0.html">Discussion in FHEM forum</a></li><br/>
|
<li><a href="http://forum.fhem.de/index.php/topic,17067.0.html">Discussion in FHEM forum</a></li><br/>
|
||||||
<li><a href="http://www.fhemwiki.de/wiki/PID20_-_Der_PID-Regler">WIKI information in FHEM wiki</a></li><br/>
|
<li><a href="http://www.fhemwiki.de/wiki/PID20_-_Der_PID-Regler">Information in FHEM wiki</a></li><br/>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user