mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-25 03:39:21 +00:00
76_SolarForecast.pm: contrib 0.21.0
git-svn-id: https://svn.fhem.de/fhem/trunk@24076 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a0370ef8c0
commit
04375672a0
@ -1362,7 +1362,7 @@ sub _additionalEvents {
|
||||
__addCHANGED ($hash, "PVreal: ".$pvrl, $ts) if(defined $pvrl);
|
||||
|
||||
$gcon = ReadingsNum($name, "Today_Hour".sprintf("%02d",$chour)."_GridConsumption", undef);
|
||||
__addCHANGED ($hash, "Gridconsumption: ".$gcon, $ts) if(defined $gcon);
|
||||
__addCHANGED ($hash, "GridconsumptionReal: ".$gcon, $ts) if(defined $gcon);
|
||||
|
||||
my $tlim = "00"; # bestimmte Aktionen
|
||||
if($chour =~ /^($tlim)$/x) {
|
||||
@ -1376,7 +1376,7 @@ sub _additionalEvents {
|
||||
__addCHANGED ($hash, "PVreal: ".$pvrl, $ts) if(defined $pvrl);
|
||||
|
||||
$gcon = ReadingsNum($name, "Today_Hour24_GridConsumption", undef);
|
||||
__addCHANGED ($hash, "Gridconsumption: ".$gcon, $ts) if(defined $gcon);
|
||||
__addCHANGED ($hash, "GridconsumptionReal: ".$gcon, $ts) if(defined $gcon);
|
||||
|
||||
deleteReadingspec ($hash, "Today_Hour.*_GridConsumption");
|
||||
deleteReadingspec ($hash, "Today_Hour.*_PV.*");
|
||||
|
Loading…
x
Reference in New Issue
Block a user