mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
76_SolarForecast.pm: contrib 0.56.8
git-svn-id: https://svn.fhem.de/fhem/trunk@25190 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8ab6390951
commit
d357ca7f8e
@ -2717,6 +2717,11 @@ sub _manageConsumerData {
|
||||
|
||||
$data{$type}{$name}{consumers}{$c}{currpowerpercent} = $currpowerpercent;
|
||||
|
||||
#################################################
|
||||
# onoff funktioniert nur züverlässig wenn powerthreshold hier nochmal abgefragt wird ?!?
|
||||
$pthreshold = ConsumerVal ($hash, $c, "powerthreshold", 1);
|
||||
#################################################
|
||||
|
||||
my $starthour;
|
||||
if($pcurr > $pthreshold || $currpowerpercent > $defpopercent) { # Verbraucher soll aktiv sein
|
||||
if(ConsumerVal ($hash, $c, "onoff", "off") eq "off") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user