mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
98_Heating_Control: last change is not workung under al circumstances - rollback - now really
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9461 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8e73adf056
commit
496b9e159d
@ -590,7 +590,7 @@ sub WeekdayTimer_Update($) {
|
|||||||
my $idx = $myHash->{MODIFIER};
|
my $idx = $myHash->{MODIFIER};
|
||||||
my $now = time();
|
my $now = time();
|
||||||
|
|
||||||
my $sollZeit = $myHash->{TIME};
|
#my $sollZeit = $myHash->{TIME};
|
||||||
|
|
||||||
# Schaltparameter ermitteln
|
# Schaltparameter ermitteln
|
||||||
my $tage = $hash->{profil}{$idx}{TAGE};
|
my $tage = $hash->{profil}{$idx}{TAGE};
|
||||||
@ -599,12 +599,12 @@ sub WeekdayTimer_Update($) {
|
|||||||
|
|
||||||
#Log3 $hash, 3, "[$name] $idx ".FmtDateTime($epoch) . " " . $newParam . " " . join("",@$tage);
|
#Log3 $hash, 3, "[$name] $idx ".FmtDateTime($epoch) . " " . $newParam . " " . join("",@$tage);
|
||||||
|
|
||||||
if ($hash->{STILLDONETIME} <= $sollZeit ) {
|
#if ($hash->{STILLDONETIME} <= $sollZeit ) {
|
||||||
$hash->{STILLDONETIME} = $sollZeit;
|
# $hash->{STILLDONETIME} = $sollZeit;
|
||||||
} else {
|
#} else {
|
||||||
Log3 $hash, 3, "[$name] Timer $time overwritten by " . FmtDateTime($hash->{STILLDONETIME});
|
# Log3 $hash, 3, "[$name] Timer $time overwritten by " . FmtDateTime($hash->{STILLDONETIME});
|
||||||
return;
|
# return;
|
||||||
}
|
#}
|
||||||
|
|
||||||
# Fenserkontakte abfragen - wenn einer im Status closed, dann Schaltung um 60 Sekunden verzögern
|
# Fenserkontakte abfragen - wenn einer im Status closed, dann Schaltung um 60 Sekunden verzögern
|
||||||
if (WeekdayTimer_FensterOffen($hash, $newParam, $idx)) {
|
if (WeekdayTimer_FensterOffen($hash, $newParam, $idx)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user