mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
76_SolarForecast.pm: contrib 0.56.10
git-svn-id: https://svn.fhem.de/fhem/trunk@25225 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c5ff4f29be
commit
2ba143f43c
@ -2681,9 +2681,9 @@ sub _manageConsumerData {
|
|||||||
|
|
||||||
push @$daref, "consumer${c}_currentPower<>". $pcurr." W";
|
push @$daref, "consumer${c}_currentPower<>". $pcurr." W";
|
||||||
}
|
}
|
||||||
else {
|
#else {
|
||||||
deleteReadingspec ($hash, "consumer${c}_currentPower") if(!$enread);
|
# deleteReadingspec ($hash, "consumer${c}_currentPower") if(!$enread);
|
||||||
}
|
#}
|
||||||
|
|
||||||
if(defined $ehist && $etot >= $ehist && ($etot - $ehist) >= $pthreshold) {
|
if(defined $ehist && $etot >= $ehist && ($etot - $ehist) >= $pthreshold) {
|
||||||
my $consumerco = $etot - $ehist;
|
my $consumerco = $etot - $ehist;
|
||||||
@ -2701,6 +2701,8 @@ sub _manageConsumerData {
|
|||||||
delete $paref->{histname};
|
delete $paref->{histname};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
deleteReadingspec ($hash, "consumer${c}_currentPower") if(!$enread && !$paread);
|
||||||
|
|
||||||
## Verbraucher - Laufzeit und Zyklen pro Tag ermitteln
|
## Verbraucher - Laufzeit und Zyklen pro Tag ermitteln
|
||||||
## Laufzeit (in Minuten) wird pro Stunde erfasst
|
## Laufzeit (in Minuten) wird pro Stunde erfasst
|
||||||
## bei Tageswechsel Rücksetzen in _specialActivities
|
## bei Tageswechsel Rücksetzen in _specialActivities
|
||||||
|
Loading…
Reference in New Issue
Block a user