76_SolarForecast - Informationen/Ideen zu Weiterentwicklung und Support

Begonnen von DS_Starter, 11 Februar 2024, 14:11:00

Vorheriges Thema - Nächstes Thema

300P

Irgenwie sprechen wir scheinbar nicht von dem gleichem......? ?

So müsste es eigentlich aussehen bei einem aktuellen Tagesverbrauch von 5047 Wh und 17.1 Wh Einspeisung bei Stunde 99

99 => tdayDvtn: 4.35, ydayDvtn: -104.16
      todayConsumption: 5047, feedintotal: 2978953.8, initdayfeedin: 2978936.9
      gridcontotal: 780894.4, initdaygcon: 780869.5
      initdaybatintot01: 9578888, initdaybatintot02: 6686075, initdaybatintot03: -
      initdaybatouttot01: 6868960, initdaybatouttot02: 4713902, initdaybatouttot03: -
      batintot01: 9579845, batintot02: 6686580, batintot03: -
      batouttot01: 6870720, batouttot02: 4718635, batouttot03: -
      lastTsMaxSocRchd01: 1739903302, lastTsMaxSocRchd02: 1739895601, lastTsMaxSocRchd03: -
      nextTsMaxSocChge01: 1741631302, nextTsMaxSocChge02: 1741623601, nextTsMaxSocChge03: -
      days2care01: 19, days2care02: 19, days2care03: -
      runTimeTrainAI: 0.9987, aitrainLastFinishTs: 1739927704, aiRulesNumber: 3426
      attrInvChangedTs: 1736179151
Gruß
300P

FHEM 6.4|RPi|SMAEM|SMAInverter|SolarForecast|DbLog|DbRep|MariaDB|Buderus-MQTT_EMS|
Fritzbox|fhempy|JsonMod|HTTPMOD|Modbus ser+TCP|ESP32-Digitizer-AI_on_the_Edge|ESP32CAM usw.

grappa24

#2011
Zitat von: DS_Starter am 18 Februar 2025, 17:32:21Jetzt wird das Löschen klappen, ist aber nur die halbe Wahrheit.
Nun ist noch wichtig zu ergründen woher diese Werte kommen sofern sie immer wieder eingetragen werden.
Es kann "mal" passieren, zum Beispiel bei einer temporär falschen Einrichtung, sollte aber nicht permanent auftreten.
Das Löschen hat geklappt, ich hab aber heute schon wieder einen negativen con-Wert:
       
      08 => pvfc: 90, pvrl: 108, pvrlvd: 1, rad1h: 40
            etotali01: 9520629.48165973, etotali02: -, etotali03: -
            pvrl01: 108, pvrl02: -, pvrl03: -
            etotalp01: -, etotalp02: -, etotalp03: -
            pprl01: -, pprl02: -, pprl03: -
            confc: 1, con: -205, gcons: 0, conprice: 0.32
            gfeedin: 0, feedprice: 0.08
            DoN: 0, sunaz: 107, sunalt: 0
            batintotal01: 1885728.06901552, batintotal02: -, batintotal03: -
            batouttotal01: 1752262.67133209, batouttotal02: -, batouttotal03: -
            batsoc01: 5, batsoc02: -, batsoc03: -
            batin01: 293, batin02: -, batin03: -
            batout01: 0, batout02: -, batout03: -
            weatherid: 101, wcc: 32, rr1c: 0.00, pvcorrf: 1.50/0.35 temp: -3.70,
            minutescsm01: 60
            minutescsm02: 60
            minutescsm03: 0
            minutescsm04: 0
            minutescsm05: 60
            minutescsm06: 0
            csmt08: 429463.918, csme08: 40.7260000000242, minutescsm08: 60
            csmt09: 151744.493, csme09: 16.8789999999863, minutescsm09: 12

Helft mir mal, wie wird der con-Wert berechnet, meine Definitionen sehen so aus (meter, inverter, battery):
SymGen24 gcon=User_Power_Import:W contotal=User_Energy_Import:Wh gfeedin=User_Power_Feedin feedtotal=User_Energy_Feedin:Wh conprice=0.32:€ feedprice=0.08:€
SymGen24 pv=PowerFlow_Site_P_PV:W etotal=User_Produced_PV:kWh capacity=10000 strings=suedwest,nordost
BatteryDummy pin=-pout pout=total_pac:W intotal=intotal:kWh outtotal=outtotal:kWh charge=chargestatus cap=cap:Wh show=1

Gebäudesicherheit/-komfort, PV-Prognose/Verbrauchssteuerung, Heizungssteuerung, Multimedia, ...
KNX, FS20, HM, HUE, Tradfri, Shellies, KLF200, Netatmo, Nuki, SolarForecast, HEOS, Alexa-FHEM, ...
FHEM 6.4, 2 x RasPi 3B+, Debian Bullseye

DS_Starter

ZitatHelft mir mal, wie wird der con-Wert berechnet, meine Definitionen sehen so aus (meter, inverter, battery):
Deine Definitionen sehen erstmal gut aus. Allerdings kann man hier nicht sehen welche Werte sich hinter den Readings verbergen und was da geliefert wird.

Die Berechnung und Zusammenhänge bzgl. con habe ich hier im Wiki beschrieben.

LG
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

TheTrumpeter

Ich habe gestern auf die v1.46.0 aktualisiert.
Nach der Aktualisierung ist mir direkt eine unplausible Verbrauchsvorhersage aufgefallen (viele Stunden waren "0"). Anlagencheck hat einen fehlerhaften Wert ergeben: "The stored Energy consumption of day/hour 01/17 is negative."
Das habe ich entsprechend zurückgesetzt, trotzdem werden weiterhin die "0" angezeigt und der prognostizierte Verbrauch für die nächsten 4 Stunden zeigt aktuell beispielsweise knapp -2.2 kW.

Abgesehen vom Update habe ich nichts geändert, die Anlagenkonfiguration ist unverändert, die Momentanwerte sind alle plausibel.

Wird sich das wieder einpendeln bzw. woher könnte der Fehler kommen?
FHEM auf RPi3, THZ (LWZ404SOL), RPII2C & I2C_MCP342x (ADCPiZero), PowerMap, CustomReadings, RPI_GPIO, Twilight, nanoCUL (WMBus für Diehl Wasserzähler & Regenerationszähler für BWT AqaSmart), ESPEasy, TPLinkHS110

DS_Starter

ZitatNach der Aktualisierung ist mir direkt eine unplausible Verbrauchsvorhersage aufgefallen (viele Stunden waren "0").
Das ist erstmal nicht so dramatisch.
Wenn du ein "get ... pvCircular" ausführst, findest du in jeder Stunde die con-Werte für jeden Wochentag etwa so:

      con_all => So  @ 1438 8972
                 Do  @ 509 751
                 Mo  @ 1618 631 1587
                 Fr  @ 2867 1152
                 Mi  @ 673 10984
                 Di  @ 1089 5886 1876
                 Sa  @ 1287 903


Diese Daten werden seit einiger Zeit (seit einigen Updates) in die pvCircular geschrieben. Wenn du die Updates mitgemacht hast, finden sich diese Daten dort.
Solltest du erst jetzt mal wieder upgedated haben, sind evtl. noch keine oder sehr wenige Daten vorhanden und müssen erst geschrieben werden. Das baut sich auf, spätestens nach 7 Tagen steht in jedem Stundenwert und jedem Wochentag ein Wert. Schau mal wie es bei dir in diesem Speicher aussieht.
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

mkern1975

Hallo,
ich bin ja total begeistert vom dem Modul und arbeite mich sol ganz langsam vor.
Meine 3 Inverter werden auch so wie gewünscht abgebildet. Wie es scheint, so steht es ja auch in der Doku zum Modul, kann ich aktuell "nur" 3 Inverter integrieren.
Gibt es einen Trick, noch einen "4.", direkt Batterie ladenenden zu integrieren?


DS_Starter

Hallo mkern1975,

freut mich.  :)

Letztendlich muß ich die Anzahl der möglichen Inverter im Code erhöhen.
Aber vorab kann du folgendes tun.

In Zeile 389 steht:

MAXINVERTER    => 3,                 # maximale Anzahl der möglichen Inverter
Stelle diesen Wert einfach auf "4" und starte FHEM neu.
Danach solltest du 4 Inverter einbauen können.

Beim nächsten Update des Moduls wäre dieser Wert wieder auf dem Standard. Deswegen muß ich den Standard dann noch anpassen.

LG,
Heiko
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

TheTrumpeter

#2017
Zitat von: DS_Starter am 19 Februar 2025, 10:23:11Wenn du ein "get ... pvCircular" ausführst, findest du in jeder Stunde die con-Werte für jeden Wochentag etwa so:
Ja die Werte sind da, ich sehe nur nicht woher die "0"-Prognosen kommen. Wie gesagt ist es erst mit dem Update auf die 1.46.0 aufgetreten. (Davor hatte ich auch alle paar Tage mal einzelne Stunden, wo "0" prognostiziert war, aber nicht so gehäuft wie derzeit.)

Heute wird beispielsweise für 16:00-17:00 "0" angezeigt, das müssten die Daten sein, oder?
17 => pvapifc: 1258, pvaifc: -, pvfc: 1258, aihit: 0, pvrl: 880
      batin01: -, batin02: -, batin03: -
      batout01: -, batout02: -, batout03: -
      confc: -3058, gcon: 5, gfeedin: 562, wcc: 0, rr1c: 0.00
      temp: 0.50, wid: 0, wtxt: -
      pprl01: -, pprl02: -, pprl03: -
      pvcorrf: 0.00=0.88 0.05=1.27 0.100=0.93 0.15=0.89 0.20=1.11 0.30=0.86 0.40=0.99 0.70=1.00 0.75=0.71 0.85=1.50
               0.90=0.69 0.95=1.09 5.00=0.98 5.05=0.83 5.10=1.08 5.100=0.86 5.15=1.50 5.20=0.97 5.25=1.50 5.30=1.00
               5.40=1.38 5.45=0.87 5.50=1.01 5.55=1.00 5.60=1.30 5.65=0.89 5.70=0.74 5.75=0.94 5.80=1.03 5.85=0.57
               5.90=0.94 5.95=1.01 10.10=1.08 10.100=0.86 10.15=1.50 10.20=0.99 10.25=1.50 10.30=0.95 10.35=0.96 10.40=1.38
               10.45=1.03 10.50=1.43 10.55=1.12 10.60=1.30 10.65=0.92 10.70=2.54 10.75=0.96 10.80=0.97 10.85=1.25 10.90=0.77
               10.95=0.98 15.10=1.08 15.100=1.05 15.15=1.19 15.20=0.97 15.25=1.50 15.30=1.00 15.35=0.88 15.40=1.04 15.45=0.83
               15.50=0.98 15.55=1.07 15.60=0.87 15.65=0.98 15.70=1.17 15.75=1.44 15.80=0.71 15.85=1.25 15.90=0.98 15.95=0.62
               20.00=1.03 20.100=1.01 20.10=0.96 20.15=1.50 20.20=0.97 20.25=1.50 20.30=1.00 20.40=1.38 20.45=0.87 20.50=1.01
               20.55=0.95 20.60=1.30 20.65=1.15 20.70=1.50 20.75=1.18 20.80=1.12 20.85=0.75 20.90=0.98 20.95=1.13 25.00=0.90
               25.100=1.11 25.10=1.08 25.15=1.50 25.20=0.97 25.25=1.50 25.30=1.00 25.40=1.38 25.45=0.87 25.50=1.01 25.55=1.00
               25.60=1.30 25.65=1.04 25.70=1.50 25.75=0.94 25.80=1.13 25.85=1.00 25.90=0.98 25.95=0.63 30.00=0.98 30.100=0.97
               30.10=1.08 30.15=1.50 30.20=1.03 30.25=1.50 30.30=1.00 30.40=0.97 30.45=0.87 30.50=1.05 30.55=1.05 30.60=1.30
               30.65=1.00 30.70=1.07 30.75=0.94 30.80=1.12 30.85=1.25 30.90=0.98 30.95=0.63 35.00=1.03 35.05=0.94 35.100=0.84
               35.10=1.08 35.15=1.50 35.20=0.97 35.25=1.10 35.30=1.00 35.35=1.01 35.40=0.88 35.45=0.87 35.50=1.10 35.55=1.07
               35.60=1.30 35.65=1.05 35.70=0.86 35.75=1.44 35.80=1.16 35.85=0.92 35.90=0.85 35.95=1.11 40.00=1.00 40.05=1.01
               40.100=1.11 40.10=1.05 40.15=1.06 40.20=1.05 40.25=1.50 40.30=1.02 40.35=1.01 40.40=1.02 40.45=1.01 40.50=1.00
               40.55=1.18 40.60=0.90 40.65=0.83 40.70=0.78 40.75=1.16 40.80=0.87 40.85=1.09 40.90=1.37 40.95=1.20 45.10=1.08
               45.15=1.50 45.20=0.97 45.25=1.50 45.30=1.00 45.40=1.38 45.45=0.87 45.50=1.01 45.55=1.00 45.60=1.30 45.65=1.15
               45.70=1.50 45.75=0.94 45.80=1.12 45.85=1.25 45.90=0.98 45.95=0.63
               simple=1.00
      quality: 0.00=0.86 0.05=0.65 0.100=0.93 0.15=0.88 0.20=0.82 0.30=0.84 0.40=0.98 0.70=1.00 0.75=0.00 0.85=0.33
               0.90=0.53 0.95=0.84 5.00=0.98 5.05=0.79 5.10=0.86 5.100=0.83 5.15=0.43 5.20=0.94 5.25=0.10 5.30=0.99
               5.40=0.91 5.45=0.85 5.50=0.98 5.55=0.73 5.60=0.91 5.65=0.88 5.70=0.65 5.75=0.70 5.80=0.97 5.85=0.25
               5.90=0.94 5.95=0.99 10.100=0.84 10.10=0.86 10.15=0.43 10.20=0.99 10.25=0.10 10.30=0.95 10.35=0.90 10.40=0.91
               10.45=0.97 10.50=0.66 10.55=0.80 10.60=0.91 10.65=0.91 10.70=0.39 10.75=0.95 10.80=0.97 10.85=0.80 10.90=0.71
               10.95=0.98 15.100=0.95 15.10=0.86 15.15=0.85 15.20=0.94 15.25=0.10 15.30=0.99 15.35=0.69 15.40=0.96 15.45=0.80
               15.50=0.98 15.55=0.93 15.60=0.85 15.65=0.98 15.70=0.85 15.75=0.60 15.80=0.58 15.85=0.80 15.90=0.98 15.95=0.39
               20.00=0.97 20.10=0.96 20.100=0.99 20.15=0.43 20.20=0.94 20.25=0.10 20.30=0.99 20.40=0.91 20.45=0.85 20.50=0.98
               20.55=0.88 20.60=0.91 20.65=0.87 20.70=0.00 20.75=0.85 20.80=0.92 20.85=0.35 20.90=0.99 20.95=0.89 25.00=0.89
               25.10=0.86 25.100=0.90 25.15=0.43 25.20=0.98 25.25=0.10 25.30=0.99 25.40=0.91 25.45=0.85 25.50=0.98 25.55=0.73
               25.60=0.91 25.65=0.96 25.70=0.00 25.75=0.70 25.80=0.88 25.85=1.00 25.90=0.99 25.95=0.42 30.00=0.97 30.10=0.86
               30.100=0.97 30.15=0.43 30.20=0.97 30.25=0.10 30.30=0.99 30.40=0.97 30.45=0.85 30.50=0.95 30.55=0.91 30.60=0.91
               30.65=1.00 30.70=0.44 30.75=0.70 30.80=0.92 30.85=0.80 30.90=0.99 30.95=0.42 35.00=0.97 35.05=0.94 35.10=0.86
               35.100=0.81 35.15=0.43 35.20=0.94 35.25=0.57 35.30=0.99 35.35=0.98 35.40=0.38 35.45=0.85 35.50=0.91 35.55=0.94
               35.60=0.91 35.65=0.95 35.70=0.83 35.75=0.63 35.80=0.86 35.85=0.91 35.90=0.83 35.95=0.90 40.00=1.00 40.05=0.99
               40.10=0.98 40.100=0.90 40.15=0.42 40.20=0.95 40.25=0.10 40.30=0.98 40.35=0.99 40.40=0.98 40.45=0.99 40.50=1.00
               40.55=0.74 40.60=0.89 40.65=0.79 40.70=0.73 40.75=0.86 40.80=0.85 40.85=0.92 40.90=0.73 40.95=0.83 45.10=0.86
               45.15=0.43 45.20=0.94 45.25=0.10 45.30=0.99 45.40=0.91 45.45=0.85 45.50=0.98 45.55=0.73 45.60=0.91 45.65=0.87
               45.70=0.00 45.75=0.70 45.80=0.92 45.85=0.80 45.90=0.99 45.95=0.42
               simple=1.00
      pvrlsum: simple=1118901
      pvfcsum: simple=1116209
      dnumsum: simple=316
      con_all => Thu @ 262 697
                 Wed @ 1574 310
                 Mon @ 438 1367
                 Sun @ 329 261
                 Sat @ 1103 345
                 Tue @ 1488
                 Fri @ 292 830
      pvrl_0  => 00  @ 48 139
                 05  @ 80
                 15  @ 80 180
                 20  @ 90
                 30  @ 239
                 40  @ 180
                 70  @ 140
                 75  @ 10
                 85  @ 30
                 90  @ 30
                 95  @ 150
                 100 @ 61 69 10 100 80 70 50
      pvrl_10 => 20  @ 1660
                 30  @ 1190
                 35  @ 1730
                 40  @ 740
                 45  @ 1100
                 50  @ 1010
                 55  @ 1160
                 60  @ 1000
                 65  @ 565
                 70  @ 1120
                 75  @ 1227
                 80  @ 402
                 85  @ 235
                 90  @ 380
                 95  @ 315
                 100 @ 390
      pvrl_15 => 15  @ 2550
                 30  @ 720
                 35  @ 1870
                 40  @ 1913
                 45  @ 1400
                 50  @ 1507
                 55  @ 2450
                 60  @ 1885
                 65  @ 848
                 70  @ 1873
                 75  @ 1485
                 80  @ 508
                 85  @ 235
                 90  @ 1350
                 95  @ 192
                 100 @ 1627
      pvrl_20 => 00  @ 4367
                 10  @ 3950
                 30  @ 720
                 40  @ 740
                 45  @ 775
                 50  @ 430
                 55  @ 2360
                 60  @ 1000
                 65  @ 530
                 75  @ 1985
                 80  @ 323
                 85  @ 683
                 90  @ 670
                 95  @ 418
                 100 @ 1682
      pvrl_25 => 00  @ 4268
                 20  @ 4100
                 30  @ 720
                 40  @ 740
                 45  @ 775
                 50  @ 430
                 60  @ 1000
                 65  @ 812
                 75  @ 550
                 80  @ 1340
                 85  @ 1503
                 90  @ 670
                 95  @ 147
                 100 @ 870
      pvrl_30 => 00  @ 5985
                 20  @ 6430
                 30  @ 720
                 40  @ 3907
                 45  @ 775
                 50  @ 3210
                 55  @ 6330
                 60  @ 1000
                 65  @ 1597
                 70  @ 5600
                 75  @ 550
                 80  @ 323
                 85  @ 235
                 90  @ 670
                 95  @ 147
                 100 @ 4466
      pvrl_35 => 00  @ 7873
                 05  @ 6323
                 25  @ 7820
                 30  @ 720
                 35  @ 6800
                 40  @ 3150
                 45  @ 775
                 50  @ 4125
                 55  @ 7187
                 60  @ 1000
                 65  @ 1261
                 70  @ 6220
                 75  @ 2465
                 80  @ 1982
                 85  @ 3406
                 90  @ 3123
                 95  @ 3737
                 100 @ 3021
      pvrl_40 => 00  @ 7937
                 05  @ 8148
                 10  @ 7250
                 15  @ 6770
                 20  @ 7680
                 30  @ 6782
                 35  @ 8117
                 40  @ 5930
                 45  @ 3850
                 50  @ 5037
                 55  @ 7770
                 60  @ 4697
                 65  @ 1184
                 70  @ 5280
                 75  @ 3395
                 80  @ 2808
                 85  @ 3712
                 90  @ 5775
                 95  @ 4580
                 100 @ 5200
      pvrl_45 => 30  @ 720
                 40  @ 740
                 45  @ 775
                 50  @ 430
                 60  @ 1000
                 65  @ 530
                 75  @ 550
                 80  @ 323
                 85  @ 235
                 90  @ 670
                 95  @ 147
      pvrl_5  => 00  @ 390 450
                 05  @ 260
                 30  @ 720
                 40  @ 740
                 45  @ 775
                 50  @ 430
                 60  @ 1000
                 65  @ 530 920
                 70  @ 549
                 75  @ 550
                 80  @ 323 220 410
                 85  @ 235 470
                 90  @ 670 790
                 95  @ 147 470
                 100 @ 230 800 300 370 529 150 120
      pvfc_0  => 00  @ 44 170
                 05  @ 52
                 15  @ 92 199
                 20  @ 74
                 30  @ 278
                 40  @ 184
                 70  @ 140
                 75  @ 24
                 85  @ 10
                 90  @ 44
                 95  @ 126
                 100 @ 48 53 57 99 101 94 74
      pvfc_10 => 20  @ 1677
                 30  @ 1251
                 35  @ 1906
                 40  @ 673
                 45  @ 1071
                 50  @ 662
                 55  @ 928
                 60  @ 910
                 65  @ 617
                 70  @ 442
                 75  @ 1283
                 80  @ 416
                 85  @ 188
                 90  @ 492
                 95  @ 322
                 100 @ 452
      pvfc_15 => 15  @ 2941
                 30  @ 716
                 35  @ 2447
                 40  @ 1837
                 45  @ 1684
                 50  @ 1542
                 55  @ 2290
                 60  @ 2174
                 65  @ 866
                 70  @ 1597
                 75  @ 886
                 80  @ 720
                 85  @ 188
                 90  @ 1383
                 95  @ 310
                 100 @ 1547
      pvfc_20 => 00  @ 4246
                 10  @ 4096
                 30  @ 716
                 40  @ 673
                 45  @ 891
                 50  @ 421
                 55  @ 2633
                 60  @ 910
                 65  @ 463
                 75  @ 1684
                 80  @ 296
                 85  @ 1130
                 90  @ 677
                 95  @ 370
                 100 @ 1663
      pvfc_25 => 00  @ 4750
                 20  @ 4169
                 30  @ 716
                 40  @ 673
                 45  @ 891
                 50  @ 421
                 60  @ 910
                 65  @ 779
                 75  @ 715
                 80  @ 1181
                 85  @ 1499
                 90  @ 677
                 95  @ 232
                 100 @ 785
      pvfc_30 => 00  @ 6137
                 20  @ 6213
                 30  @ 716
                 40  @ 4032
                 45  @ 891
                 50  @ 3044
                 55  @ 5770
                 60  @ 910
                 65  @ 1593
                 70  @ 8757
                 75  @ 715
                 80  @ 296
                 85  @ 188
                 90  @ 677
                 95  @ 232
                 100 @ 4588
      pvfc_35 => 00  @ 7622
                 05  @ 6703
                 25  @ 11151
                 30  @ 716
                 35  @ 6688
                 40  @ 5094
                 45  @ 891
                 50  @ 3760
                 55  @ 6741
                 60  @ 910
                 65  @ 1196
                 70  @ 7259
                 75  @ 1558
                 80  @ 1711
                 85  @ 3704
                 90  @ 3658
                 95  @ 3359
                 100 @ 3592
      pvfc_40 => 00  @ 7914
                 05  @ 8058
                 10  @ 7141
                 15  @ 10701
                 20  @ 7331
                 30  @ 6619
                 35  @ 8061
                 40  @ 5796
                 45  @ 3806
                 50  @ 5020
                 55  @ 5740
                 60  @ 5203
                 65  @ 1427
                 70  @ 6728
                 75  @ 2917
                 80  @ 3235
                 85  @ 3402
                 90  @ 4225
                 95  @ 3822
                 100 @ 4690
      pvfc_45 => 30  @ 716
                 40  @ 673
                 45  @ 891
                 50  @ 421
                 60  @ 910
                 65  @ 463
                 75  @ 715
                 80  @ 296
                 85  @ 188
                 90  @ 677
                 95  @ 232
      pvfc_5  => 00  @ 448 411
                 05  @ 314
                 30  @ 716
                 40  @ 673
                 45  @ 891
                 50  @ 421
                 60  @ 910
                 65  @ 463 1162
                 70  @ 741
                 75  @ 715
                 80  @ 296 314 559
                 85  @ 188 1042
                 90  @ 677 870
                 95  @ 232 375
                 100 @ 350 275 457 382 467 211 208

Die Updates mache ich eigentlich immer mit sobald eine strukturelle Änderung drin ist. Kleinere Bugfix-Releases lasse ich meist aus, wenn ich den Bug bei mir nicht beobachtet habe.
FHEM auf RPi3, THZ (LWZ404SOL), RPII2C & I2C_MCP342x (ADCPiZero), PowerMap, CustomReadings, RPI_GPIO, Twilight, nanoCUL (WMBus für Diehl Wasserzähler & Regenerationszähler für BWT AqaSmart), ESPEasy, TPLinkHS110

DS_Starter

#2018
Ja, das sind die Werte und passen auch.
Du hast offensichtlich keine deutsche locale "de_..." installiert wegen den engl.Wochentagen:

      con_all => Thu @ 262 697
                Wed @ 1574 310
                Mon @ 438 1367
                Sun @ 329 261
                Sat @ 1103 345
                Tue @ 1488
                Fri @ 292 830


Das sollte keine Problem sein weil ich die locale im Modul auslese. Scheinbar gibt es da aber etwas was ich nicht bedacht habe.
Ich stelle nachher mal eine Testversion in mein contrib damit wir das herausbekommen was bei dir nicht so läuft wie vorhergesehen. 

Kannst du mal noch ein "get .. valDecTree  aiRawData" ausführen und einfach mal die letzten 20-30 Zeilen posten? Mich interessiert was im Schlüssel "nod" steht.

Edit: Und stelle zum Test das Attr affectConsForecastIdentWeekdays=0 falls es auf 1 steht.
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

TheTrumpeter

Zitat von: DS_Starter am 19 Februar 2025, 11:49:20annst du mal noch ein "get .. valDecTree  aiRawData" ausführen und einfach mal die letzten 20-30 Zeilen posten? Mich interessiert was im Schlüssel "nod" steht.
2025021701 => hod: 01, nod: Mon, sunaz: 9, sunalt: 0, rad1h: -, wcc: 20, rr1c: 0.00, pvrl: -, con: 224, temp: -5
2025021702 => hod: 02, nod: Mon, sunaz: 32, sunalt: 0, rad1h: -, wcc: 20, rr1c: 0.00, pvrl: -, con: 221, temp: -5
2025021703 => hod: 03, nod: Mon, sunaz: 51, sunalt: 0, rad1h: -, wcc: 00, rr1c: 0.00, pvrl: -, con: 237, temp: -5
2025021704 => hod: 04, nod: Mon, sunaz: 66, sunalt: 0, rad1h: -, wcc: 00, rr1c: 0.00, pvrl: -, con: 219, temp: -5
2025021705 => hod: 05, nod: Mon, sunaz: 79, sunalt: 0, rad1h: -, wcc: 00, rr1c: 0.00, pvrl: -, con: 220, temp: -5
2025021706 => hod: 06, nod: Mon, sunaz: 91, sunalt: 0, rad1h: -, wcc: 05, rr1c: 0.00, pvrl: -, con: 280, temp: -5
2025021707 => hod: 07, nod: Mon, sunaz: 102, sunalt: 0, rad1h: -, wcc: 10, rr1c: 0.00, pvrl: -, con: 325, temp: -5
2025021708 => hod: 08, nod: Mon, sunaz: 113, sunalt: 5, rad1h: 300, wcc: 25, rr1c: 0.00, pvrl: 950, con: 273, temp: -5
2025021709 => hod: 09, nod: Mon, sunaz: 125, sunalt: 15, rad1h: 960, wcc: 70, rr1c: 0.00, pvrl: 3570, con: 659, temp: -5
2025021710 => hod: 10, nod: Mon, sunaz: 138, sunalt: 20, rad1h: 2040, wcc: 75, rr1c: 0.00, pvrl: 6070, con: 2112, temp: -5
2025021711 => hod: 11, nod: Mon, sunaz: 153, sunalt: 25, rad1h: 3400, wcc: 65, rr1c: 0.00, pvrl: 7900, con: 2168, temp: -5
2025021712 => hod: 12, nod: Mon, sunaz: 169, sunalt: 30, rad1h: 3520, wcc: 65, rr1c: 0.00, pvrl: 8960, con: 1973, temp: 0
2025021713 => hod: 13, nod: Mon, sunaz: 186, sunalt: 30, rad1h: 4040, wcc: 30, rr1c: 0.00, pvrl: 9130, con: 2088, temp: 0
2025021714 => hod: 14, nod: Mon, sunaz: 203, sunalt: 25, rad1h: 3540, wcc: 15, rr1c: 0.00, pvrl: 8100, con: 2170, temp: 0
2025021715 => hod: 15, nod: Mon, sunaz: 218, sunalt: 20, rad1h: 2220, wcc: 45, rr1c: 0.00, pvrl: 4870, con: 2116, temp: 0
2025021716 => hod: 16, nod: Mon, sunaz: 232, sunalt: 15, rad1h: 1200, wcc: 65, rr1c: 0.00, pvrl: 2080, con: 2154, temp: 0
2025021717 => hod: 17, nod: Mon, sunaz: 244, sunalt: 5, rad1h: 420, wcc: 65, rr1c: 0.00, pvrl: 920, con: 1367, temp: 0
2025021718 => hod: 18, nod: Mon, sunaz: 255, sunalt: 0, rad1h: -, wcc: 65, rr1c: 0.00, pvrl: 30, con: 274, temp: 0
2025021719 => hod: 19, nod: Mon, sunaz: 266, sunalt: 0, rad1h: -, wcc: 60, rr1c: 0.00, pvrl: -, con: 681, temp: 0
2025021720 => hod: 20, nod: Mon, sunaz: 278, sunalt: 0, rad1h: -, wcc: 80, rr1c: 0.00, pvrl: -, con: 275, temp: 0
2025021721 => hod: 21, nod: Mon, sunaz: 290, sunalt: 0, rad1h: -, wcc: 65, rr1c: 0.00, pvrl: -, con: 338, temp: -5
2025021722 => hod: 22, nod: Mon, sunaz: 305, sunalt: 0, rad1h: -, wcc: 90, rr1c: 0.00, pvrl: -, con: 312, temp: -5
2025021723 => hod: 23, nod: Mon, sunaz: 323, sunalt: 0, rad1h: -, wcc: 90, rr1c: 0.00, pvrl: -, con: 247, temp: -5
2025021724 => hod: 24, nod: Mon, sunaz: 345, sunalt: 0, rad1h: -, wcc: 100, rr1c: 0.00, pvrl: -, con: 240, temp: -5
2025021801 => hod: 01, nod: Tue, sunaz: 9, sunalt: 0, rad1h: -, wcc: 75, rr1c: 0.00, pvrl: -, con: 232, temp: -5
2025021802 => hod: 02, nod: Tue, sunaz: 32, sunalt: 0, rad1h: -, wcc: 75, rr1c: 0.00, pvrl: -, con: 216, temp: -5
2025021803 => hod: 03, nod: Tue, sunaz: 51, sunalt: 0, rad1h: -, wcc: 90, rr1c: 0.00, pvrl: -, con: 225, temp: -5
2025021804 => hod: 04, nod: Tue, sunaz: 66, sunalt: 0, rad1h: -, wcc: 100, rr1c: 0.00, pvrl: -, con: 230, temp: -5
2025021805 => hod: 05, nod: Tue, sunaz: 79, sunalt: 0, rad1h: -, wcc: 95, rr1c: 0.00, pvrl: -, con: 212, temp: -5
2025021806 => hod: 06, nod: Tue, sunaz: 91, sunalt: 0, rad1h: -, wcc: 85, rr1c: 0.00, pvrl: -, con: 257, temp: -5
2025021807 => hod: 07, nod: Tue, sunaz: 102, sunalt: 0, rad1h: -, wcc: 70, rr1c: 0.00, pvrl: -, con: 375, temp: -5
2025021824 => hod: 24, nod: Tue, sunaz: 345, sunalt: 0, rad1h: -, wcc: 00, rr1c: 0.00, pvrl: -, con: 228, temp: -5
2025021901 => hod: 01, nod: Wed, sunaz: 9, sunalt: 0, rad1h: -, wcc: 00, rr1c: 0.00, pvrl: -, con: 234, temp: -5
2025021902 => hod: 02, nod: Wed, sunaz: 32, sunalt: 0, rad1h: -, wcc: 00, rr1c: 0.00, pvrl: -, con: 210, temp: -5
2025021903 => hod: 03, nod: Wed, sunaz: 51, sunalt: 0, rad1h: -, wcc: 00, rr1c: 0.00, pvrl: -, con: 303, temp: -10
2025021904 => hod: 04, nod: Wed, sunaz: 66, sunalt: 0, rad1h: -, wcc: 00, rr1c: 0.00, pvrl: -, con: 231, temp: -10
2025021905 => hod: 05, nod: Wed, sunaz: 79, sunalt: 0, rad1h: -, wcc: 00, rr1c: 0.00, pvrl: -, con: 221, temp: -10
2025021906 => hod: 06, nod: Wed, sunaz: 90, sunalt: 0, rad1h: -, wcc: 00, rr1c: 0.00, pvrl: -, con: 278, temp: -10
2025021907 => hod: 07, nod: Wed, sunaz: 102, sunalt: 0, rad1h: -, wcc: 00, rr1c: 0.00, pvrl: -, con: 388, temp: -10
2025021908 => hod: 08, nod: Wed, sunaz: 113, sunalt: 5, rad1h: 440, wcc: 00, rr1c: 0.00, pvrl: 1140, con: 561, temp: -10
2025021909 => hod: 09, nod: Wed, sunaz: 125, sunalt: 15, rad1h: 1680, wcc: 00, rr1c: 0.00, pvrl: 3900, con: 2033, temp: -10
2025021910 => hod: 10, nod: Wed, sunaz: 138, sunalt: 20, rad1h: 2840, wcc: 00, rr1c: 0.00, pvrl: 6800, con: 4228, temp: -5
2025021911 => hod: 11, nod: Wed, sunaz: 153, sunalt: 25, rad1h: 3740, wcc: 00, rr1c: 0.00, pvrl: 8680, con: 3564, temp: -5
2025021912 => hod: 12, nod: Wed, sunaz: 169, sunalt: 30, rad1h: 4220, wcc: 00, rr1c: 0.00, pvrl: 9580, con: 2023, temp: 0
Schaut gut aus, die Zuweisung basiert auf Basis der englischen Wochentage.

Zitat von: DS_Starter am 19 Februar 2025, 11:49:20Und stelle zum Test das Attr affectConsForecastIdentWeekdays=0 falls es auf 1 steht.
Ja stand auf 1, ich habe auf 0 umgestellt, aber die Grafik hat sich auch nach mehreren automatischen Zyklen nicht sichtbar verändert, zumindest der exemlarische "0"er bei heute 16:00 ist unverändert.
FHEM auf RPi3, THZ (LWZ404SOL), RPII2C & I2C_MCP342x (ADCPiZero), PowerMap, CustomReadings, RPI_GPIO, Twilight, nanoCUL (WMBus für Diehl Wasserzähler & Regenerationszähler für BWT AqaSmart), ESPEasy, TPLinkHS110

DS_Starter

Ja, das passt alles.

Ich habe dir eine Testversion ins contrib gestellt.
Mit ctrlDebug=consumption_long siehst du so eine Ausgabe:

2025.02.19 12:34:46.706 1: SolCast6 DEBUG> ################### Start Consumption forecast ###################
2025.02.19 12:34:46.709 1: SolCast6 DEBUG> Basics - installed locale: de_DE.UTF-8, used scheme: DE
2025.02.19 12:34:46.712 1: SolCast6 DEBUG> process Today dayname: Mi, Tomorrow dayname: Do
2025.02.19 12:34:46.722 1: SolCast6 DEBUG> ################### Consumption forecast for the next Hours (new median) ###################
...

Poste bitte was bei dir kommt.
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

TheTrumpeter

Habe es runtergeladen und mittels "reload" neu geladen, aber nicht neu gestartet. Lt. Log-File wurden die Routinen neu geladen, es müsste also passen.

Hier die letzte Ausgabe, alles konnte ich nicht posten, möglicherweise verletzt es irgendeine maximale Längenbeschränkung...

2025.02.19 12:53:46 1: mySolarForecast DEBUG> ################### Consumption forecast for the next day (new median) ###################
2025.02.19 12:53:46 1: mySolarForecast DEBUG> estimated cons Tomorrow: 8567 Wh, Individual hourly values considered: 1440, exclude: 11857 Wh (avg of 7 entities)
2025.02.19 12:53:46 1: mySolarForecast DEBUG> ################### Store Consumption forecast values (new median) ###################
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour00' hod '13' confc: 2454, confcEx: 2454
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store circular/history hod '13' confc: 2454
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour01' hod '14' confc: 2339, confcEx: 2339
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store circular/history hod '14' confc: 2339
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour02' hod '15' confc: -8677, confcEx: -8677
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store circular/history hod '15' confc: -8677
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour03' hod '16' confc: 1159, confcEx: 1159
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store circular/history hod '16' confc: 1159
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour04' hod '17' confc: -3562, confcEx: -3562
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store circular/history hod '17' confc: -3562
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour05' hod '18' confc: 358, confcEx: 358
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store circular/history hod '18' confc: 358
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour06' hod '19' confc: 326, confcEx: 326
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store circular/history hod '19' confc: 326
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour07' hod '20' confc: 330, confcEx: 330
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store circular/history hod '20' confc: 330
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour08' hod '21' confc: 387, confcEx: 387
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store circular/history hod '21' confc: 387
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour09' hod '22' confc: 312, confcEx: 312
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store circular/history hod '22' confc: 312
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour10' hod '23' confc: 247, confcEx: 247
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store circular/history hod '23' confc: 247
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour11' hod '24' confc: 240, confcEx: 240
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store circular/history hod '24' confc: 240
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour12' hod '01' confc: -3767, confcEx: -3767
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour13' hod '02' confc: 240, confcEx: 240
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour14' hod '03' confc: 236, confcEx: 236
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour15' hod '04' confc: 230, confcEx: 230
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour16' hod '05' confc: 229, confcEx: 229
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour17' hod '06' confc: 240, confcEx: 240
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour18' hod '07' confc: 325, confcEx: 325
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour19' hod '08' confc: -5186, confcEx: -5186
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour20' hod '09' confc: -13530, confcEx: -13530
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour21' hod '10' confc: -6221, confcEx: -6221
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour22' hod '11' confc: -11810, confcEx: -11810
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour23' hod '12' confc: 2811, confcEx: 2811
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour24' hod '13' confc: 2454, confcEx: 2454
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour25' hod '14' confc: 2339, confcEx: 2339
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour26' hod '15' confc: -8677, confcEx: -8677
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour27' hod '16' confc: 1159, confcEx: 1159
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour28' hod '17' confc: -3562, confcEx: -3562
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour29' hod '18' confc: 358, confcEx: 358
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour30' hod '19' confc: 326, confcEx: 326
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour31' hod '20' confc: 330, confcEx: 330
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour32' hod '21' confc: 387, confcEx: 387
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour33' hod '22' confc: 312, confcEx: 312
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour34' hod '23' confc: 247, confcEx: 247
2025.02.19 12:53:46 1: mySolarForecast DEBUG> store 'NextHour35' hod '24' confc: 240, confcEx: 240
2025.02.19 12:53:46 1: mySolarForecast DEBUG> consumption calculated - day: 19, hod: 13, con: 2394 Wh
2025.02.19 12:53:46 1: mySolarForecast DEBUG> write pvCircular consumption - hod: 99, todayConsumption: 16668 Wh
2025.02.19 12:53:47 1: PERL WARNING: Use of uninitialized value $aVal in pattern match (m//) at ./FHEM/76_SolarForecast.pm line 5900.
FHEM auf RPi3, THZ (LWZ404SOL), RPII2C & I2C_MCP342x (ADCPiZero), PowerMap, CustomReadings, RPI_GPIO, Twilight, nanoCUL (WMBus für Diehl Wasserzähler & Regenerationszähler für BWT AqaSmart), ESPEasy, TPLinkHS110

DS_Starter

Der Start ist weiter oben, die ersten Zeilen sind wichtig:

 ################### Start Consumption forecast ###################
  ....
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

TheTrumpeter

Zitat von: DS_Starter am 19 Februar 2025, 13:07:31Der Start ist weiter oben, die ersten Zeilen sind wichtig:

 ################### Start Consumption forecast ###################
  ....
Sorry, so genau habe ich nicht geschaut. Für mich hat alles irgendwie gleich ausgeschaut.

Hier nun ein kompletter Block von einem "Start Consumption forecast" bis zum nächsten:
2025.02.19 12:51:46 1: mySolarForecast DEBUG> ################### Start Consumption forecast ###################
2025.02.19 12:51:46 1: mySolarForecast DEBUG> Basics - installed locale: en_GB.UTF-8, used scheme: EN
2025.02.19 12:51:46 1: mySolarForecast DEBUG> process Today dayname: Wed, Tomorrow dayname: Thu
2025.02.19 12:51:46 1: mySolarForecast DEBUG> Consumer '04' hist cons registered by 'exconfc' for excl. - day: 01, csme: 8000.00
2025.02.19 12:51:46 1: mySolarForecast DEBUG> Consumer '04' hist cons registered by 'exconfc' for excl. - day: 04, csme: 6000.00
2025.02.19 12:51:46 1: mySolarForecast DEBUG> Consumer '04' hist cons registered by 'exconfc' for excl. - day: 11, csme: 11000.00
2025.02.19 12:51:46 1: mySolarForecast DEBUG> Consumer '04' hist cons registered by 'exconfc' for excl. - day: 12, csme: 1000.00
2025.02.19 12:51:46 1: mySolarForecast DEBUG> Consumer '04' hist cons registered by 'exconfc' for excl. - day: 18, csme: 10000.00
2025.02.19 12:51:46 1: mySolarForecast DEBUG> Consumer '04' hist cons registered by 'exconfc' for excl. - day: 20, csme: 5000.00
2025.02.19 12:51:46 1: mySolarForecast DEBUG> Consumer '04' hist cons registered by 'exconfc' for excl. - day: 29, csme: 42000.00
2025.02.19 12:51:46 1: mySolarForecast DEBUG> ################### Consumption forecast for the next Hours (new median) ###################
2025.02.19 12:51:46 1: mySolarForecast DEBUG> excl. hist 4000 Wh for Hour 01, Considered value numbers: 1
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 01: -3767 Wh, Considered value numbers: 15
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 02: 240 Wh, Considered value numbers: 15
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 03: 236 Wh, Considered value numbers: 15
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 04: 230 Wh, Considered value numbers: 15
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 05: 229 Wh, Considered value numbers: 15
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 06: 240 Wh, Considered value numbers: 15
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 07: 325 Wh, Considered value numbers: 15
2025.02.19 12:51:46 1: mySolarForecast DEBUG> excl. hist 5500 Wh for Hour 08, Considered value numbers: 2
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 08: -5186 Wh, Considered value numbers: 14
2025.02.19 12:51:46 1: mySolarForecast DEBUG> excl. hist 14000 Wh for Hour 09, Considered value numbers: 1
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 09: -13530 Wh, Considered value numbers: 14
2025.02.19 12:51:46 1: mySolarForecast DEBUG> excl. hist 8333 Wh for Hour 10, Considered value numbers: 3
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 10: -6221 Wh, Considered value numbers: 15
2025.02.19 12:51:46 1: mySolarForecast DEBUG> excl. hist 14000 Wh for Hour 11, Considered value numbers: 1
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 11: -11810 Wh, Considered value numbers: 15
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 12: 2811 Wh, Considered value numbers: 15
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 13: 2454 Wh, Considered value numbers: 14
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 14: 2339 Wh, Considered value numbers: 13
2025.02.19 12:51:46 1: mySolarForecast DEBUG> excl. hist 11000 Wh for Hour 15, Considered value numbers: 1
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 15: -8677 Wh, Considered value numbers: 13
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 16: 1159 Wh, Considered value numbers: 13
2025.02.19 12:51:46 1: mySolarForecast DEBUG> excl. hist 4000 Wh for Hour 17, Considered value numbers: 1
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 17: -3562 Wh, Considered value numbers: 13
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 18: 358 Wh, Considered value numbers: 13
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 19: 326 Wh, Considered value numbers: 13
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 20: 330 Wh, Considered value numbers: 13
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 21: 387 Wh, Considered value numbers: 13
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 22: 312 Wh, Considered value numbers: 13
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 23: 247 Wh, Considered value numbers: 13
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons of Hour 24: 240 Wh, Considered value numbers: 15
2025.02.19 12:51:46 1: mySolarForecast DEBUG> ################### Consumption forecast for the next day (new median) ###################
2025.02.19 12:51:46 1: mySolarForecast DEBUG> estimated cons Tomorrow: 8567 Wh, Individual hourly values considered: 1440, exclude: 11857 Wh (avg of 7 entities)
2025.02.19 12:51:46 1: mySolarForecast DEBUG> ################### Store Consumption forecast values (new median) ###################
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour00' hod '13' confc: 2454, confcEx: 2454
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store circular/history hod '13' confc: 2454
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour01' hod '14' confc: 2339, confcEx: 2339
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store circular/history hod '14' confc: 2339
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour02' hod '15' confc: -8677, confcEx: -8677
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store circular/history hod '15' confc: -8677
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour03' hod '16' confc: 1159, confcEx: 1159
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store circular/history hod '16' confc: 1159
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour04' hod '17' confc: -3562, confcEx: -3562
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store circular/history hod '17' confc: -3562
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour05' hod '18' confc: 358, confcEx: 358
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store circular/history hod '18' confc: 358
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour06' hod '19' confc: 326, confcEx: 326
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store circular/history hod '19' confc: 326
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour07' hod '20' confc: 330, confcEx: 330
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store circular/history hod '20' confc: 330
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour08' hod '21' confc: 387, confcEx: 387
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store circular/history hod '21' confc: 387
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour09' hod '22' confc: 312, confcEx: 312
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store circular/history hod '22' confc: 312
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour10' hod '23' confc: 247, confcEx: 247
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store circular/history hod '23' confc: 247
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour11' hod '24' confc: 240, confcEx: 240
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store circular/history hod '24' confc: 240
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour12' hod '01' confc: -3767, confcEx: -3767
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour13' hod '02' confc: 240, confcEx: 240
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour14' hod '03' confc: 236, confcEx: 236
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour15' hod '04' confc: 230, confcEx: 230
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour16' hod '05' confc: 229, confcEx: 229
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour17' hod '06' confc: 240, confcEx: 240
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour18' hod '07' confc: 325, confcEx: 325
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour19' hod '08' confc: -5186, confcEx: -5186
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour20' hod '09' confc: -13530, confcEx: -13530
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour21' hod '10' confc: -6221, confcEx: -6221
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour22' hod '11' confc: -11810, confcEx: -11810
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour23' hod '12' confc: 2811, confcEx: 2811
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour24' hod '13' confc: 2454, confcEx: 2454
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour25' hod '14' confc: 2339, confcEx: 2339
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour26' hod '15' confc: -8677, confcEx: -8677
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour27' hod '16' confc: 1159, confcEx: 1159
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour28' hod '17' confc: -3562, confcEx: -3562
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour29' hod '18' confc: 358, confcEx: 358
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour30' hod '19' confc: 326, confcEx: 326
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour31' hod '20' confc: 330, confcEx: 330
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour32' hod '21' confc: 387, confcEx: 387
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour33' hod '22' confc: 312, confcEx: 312
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour34' hod '23' confc: 247, confcEx: 247
2025.02.19 12:51:46 1: mySolarForecast DEBUG> store 'NextHour35' hod '24' confc: 240, confcEx: 240
2025.02.19 12:51:46 1: mySolarForecast DEBUG> consumption calculated - day: 19, hod: 13, con: 2286 Wh
2025.02.19 12:51:46 1: mySolarForecast DEBUG> write pvCircular consumption - hod: 99, todayConsumption: 16560 Wh
FHEM auf RPi3, THZ (LWZ404SOL), RPII2C & I2C_MCP342x (ADCPiZero), PowerMap, CustomReadings, RPI_GPIO, Twilight, nanoCUL (WMBus für Diehl Wasserzähler & Regenerationszähler für BWT AqaSmart), ESPEasy, TPLinkHS110

DS_Starter

Ich ahne was das Problem ist. Die hohen Excludes (E-Auto?) wobei es keine Einplanungen für die nächsten Stunden gibt wo ein entspechender Aufschlag stattfinden würde.
Falls es Einplanungen gibt, hilft die Umstellung auf exconfc=2 oder exconfc=0 des Consumers 4. 

Durch:

store 'NextHour04' hod '17' confc: -3562, confcEx: -3562
ist der Forecast der Stunde 17 negativ und wird in der Grafik als 0 dargestellt. (Negativen Verbrauch gibt es im Kontext nicht).

Evtl. muß ich im Code nochmal nachbessern um ein abrutschen in das Negative zu vermeiden. Das ist aber wirklich nicht so einfach wenn Großverbraucher unregelmäßig in Betrieb sind.
affectConsForecastIdentWeekdays=1 halte ich generell für sinnvoll wenn das eigene Verbrauchsverhalten stark von den Wochentagen geprägt ist, sonst eher affectConsForecastIdentWeekdays=0.
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter