mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-19 18:56:03 +00:00
76_Solarforcast: contrib 0.54.4
git-svn-id: https://svn.fhem.de/fhem/trunk@24782 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
286b81bd44
commit
4900f0b680
@ -4498,8 +4498,8 @@ sub _beamGraphicFirstHour {
|
|||||||
$val3 = HistoryVal ($hash, $hfcg->{0}{day_str}, $hfcg->{0}{time_str}, "gcons", 0);
|
$val3 = HistoryVal ($hash, $hfcg->{0}{day_str}, $hfcg->{0}{time_str}, "gcons", 0);
|
||||||
$val4 = HistoryVal ($hash, $hfcg->{0}{day_str}, $hfcg->{0}{time_str}, "confc", 0);
|
$val4 = HistoryVal ($hash, $hfcg->{0}{day_str}, $hfcg->{0}{time_str}, "confc", 0);
|
||||||
|
|
||||||
# $hfcg->{0}{weather} = CircularVal ($hash, $hfcg->{0}{time_str}, "weatherid", undef);
|
# $hfcg->{0}{weather} = CircularVal ($hash, $hfcg->{0}{time_str}, "weatherid", 999);
|
||||||
$hfcg->{0}{weather} = HistoryVal ($hash, $hfcg->{0}{day_str}, $hfcg->{0}{time_str}, "weatherid", undef);
|
$hfcg->{0}{weather} = HistoryVal ($hash, $hfcg->{0}{day_str}, $hfcg->{0}{time_str}, "weatherid", 999);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$val1 = CircularVal ($hash, $hfcg->{0}{time_str}, "pvfc", 0);
|
$val1 = CircularVal ($hash, $hfcg->{0}{time_str}, "pvfc", 0);
|
||||||
@ -4507,8 +4507,8 @@ sub _beamGraphicFirstHour {
|
|||||||
$val3 = CircularVal ($hash, $hfcg->{0}{time_str}, "gcons", 0);
|
$val3 = CircularVal ($hash, $hfcg->{0}{time_str}, "gcons", 0);
|
||||||
$val4 = CircularVal ($hash, $hfcg->{0}{time_str}, "confc", 0);
|
$val4 = CircularVal ($hash, $hfcg->{0}{time_str}, "confc", 0);
|
||||||
|
|
||||||
$hfcg->{0}{weather} = CircularVal ($hash, $hfcg->{0}{time_str}, "weatherid", undef);
|
$hfcg->{0}{weather} = CircularVal ($hash, $hfcg->{0}{time_str}, "weatherid", 999);
|
||||||
#$val4 = (ReadingsVal($name,"ThisHour_IsConsumptionRecommended",'no') eq 'yes' ) ? $icon : undef;
|
#$val4 = (ReadingsVal($name,"ThisHour_IsConsumptionRecommended",'no') eq 'yes' ) ? $icon : 999;
|
||||||
}
|
}
|
||||||
|
|
||||||
$hfcg->{0}{time_str} = sprintf('%02d', $hfcg->{0}{time}-1).$hourstyle;
|
$hfcg->{0}{time_str} = sprintf('%02d', $hfcg->{0}{time}-1).$hourstyle;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user