diff --git a/fhem/CHANGED b/fhem/CHANGED index 0843cefda..cdde49357 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 76_SolarForecast: Victron API fix Forum:#1288637 - change: 10_KNX: allow exponential numbers for dpt14 - feature: 00_KNXIO: add FIFO & rate limit for set/get to KNX-bus - change 58_RPI_1Wire: Added: Support for setting switches, clear command diff --git a/fhem/FHEM/76_SolarForecast.pm b/fhem/FHEM/76_SolarForecast.pm index cacbb9bf1..57d87cd9e 100644 --- a/fhem/FHEM/76_SolarForecast.pm +++ b/fhem/FHEM/76_SolarForecast.pm @@ -144,6 +144,7 @@ BEGIN { # Versions History intern my %vNotesIntern = ( + "1.0.1" => "03.10.2023 fixes in comRef, bug fix Forum: https://forum.fhem.de/index.php?msg=1288637 ", "1.0.0" => "01.10.2023 preparation for check in ", "0.83.3" => "28.09.2023 fix Illegal division by zero, Forum: https://forum.fhem.de/index.php?msg=1288032 ". "delete AllPVforecastsToEvent after event generation ", @@ -3671,6 +3672,8 @@ sub __VictronVRM_ApiResponseForecast { my $k = 0; while ($jdata->{'records'}{'solar_yield_forecast'}[$k]) { + next if(ref $jdata->{'records'}{'solar_yield_forecast'}[$k] ne "ARRAY"); # Forum: https://forum.fhem.de/index.php?msg=1288637 + my $starttmstr = $jdata->{'records'}{'solar_yield_forecast'}[$k][0]; # Millisekunden geliefert my $val = $jdata->{'records'}{'solar_yield_forecast'}[$k][1]; $starttmstr = (timestampToTimestring ($starttmstr, $lang))[3]; @@ -3690,6 +3693,8 @@ sub __VictronVRM_ApiResponseForecast { $k = 0; while ($jdata->{'records'}{'vrm_consumption_fc'}[$k]) { + next if(ref $jdata->{'records'}{'vrm_consumption_fc'}[$k] ne "ARRAY"); # Forum: https://forum.fhem.de/index.php?msg=1288637 + my $starttmstr = $jdata->{'records'}{'vrm_consumption_fc'}[$k][0]; # Millisekunden geliefert my $val = $jdata->{'records'}{'vrm_consumption_fc'}[$k][1]; $starttmstr = (timestampToTimestring ($starttmstr, $lang))[3]; @@ -14768,7 +14773,7 @@ to ensure that the system configuration is correct. factor/0..1 - quality of the PV forecast (1 = best quality) DoN sunrise and sunset status (0 - night, 1 - day) hourofday current hour of the day - pvapifc expected PV generation (Wh) of the API used + pvapifc expected PV generation (Wh) of the used API incl. a possible correction pvaifc expected PV generation of the AI (Wh) pvfc PV generation forecast used (Wh) aihit delivery status of the AI for the PV forecast (0-no delivery, 1-delivery) @@ -16531,7 +16536,7 @@ die ordnungsgemäße Anlagenkonfiguration geprüft werden. Faktor/0..1 - Qualität der PV Prognose (1 = beste Qualität) DoN Sonnenauf- und untergangsstatus (0 - Nacht, 1 - Tag) hourofday laufende Stunde des Tages - pvapifc erwartete PV Erzeugung (Wh) der verwendeten API + pvapifc erwartete PV Erzeugung (Wh) der verwendeten API inkl. einer eventuellen Korrektur pvaifc erwartete PV Erzeugung der KI (Wh) pvfc verwendete PV Erzeugungsprognose (Wh) aihit Lieferstatus der KI für die PV Vorhersage (0-keine Lieferung, 1-Lieferung)