mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 01:14:19 +00:00
76_SolarForecast: contrib 0.80.12
git-svn-id: https://svn.fhem.de/fhem/trunk@27773 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
74aa8861d2
commit
5e25ada3ec
@ -6021,7 +6021,7 @@ sub ___switchConsumerOff {
|
||||
|
||||
my $offcom = ConsumerVal ($hash, $c, "offcom", ""); # Set Command für "off"
|
||||
my ($swoffcond,$info,$err) = isAddSwitchOffCond ($hash, $c); # zusätzliche Switch off Bedingung
|
||||
my $caution;
|
||||
my $cause;
|
||||
|
||||
Log3 ($name, 1, "$name - $err") if($err);
|
||||
|
||||
@ -6044,8 +6044,8 @@ sub ___switchConsumerOff {
|
||||
|
||||
delete $paref->{ps};
|
||||
|
||||
$caution = $swoffcond ? "switch-off condition (key swoffcond) is true" : "planned switch-off time reached/exceeded";
|
||||
$state = qq{switching Consumer '$calias' to '$offcom', caution: $caution};
|
||||
$cause = $swoffcond ? "switch-off condition (key swoffcond) is true" : "planned switch-off time reached/exceeded";
|
||||
$state = qq{switching Consumer '$calias' to '$offcom', cause: $cause};
|
||||
|
||||
writeCacheToFile ($hash, "consumers", $csmcache.$name); # Cache File Consumer schreiben
|
||||
|
||||
@ -6063,8 +6063,8 @@ sub ___switchConsumerOff {
|
||||
|
||||
delete $paref->{ps};
|
||||
|
||||
$caution = isInterruptable($hash, $c, $hyst) == 2 ? 'interrupt condition' : 'surplus shortage';
|
||||
$state = qq{switching Consumer '$calias' to '$offcom', caution: $caution};
|
||||
$cause = isInterruptable($hash, $c, $hyst) == 2 ? 'interrupt condition' : 'surplus shortage';
|
||||
$state = qq{switching Consumer '$calias' to '$offcom', cause: $cause};
|
||||
|
||||
writeCacheToFile ($hash, "consumers", $csmcache.$name); # Cache File Consumer schreiben
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user