Zitat von: DS_Starter am 31 Januar 2026, 10:30:12Hallo Peter,
ich mache erstmal ein paar Tage Urlaub.
my $pvfc = ReadingsNum ($name, 'Today_PVforecast', 0);
my $pvre = ReadingsNum ($name, 'Today_PVreal', 0);
my $pvfcrod = ReadingsNum ($name, 'RestOfDayPVforecast', 0) - $pvfc; # PV Prognose bis jetzt
$pvfcrod = min ($pvfc, abs ($pvfcrod));
$dpv = sprintf "%.2f", ( 100 - (100 * ($pvre / ($pvfcrod || 1))) );
BOSEST: Discovery failed with: Not an ARRAY reference at ./FHEM/98_BOSEST.pm line 2025sub ULANZI_SetCustomTempAussen {
my ($name, $TempAussen) = @_;
my $color=substr(Color::pahColor(0,15,25,$TempAussen,[0,0,255,120,180,180,40,255,60,255,255,0,255,69,0],0),0,6);
my @text = ({'t',$TempAussen,'c',$color},{'t','°C','c','FFFFFF'});
my %data = (
textCase => 2,
text => \@text,
icon => "3423"
);
ULANZI_SetCustom($name, "TempAussen", \%data);
}
Zitat von: peterboeckmann am 30 Januar 2026, 12:27:11Ok, ich hab die neue Version gezogen und schaue nachher mal drauf.
2026-01-31 08:58:07 RestOfDayPVforecast 3018 Wh
2026-01-31 08:58:07 Today_PVdeviation 1050 %
2026-01-31 08:58:07 Today_PVforecast 3016 Wh
2026-01-31 08:58:07 Today_PVreal 23 Wh