mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
76_SolarForecast.pm: contrib 0.56.8
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@25190 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
71df61c7fe
commit
df96e00d75
@ -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