76_SolarForecast - Informationen/Ideen zu Weiterentwicklung und Support

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

Vorheriges Thema - Nächstes Thema

Shadow3561

Ich muss noch einmal etwas fragen,
Wie lange dauert es in etwa bis die Prognosen einigermaßen mit der Realität übereinstimmen?
Gestern war es mal seit 3 Wochen recht genau, sonst habe ich immer zwischen 30-50%.
Bei mir wird als Prognose ein Wert bei der Produktion angezeigt, der leider in der Realität, auf Grund der verschiedenen Ausrichtungen, nicht erreicht werden kann.
Muss ich etwas anders im Device einstellen?

Mit freundlichen Grüßen und schönen Sonntag

DS_Starter

Das kommt auf die gewählte API sowie die Wiederholrate der schon aufgezeichneten ähnlichen Wetterlagen an.
KI sollte man auch erst nutzen wenn es eine länge Lern-Historie gibt. Wir gehen jetzt in das Frühjar / Sommer hinein. Hat die KI im Winter angefangen zu lernen, dann wird es kaum Werte geben auf die man sich jetzt stützen kann. In diesem Fall erstmal ohne KI arbeiten, es geht auch ohne ... man sollte es kaum glauben.  ;)

Zwischen 30 und 50% ist allerdings sehr hoch, vor allem wenn es dauerhaft auftritt. Gerade bei dem aktuellen Wetter. Hier kann es durchaus auch noch ein Setup-Problem geben. Siehe den Case von Wolle02.

Zeige uns mal bitte ein List deines Devices, führe auch mal den Anlagencheck aus und beachte was dort eventuell angemerkt wird.

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

Shadow3561

ZitatHat die KI im Winter angefangen zu lernen, dann wird es kaum Werte geben auf die man sich jetzt stützen kann.
Es sind noch nicht so viele Datensätze gespeichert, allerdings schon genügend wo den ganzen Tag Sonnenschein war (auch in der Wettervorhersage).
Hier Wird z.B. um 12Uhr Sonne vorhergesagt und PV 4400W, es werden aber nur 3800W erzeugt,
Am nächsten Tag gleiche Vorhersage von Wetter und PV und wieder werden nur 3800W erzeugt.
Den Tag darauf dann das selbe. Sollte nicht nach 3 Tagen mit fast identischen Werten die Prognose angepasst werden?






ZitatZeige uns mal bitte ein List deines Devices, führe auch mal den Anlagencheck aus und beachte was dort eventuell angemerkt wird.

Internals:
   FUUID      67247ac1-f33f-d66d-4e77-94b6b4acd8c6944b
   FVERSION   76_SolarForecast.pm:v1.51.8-s29916/2025-05-02
   LCACHEFILE last write time: 13:51:22 whole Operating Memory
   MODE       Automatic / Event-controlled - next planned Cycletime: 13:53:33
   MODEL      DWD
   NAME       PV_forecast
   NOTIFYDEV  SE3500H,Hyper2000
   NR         1538
   NTFY_ORDER 50-PV_forecast
   STATE      running
   TYPE       SolarForecast
   WEATHERMODEL DWD
   eventCount 9174
   HELPER:
     FW         WEB
     PACKAGE    FHEM::SolarForecast
     S10DONE    1
     SPGDETAIL 
     SPGDEV     PV_forecast
     SPGROOM   
     VERSION    1.51.8
     VERSION_API unused
     VERSION_CTZ 1.0.0
     VERSION_ErrCodes 1.3.9
     VERSION_SMUtils 1.28.3
     GMFRUNNING:
       abortFn    FHEM::SolarForecast::_abortGetMessageFile
       bc_pid     547
       finishFn   FHEM::SolarForecast::_processMessageFile
       fn         FHEM::SolarForecast::_retrieveMessageFile
       loglevel   3
       pid        DEAD:4156033
       telnet     telnetPort_127.0.0.1_43390
       terminated 1
       timeout    30
       abortArg:
       arg:
         block      1
         name       PV_forecast
         tsnext     1746967948.22172
   OLDREADINGS:
   READINGS:
     2025-05-11 13:53:27   Battery_ChargeRecommended_01 1
     2025-05-11 13:53:27   Battery_NextHour00_SoCforecast_01 100.0 %
     2025-05-11 13:53:27   Battery_NextHour01_SoCforecast_01 100.0 %
     2025-05-11 13:53:27   Battery_NextHour02_SoCforecast_01 100.0 %
     2025-05-11 13:53:27   Battery_NextHour03_SoCforecast_01 100.0 %
     2025-05-11 13:53:27   Battery_NextHour04_SoCforecast_01 100.0 %
     2025-05-11 13:53:27   Battery_NextHour05_SoCforecast_01 100.0 %
     2025-05-11 13:53:27   Battery_NextHour06_SoCforecast_01 100.0 %
     2025-05-11 13:53:27   Battery_NextHour07_SoCforecast_01 100.0 %
     2025-05-11 13:53:27   Battery_NextHour08_SoCforecast_01 87.3 %
     2025-05-11 13:53:27   Battery_NextHour09_SoCforecast_01 76.4 %
     2025-05-11 13:53:27   Battery_NextHour10_SoCforecast_01 65.8 %
     2025-05-11 13:53:27   Battery_NextHour11_SoCforecast_01 55.1 %
     2025-05-11 13:53:27   Battery_NextHour12_SoCforecast_01 44.3 %
     2025-05-11 13:53:27   Battery_NextHour13_SoCforecast_01 33.3 %
     2025-05-11 13:53:27   Battery_NextHour14_SoCforecast_01 22.3 %
     2025-05-11 13:53:27   Battery_NextHour15_SoCforecast_01 11.4 %
     2025-05-11 13:53:27   Battery_NextHour16_SoCforecast_01 3.0 %
     2025-05-11 13:53:27   Battery_NextHour17_SoCforecast_01 0.0 %
     2025-05-11 13:53:27   Battery_NextHour18_SoCforecast_01 29.7 %
     2025-05-11 13:53:27   Battery_NextHour19_SoCforecast_01 85.9 %
     2025-05-11 13:53:27   Battery_NextHour20_SoCforecast_01 100.0 %
     2025-05-11 13:53:27   Battery_NextHour21_SoCforecast_01 100.0 %
     2025-05-11 13:53:27   Battery_NextHour22_SoCforecast_01 100.0 %
     2025-05-11 13:53:27   Battery_NextHour23_SoCforecast_01 100.0 %
     2025-05-11 13:53:27   Current_AutarkyRate 100 %
     2025-05-11 13:53:27   Current_BatCharge_01 96 %
     2025-05-11 13:53:27   Current_Consumption 458 W
     2025-05-11 13:53:27   Current_GridConsumption 0 W
     2025-05-11 13:53:27   Current_GridFeedIn 2073 W
     2025-05-11 13:53:27   Current_PV      3074 W
     2025-05-11 13:53:27   Current_PowerBatIn_01 543 W
     2025-05-11 13:53:27   Current_PowerBatOut_01 0 W
     2025-05-11 13:53:27   Current_SelfConsumption 458 W
     2025-05-11 13:53:27   Current_SelfConsumptionRate 15 %
     2025-05-11 13:53:27   Current_Surplus 2616 W
     2025-05-11 13:00:00   LastHourGridconsumptionReal 152 Wh
     2025-05-11 13:00:00   LastHourPVforecast 4400 Wh
     2025-05-11 13:00:00   LastHourPVreal  2847 Wh
     2025-05-11 13:53:27   NextHours_Sum01_PVforecast 4400 Wh
     2025-05-11 13:53:27   NextHours_Sum02_PVforecast 8800 Wh
     2025-05-11 13:53:27   NextHours_Sum03_PVforecast 11195 Wh
     2025-05-11 13:53:27   NextHours_Sum04_ConsumptionForecast 2160 Wh
     2025-05-11 13:53:27   NextHours_Sum04_PVforecast 12806 Wh
     2025-05-11 13:53:27   RestOfDayConsumptionForecast 3017 Wh
     2025-05-11 13:53:27   RestOfDayPVforecast 14505 Wh
     2025-05-11 00:59:58   Today_Hour01_BatIn_01 0 Wh
     2025-05-11 00:59:58   Today_Hour01_BatOut_01 163 Wh
     2025-05-11 00:59:58   Today_Hour01_GridConsumption 2 Wh
     2025-05-11 00:59:58   Today_Hour01_GridFeedIn 1 Wh
     2025-05-11 00:59:58   Today_Hour01_PVreal 0 Wh
     2025-05-11 01:59:59   Today_Hour02_BatIn_01 0 Wh
     2025-05-11 01:59:59   Today_Hour02_BatOut_01 250 Wh
     2025-05-11 01:59:59   Today_Hour02_GridConsumption 4 Wh
     2025-05-11 01:59:59   Today_Hour02_GridFeedIn 0 Wh
     2025-05-11 01:59:59   Today_Hour02_PVreal 0 Wh
     2025-05-11 02:59:59   Today_Hour03_BatIn_01 0 Wh
     2025-05-11 02:59:59   Today_Hour03_BatOut_01 227 Wh
     2025-05-11 02:59:59   Today_Hour03_GridConsumption 3 Wh
     2025-05-11 02:59:59   Today_Hour03_GridFeedIn 0 Wh
     2025-05-11 02:59:59   Today_Hour03_PVreal 0 Wh
     2025-05-11 03:59:58   Today_Hour04_BatIn_01 0 Wh
     2025-05-11 03:59:58   Today_Hour04_BatOut_01 56 Wh
     2025-05-11 03:59:58   Today_Hour04_GridConsumption 173 Wh
     2025-05-11 03:59:58   Today_Hour04_GridFeedIn 0 Wh
     2025-05-11 03:59:58   Today_Hour04_PVreal 0 Wh
     2025-05-11 04:59:57   Today_Hour05_BatIn_01 0 Wh
     2025-05-11 04:59:57   Today_Hour05_BatOut_01 0 Wh
     2025-05-11 04:59:57   Today_Hour05_GridConsumption 197 Wh
     2025-05-11 04:59:57   Today_Hour05_GridFeedIn 0 Wh
     2025-05-11 04:59:57   Today_Hour05_PVreal 0 Wh
     2025-05-11 05:59:57   Today_Hour06_BatIn_01 0 Wh
     2025-05-11 05:59:57   Today_Hour06_BatOut_01 0 Wh
     2025-05-11 05:59:57   Today_Hour06_GridConsumption 177 Wh
     2025-05-11 05:59:57   Today_Hour06_GridFeedIn 0 Wh
     2025-05-11 05:59:57   Today_Hour06_PVforecast 24 Wh
     2025-05-11 05:59:57   Today_Hour06_PVreal 0 Wh
     2025-05-11 06:59:58   Today_Hour07_BatIn_01 17 Wh
     2025-05-11 06:59:58   Today_Hour07_BatOut_01 0 Wh
     2025-05-11 06:59:58   Today_Hour07_GridConsumption 183 Wh
     2025-05-11 06:59:58   Today_Hour07_GridFeedIn 0 Wh
     2025-05-11 06:59:58   Today_Hour07_PVforecast 231 Wh
     2025-05-11 06:59:58   Today_Hour07_PVreal 126 Wh
     2025-05-11 07:59:59   Today_Hour08_BatIn_01 199 Wh
     2025-05-11 07:59:59   Today_Hour08_BatOut_01 0 Wh
     2025-05-11 07:59:59   Today_Hour08_GridConsumption 11 Wh
     2025-05-11 07:59:59   Today_Hour08_GridFeedIn 41 Wh
     2025-05-11 07:59:59   Today_Hour08_PVforecast 1075 Wh
     2025-05-11 07:59:59   Today_Hour08_PVreal 452 Wh
     2025-05-11 08:59:59   Today_Hour09_BatIn_01 391 Wh
     2025-05-11 08:59:59   Today_Hour09_BatOut_01 263 Wh
     2025-05-11 08:59:59   Today_Hour09_GridConsumption 488 Wh
     2025-05-11 08:59:59   Today_Hour09_GridFeedIn 146 Wh
     2025-05-11 08:59:59   Today_Hour09_PVforecast 1152 Wh
     2025-05-11 08:59:59   Today_Hour09_PVreal 1084 Wh
     2025-05-11 09:59:59   Today_Hour10_BatIn_01 1103 Wh
     2025-05-11 09:59:59   Today_Hour10_BatOut_01 0 Wh
     2025-05-11 09:59:59   Today_Hour10_GridConsumption 0 Wh
     2025-05-11 09:59:59   Today_Hour10_GridFeedIn 387 Wh
     2025-05-11 09:59:59   Today_Hour10_PVforecast 2789 Wh
     2025-05-11 09:59:59   Today_Hour10_PVreal 1798 Wh
     2025-05-11 10:59:57   Today_Hour11_BatIn_01 533 Wh
     2025-05-11 10:59:57   Today_Hour11_BatOut_01 112 Wh
     2025-05-11 10:59:57   Today_Hour11_GridConsumption 29 Wh
     2025-05-11 10:59:57   Today_Hour11_GridFeedIn 633 Wh
     2025-05-11 10:59:57   Today_Hour11_PVforecast 2036 Wh
     2025-05-11 10:59:57   Today_Hour11_PVreal 2157 Wh
     2025-05-11 11:59:59   Today_Hour12_BatIn_01 339 Wh
     2025-05-11 11:59:59   Today_Hour12_BatOut_01 11 Wh
     2025-05-11 11:59:59   Today_Hour12_GridConsumption 33 Wh
     2025-05-11 11:59:59   Today_Hour12_GridFeedIn 1357 Wh
     2025-05-11 11:59:59   Today_Hour12_PVforecast 4400 Wh
     2025-05-11 11:59:59   Today_Hour12_PVreal 2399 Wh
     2025-05-11 12:59:59   Today_Hour13_BatIn_01 15 Wh
     2025-05-11 12:59:59   Today_Hour13_BatOut_01 83 Wh
     2025-05-11 12:59:59   Today_Hour13_GridConsumption 152 Wh
     2025-05-11 12:59:59   Today_Hour13_GridFeedIn 1026 Wh
     2025-05-11 12:59:59   Today_Hour13_PVforecast 4400 Wh
     2025-05-11 12:59:59   Today_Hour13_PVreal 2847 Wh
     2025-05-11 13:53:27   Today_Hour14_BatIn_01 231 Wh
     2025-05-11 13:53:27   Today_Hour14_BatOut_01 172 Wh
     2025-05-11 13:53:27   Today_Hour14_GridConsumption 54 Wh
     2025-05-11 13:53:27   Today_Hour14_GridFeedIn 1282 Wh
     2025-05-11 13:53:27   Today_Hour14_PVforecast 4400 Wh
     2025-05-11 13:53:27   Today_Hour14_PVreal 2771 Wh
     2025-05-11 13:53:27   Today_Hour15_PVforecast 4400 Wh
     2025-05-11 13:53:27   Today_Hour16_PVforecast 4400 Wh
     2025-05-11 13:53:27   Today_Hour17_PVforecast 2173 Wh
     2025-05-11 13:53:27   Today_Hour18_PVforecast 1548 Wh
     2025-05-11 13:53:27   Today_Hour19_PVforecast 1142 Wh
     2025-05-11 13:53:27   Today_Hour20_PVforecast 312 Wh
     2025-05-11 13:53:27   Today_Hour21_PVforecast 79 Wh
     2025-05-11 13:53:27   Today_Hour22_PVforecast 11 Wh
     2025-05-11 13:53:27   Today_MaxPVforecast 4400 Wh
     2025-05-11 13:53:27   Today_MaxPVforecastTime 2025-05-11 11:00:00
     2025-05-11 13:53:27   Today_PVdeviation 32.06 %
     2025-05-11 13:53:27   Today_PVforecast 34572 Wh
     2025-05-11 13:53:27   Today_PVreal    13634 Wh
     2025-05-11 13:53:27   Today_SunRise   05:26
     2025-05-11 13:53:27   Today_SunSet    21:09
     2025-05-11 13:53:27   Tomorrow_ConsumptionForecast 6043 Wh
     2025-05-11 13:53:27   Tomorrow_Hour06_PVforecast 43 Wh
     2025-05-11 13:53:27   Tomorrow_Hour07_PVforecast 77 Wh
     2025-05-11 13:53:27   Tomorrow_Hour08_PVforecast 917 Wh
     2025-05-11 13:53:27   Tomorrow_Hour09_PVforecast 2014 Wh
     2025-05-11 13:53:27   Tomorrow_Hour10_PVforecast 2018 Wh
     2025-05-11 13:53:27   Tomorrow_Hour11_PVforecast 4148 Wh
     2025-05-11 13:53:27   Tomorrow_Hour12_PVforecast 4290 Wh
     2025-05-11 13:53:27   Tomorrow_Hour13_PVforecast 4298 Wh
     2025-05-11 13:53:27   Tomorrow_Hour14_PVforecast 1766 Wh
     2025-05-11 13:53:27   Tomorrow_Hour15_PVforecast 4400 Wh
     2025-05-11 13:53:27   Tomorrow_Hour16_PVforecast 4307 Wh
     2025-05-11 13:53:27   Tomorrow_Hour17_PVforecast 2361 Wh
     2025-05-11 13:53:27   Tomorrow_Hour18_PVforecast 1723 Wh
     2025-05-11 13:53:27   Tomorrow_Hour19_PVforecast 1344 Wh
     2025-05-11 13:53:27   Tomorrow_Hour20_PVforecast 304 Wh
     2025-05-11 13:53:27   Tomorrow_Hour21_PVforecast 109 Wh
     2025-05-11 13:53:27   Tomorrow_Hour22_PVforecast 11 Wh
     2025-05-11 13:53:27   Tomorrow_PVforecast 34130 Wh
     2025-05-11 13:53:27   Tomorrow_SunRise 05:25
     2025-05-11 13:53:27   Tomorrow_SunSet 21:10
     2024-11-01 08:16:36   currentInverterDev SE3500H pv=AC_current_W:W etotal=gesamtPV:kWh capacity=3600
     2024-11-01 07:59:28   currentRadiationAPI PV_forecast_weather
     2024-11-01 07:57:43   inverterStrings Vordach,Fahrradschuppen,Dach,Garten,Wintergarten
     2024-11-01 08:20:00   moduleAzimuth   Vordach=-90 Fahrradschuppen=0 Dach=0 Garten=-90 Wintergarten=90
     2024-11-01 08:22:24   moduleDeclination Vordach=40 Fahrradschuppen=25 Dach=45 Garten=15 Wintergarten=15
     2024-11-01 08:20:38   modulePeakString Vordach=0.6 Fahrradschuppen=0.66 Dach=0.88 Garten=1.2 Wintergarten=1.94
     2025-05-11 13:52:23   nextCycletime   13:53:33
     2025-05-11 07:00:00   pvCorrectionFactor_07 0.55 (automatic - old factor: 1.00, Sun Alt range: 10, Cloud range: 55, Days in range: 1)
     2025-05-11 08:00:02   pvCorrectionFactor_08 0.69 (automatic - old factor: 0.99, AI result used, Sun Alt range: 15, Cloud range: 35, Days in range: 2)
     2025-05-11 09:00:02   pvCorrectionFactor_09 0.89 (automatic - old factor: 0.76, AI result used, Sun Alt range: 25, Cloud range: 00, Days in range: 3)
     2025-05-11 10:00:02   pvCorrectionFactor_10 0.64 (automatic - old factor: 1.00, Sun Alt range: 35, Cloud range: 40, Days in range: 1)
     2025-05-11 11:00:00   pvCorrectionFactor_11 0.68 (automatic - old factor: 0.49, Sun Alt range: 40, Cloud range: 25, Days in range: 2)
     2025-05-11 12:00:02   pvCorrectionFactor_12 0.55 (automatic - old factor: 1.00, Sun Alt range: 50, Cloud range: 40, Days in range: 1)
     2025-05-11 13:00:02   pvCorrectionFactor_13 0.65 (automatic - old factor: 1.00, Sun Alt range: 55, Cloud range: 00, Days in range: 1)
     2025-05-11 13:53:27   pvCorrectionFactor_Auto on_complex_api_ai
     2025-05-11 13:53:27   special_BatPowerIn_Sum 543 W
     2025-05-11 13:53:27   special_BatPowerOut_Sum 0 W
     2025-05-11 13:53:27   special_runTimeTrainAI 0.78956 s
     2025-05-11 13:53:27   special_todayBatInSum 2830.8  Wh
     2025-05-11 13:53:27   special_todayBatOutSum 1341.7  Wh
     2025-05-11 13:53:27   special_todayConsumption 8776 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_01 188 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_02 186 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_03 188 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_04 190 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_05 186 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_06 188 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_07 234 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_08 285 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_09 575 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_10 595 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_11 688 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_12 650 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_13 598 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_14 537 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_15 702 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_16 546 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_17 435 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_18 471 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_19 171 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_20 33 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_21 4 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_22 230 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_23 190 Wh
     2025-05-11 13:53:27   special_todayConsumptionForecast_24 182 Wh
     2025-05-11 13:53:27   special_todayGridConsumption 1506 Wh
     2025-05-11 13:53:27   special_todayGridFeedIn 4873.0 Wh
     2025-05-11 13:53:27   state           running
Attributes:
   DbLogExclude .*
   aiControl  aiTrainStart=5 aiStorageDuration=1825 aiTreesPV=30
   ctrlLanguage DE
   ctrlNextDayForecastReadings 06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22
   ctrlNextHoursSoCForecastReadings 00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23
   ctrlSpecialReadings BatPowerIn_Sum,BatPowerOut_Sum,runTimeTrainAI,todayBatInSum,todayBatOutSum,todayConsumption,todayConsumptionForecast,todayGridConsumption,todayGridFeedIn
   event-on-change-reading .*
   graphicBeam3Content batsocForecast_01
   graphicBeam4Content batsocReal_01
   graphicBeam5Content gridconsumption
   graphicBeam6Content consumptionForecast
   graphicControl hourCount=24 energyUnit=Wh headerDetail=all layoutType=double
   graphicHeaderOwnspec Ladeleistung:Current_PowerBatIn_01
Entladeleistung:Current_PowerBatOut_01
Akku_In:special_todayBatInSum
Akku_Out:special_todayBatOutSum
   graphicHistoryHour 12
   graphicSelect both
   graphicShowDiff bottom
   graphicShowNight 01
   plantControl consForecastIdentWeekdays=1 consForecastLastDays=31 cycleInterval=70 genPVdeviation=continuously
   room       PV-Solar
   setupBatteryDev01 Hyper2000 pin=outputPackPower:W pout=packInputPower:W  intotal=energy_total_batteryOutput:Wh outtotal=energy_total_batteryInput:Wh pinmax=1200 poutmax=1200 cap=1920 charge=electricLevel show=2:bottom asynchron=1
   setupInverterDev01 SE3500H pv=AC_current_W:W etotal=AC_Lifetime_Energy_production_kWh:kWh capacity=3500 asynchron=1  strings=Vordach,Fahrradschuppen,Garten,Wintergarten
   setupInverterDev02 Hyper2000 pv=solarInputPower:W etotal=energy_total_solar:Wh capacity=900 asynchron=1  strings=Dach feed=bat
   setupInverterStrings Vordach,Fahrradschuppen,Dach,Garten,Wintergarten
   setupMeterDev SE3500H gcon=Momentanleistung_Bezug:W contotal=total_Energy_Imported_kWh:kWh gfeedin=Momentanleistung_Einspeisung feedtotal=total_Energy_Exported_kWh:kWh asynchron=1
   setupRadiationAPI PV_forecast_weather
   setupStringAzimuth Vordach=-90 Fahrradschuppen=0 Dach=0 Garten=-90 Wintergarten=90
   setupStringDeclination Vordach=50 Fahrradschuppen=20 Dach=45 Garten=8 Wintergarten=15
   setupStringPeak Vordach=0.6 Fahrradschuppen=0.66 Dach=0.88 Garten=1.2 Wintergarten=1.93
   setupWeatherDev1 PV_forecast_weather

Hier noch ein aiRuleStrings
Trained AI Object contains an Ensemble of 30 trees (only the first Tree is printed out)

Tree: 1 -> Number of Rules: 258 / Number of Nodes: 330 / Depth: 3
Tree: 2 -> Number of Rules: 257 / Number of Nodes: 327 / Depth: 3
Tree: 3 -> Number of Rules: 257 / Number of Nodes: 326 / Depth: 2
Tree: 4 -> Number of Rules: 257 / Number of Nodes: 326 / Depth: 2
Tree: 5 -> Number of Rules: 257 / Number of Nodes: 327 / Depth: 3
Tree: 6 -> Number of Rules: 258 / Number of Nodes: 331 / Depth: 3
Tree: 7 -> Number of Rules: 258 / Number of Nodes: 329 / Depth: 3
Tree: 8 -> Number of Rules: 257 / Number of Nodes: 333 / Depth: 3
Tree: 9 -> Number of Rules: 256 / Number of Nodes: 327 / Depth: 2
Tree: 10 -> Number of Rules: 258 / Number of Nodes: 327 / Depth: 3
Tree: 11 -> Number of Rules: 258 / Number of Nodes: 335 / Depth: 3
Tree: 12 -> Number of Rules: 258 / Number of Nodes: 327 / Depth: 3
Tree: 13 -> Number of Rules: 256 / Number of Nodes: 329 / Depth: 2
Tree: 14 -> Number of Rules: 258 / Number of Nodes: 331 / Depth: 2
Tree: 15 -> Number of Rules: 256 / Number of Nodes: 328 / Depth: 3
Tree: 16 -> Number of Rules: 258 / Number of Nodes: 330 / Depth: 2
Tree: 17 -> Number of Rules: 257 / Number of Nodes: 325 / Depth: 3
Tree: 18 -> Number of Rules: 258 / Number of Nodes: 333 / Depth: 2
Tree: 19 -> Number of Rules: 257 / Number of Nodes: 330 / Depth: 3
Tree: 20 -> Number of Rules: 258 / Number of Nodes: 337 / Depth: 3
Tree: 21 -> Number of Rules: 257 / Number of Nodes: 330 / Depth: 3
Tree: 22 -> Number of Rules: 257 / Number of Nodes: 334 / Depth: 2
Tree: 23 -> Number of Rules: 257 / Number of Nodes: 326 / Depth: 2
Tree: 24 -> Number of Rules: 257 / Number of Nodes: 327 / Depth: 3
Tree: 25 -> Number of Rules: 257 / Number of Nodes: 331 / Depth: 2
Tree: 26 -> Number of Rules: 258 / Number of Nodes: 327 / Depth: 2
Tree: 27 -> Number of Rules: 257 / Number of Nodes: 328 / Depth: 2
Tree: 28 -> Number of Rules: 257 / Number of Nodes: 329 / Depth: 2
Tree: 29 -> Number of Rules: 258 / Number of Nodes: 328 / Depth: 3
Tree: 30 -> Number of Rules: 257 / Number of Nodes: 330 / Depth: 2


Rules: Liste von Zeichenfolgen, die den Baum in Form von Regeln beschreiben
Nodes: Anzahl der Knoten im trainierten Entscheidungsbaum
Depth: Maximale Anzahl von Entscheidungen, die für eine Klassifizierung getroffen werden müssen

letztes KI-Training: 11.05.2025 05:15:01 / Laufzeit in Sekunden: 0.78956
letzte KI-Ergebnis Generierungsdauer: 0.14 ms

 
Tree: 1
 
if rad1h='1330' -> '1705'
if rad1h='330' -> '324'
if rad1h='1060' and sunalt='18' -> '961'
if rad1h='1060' and sunalt='38' -> '1276'
if rad1h='70' -> '32'
if rad1h='800' -> '942'
if rad1h='510' and sunalt='10' -> '254'
if rad1h='510' and sunalt='13' -> '311'
if rad1h='510' and sunalt='17' -> '733'
if rad1h='510' and sunalt='11' -> '272'
if rad1h='510' and sunalt='21' -> '350'
if rad1h='1180' and sunalt='44' -> '972'
if rad1h='1180' and sunalt='47' -> '707'
if rad1h='1180' and sunalt='45' -> '992'
if rad1h='1020' -> '1904'
if rad1h='780' and sunalt='36' -> '444'
if rad1h='780' and sunalt='30' -> '850'
if rad1h='1070' -> '1594'
if rad1h='540' -> '1069'
if rad1h='1000' -> '1876'
if rad1h='1590' -> '1810'
if rad1h='430' -> '217'
if rad1h='720' -> '895'
if rad1h='1080' -> '1096'
if rad1h='500' and sunalt='23' -> '645'
if rad1h='500' and sunalt='13' -> '410'
if rad1h='500' and sunalt='37' -> '704'
if rad1h='280' and rr1c='0.10' -> '220'
if rad1h='280' and rr1c='0.00' -> '215'
if rad1h='2700' -> '2861'
if rad1h='2770' and sunalt='51' -> '3002'
if rad1h='2770' and sunalt='53' -> '2855'
if rad1h='2210' -> '2268'
if rad1h='1160' -> '1410'
if rad1h='2250' -> '2329'
if rad1h='840' -> '1288'
if rad1h='20' -> '33'
if rad1h='2690' -> '2860'
if rad1h='1460' and sunalt='53' -> '1951'
if rad1h='1460' and sunalt='39' -> '2108'
if rad1h='1460' and sunalt='48' -> '2108'
if rad1h='150' and wcc='50' -> '80'
if rad1h='150' and wcc='00' -> '82'
if rad1h='790' -> '2090'
if rad1h='2370' -> '3086'
if rad1h='1120' -> '1475'
if rad1h='10' -> '10'
if rad1h='660' -> '1083'
if rad1h='620' -> '786'
if rad1h='1760' -> '2717'
if rad1h='1320' and sunalt='47' -> '1714'
if rad1h='1320' and sunalt='32' -> '1143'
if rad1h='1320' and sunalt='45' -> '2193'
if rad1h='1250' and sunalt='42' -> '1601'
if rad1h='1250' and sunalt='40' -> '1935'
if rad1h='1370' -> '2178'
if rad1h='1300' and sunalt='48' -> '1968'
if rad1h='1300' and sunalt='42' -> '1985'
if rad1h='90' and sunalt='4' -> '45'
if rad1h='90' and sunalt='5' -> '37'
if rad1h='90' and sunalt='8' -> '172'
if rad1h='870' and sunalt='26' -> '1267'
if rad1h='870' and sunalt='21' -> '863'
if rad1h='870' and sunalt='47' -> '1461'
if rad1h='440' and sunalt='18' -> '526'
if rad1h='440' and sunalt='16' -> '480'
if rad1h='440' and sunalt='10' -> '120'
if rad1h='1720' and sunalt='41' -> '2154'
if rad1h='1720' and sunalt='53' -> '2517'
if rad1h='1030' and sunalt='40' -> '1170'
if rad1h='1030' and sunalt='45' -> '1021'
if rad1h='1030' and sunalt='33' -> '1873'
if rad1h='980' -> '2246'
if rad1h='300' and sunalt='16' -> '528'
if rad1h='300' and sunalt='15' -> '186'
if rad1h='300' and sunalt='36' -> '496'
if rad1h='1360' and sunalt='40' -> '555'
if rad1h='1360' and sunalt='48' -> '2501'
if rad1h='1360' and sunalt='47' -> '504'
if rad1h='690' and rr1c='0.00' -> '1899'
if rad1h='690' and rr1c='0.30' -> '1529'
if rad1h='410' -> '700'
if rad1h='180' -> '521'
if rad1h='830' and sunalt='32' -> '1069'
if rad1h='830' and sunalt='37' -> '1193'
if rad1h='1240' and sunalt='38' -> '1391'
if rad1h='1240' and sunalt='32' -> '1638'
if rad1h='1240' and sunalt='51' -> '2832'
if rad1h='1700' and sunalt='35' -> '1181'
if rad1h='1700' and sunalt='46' -> '1965'
if rad1h='960' and sunalt='22' -> '1053'
if rad1h='960' and sunalt='49' -> '1251'
if rad1h='960' and sunalt='28' -> '1583'
if rad1h='960' and sunalt='19' -> '969'
if rad1h='920' and sunalt='34' -> '1762'
if rad1h='920' and sunalt='38' -> '610'
if rad1h='920' and sunalt='24' -> '1039'
if rad1h='920' and sunalt='29' -> '887'
if rad1h='570' and sunalt='28' -> '320'
if rad1h='570' and sunalt='36' -> '1376'
if rad1h='570' and sunalt='26' -> '1526'
if rad1h='120' and sunalt='5' -> '67'
if rad1h='120' and sunalt='12' -> '259'
if rad1h='120' and sunalt='6' -> '91'
if rad1h='160' and sunalt='13' -> '68'
if rad1h='160' and sunalt='8' -> '148'
if rad1h='160' and sunalt='9' -> '35'
if rad1h='60' and sunalt='2' -> '21'
if rad1h='60' and sunalt='3' -> '11'
if rad1h='1840' -> '2049'
if rad1h='340' -> '547'
if rad1h='1810' -> '2912'
if rad1h='400' -> '551'
if rad1h='190' -> '160'
if rad1h='1850' -> '2090'
if rad1h='750' and sunalt='24' -> '1056'
if rad1h='750' and sunalt='29' -> '785'
if rad1h='680' -> '1458'
if rad1h='530' -> '900'
if rad1h='990' -> '1570'
if rad1h='1130' -> '1809'
if rad1h='2180' -> '2256'
if rad1h='310' and rr1c='0.70' -> '482'
if rad1h='310' and rr1c='0.00' -> '181'
if rad1h='270' and sunalt='18' -> '299'
if rad1h='270' and sunalt='8' -> '208'
if rad1h='270' and sunalt='15' -> '415'
if rad1h='40' -> '10'
if rad1h='1040' and wcc='70' -> '1670'
if rad1h='1040' and wcc='90' -> '656'
if rad1h='1010' and sunalt='46' -> '1847'
if rad1h='1010' and sunalt='30' -> '852'
if rad1h='1230' and sunalt='47' -> '2011'
if rad1h='1230' and sunalt='42' -> '2375'
if rad1h='140' and rr1c='0.20' -> '32'
if rad1h='140' and rr1c='0.00' -> '44'
if rad1h='2820' -> '2868'
if rad1h='360' and sunalt='12' -> '280'
if rad1h='360' and sunalt='15' -> '522'
if rad1h='360' and sunalt='29' -> '512'
if rad1h='320' -> '736'
if rad1h='1500' and sunalt='46' -> '2530'
if rad1h='1500' and sunalt='31' -> '1747'
if rad1h='2980' -> '3136'
if rad1h='230' and sunalt='12' -> '174'
if rad1h='230' and sunalt='9' -> '121'
if rad1h='390' -> '234'
if rad1h='110' and sunalt='8' -> '23'
if rad1h='110' and sunalt='11' -> '115'
if rad1h='110' and sunalt='4' and wid='2' -> '43'
if rad1h='110' and sunalt='4' and wid='3' -> '55'
if rad1h='110' and sunalt='7' -> '113'
if rad1h='600' -> '427'
if rad1h='1520' and sunalt='30' -> '1799'
if rad1h='1520' and sunalt='47' -> '2777'
if rad1h='480' -> '441'
if rad1h='2310' and sunalt='46' -> '2804'
if rad1h='2310' and sunalt='48' -> '2447'
if rad1h='2340' -> '2890'
if rad1h='1450' -> '1785'
if rad1h='640' and sunalt='16' -> '379'
if rad1h='640' and sunalt='37' -> '1396'
if rad1h='30' -> '50'
if rad1h='1490' and sunalt='45' -> '1712'
if rad1h='1490' and sunalt='52' -> '1514'
if rad1h='1490' and sunalt='33' -> '1755'
if rad1h='1490' and sunalt='51' -> '2395'
if rad1h='730' and sunalt='46' -> '1827'
if rad1h='730' and sunalt='26' -> '1165'
if rad1h='730' and sunalt='23' -> '1046'
if rad1h='730' and sunalt='20' -> '760'
if rad1h='2660' -> '3200'
if rad1h='420' and rr1c='0.60' -> '315'
if rad1h='420' and rr1c='0.00' -> '862'
if rad1h='460' and sunalt='23' -> '520'
if rad1h='460' and sunalt='13' -> '425'
if rad1h='460' and sunalt='24' -> '641'
if rad1h='550' -> '843'
if rad1h='1110' -> '1011'
if rad1h='1140' and sunalt='35' -> '1891'
if rad1h='1140' and sunalt='50' -> '1541'
if rad1h='610' -> '1104'
if rad1h='100' and wid='0' -> '57'
if rad1h='100' and wid='45' -> '114'
if rad1h='100' and wid='3' -> '80'
if rad1h='100' and wid='61' -> '395'
if rad1h='100' and wid='2' -> '34'
if rad1h='490' -> '723'
if rad1h='1150' and sunalt='47' -> '1824'
if rad1h='1150' and sunalt='31' -> '1739'
if rad1h='1150' and sunalt='48' -> '1545'
if rad1h='1150' and sunalt='46' -> '769'
if rad1h='2270' -> '924'
if rad1h='2710' and wcc='00' -> '3001'
if rad1h='2710' and wcc='30' -> '3050'
if rad1h='2350' -> '2358'
if rad1h='380' and rr1c='0.00' -> '339'
if rad1h='380' and rr1c='0.60' -> '115'
if rad1h='1440' -> '888'
if rad1h='900' -> '1452'
if rad1h='1190' and sunalt='50' -> '2966'
if rad1h='1190' and sunalt='36' -> '2088'
if rad1h='1740' and sunalt='51' -> '2684'
if rad1h='1740' and sunalt='52' -> '2418'
if rad1h='1600' and sunalt='52' -> '824'
if rad1h='1600' and sunalt='48' -> '2595'
if rad1h='2150' -> '2889'
if rad1h='1200' -> '1397'
if rad1h='740' and sunalt='23' -> '947'
if rad1h='740' and sunalt='34' -> '1407'
if rad1h='200' and rr1c='1.30' -> '198'
if rad1h='200' and rr1c='0.00' -> '60'
if rad1h='2190' and sunalt='49' -> '3071'
if rad1h='2190' and sunalt='44' -> '2680'
if rad1h='580' -> '1158'
if rad1h='630' -> '1150'
if rad1h='1880' -> '2110'
if rad1h='1350' -> '883'
if rad1h='1220' -> '771'
if rad1h='890' and rr1c='0.10' -> '1141'
if rad1h='890' and rr1c='0.00' -> '931'
if rad1h='710' -> '779'
if rad1h='50' and wcc='90' -> '23'
if rad1h='50' and wcc='00' -> '11'
if rad1h='50' and wcc='25' -> '21'
if rad1h='50' and wcc='80' -> '10'
if rad1h='50' and wcc='75' -> '70'
if rad1h='2450' and sunalt='49' -> '3054'
if rad1h='2450' and sunalt='51' -> '3234'
if rad1h='860' and sunalt='31' -> '1105'
if rad1h='860' and sunalt='19' -> '790'
if rad1h='1900' -> '724'
if rad1h='1970' and sunalt='36' -> '2078'
if rad1h='1970' and sunalt='43' -> '2749'
if rad1h='1660' -> '2414'
if rad1h='670' -> '358'
if rad1h='1260' and sunalt='33' -> '1852'
if rad1h='1260' and sunalt='43' -> '1886'
if rad1h='350' and rr1c='0.00' -> '841'
if rad1h='350' and rr1c='0.10' -> '209'
if rad1h='880' -> '1456'
if rad1h='2050' and sunalt='48' -> '2559'
if rad1h='2050' and sunalt='42' -> '2104'
if rad1h='930' -> '1734'
if rad1h='2040' and sunalt='38' -> '2089'
if rad1h='2040' and sunalt='42' -> '2469'
if rad1h='170' -> '321'
if rad1h='700' -> '909'
if rad1h='1820' -> '2231'
if rad1h='450' and sunalt='12' -> '330'
if rad1h='450' and sunalt='24' -> '639'
if rad1h='970' and sunalt='41' -> '2023'
if rad1h='970' and sunalt='37' -> '1568'
if rad1h='80' and sunalt='5' -> '68'
if rad1h='80' and sunalt='2' -> '21'
if rad1h='80' and sunalt='19' -> '348'
if rad1h='80' and sunalt='4' -> '46'
if rad1h='1280' -> '1727'
                                                                                                             


Mit freundlichen Grüßen

DS_Starter

#2793
ZitatDen Tag darauf dann das selbe. Sollte nicht nach 3 Tagen mit fast identischen Werten die Prognose angepasst werden?
Ja, richtig.
Genaueres sieht man an den Readings:

Zitat2025-05-11 07:00:00   pvCorrectionFactor_07 0.55 (automatic - old factor: 1.00, Sun Alt range: 10, Cloud range: 55, Days in range: 1)
     2025-05-11 08:00:02   pvCorrectionFactor_08 0.69 (automatic - old factor: 0.99, AI result used, Sun Alt range: 15, Cloud range: 35, Days in range: 2)
     2025-05-11 09:00:02   pvCorrectionFactor_09 0.89 (automatic - old factor: 0.76, AI result used, Sun Alt range: 25, Cloud range: 00, Days in range: 3)
     2025-05-11 10:00:02   pvCorrectionFactor_10 0.64 (automatic - old factor: 1.00, Sun Alt range: 35, Cloud range: 40, Days in range: 1)
     2025-05-11 11:00:00   pvCorrectionFactor_11 0.68 (automatic - old factor: 0.49, Sun Alt range: 40, Cloud range: 25, Days in range: 2)
     2025-05-11 12:00:02   pvCorrectionFactor_12 0.55 (automatic - old factor: 1.00, Sun Alt range: 50, Cloud range: 40, Days in range: 1)
     2025-05-11 13:00:02   pvCorrectionFactor_13 0.65 (automatic - old factor: 1.00, Sun Alt range: 55, Cloud range: 00, Days in range: 1)
Days in range = 1 bedeutet, dass bisher nur ein Tag mit gleichen Sonnenstand und Bewölkung zur gleichen Stunde aufgezeichnet wurde und zur Kalkulation für die Zukunft verwendet werden kann. Das betrifft das herkömmliche im Modul verankerte Verfahren.
Der Unterschied zwischen pvCorrectionFactor_XX und "automatic - old factor" zeigt wie hoch die aktuelle Dynamik der Anpassung für die Stunde X ist, d.h. bei "pvCorrectionFactor_09 0.89 (automatic - old factor: 0.76)" die Anpassung schon recht klein.

Aber du hast KI eingeschaltet, d.h. deren Werte bilden mit den API Werten einen Durchschnitt der verwendet wird (pvCorrectionFactor_Auto = on_complex_api_ai). Sieht man an "AI result used".

Nun halte ich den Lernzustand deiner KI für unzureichend, du hast nur ca. 350 Entscheidungsknoten bei einer Tiefe von max. 3 soweit ich das sehe. Ich halte das für zu wenig, d.h. die Anzahl der Rohdatensätze (get ... valDecTree aiRawData) ist noch zu gering.

Zum Vergleich bei einer meiner Instanzen gibt es über 7000 Entscheidungsknoten bei einer Tiefe von max. 6:

Trained AI Object contains an Ensemble of 9 trees (only the first Tree is printed out)

Tree: 1 -> Number of Rules: 5253 / Number of Nodes: 7074 / Depth: 6
Tree: 2 -> Number of Rules: 5264 / Number of Nodes: 7054 / Depth: 5
Tree: 3 -> Number of Rules: 5259 / Number of Nodes: 7068 / Depth: 5
Tree: 4 -> Number of Rules: 5256 / Number of Nodes: 7064 / Depth: 6
Tree: 5 -> Number of Rules: 5268 / Number of Nodes: 7042 / Depth: 5
Tree: 6 -> Number of Rules: 5259 / Number of Nodes: 7057 / Depth: 5
Tree: 7 -> Number of Rules: 5264 / Number of Nodes: 7047 / Depth: 5
Tree: 8 -> Number of Rules: 5247 / Number of Nodes: 7036 / Depth: 5
Tree: 9 -> Number of Rules: 5261 / Number of Nodes: 7072 / Depth: 6

Ich würde dir raten, zunächst auf die KI zu verzichten und pvCorrectionFactor_Auto = on_complex einzusetzen, also nur mit der API zu arbeiten.

Weiterhin könntest du die noch ein zweites SF-Device anlegen und dort mit der openMeteo API (oder SolCast) arbeiten. Dann hast du einen Vergleich und kannst entscheiden welche Variante für dich besser geegnet ist. Du hast viele Einzelstrings die sich zu einem Gesamtbild fügen müssen. Auch darin kann eine Herausforderung liegen, wobei Burny4600 uns kürzlich seine sehr komplexe Anlage mit durchaus guten Ergebnissen präsentiert hatte.
OpenMeteo ist auch sehr einfach einzurichten.

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

Shadow3561

ZitatIch würde dir raten, zunächst auf die KI zu verzichten und pvCorrectionFactor_Auto = on_complex einzusetzen, also nur mit der API zu arbeiten.
Werden dann trotzdem Daten für die KI gesammelt und ich kann dann irgendwann wieder auf on_compex_api_ai schalten?

DS_Starter

ZitatWerden dann trotzdem Daten für die KI gesammelt und ich kann dann irgendwann wieder auf on_compex_api_ai schalten?
Ja, auf jeden Fall.
Auch Korrekturfaktoren werden permanent weiter berechnet auch wenn man pvCorrectionFactor_Auto = off eingestellt hat. Man kann jederzeit zwischen den Modi wechseln.

Du kannst den Fortschritt der Rohdaten und des Trainings mit "get ... valDecTree ..." verfolgen.
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

DS_Starter

#2796
Hallo zusammen,

ich habe soeben das Major Release 1.52.0 eingecheckt.

Was ist alles enthalten:

- das Setup der Wechselrichter (setupInverterDevXX) kann nun verschiedene Architekturen spezifizieren um eine bessere Unterstützung für
  Balkonkrafwerke oder andere Anlagen mit reinen Batterie-Wechselrichtern zu ermöglichen
 
- Es kann der Typ Batterie-Wechselrichter zur reinen DC->AC / AC->DC definiert werden, die Flußgrafik gibt diese IN / OUT Flüsse auch wieder

- die Attribute setupInverterDevXX enthalten dafür neue Schlüssel dc2ac, ac2dc

- die obsolet gewordenen Attribute sind entfernt: graphicLayoutType, graphicHourStyle, graphicHeaderDetail, graphicSpaceSize, graphicBeamWidth,
                                                  graphicHourCount, graphicEnergyUnit, graphicHeaderShow
                                                 
- Im Attr flowGraphicControl ist ein neuer Schlüssel "showGenerators" vorhanden um eine Reihe mit
  PV-Zellen anzuzeigen sofern der WR Zellen zugeordnet hat.
  Ein Mouse-Over zeigt die zugeordneten Strings.
  Das Icon und dessen Farbe kann man noch nicht ändern. Mir fehlt momentan noch die Idee in welches Attribut ich es
  einbauen kann. Ein zusätzliches Attr wollte ich dafür ungern erstellen. Mal sehen ob mir noch eine Idee kommt. 
                                                 
- Im Wiki habe ich begleitend zu der Erweiterungen von setupInverterDevXX einen Abschnitt zum Setup der Wechselrichter erstellt 
  https://wiki.fhem.de/wiki/SolarForecast_-_Solare_Prognose_(PV_Erzeugung)_und_Verbrauchersteuerung#Einrichtung_der_Wechselrichter_mit_setupInverterDevXX

- Attribut graphicHeaderOwnspec: Fehler bei Anzeige des Readings "state" eines Devices gefixt


Nach dem Download Restart nicht vergessen!

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

300P

Zitat von: Prof. Dr. Peter Henning am 11 Mai 2025, 12:15:12
Zitat von: 300P am 10 Mai 2025, 16:39:51hatte ich beim warten an der Waschanlage auf dem Handy überlesen
Jetzt bin ich aber beeindruckt: Eine Autowaschanlage eingebunden in SolarForeCast. 8)

LG

pah

Tja - an der Kasse nicht gefragt wieviel noch vor mir waren, sonst wär ich wieder gefahren.......denn es waren 3 Autos x 8-15 Minuten je nach Waschprogramm. Das gibt meist dann ca. 35-45 Minuten Wartezeit. :o
Und dann ist das Handy der beste Freund......  O:-)
Gruß
300P
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.

Burny4600

Ich habe eine Frage zur der Ermittlung der Abweichung.
Wo kann ich diese Einstellungen definieren um ein Ergebniss der Abweichungen zu erhalten?
LG Chris

Raspberry Pi 2-5, Bullseye Lite, Bookworm Lite
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess

DS_Starter

Im Standard, wie bei dir eingestellt, wird das Ergebnis nach Sonnenuntergang ermittelt.
Ansonsten einstellbar über Attr plantControl->genPVdeviation.

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

DS_Starter

Moin,

weil wir es gestern über die Verwendung von KI diskutiert hatten hier noch ein Beispiel von meienr OpenMeteo Ensemble Instanz.
Gesammelt wurden bisher 6334 Rohdatensätze.

Damit erreicht die KI ca. 5400 Entscheidungsknoten mit einer Tiefe von 5-6.

Trained AI Object contains an Ensemble of 10 trees (only the first Tree is printed out)

Tree: 1 -> Number of Rules: 4009 / Number of Nodes: 5462 / Depth: 5
Tree: 2 -> Number of Rules: 4015 / Number of Nodes: 5481 / Depth: 5
Tree: 3 -> Number of Rules: 4006 / Number of Nodes: 5484 / Depth: 5
Tree: 4 -> Number of Rules: 4008 / Number of Nodes: 5455 / Depth: 6
Tree: 5 -> Number of Rules: 4005 / Number of Nodes: 5464 / Depth: 5
Tree: 6 -> Number of Rules: 4016 / Number of Nodes: 5469 / Depth: 5
Tree: 7 -> Number of Rules: 3992 / Number of Nodes: 5462 / Depth: 5
Tree: 8 -> Number of Rules: 4010 / Number of Nodes: 5476 / Depth: 5
Tree: 9 -> Number of Rules: 3997 / Number of Nodes: 5473 / Depth: 5
Tree: 10 -> Number of Rules: 4003 / Number of Nodes: 5472 / Depth: 5


Rules: Liste von Zeichenfolgen, die den Baum in Form von Regeln beschreiben
Nodes: Anzahl der Knoten im trainierten Entscheidungsbaum
Depth: Maximale Anzahl von Entscheidungen, die für eine Klassifizierung getroffen werden müssen

letztes KI-Training: 12.05.2025 03:15:26 / Laufzeit in Sekunden: 2.25812
letzte KI-Ergebnis Generierungsdauer: 0.03 ms

Wenn man sich die aiRuleStrings anschaut, sieht den Einfluß der Tiefe (hier 3 und 4):

if rad1h='1430' and hod='17' and rr1c='0.20' -> '2430'
if rad1h='1430' and hod='17' and rr1c='0.00' -> '3300'
if rad1h='1430' and hod='10' and temp='10' and wcc='00' -> '3734'
if rad1h='1430' and hod='10' and temp='10' and wcc='50' -> '2316'

Bei der Tiefe 4 werden mehr Vergleichsparameter einbezogen im Vergleich zu der Tiefe 3.
Bei der gewählten Autokorrekturmethode werden die KI Ergebnisse anstatt der API Werte verwendet sofern Treffer geliefert werden:

     2025-05-12 06:00:04   pvCorrectionFactor_06 0.75 (automatic - old factor: 0.57, AI result used, Sun Alt range: 0, Cloud range: 00, Days in range: 5)
     2025-05-12 07:00:05   pvCorrectionFactor_07 0.73 (automatic - old factor: 0.73, AI result used, Sun Alt range: 10, Cloud range: 00, Days in range: 3)
     2025-05-12 08:00:05   pvCorrectionFactor_08 0.89 (automatic - old factor: 0.99, AI result used, Sun Alt range: 20, Cloud range: 00, Days in range: 2)
     2025-05-12 09:00:05   pvCorrectionFactor_09 0.98 (automatic - old factor: 0.99, AI result used, Sun Alt range: 25, Cloud range: 00, Days in range: 11)
     2025-05-12 10:00:05   pvCorrectionFactor_10 0.94 (automatic - old factor: 0.95, AI result used, Sun Alt range: 35, Cloud range: 00, Days in range: 7)

Das Ergebnis liegt sehr nahe an der Realität (siehe Anhang).

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

Burny4600

Ich muss leider nochmal fragen. Es geht um die Consumer. Aus irgend einem Grund wurde nur ein Consumer angezeigt. Nun habe ich alle Verbraucher gelöscht und wollte einem nach dem anderen wieder anlegen.
Nun wird kein einziger Verbraucher angezeigt.

Woran liegt mein Fehler?
LG Chris

Raspberry Pi 2-5, Bullseye Lite, Bookworm Lite
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess

DS_Starter

#2802
Es gibt im Prinzip 2 Stellen an denen man die Sichtbarkeit steuert:

- im consumer Attribut, Schlüssel noshow für die Sichtbarkeit einzelner consumer
- das Attr graphicSelect für die generelle Sichtbarkeit

Und für die Flußgrafik:

- flowGraphicControl showconsumer=1

Grüße,
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

Burny4600

#2803
Das lag an keinem der beiden Attribute. Das muss ganz anderes gelegen sein.

Nachdem ich FHEM neu gestartet hatte, wurden alle Verbraucher angezeigt.
Irgendetwas blockierte die Anzeige der Verbraucher. Alles andere wurde angezeigt.
Jetzt können wieder ohne Probleme die Verbraucher hinzugefügt werden.

Was mir noch aufgefallen ist, ist der Zeitraum 12 und 13Uhr wo alles bei den Batterien auf 0 ist.
LG Chris

Raspberry Pi 2-5, Bullseye Lite, Bookworm Lite
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess

DS_Starter

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