76_SolarForecast - Informationen/Ideen zu Weiterentwicklung und Support

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

Vorheriges Thema - Nächstes Thema

DS_Starter

Dann kann es nicht angelegt werden. Das FHEM-Verzeichnis hat sicherlich die Rechte?
Ich fixe erstmal das "//" und melde mich.
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

Du hast gerade geantwortet als ich meinen Beitrag editiert habe.
Jetzt ist die Datei plötzlich da

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

caldir65

Moin,

nach dem letzten Update und Restart habe ich diese Zeilen im Log:2025.02.02 13:41:33.314 1: PERL WARNING: Argument "13:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.314 1: PERL WARNING: Argument "14:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.314 1: PERL WARNING: Argument "23:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.315 1: PERL WARNING: Argument "00:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.315 1: PERL WARNING: Argument "01:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.315 1: PERL WARNING: Argument "02:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.315 1: PERL WARNING: Argument "03:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.315 1: PERL WARNING: Argument "04:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.315 1: PERL WARNING: Argument "05:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.315 1: PERL WARNING: Argument "06:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.316 1: PERL WARNING: Argument "07:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.316 1: PERL WARNING: Argument "08:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.316 1: PERL WARNING: Argument "15:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.316 1: PERL WARNING: Argument "09:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.316 1: PERL WARNING: Argument "10:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.316 1: PERL WARNING: Argument "11:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.316 1: PERL WARNING: Argument "12:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.317 1: PERL WARNING: Argument "16:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.317 1: PERL WARNING: Argument "17:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.317 1: PERL WARNING: Argument "18:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.317 1: PERL WARNING: Argument "19:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.317 1: PERL WARNING: Argument "20:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.317 1: PERL WARNING: Argument "21:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.
2025.02.02 13:41:33.318 1: PERL WARNING: Argument "22:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15195.

Gruß,
Christoph
Alte Techniker-Regel: "kaum macht man es richtig, funktioniert es auch"
------
Dell Wyse5070 ThinClient 16GBRam, 128GB SSD, Lubuntu 24.04.01LTS, fhem (aktuell), debmatic, Homematic-Devs, ConBee II und deConz, viele Shellys, Rademacher, NextCloud-Anbindung, FullyKioskBrowser+FUIP uvm.

holgers

Hallo,

zunächst mal, das Modul ist super, ich nutze es schon einige Monate und die Steuerung eines Luftentfeuchters funktioniert einwandfrei.

Nun habe ich seit einige Wochen das Problem, dass im Balkendiagramm die Erzeugte PV-Energie (siehe Bild1) nicht richtig angezeigt wird: Vormittag keine Werte und, wenn dann was kommt, Anzeige zu gering. Für 13 und 14 Uhr hätte ich ca. 5.000Wh erwartet (siehe auch Bild2 aus der PV-Cloud).

Du darfst diesen Dateianhang nicht ansehen.Du darfst diesen Dateianhang nicht ansehen.

Habe schon alles mögliche auf Default gestellt, aber leider den Fehler nicht gefunden. Bis dahin gab es den Fehler nicht und leider kann ich nicht mehr nachvollziehen, welchen Change es beim Auftreten des Fehlers bzw. der ersten Beobachtung gab. Die angezeigten IST-Werte bei den Verbindungslinien sehen immer valide aus.

Sieht jemand, an welcher Stelle ich etwas falsch konfiguriert habe?

Wäre super, danke.

Gruß
Holger

P.S.: Hier noch das List des Moduls:

Internals:
   CFGFN      ./FHEM/PhotoVoltaik.cfg
   FUUID      6640c425-f33f-ad58-0268-ab18ae2789bc32b2
   FVERSION   76_SolarForecast.pm:v1.45.0-s29607/2025-02-01
   LCACHEFILE last write time: 16:28:01 whole Operating Memory
   MODE       Automatic / Event-controlled - next planned Cycletime: 16:32:14
   MODEL      OpenMeteoDWDAPI
   NAME       MyPVForecast
   NOTIFYDEV  tasmota_Smartmeter,MQTT2_ShellyPlug06,SH10rt
   NR         277
   NTFY_ORDER 50-MyPVForecast
   STATE      1844 W
   TYPE       SolarForecast
   WEATHERMODEL DWD
   eventCount 2301
   HELPER:
     FW         WEB
     PACKAGE    FHEM::SolarForecast
     S10DONE    1
     SPGDETAIL 
     SPGDEV     MyPVForecast
     SPGROOM   
     VERSION    1.45.0
     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     768
       finishFn   FHEM::SolarForecast::_processMessageFile
       fn         FHEM::SolarForecast::_retrieveMessageFile
       loglevel   3
       pid        DEAD:13668
       telnet     telnetPort_127.0.0.1_36092
       terminated 1
       timeout    30
       abortArg:
       arg:
         block      1
         name       MyPVForecast
   OLDREADINGS:
   READINGS:
     2025-02-02 16:31:24   Battery_ChargeRecommended_01 1
     2025-02-02 16:31:24   Battery_ChargeRequest_01 0
     2025-02-02 16:31:24   Battery_OptimumTargetSoC_01 10 %
     2025-02-02 16:31:24   Current_AutarkyRate 100 %
     2025-02-02 16:31:24   Current_BatCharge_01 100 %
     2025-02-02 16:31:24   Current_Consumption 634 W
     2025-02-02 16:31:24   Current_GridConsumption 0 W
     2025-02-02 16:31:24   Current_GridFeedIn 1216 W
     2025-02-02 16:31:24   Current_PV      1844 W
     2025-02-02 16:31:24   Current_PowerBatIn_01 0 W
     2025-02-02 16:31:24   Current_PowerBatOut_01 6 W
     2025-02-02 16:31:24   Current_SelfConsumption 628 W
     2025-02-02 16:31:24   Current_SelfConsumptionRate 34 %
     2025-02-02 16:31:24   Current_Surplus 1210 W
     2025-02-02 16:00:00   LastHourGridconsumptionReal 0 Wh
     2025-02-02 16:00:00   LastHourPVforecast 3958 Wh
     2025-02-02 16:00:00   LastHourPVreal  900 Wh
     2025-02-02 16:31:24   NextHours_Sum01_PVforecast 472 Wh
     2025-02-02 16:31:24   NextHours_Sum02_PVforecast 500 Wh
     2025-02-02 16:31:24   NextHours_Sum03_PVforecast 500 Wh
     2025-02-02 16:31:24   NextHours_Sum04_ConsumptionForecast 397 Wh
     2025-02-02 16:31:24   NextHours_Sum04_PVforecast 500 Wh
     2025-02-02 16:31:24   RestOfDayConsumptionForecast 401 Wh
     2025-02-02 16:31:24   RestOfDayPVforecast 500 Wh
     2025-02-02 00:59:55   Today_Hour01_BatIn_01 0 Wh
     2025-02-02 00:59:55   Today_Hour01_BatOut_01 1000 Wh
     2025-02-02 00:59:55   Today_Hour01_GridConsumption 1 Wh
     2025-02-02 00:59:55   Today_Hour01_GridFeedIn 0 Wh
     2025-02-02 00:59:55   Today_Hour01_PVreal 0 Wh
     2025-02-02 01:59:55   Today_Hour02_BatIn_01 0 Wh
     2025-02-02 01:59:55   Today_Hour02_BatOut_01 500 Wh
     2025-02-02 01:59:55   Today_Hour02_GridConsumption 0 Wh
     2025-02-02 01:59:55   Today_Hour02_GridFeedIn 0 Wh
     2025-02-02 01:59:55   Today_Hour02_PVreal 0 Wh
     2025-02-02 02:59:55   Today_Hour03_BatIn_01 0 Wh
     2025-02-02 02:59:55   Today_Hour03_BatOut_01 500 Wh
     2025-02-02 02:59:55   Today_Hour03_GridConsumption 0 Wh
     2025-02-02 02:59:55   Today_Hour03_GridFeedIn 0 Wh
     2025-02-02 02:59:55   Today_Hour03_PVreal 0 Wh
     2025-02-02 03:59:55   Today_Hour04_BatIn_01 0 Wh
     2025-02-02 03:59:55   Today_Hour04_BatOut_01 600 Wh
     2025-02-02 03:59:55   Today_Hour04_GridConsumption 0 Wh
     2025-02-02 03:59:55   Today_Hour04_GridFeedIn 0 Wh
     2025-02-02 03:59:55   Today_Hour04_PVreal 0 Wh
     2025-02-02 04:59:55   Today_Hour05_BatIn_01 0 Wh
     2025-02-02 04:59:55   Today_Hour05_BatOut_01 400 Wh
     2025-02-02 04:59:55   Today_Hour05_GridConsumption 0 Wh
     2025-02-02 04:59:55   Today_Hour05_GridFeedIn 0 Wh
     2025-02-02 04:59:55   Today_Hour05_PVreal 0 Wh
     2025-02-02 05:59:55   Today_Hour06_BatIn_01 0 Wh
     2025-02-02 05:59:55   Today_Hour06_BatOut_01 600 Wh
     2025-02-02 05:59:55   Today_Hour06_GridConsumption 0 Wh
     2025-02-02 05:59:55   Today_Hour06_GridFeedIn 0 Wh
     2025-02-02 05:59:55   Today_Hour06_PVreal 0 Wh
     2025-02-02 06:59:55   Today_Hour07_BatIn_01 0 Wh
     2025-02-02 06:59:55   Today_Hour07_BatOut_01 200 Wh
     2025-02-02 06:59:55   Today_Hour07_GridConsumption 0 Wh
     2025-02-02 06:59:55   Today_Hour07_GridFeedIn 0 Wh
     2025-02-02 06:59:55   Today_Hour07_PVreal 0 Wh
     2025-02-02 07:59:55   Today_Hour08_BatIn_01 0 Wh
     2025-02-02 07:59:55   Today_Hour08_BatOut_01 0 Wh
     2025-02-02 07:59:55   Today_Hour08_GridConsumption 1 Wh
     2025-02-02 07:59:55   Today_Hour08_GridFeedIn 0 Wh
     2025-02-02 07:59:55   Today_Hour08_PVreal 0 Wh
     2025-02-02 08:59:55   Today_Hour09_BatIn_01 0 Wh
     2025-02-02 08:59:55   Today_Hour09_BatOut_01 0 Wh
     2025-02-02 08:59:55   Today_Hour09_GridConsumption 0 Wh
     2025-02-02 08:59:55   Today_Hour09_GridFeedIn 0 Wh
     2025-02-02 08:59:55   Today_Hour09_PVforecast 152 Wh
     2025-02-02 08:59:55   Today_Hour09_PVreal 0 Wh
     2025-02-02 09:59:55   Today_Hour10_BatIn_01 300 Wh
     2025-02-02 09:59:55   Today_Hour10_BatOut_01 0 Wh
     2025-02-02 09:59:55   Today_Hour10_GridConsumption 0 Wh
     2025-02-02 09:59:55   Today_Hour10_GridFeedIn 0 Wh
     2025-02-02 09:59:55   Today_Hour10_PVforecast 1400 Wh
     2025-02-02 09:59:55   Today_Hour10_PVreal 0 Wh
     2025-02-02 10:59:55   Today_Hour11_BatIn_01 1900 Wh
     2025-02-02 10:59:55   Today_Hour11_BatOut_01 0 Wh
     2025-02-02 10:59:55   Today_Hour11_GridConsumption 0 Wh
     2025-02-02 10:59:55   Today_Hour11_GridFeedIn 0 Wh
     2025-02-02 10:59:55   Today_Hour11_PVforecast 2500 Wh
     2025-02-02 10:59:55   Today_Hour11_PVreal 0 Wh
     2025-02-02 11:59:55   Today_Hour12_BatIn_01 2900 Wh
     2025-02-02 11:59:55   Today_Hour12_BatOut_01 200 Wh
     2025-02-02 11:59:55   Today_Hour12_GridConsumption 1 Wh
     2025-02-02 11:59:55   Today_Hour12_GridFeedIn 0 Wh
     2025-02-02 11:59:55   Today_Hour12_PVforecast 4392 Wh
     2025-02-02 11:59:55   Today_Hour12_PVreal 0 Wh
     2025-02-02 12:59:54   Today_Hour13_BatIn_01 3900 Wh
     2025-02-02 12:59:54   Today_Hour13_BatOut_01 0 Wh
     2025-02-02 12:59:54   Today_Hour13_GridConsumption 0 Wh
     2025-02-02 12:59:54   Today_Hour13_GridFeedIn 0 Wh
     2025-02-02 12:59:54   Today_Hour13_PVforecast 4000 Wh
     2025-02-02 12:59:54   Today_Hour13_PVreal 300 Wh
     2025-02-02 13:59:54   Today_Hour14_BatIn_01 100 Wh
     2025-02-02 13:59:54   Today_Hour14_BatOut_01 0 Wh
     2025-02-02 13:59:54   Today_Hour14_GridConsumption 0 Wh
     2025-02-02 13:59:54   Today_Hour14_GridFeedIn 3 Wh
     2025-02-02 13:59:54   Today_Hour14_PVforecast 6415 Wh
     2025-02-02 13:59:54   Today_Hour14_PVreal 3200 Wh
     2025-02-02 14:59:54   Today_Hour15_BatIn_01 0 Wh
     2025-02-02 14:59:54   Today_Hour15_BatOut_01 0 Wh
     2025-02-02 14:59:54   Today_Hour15_GridConsumption 0 Wh
     2025-02-02 14:59:54   Today_Hour15_GridFeedIn 3 Wh
     2025-02-02 14:59:54   Today_Hour15_PVforecast 5629 Wh
     2025-02-02 14:59:54   Today_Hour15_PVreal 2700 Wh
     2025-02-02 15:59:54   Today_Hour16_BatIn_01 300 Wh
     2025-02-02 15:59:54   Today_Hour16_BatOut_01 300 Wh
     2025-02-02 15:59:54   Today_Hour16_GridConsumption 0 Wh
     2025-02-02 15:59:54   Today_Hour16_GridFeedIn 1 Wh
     2025-02-02 15:59:54   Today_Hour16_PVforecast 3958 Wh
     2025-02-02 15:59:54   Today_Hour16_PVreal 900 Wh
     2025-02-02 16:31:24   Today_Hour17_BatIn_01 100 Wh
     2025-02-02 16:31:24   Today_Hour17_BatOut_01 0 Wh
     2025-02-02 16:31:24   Today_Hour17_GridConsumption 0 Wh
     2025-02-02 16:31:24   Today_Hour17_GridFeedIn 0 Wh
     2025-02-02 16:31:24   Today_Hour17_PVforecast 945 Wh
     2025-02-02 16:31:24   Today_Hour17_PVreal 500 Wh
     2025-02-02 16:31:24   Today_Hour18_PVforecast 59 Wh
     2025-02-02 16:31:24   Today_MaxPVforecast 6415 Wh
     2025-02-02 16:31:24   Today_MaxPVforecastTime 2025-02-02 13:00:00
     2025-02-02 16:31:24   Today_PVforecast 29450 Wh
     2025-02-02 16:31:24   Today_PVreal    7600 Wh
     2025-02-02 16:31:24   Today_SunRise   08:06
     2025-02-02 16:31:24   Today_SunSet    17:24
     2025-02-02 16:31:24   Tomorrow_ConsumptionForecast 809 Wh
     2025-02-02 16:31:24   Tomorrow_PVforecast 18246 Wh
     2025-02-02 16:31:24   Tomorrow_SunRise 08:04
     2025-02-02 16:31:24   Tomorrow_SunSet 17:26
     2025-02-02 16:31:24   consumer01      name='MQTT2_ShellyPlug06' state='off' mode='can' planningstate='interrupted' remainLockTime='180'
     2025-02-02 16:31:24   consumer01_currentPower 0 W
     2025-02-02 16:31:24   consumer01_planned_start 02.02.2025 10:00:04
     2025-02-02 16:31:24   consumer01_planned_stop 02.02.2025 17:24:00
     2025-02-02 16:31:04   nextCycletime   16:32:14
     2025-02-02 16:22:45   nextRadiationAPICall nach 02.02.2025 16:37:45
     2025-02-02 13:00:04   pvCorrectionFactor_13 0.50 (automatic - old factor: 1.00, AI result used, Sun Alt range: 25, Cloud range: 20, Days in range: 1)
     2025-02-02 14:00:04   pvCorrectionFactor_14 0.50 (automatic - old factor: 1.00, Sun Alt range: 20, Cloud range: 25, Days in range: 1)
     2025-02-02 15:00:02   pvCorrectionFactor_15 0.48 (automatic - old factor: 1.00, Sun Alt range: 20, Cloud range: 15, Days in range: 1)
     2025-02-02 16:00:04   pvCorrectionFactor_16 0.23 (automatic - old factor: 1.00, Sun Alt range: 15, Cloud range: 30, Days in range: 1)
     2025-02-02 16:31:24   pvCorrectionFactor_Auto on_complex_ai
     2024-09-27 13:55:33   setupStringAzimuth Hauptdach=20 Flachdach=20
     2024-09-27 13:55:47   setupStringDeclination Hauptdach=30 Flachdach=15
     2025-02-02 16:31:25   state           updated
Attributes:
   DbLogExclude .*
   affectConsForecastIdentWeekdays 0
   affectConsForecastInPlanning 0
   comment    update per "wget -qO /opt/fhem/FHEM/76_SolarForecast.pm https://svn.fhem.de/fhem/trunk/fhem/contrib/DS_Starter/76_SolarForecast.pm"
   consumer01 MQTT2_ShellyPlug06 /
    type=other power=260 /
switchdev=MQTT2_ShellyPlug06 /
mode=can /
icon=Ventilator_fett /
mintime=SunPath /
on=on /
off=off /
interruptable=1 /
notbefore=10:00 /
notafter=20 /
auto=1 /
locktime=600:600 /
pcurr=relay_0_power:W:30 /
#etotal=relay_0_energy_Wh:Wh
   consumerLegend icon_top
   consumerLink 1
   ctrlBatSocManagement01 lowSoc=10 upSoC=50 maxSoC=98 careCycle=20
   ctrlInterval 70
   disable    0
   event-on-change-reading .*
   graphicHistoryHour 10
   graphicHourCount 24
   graphicLayoutType double
   graphicShowDiff top
   group      Energy Meter
   room       PV
   setupBatteryDev01 SH10rt pin=Battery_power_charge:W /
pout=Battery_power_discharge:W /
intotal=Total_battery_charge_energy_from_PV:kWh /
outtotal=Total_battery_discharge_energy:kWh /
cap=9600 /
charge=Battery_Level
   setupInverterDev01 SH10rt /
    pv=Total_DC_Power:W /
etotal=Total_Export_Energy_from_PV:kWh /
capacity=10000 /
strings=Hauptdach,Flachdach
   setupInverterStrings Hauptdach,Flachdach
   setupMeterDev tasmota_Smartmeter /
       gcon=M60_Power:W /
   contotal=M60_E_in:Wh /
   gfeedin=-gcon /
   feedtotal=M60_E_out:Wh /
   conprice=0.35:€ /
   feedprice=0.079398:€ /
   asynchron=1
   setupRadiationAPI OpenMeteoDWD-API
   setupStringPeak Hauptdach=6.1 Flachdach=6.1
   setupWeatherDev1 DWD
   stateFormat Current_PV
   verbose    2
FHEM 6.1 Synology DS918+: HM-CFG-USB,nanoCUL, CUL, 30x HM, alexa-fhem, harmony, Zigbee über MQTT, Wechselrichter Sungrow SH10RT ...

DS_Starter

Hallo Christoph,

so 100%ig nachvollziehen kann ich deinen Issue nicht, kommt bei mir nicht vor und "dürfte" auch nicht vorkommen.

Wie dem auch sei, ich habe die Stelle etwas umgebaut und in mein contrib geladen.
Zieh sie dir bitte, führe ein FHEM Restart durch und berichte ob die Warnungen weg sind.
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

#1881
Hallo Holger,

ich habe aus den Readings hier die für den Fall wesentlichen Teile herausgezogen:

Zitat2025-02-02 08:59:55  Today_Hour09_PVforecast 152 Wh
    2025-02-02 08:59:55  Today_Hour09_PVreal 0 Wh

    2025-02-02 09:59:55  Today_Hour10_PVforecast 1400 Wh
    2025-02-02 09:59:55  Today_Hour10_PVreal 0 Wh

    2025-02-02 10:59:55  Today_Hour11_PVforecast 2500 Wh
    2025-02-02 10:59:55  Today_Hour11_PVreal 0 Wh

    2025-02-02 11:59:55  Today_Hour12_PVforecast 4392 Wh
    2025-02-02 11:59:55  Today_Hour12_PVreal 0 Wh

    2025-02-02 12:59:54  Today_Hour13_PVforecast 4000 Wh
    2025-02-02 12:59:54  Today_Hour13_PVreal 300 Wh

    2025-02-02 13:59:54  Today_Hour14_PVforecast 6415 Wh
    2025-02-02 13:59:54  Today_Hour14_PVreal 3200 Wh

    2025-02-02 14:59:54  Today_Hour15_PVforecast 5629 Wh
    2025-02-02 14:59:54  Today_Hour15_PVreal 2700 Wh

    2025-02-02 15:59:54  Today_Hour16_PVforecast 3958 Wh
    2025-02-02 15:59:54  Today_Hour16_PVreal 900 Wh

    2025-02-02 16:31:24  Today_Hour17_PVforecast 945 Wh
    2025-02-02 16:31:24  Today_Hour17_PVreal 500 Wh
   
    2025-02-02 16:31:24  Today_Hour18_PVforecast 59 Wh

Man sieht dass bis 12:00 keine erzeugte Energie vom WR gemeldet wird. Deswegen wird in den Balken nichts dargestellt. Zuständig für die Lieferung ist das Reading im Schlüssel:

ZitatsetupInverterDev01 SH10rt pv=Total_DC_Power:W etotal=Total_Export_Energy_from_PV:kWh capacity=10000 strings=Hauptdach,Flachdach

Welche Änderungen es zwischen den Stunden gab, sieht man mit "get ... pvHistory 02" (für heute).
Hier ein Beispiel für die Stunden 10 (9:00 - 9:59) und 11 (10:00 - 10:59).
Wichtig ist hier der Key etotali01 für den ersten Inverter. Die Differenz zwischen den Werten beider Stunden ist die in der Stunde erzeugte Energie (hier 380). Diese 380 Wh findest du auch im Key pvrl01 als PVReal für diese Stunde. Das Modul rechnet intern immer mit Wh, kWh werden vorher umgerechnet.

Zitat10 => pvfc: 365, pvrl: 530, pvrlvd: 1, rad1h: -
            etotali01: 63364714, etotali02: 3044110, etotali03: -
            pvrl01: 380, pvrl02: 150, pvrl03: -
            etotalp01: -, etotalp02: -, etotalp03: -
            pprl01: -, pprl02: -, pprl03: -
            confc: 574, con: 518, gcons: 22, conprice: 0.2958
            gfeedin: 1, feedprice: 0.1269
            DoN: 1, sunaz: 137, sunalt: 12
            batintotal01: 4083720.6324986, batintotal02: -, batintotal03: -
            batouttotal01: 3954638.32557054, batouttotal02: -, batouttotal03: -
            batsoc01: 11, batsoc02: -, batsoc03: -
            batin01: 80, batin02: -, batin03: -
            batout01: 47, batout02: -, batout03: -
            wid: 2, wcc: 80, rr1c: 0.00, pvcorrf: 0.94/0.94 temp: 0.40,
            csmt01: 1050.57, csme01: 28.8499999999999, minutescsm01: 28
            minutescsm02: 0
            csmt03: 2423.95, csme03: 0, minutescsm03: 0
            csmt04: 1743460.8, csme04: 101.40000000014, minutescsm04: 60
            csmt05: 922.45, csme05: 0, minutescsm05: 0
            csmt06: 1465.88, csme06: 3.45000000000005, minutescsm06: 22
            csmt07: 0, csme07: 0, minutescsm07: 0
            csmt08: 42170, csme08: 10, minutescsm08: 60
            csmt09: 152026.7, csme09: 0, minutescsm09: 0
            minutescsm10: 0
           
      11 => pvfc: 2966, pvrl: 1862, pvrlvd: 1, rad1h: -
            etotali01: 63365094, etotali02: 3044260, etotali03: -
            pvrl01: 1392, pvrl02: 470, pvrl03: -
            etotalp01: -, etotalp02: -, etotalp03: -
            pprl01: -, pprl02: -, pprl03: -
            confc: 774, con: 609, gcons: 25, conprice: 0.2958
            gfeedin: 4, feedprice: 0.1269
            DoN: 1, sunaz: 151, sunalt: 18
            batintotal01: 4083802.08123336, batintotal02: -, batintotal03: -
            batouttotal01: 3954686.11509513, batouttotal02: -, batouttotal03: -
            batsoc01: 16, batsoc02: -, batsoc03: -
            batin01: 1279, batin02: -, batin03: -
            batout01: 0, batout02: -, batout03: -
            wid: 3, wcc: 80, rr1c: 0.00, pvcorrf: 0.98/0.98 temp: 1.40,
            csmt01: 1076.42, csme01: 25.8500000000001, minutescsm01: 24
            minutescsm02: 0
            csmt03: 2423.95, csme03: 0, minutescsm03: 0
            csmt04: 1743563.3, csme04: 102.5, minutescsm04: 60
            csmt05: 922.45, csme05: 0, minutescsm05: 0
            csmt06: 1475.48, csme06: 9.43000000000006, minutescsm06: 60
            csmt07: 0, csme07: 0, minutescsm07: 0
            csmt08: 42170, csme08: 0, minutescsm08: 60
            csmt09: 152043.3, csme09: 16.5999999999767, minutescsm09: 21
            minutescsm10: 0

D.h. wenn du bei dir dort keine Differenzen findest, liegt es sehr wahrscheinlich am Input deines Readings


etotal=Total_Export_Energy_from_PV:kWh
welches sich in den ersten Stunden nicht ändert und danach auch nur wenig.
Du kannst mit dem Attr

 
ctrlDebug=collectData
die Datensammlung verfolgen (keider viel Daten im Log). Du siehst was von deinem Inverter/Reading geliefert wird:

Zitat2025.02.02 19:10:10.558 1: SolCast DEBUG> collect Inverter 01 data - device: STP_5000, delivery: default =>
2025.02.02 19:10:10.558 1: SolCast DEBUG> pv: 0 W, etotal: 63378810 Wh

Dieser Wert muß beständig hochzählen bei PV Erzeugung. Wenn nicht, das Reading mal checken was da mitgeteilt 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

caldir65

Zitat von: DS_Starter am 02 Februar 2025, 18:52:22Hallo Christoph,

so 100%ig nachvollziehen kann ich deinen Issue nicht, kommt bei mir nicht vor und "dürfte" auch nicht vorkommen.

Wie dem auch sei, ich habe die Stelle etwas umgebaut und in mein contrib geladen.
Zieh sie dir bitte, führe ein FHEM Restart durch und berichte ob die Warnungen weg sind.

Moin,

muß dich leider entäuschen - der Fehler kommt etwa in Minute 5 nach dem Neustart ...

2025.02.02 20:40:42.357 3: CUL_HM set wz_Wohnzimmer_Heizung_Climate statusRequest noArg
2025.02.02 20:43:43.764 1: PERL WARNING: Argument "20:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.764 1: PERL WARNING: Argument "21:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.764 1: PERL WARNING: Argument "06:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.765 1: PERL WARNING: Argument "07:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.765 1: PERL WARNING: Argument "08:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.765 1: PERL WARNING: Argument "09:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.765 1: PERL WARNING: Argument "10:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.765 1: PERL WARNING: Argument "11:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.765 1: PERL WARNING: Argument "12:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.765 1: PERL WARNING: Argument "13:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.766 1: PERL WARNING: Argument "14:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.766 1: PERL WARNING: Argument "15:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.766 1: PERL WARNING: Argument "22:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.766 1: PERL WARNING: Argument "16:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.766 1: PERL WARNING: Argument "17:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.766 1: PERL WARNING: Argument "18:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.766 1: PERL WARNING: Argument "19:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.767 1: PERL WARNING: Argument "23:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.767 1: PERL WARNING: Argument "00:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.767 1: PERL WARNING: Argument "01:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.767 1: PERL WARNING: Argument "02:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.767 1: PERL WARNING: Argument "03:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.767 1: PERL WARNING: Argument "04:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.
2025.02.02 20:43:43.768 1: PERL WARNING: Argument "05:00" isn't numeric in addition (+) at ./FHEM/76_SolarForecast.pm line 15239.

Gruß Christoph
Alte Techniker-Regel: "kaum macht man es richtig, funktioniert es auch"
------
Dell Wyse5070 ThinClient 16GBRam, 128GB SSD, Lubuntu 24.04.01LTS, fhem (aktuell), debmatic, Homematic-Devs, ConBee II und deConz, viele Shellys, Rademacher, NextCloud-Anbindung, FullyKioskBrowser+FUIP uvm.

DS_Starter

Danke für die Info. Ich habe noch eine Idee ...
Kommt gleich.
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

Ich vermute jetzt du hast das Attr graphicHourStyle=:00 gesetzt?
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

caldir65

Alte Techniker-Regel: "kaum macht man es richtig, funktioniert es auch"
------
Dell Wyse5070 ThinClient 16GBRam, 128GB SSD, Lubuntu 24.04.01LTS, fhem (aktuell), debmatic, Homematic-Devs, ConBee II und deConz, viele Shellys, Rademacher, NextCloud-Anbindung, FullyKioskBrowser+FUIP uvm.

DS_Starter

#1886
So, jetzt nochmal aus dem contrib testen bitte.

Edit: war nur die halbe Wahrheit. Habe soeben nochmal im contrib upgedated.
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

caldir65

Jetzt sieht es gut aus ... ich werde noch einmal ein Auge drauf halten ...
Alte Techniker-Regel: "kaum macht man es richtig, funktioniert es auch"
------
Dell Wyse5070 ThinClient 16GBRam, 128GB SSD, Lubuntu 24.04.01LTS, fhem (aktuell), debmatic, Homematic-Devs, ConBee II und deConz, viele Shellys, Rademacher, NextCloud-Anbindung, FullyKioskBrowser+FUIP uvm.

DS_Starter

Danke für die Tests. Habe noch etwas geprüft. Passt in meinen Augen und ich checke den Fix ein. Ist dann morgen früh im Update.

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

holgers

Hallo Heiko,

extrem cool 8) wie ausführlich du mir geantwortet hast (https://forum.fhem.de/index.php?msg=1332712), da gibt's was in die Kaffeekasse.

Tatsächlich hatte ich ein Reading benutzt, das ungeeignet war: Statt "Total_PV_Generation" hatte ich "Total_export_energy_from_PV" genutzt, dort wird aber immer die in die Batterie gespeicherte Energie (von der gesamt erzeugten) abgezogen. Daher war auch vormittags alles 0, da wurde die Batterie geladen ...

Deine Ausführungen haben mich dann schnell auf die richtige Fährte gebracht, nochmals danke.

Holger
FHEM 6.1 Synology DS918+: HM-CFG-USB,nanoCUL, CUL, 30x HM, alexa-fhem, harmony, Zigbee über MQTT, Wechselrichter Sungrow SH10RT ...