76_SolarForecast - Informationen/Ideen zu Weiterentwicklung und Support

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

Vorheriges Thema - Nächstes Thema

Dirk070

Zitat von: DS_Starter am 17 Februar 2025, 09:54:15Ich glaube das ist nur ein Anzeigeproblem.

1. zeige uns bitte noch ein komplettes List vom SF-Device
2. stelle das Attr graphicEnergyUnit auf Wh

Der Netzbezug liegt bei 1,5 - 2 kWh pro Stunde. Das könnte in der Grafik wegen der Größenverhältnisse untergehen.

Hier das List:

define PV_Forecast SolarForecast
attr PV_Forecast consumer01 e3dc_s10Pro:Wallbox type=noSchedule power=22000 icon=wallbox pcurr=Wallbox_TotalPower:W etotal=Wallbox_TotalEnergy:Wh noshow=2 exconfc=1
attr PV_Forecast disable 0
attr PV_Forecast event-on-change-reading .*
attr PV_Forecast graphicBeam3Content consumptionForecast
attr PV_Forecast graphicBeam4Color FF1F78
attr PV_Forecast graphicBeam4Content consumption
attr PV_Forecast graphicEnergyUnit kWh
attr PV_Forecast graphicHistoryHour 11
attr PV_Forecast graphicShowDiff bottom
attr PV_Forecast graphicShowNight 1
attr PV_Forecast room PV
attr PV_Forecast setupBatteryDev01 e3dc_s10Pro pin=Battery_Power:W pout=-pin cap=13110 charge=Battery_SOC
attr PV_Forecast setupInverterDev01 e3dc_s10Pro pv=Solar_Power:W etotal=PVI_Energy_Total:Wh capacity=12000 strings=NW,SO limit=70
attr PV_Forecast setupInverterStrings NW,SO
attr PV_Forecast setupMeterDev e3dc_s10Pro gcon=Grid_Power_Out:W contotal=Grid_Today_EnergyOut:kWh gfeedin=Grid_Power_In:W feedtotal=Grid_Today_EnergyIn:kWh
attr PV_Forecast setupRadiationAPI OpenMeteoDWD-API
attr PV_Forecast setupStringPeak NW=5.4 SO=3.24
attr PV_Forecast setupWeatherDev1 OpenMeteoDWD-API
attr PV_Forecast verbose 2
#   FUUID      67ab5414-f33f-ae8f-4a76-de2d24ddb828f4ea
#   FVERSION   76_SolarForecast.pm:v1.45.6-s29652/2025-02-12
#   LCACHEFILE last write time: 10:48:07 whole Operating Memory
#   MODE       Automatic / Event-controlled - next planned Cycletime: 10:55:05
#   MODEL      OpenMeteoDWDAPI
#   NAME       PV_Forecast
#   NOTIFYDEV  e3dc_s10Pro,e3dc_s10Pro:Wallbox
#   NR         337
#   NTFY_ORDER 50-PV_Forecast
#   STATE      updated
#   TYPE       SolarForecast
#   WEATHERMODEL OpenMeteoDWDAPI
#   eventCount 11774
#   HELPER:
#     FW         WEB
#     PACKAGE    FHEM::SolarForecast
#     S10DONE    1
#     SPGDETAIL 
#     SPGDEV     PV_Forecast
#     SPGROOM   
#     VERSION    1.45.6
#     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     14059
#       finishFn   FHEM::SolarForecast::_processMessageFile
#       fn         FHEM::SolarForecast::_retrieveMessageFile
#       loglevel   3
#       pid        DEAD:27243
#       telnet     telnetForBlockingFn_1739459812.62355_127.0.0.1_44344
#       terminated 1
#       timeout    30
#       abortArg:
#       arg:
#         block      1
#         name       PV_Forecast
#         tsnext     1739792277.53391
#   OLDREADINGS:
#   READINGS:
#     2025-02-17 10:53:55   Battery_ChargeRecommended_01 1
#     2025-02-17 10:53:55   Current_AutarkyRate 100 %
#     2025-02-17 10:53:55   Current_BatCharge_01 32 %
#     2025-02-17 10:53:55   Current_Consumption 1798 W
#     2025-02-17 10:53:55   Current_GridConsumption 0 W
#     2025-02-17 10:53:55   Current_GridFeedIn 5 W
#     2025-02-17 10:53:55   Current_PV      2841 W
#     2025-02-17 10:53:55   Current_PowerBatIn_01 1038 W
#     2025-02-17 10:53:55   Current_PowerBatOut_01 0 W
#     2025-02-17 10:53:55   Current_SelfConsumption 1798 W
#     2025-02-17 10:53:55   Current_SelfConsumptionRate 63 %
#     2025-02-17 10:53:55   Current_Surplus 1043 W
#     2025-02-17 10:00:00   LastHourGridconsumptionReal 0 Wh
#     2025-02-17 10:00:00   LastHourPVforecast 1964 Wh
#     2025-02-17 10:00:00   LastHourPVreal  2025 Wh
#     2025-02-17 10:53:55   NextHours_Sum01_PVforecast 2604 Wh
#     2025-02-17 10:53:55   NextHours_Sum02_PVforecast 5324 Wh
#     2025-02-17 10:53:55   NextHours_Sum03_PVforecast 8104 Wh
#     2025-02-17 10:53:55   NextHours_Sum04_ConsumptionForecast 9573 Wh
#     2025-02-17 10:53:55   NextHours_Sum04_PVforecast 10634 Wh
#     2025-02-17 10:53:55   RestOfDayConsumptionForecast 16610 Wh
#     2025-02-17 10:53:55   RestOfDayPVforecast 14041 Wh
#     2025-02-17 00:59:49   Today_Hour01_BatIn_01 0 Wh
#     2025-02-17 00:59:49   Today_Hour01_BatOut_01 0 Wh
#     2025-02-17 00:59:49   Today_Hour01_GridConsumption 0 Wh
#     2025-02-17 00:02:52   Today_Hour01_GridFeedIn 0 Wh
#     2025-02-17 00:59:49   Today_Hour01_PVreal 0 Wh
#     2025-02-17 01:59:49   Today_Hour02_BatIn_01 0 Wh
#     2025-02-17 01:59:49   Today_Hour02_BatOut_01 0 Wh
#     2025-02-17 01:59:49   Today_Hour02_GridConsumption 0 Wh
#     2025-02-17 01:59:49   Today_Hour02_PVreal 0 Wh
#     2025-02-17 02:59:49   Today_Hour03_BatIn_01 0 Wh
#     2025-02-17 02:59:49   Today_Hour03_BatOut_01 0 Wh
#     2025-02-17 02:59:49   Today_Hour03_GridConsumption 0 Wh
#     2025-02-17 02:59:49   Today_Hour03_PVreal 0 Wh
#     2025-02-17 03:59:49   Today_Hour04_BatIn_01 0 Wh
#     2025-02-17 03:59:49   Today_Hour04_BatOut_01 0 Wh
#     2025-02-17 03:59:49   Today_Hour04_GridConsumption 0 Wh
#     2025-02-17 03:59:49   Today_Hour04_PVreal 0 Wh
#     2025-02-17 04:59:49   Today_Hour05_BatIn_01 0 Wh
#     2025-02-17 04:59:49   Today_Hour05_BatOut_01 0 Wh
#     2025-02-17 04:59:49   Today_Hour05_GridConsumption 0 Wh
#     2025-02-17 04:59:49   Today_Hour05_PVreal 0 Wh
#     2025-02-17 05:59:53   Today_Hour06_BatIn_01 0 Wh
#     2025-02-17 05:59:53   Today_Hour06_BatOut_01 0 Wh
#     2025-02-17 05:59:53   Today_Hour06_GridConsumption 0 Wh
#     2025-02-17 05:59:53   Today_Hour06_PVreal 0 Wh
#     2025-02-17 06:59:49   Today_Hour07_BatIn_01 0 Wh
#     2025-02-17 06:59:49   Today_Hour07_BatOut_01 0 Wh
#     2025-02-17 06:59:49   Today_Hour07_GridConsumption 0 Wh
#     2025-02-17 06:59:49   Today_Hour07_PVreal 0 Wh
#     2025-02-17 07:59:49   Today_Hour08_BatIn_01 0 Wh
#     2025-02-17 07:59:49   Today_Hour08_BatOut_01 0 Wh
#     2025-02-17 07:59:49   Today_Hour08_GridConsumption 0 Wh
#     2025-02-17 07:59:49   Today_Hour08_PVforecast 14 Wh
#     2025-02-17 07:59:49   Today_Hour08_PVreal 7 Wh
#     2025-02-17 08:59:50   Today_Hour09_BatIn_01 0 Wh
#     2025-02-17 08:59:50   Today_Hour09_BatOut_01 0 Wh
#     2025-02-17 08:59:50   Today_Hour09_GridConsumption 0 Wh
#     2025-02-17 08:59:50   Today_Hour09_GridFeedIn 20 Wh
#     2025-02-17 08:59:50   Today_Hour09_PVforecast 682 Wh
#     2025-02-17 08:59:50   Today_Hour09_PVreal 846 Wh
#     2025-02-17 09:59:51   Today_Hour10_BatIn_01 0 Wh
#     2025-02-17 09:59:51   Today_Hour10_BatOut_01 0 Wh
#     2025-02-17 09:59:51   Today_Hour10_GridConsumption 0 Wh
#     2025-02-17 09:59:51   Today_Hour10_GridFeedIn 10 Wh
#     2025-02-17 09:59:51   Today_Hour10_PVforecast 1964 Wh
#     2025-02-17 09:59:51   Today_Hour10_PVreal 2025 Wh
#     2025-02-17 10:53:55   Today_Hour11_BatIn_01 0 Wh
#     2025-02-17 10:53:55   Today_Hour11_BatOut_01 0 Wh
#     2025-02-17 10:53:55   Today_Hour11_GridConsumption 0 Wh
#     2025-02-17 10:53:55   Today_Hour11_GridFeedIn 10 Wh
#     2025-02-17 10:53:55   Today_Hour11_PVforecast 2305 Wh
#     2025-02-17 10:53:55   Today_Hour11_PVreal 2393 Wh
#     2025-02-17 10:53:55   Today_Hour12_PVforecast 2638 Wh
#     2025-02-17 10:53:55   Today_Hour13_PVforecast 2729 Wh
#     2025-02-17 10:53:55   Today_Hour14_PVforecast 2785 Wh
#     2025-02-17 10:53:55   Today_Hour15_PVforecast 2502 Wh
#     2025-02-17 10:53:55   Today_Hour16_PVforecast 1906 Wh
#     2025-02-17 10:53:55   Today_Hour17_PVforecast 1060 Wh
#     2025-02-17 10:53:55   Today_Hour18_PVforecast 191 Wh
#     2025-02-17 10:53:55   Today_MaxPVforecast 2785 Wh
#     2025-02-17 10:53:55   Today_MaxPVforecastTime 2025-02-17 13:00:00
#     2025-02-17 10:53:55   Today_PVforecast 18776 Wh
#     2025-02-17 10:53:55   Today_PVreal    5271 Wh
#     2025-02-17 10:53:55   Today_SunRise   07:42
#     2025-02-17 10:53:55   Today_SunSet    17:52
#     2025-02-17 10:53:55   Tomorrow_ConsumptionForecast -77958 Wh
#     2025-02-17 10:53:55   Tomorrow_PVforecast 18970 Wh
#     2025-02-17 10:53:55   Tomorrow_SunRise 07:40
#     2025-02-17 10:53:55   Tomorrow_SunSet 17:53
#     2025-02-17 10:53:55   consumer01      name='Wallbox' state='unknown' mode='can' planningstate='noSchedule'
#     2025-02-17 10:53:55   consumer01_currentPower 0 W
#     2025-02-17 10:53:55   nextCycletime   10:55:05
#     2025-02-17 10:52:46   nextRadiationAPICall nach 17.02.2025 11:07:46
#     2025-02-17 08:00:03   pvCorrectionFactor_08 0.50 (automatic - old factor: 1.00, Sun Alt range: 0, Cloud range: 15, Days in range: 1)
#     2025-02-17 09:00:04   pvCorrectionFactor_09 1.24 (automatic - old factor: 1.00, Sun Alt range: 5, Cloud range: 00, Days in range: 1)
#     2025-02-17 10:00:04   pvCorrectionFactor_10 1.10 (automatic - old factor: 1.18, Sun Alt range: 15, Cloud range: 00, Days in range: 2)
#     2025-02-17 10:53:55   pvCorrectionFactor_Auto on_complex
#     2025-02-12 16:38:30   setupStringAzimuth NW=144 SO=-36
#     2025-02-12 16:39:32   setupStringDeclination NW=30 SO=30
#     2025-02-17 10:53:56   state           updated
#   hmccu:
#
setstate PV_Forecast updated
setstate PV_Forecast 2025-02-16 20:50:06 .associatedWith e3dc_s10Pro e3dc_s10Pro:Wallbox
setstate PV_Forecast 2025-02-17 10:53:55 .lastupdateForecastValues 1739786035
setstate PV_Forecast 2025-02-17 10:53:55 .pvCorrectionFactor_Auto_Soll on_complex
setstate PV_Forecast 2025-02-17 01:00:02 .signaldone_01 done
setstate PV_Forecast 2025-02-17 02:00:04 .signaldone_02 done
setstate PV_Forecast 2025-02-17 03:00:04 .signaldone_03 done
setstate PV_Forecast 2025-02-17 04:00:04 .signaldone_04 done
setstate PV_Forecast 2025-02-17 05:00:04 .signaldone_05 done
setstate PV_Forecast 2025-02-17 06:00:04 .signaldone_06 done
setstate PV_Forecast 2025-02-17 07:00:04 .signaldone_07 done
setstate PV_Forecast 2025-02-17 08:00:03 .signaldone_08 done
setstate PV_Forecast 2025-02-17 09:00:04 .signaldone_09 done
setstate PV_Forecast 2025-02-17 10:00:04 .signaldone_10 done
setstate PV_Forecast 2025-02-17 00:00:04 .signaldone_24 done
setstate PV_Forecast 2025-02-17 10:53:55 Battery_ChargeRecommended_01 1
setstate PV_Forecast 2025-02-17 10:53:55 Current_AutarkyRate 100 %
setstate PV_Forecast 2025-02-17 10:53:55 Current_BatCharge_01 32 %
setstate PV_Forecast 2025-02-17 10:53:55 Current_Consumption 1798 W
setstate PV_Forecast 2025-02-17 10:53:55 Current_GridConsumption 0 W
setstate PV_Forecast 2025-02-17 10:53:55 Current_GridFeedIn 5 W
setstate PV_Forecast 2025-02-17 10:53:55 Current_PV 2841 W
setstate PV_Forecast 2025-02-17 10:53:55 Current_PowerBatIn_01 1038 W
setstate PV_Forecast 2025-02-17 10:53:55 Current_PowerBatOut_01 0 W
setstate PV_Forecast 2025-02-17 10:53:55 Current_SelfConsumption 1798 W
setstate PV_Forecast 2025-02-17 10:53:55 Current_SelfConsumptionRate 63 %
setstate PV_Forecast 2025-02-17 10:53:55 Current_Surplus 1043 W
setstate PV_Forecast 2025-02-17 10:00:00 LastHourGridconsumptionReal 0 Wh
setstate PV_Forecast 2025-02-17 10:00:00 LastHourPVforecast 1964 Wh
setstate PV_Forecast 2025-02-17 10:00:00 LastHourPVreal 2025 Wh
setstate PV_Forecast 2025-02-17 10:53:55 NextHours_Sum01_PVforecast 2604 Wh
setstate PV_Forecast 2025-02-17 10:53:55 NextHours_Sum02_PVforecast 5324 Wh
setstate PV_Forecast 2025-02-17 10:53:55 NextHours_Sum03_PVforecast 8104 Wh
setstate PV_Forecast 2025-02-17 10:53:55 NextHours_Sum04_ConsumptionForecast 9573 Wh
setstate PV_Forecast 2025-02-17 10:53:55 NextHours_Sum04_PVforecast 10634 Wh
setstate PV_Forecast 2025-02-17 10:53:55 RestOfDayConsumptionForecast 16610 Wh
setstate PV_Forecast 2025-02-17 10:53:55 RestOfDayPVforecast 14041 Wh
setstate PV_Forecast 2025-02-17 00:59:49 Today_Hour01_BatIn_01 0 Wh
setstate PV_Forecast 2025-02-17 00:59:49 Today_Hour01_BatOut_01 0 Wh
setstate PV_Forecast 2025-02-17 00:59:49 Today_Hour01_GridConsumption 0 Wh
setstate PV_Forecast 2025-02-17 00:02:52 Today_Hour01_GridFeedIn 0 Wh
setstate PV_Forecast 2025-02-17 00:59:49 Today_Hour01_PVreal 0 Wh
setstate PV_Forecast 2025-02-17 01:59:49 Today_Hour02_BatIn_01 0 Wh
setstate PV_Forecast 2025-02-17 01:59:49 Today_Hour02_BatOut_01 0 Wh
setstate PV_Forecast 2025-02-17 01:59:49 Today_Hour02_GridConsumption 0 Wh
setstate PV_Forecast 2025-02-17 01:59:49 Today_Hour02_PVreal 0 Wh
setstate PV_Forecast 2025-02-17 02:59:49 Today_Hour03_BatIn_01 0 Wh
setstate PV_Forecast 2025-02-17 02:59:49 Today_Hour03_BatOut_01 0 Wh
setstate PV_Forecast 2025-02-17 02:59:49 Today_Hour03_GridConsumption 0 Wh
setstate PV_Forecast 2025-02-17 02:59:49 Today_Hour03_PVreal 0 Wh
setstate PV_Forecast 2025-02-17 03:59:49 Today_Hour04_BatIn_01 0 Wh
setstate PV_Forecast 2025-02-17 03:59:49 Today_Hour04_BatOut_01 0 Wh
setstate PV_Forecast 2025-02-17 03:59:49 Today_Hour04_GridConsumption 0 Wh
setstate PV_Forecast 2025-02-17 03:59:49 Today_Hour04_PVreal 0 Wh
setstate PV_Forecast 2025-02-17 04:59:49 Today_Hour05_BatIn_01 0 Wh
setstate PV_Forecast 2025-02-17 04:59:49 Today_Hour05_BatOut_01 0 Wh
setstate PV_Forecast 2025-02-17 04:59:49 Today_Hour05_GridConsumption 0 Wh
setstate PV_Forecast 2025-02-17 04:59:49 Today_Hour05_PVreal 0 Wh
setstate PV_Forecast 2025-02-17 05:59:53 Today_Hour06_BatIn_01 0 Wh
setstate PV_Forecast 2025-02-17 05:59:53 Today_Hour06_BatOut_01 0 Wh
setstate PV_Forecast 2025-02-17 05:59:53 Today_Hour06_GridConsumption 0 Wh
setstate PV_Forecast 2025-02-17 05:59:53 Today_Hour06_PVreal 0 Wh
setstate PV_Forecast 2025-02-17 06:59:49 Today_Hour07_BatIn_01 0 Wh
setstate PV_Forecast 2025-02-17 06:59:49 Today_Hour07_BatOut_01 0 Wh
setstate PV_Forecast 2025-02-17 06:59:49 Today_Hour07_GridConsumption 0 Wh
setstate PV_Forecast 2025-02-17 06:59:49 Today_Hour07_PVreal 0 Wh
setstate PV_Forecast 2025-02-17 07:59:49 Today_Hour08_BatIn_01 0 Wh
setstate PV_Forecast 2025-02-17 07:59:49 Today_Hour08_BatOut_01 0 Wh
setstate PV_Forecast 2025-02-17 07:59:49 Today_Hour08_GridConsumption 0 Wh
setstate PV_Forecast 2025-02-17 07:59:49 Today_Hour08_PVforecast 14 Wh
setstate PV_Forecast 2025-02-17 07:59:49 Today_Hour08_PVreal 7 Wh
setstate PV_Forecast 2025-02-17 08:59:50 Today_Hour09_BatIn_01 0 Wh
setstate PV_Forecast 2025-02-17 08:59:50 Today_Hour09_BatOut_01 0 Wh
setstate PV_Forecast 2025-02-17 08:59:50 Today_Hour09_GridConsumption 0 Wh
setstate PV_Forecast 2025-02-17 08:59:50 Today_Hour09_GridFeedIn 20 Wh
setstate PV_Forecast 2025-02-17 08:59:50 Today_Hour09_PVforecast 682 Wh
setstate PV_Forecast 2025-02-17 08:59:50 Today_Hour09_PVreal 846 Wh
setstate PV_Forecast 2025-02-17 09:59:51 Today_Hour10_BatIn_01 0 Wh
setstate PV_Forecast 2025-02-17 09:59:51 Today_Hour10_BatOut_01 0 Wh
setstate PV_Forecast 2025-02-17 09:59:51 Today_Hour10_GridConsumption 0 Wh
setstate PV_Forecast 2025-02-17 09:59:51 Today_Hour10_GridFeedIn 10 Wh
setstate PV_Forecast 2025-02-17 09:59:51 Today_Hour10_PVforecast 1964 Wh
setstate PV_Forecast 2025-02-17 09:59:51 Today_Hour10_PVreal 2025 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Today_Hour11_BatIn_01 0 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Today_Hour11_BatOut_01 0 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Today_Hour11_GridConsumption 0 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Today_Hour11_GridFeedIn 10 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Today_Hour11_PVforecast 2305 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Today_Hour11_PVreal 2393 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Today_Hour12_PVforecast 2638 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Today_Hour13_PVforecast 2729 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Today_Hour14_PVforecast 2785 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Today_Hour15_PVforecast 2502 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Today_Hour16_PVforecast 1906 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Today_Hour17_PVforecast 1060 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Today_Hour18_PVforecast 191 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Today_MaxPVforecast 2785 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Today_MaxPVforecastTime 2025-02-17 13:00:00
setstate PV_Forecast 2025-02-17 10:53:55 Today_PVforecast 18776 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Today_PVreal 5271 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Today_SunRise 07:42
setstate PV_Forecast 2025-02-17 10:53:55 Today_SunSet 17:52
setstate PV_Forecast 2025-02-17 10:53:55 Tomorrow_ConsumptionForecast -77958 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Tomorrow_PVforecast 18970 Wh
setstate PV_Forecast 2025-02-17 10:53:55 Tomorrow_SunRise 07:40
setstate PV_Forecast 2025-02-17 10:53:55 Tomorrow_SunSet 17:53
setstate PV_Forecast 2025-02-17 10:53:55 consumer01 name='Wallbox' state='unknown' mode='can' planningstate='noSchedule'
setstate PV_Forecast 2025-02-17 10:53:55 consumer01_currentPower 0 W
setstate PV_Forecast 2025-02-17 10:53:55 nextCycletime 10:55:05
setstate PV_Forecast 2025-02-17 10:52:46 nextRadiationAPICall nach 17.02.2025 11:07:46
setstate PV_Forecast 2025-02-17 08:00:03 pvCorrectionFactor_08 0.50 (automatic - old factor: 1.00, Sun Alt range: 0, Cloud range: 15, Days in range: 1)
setstate PV_Forecast 2025-02-17 09:00:04 pvCorrectionFactor_09 1.24 (automatic - old factor: 1.00, Sun Alt range: 5, Cloud range: 00, Days in range: 1)
setstate PV_Forecast 2025-02-17 10:00:04 pvCorrectionFactor_10 1.10 (automatic - old factor: 1.18, Sun Alt range: 15, Cloud range: 00, Days in range: 2)
setstate PV_Forecast 2025-02-17 10:53:55 pvCorrectionFactor_Auto on_complex
setstate PV_Forecast 2025-02-12 16:38:30 setupStringAzimuth NW=144 SO=-36
setstate PV_Forecast 2025-02-12 16:39:32 setupStringDeclination NW=30 SO=30
setstate PV_Forecast 2025-02-17 10:53:56 state updated


Dirk070

#1981
Hier mal der Header-Bereich mit dem Minus-Wert in der Prognose für morgen:
Du darfst diesen Dateianhang nicht ansehen.


Hier noch 2 Screenshots, einmal mit der Darstellung in kWh und einmal in Wh (siehe Dateiname).
Bis 6:00 Uhr gab es demnach keinen Verbrauch und auch die Werte um 7 oder 8 sind deutlich zu gering.

kWH:
Du darfst diesen Dateianhang nicht ansehen.

Wh:
Du darfst diesen Dateianhang nicht ansehen.

DS_Starter

ZitatBis 6:00 Uhr gab es demnach keinen Verbrauch und auch die Werte um 7 oder 8 sind deutlich zu gering.
Nicht Verbrauch, es geht um den Netzbezug, oder?

Kann es sein, dass die Einheit der Readings

contotal=Grid_Today_EnergyOut:kWh bzw feedtotal=Grid_Today_EnergyIn:kWh

nicht kWh sondern Wh sein müsste?

Ansonsten führe bitte ein "get ... pvCircular 99" aus und poste die Ausgabe.
Sie sieht etwa so aus:

99 => tdayDvtn: -, ydayDvtn: 26.22
      todayConsumption: 7962, feedintotal: 2639818.8, initdayfeedin: 2639800.2
      gridcontotal: 925395.7, initdaygcon: 925108.4
      initdaybatintot01: 4205688.9725021, initdaybatintot02: -, initdaybatintot03: -

Interessant ist hier initdaygcon.

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

Dirk070

#1983
Der Netzbezug ist um die Uhrzeit und zu dieser Jahreszeit auch unser Verbrauch  ;)
Der Akku ist bei 10% gesperrt (als Notstromreserve).

Die Werte sind im Device (Hauskraftwerk) kWh, das stimmt schon.

Hier die Ausgabe aus dem GET:

99 => tdayDvtn: -, ydayDvtn: -7.45
      todayConsumption: 7071, feedintotal: 40, initdayfeedin: 0
      gridcontotal: 11840, initdaygcon: 17140
      initdaybatintot01: 0, initdaybatintot02: -, initdaybatintot03: -
      initdaybatouttot01: 0, initdaybatouttot02: -, initdaybatouttot03: -
      batintot01: 0, batintot02: -, batintot03: -
      batouttot01: 0, batouttot02: -, batouttot03: -
      lastTsMaxSocRchd01: 1739375885, lastTsMaxSocRchd02: -, lastTsMaxSocRchd03: -
      nextTsMaxSocChge01: 1741103885, nextTsMaxSocChge02: -, nextTsMaxSocChge03: -
      days2care01: -, days2care02: -, days2care03: -
      runTimeTrainAI: -, aitrainLastFinishTs: -, aiRulesNumber: -
      attrInvChangedTs: 1739282920

Die 17,1 kWh initdaygcon Netzbezug (Summe gestern)  stimmen mit den Daten aus dem Hauskraftwerk überein.

al_ro

Zitat von: DS_Starter am 17 Februar 2025, 10:54:40Ich habe das Modul in meinem Contrib upgedatet und den Fehler (hoffentlich) beseitigt.
Du/ihr könnt die Datei in euer FHEM-Verzeichnis herunterladen und FHEM neu starten.

Danach bitte testen ob wieder i.O.

LG

Ich hatte das gleiche Problem - ist damit gelöst, danke!

joerg78

Zitat von: DS_Starter am 17 Februar 2025, 10:54:40Ich habe das Modul in meinem Contrib upgedatet und den Fehler (hoffentlich) beseitigt.
Du/ihr könnt die Datei in euer FHEM-Verzeichnis herunterladen und FHEM neu starten.

Danach bitte testen ob wieder i.O.

LG

Hab die neue Version runter geladen und läuft jetzt! Super! Danke!  :)

DS_Starter

#1986
@Dirk,

die Dinge werden klarer denke ich.

Es wird am Tagesanfang initdaygcon: 17140, d.h. der Stand 17140 Wh gemeldet.
Aktuell (MIttag) wurden aber nur gridcontotal: 11840, d.h. Stand 11840 Wh gemeldet.

Das bedeutet weniger als am Tagesanfang.
Für das Modul wären 0 am Tagesanfang kein Problem, aber das sieht mir nicht danach aus. Eher vermute ich dass der Zähler "irgendwann" wieder tiefer (bei 0?) beginnend hochzählt.

Da wirst du vermutlich nicht um ein "vernünftiges" Userreading herum kommen.

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

Dirk070

OK, Danke für den Hinweis, dann logge ich doch mal das Reading und schaue, wie ich das hinbekomme.

DS_Starter

#1988
Hallo zusamnmen,

ab morgen früh ist die Version 1.46.0 im Update enthalten.
Was ist neu bzw. geändert:

- Im Benachrichtigungssystem wird der letzte und nächste Pull des Infofiles per Mouse-Over ausgedruckt wenn es keine Nachrichten gibt

- die Kalkulation der Verbrauchsvorhersage ist auf ein neues Verfahren umngestellt, welches uns erlaubt deutlich mehr als die derzeitigen 31
  Tage einzubeziehen. Es werden aktuell bis zu 180 Tage Verbrauchswerte auf Stundenbasis gespeichert und können einbezogen werden.
  In diesem Zusammenhang hat sich die Bedeutung des Attr affectConsForecastLastDays und affectConsForecastIdentWeekdays etwas geändert und wurde
  an das neue Verfahren angepasst.
 
- der Key "exconfc" in der Consumersteuerung hat eine weitere Option "2":
    exconfc    Kennzeichen zur Verwendung des historischen Energieverbrauchs des Verbrauchers (optional).
    0 - die gespeicherten Energieverbrauchsanteile bleiben als Bestandteil der allgemeinen Verbrauchsprognose erhalten (default)
    1 - die allgemeine Verbrauchsprognose wird um die gespeicherten Energieverbrauchsanteile reduziert.
    2 - wie bei '1', jedoch gehen die Planungsdaten des Verbrauchers bei der Prognose der kommenden Stunden wieder mit ein.
 
- Im PlantConfig check ist der Memory check der pvHistoryfür den consumption Wert eingefügt. Evtl. permanente Logeinträge entfallen damit.

- der Befehl "set reset consumption" ist  in "set reset consumptionHistory" umbenannt

- Einige Debug-Informationen sind verbessert

- Bug Fixing, z.B. der gemeldete Fehler: https://forum.fhem.de/index.php?msg=1334123


Bezüglich der Verbrauchsprognose sollten sich Verbesserungen einstellen wenn Consumer mit höherer Leistung den Schlüssel exconfc=2 enthalten und
die Planung sowie Schaltung durch das Modul vorgenommen wird. Insbesondere wenn man nur gleiche Wochentage (affectConsForecastIdentWeekdays=1)
verrbeitet. Dann werden sich eingefahrene Verhaltensweisen und Rituale (am Tag X wird die Waschmaschine laufen gelassen, am Tyg Y immer gebügelt,
am Sonntag immer dem Hobby nachgegangen usw. ...) gut abbilden lassen.
Als weiteren Schritt habe ich Vorgesehen demnächst eine KI-Integration für die Verbrauchsprognose aufzubauen um unregelmäßige, aber von
bestimmten Umgebungsfaktoren abhängige Verbrauchsverhalten besser abbilden zu können.

Edit: Es sind keine Anpassung seitens des Anwenders nötig.

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

Dirk070

Zitat von: DS_Starter am 17 Februar 2025, 14:51:00Für das Modul wären 0 am Tagesanfang kein Problem, aber das sieht mir nicht danach aus. Eher vermute ich dass der Zähler "irgendwann" wieder tiefer (bei 0?) beginnend hochzählt.

Da wirst du vermutlich nicht um ein "vernünftiges" Userreading herum kommen.

LG,
Heiko


Hallo Heiko,

eine Frage, was zählt als Tagesanfang, also bis wann nach 00:00:00 wird ein Zurücksetzen auf Null akzeptiert?
Ich baue gerade eine entsprechende Logik und da wäre der Zeitrahmen interessant.

Danke Dir.

Schöne Grüße
Dirk

300P

Du must ,,nur" verhindern das der gestrige Zählerstandswert nach 00:00 Uhr als Reading im SF-Modul irgendwie ,,registriert" wird 😉

Gruß
300P
FHEM 6.3|RaspberryPi|SMAEM|SMAInverter|SolarForecast|DbLog|DbRep|MariaDB|QNAP|
JsonMod|HTTPMOD|Modbus ser+TCP|ESP32-Digitizer-AI_on_the_edge|ESP32CAM

kask

Ich würde auch ein Userreading mit monotonic bevorzugen.
Und wenn du Tageswerte oder sowas benötigst, dann eventuel diese mit statistic zusätzlich erstellen.
Dann bist du frei von irgendwelchen Timing Problemen von irgendeiner Hardware und irgendwelchen ominösen Systemzeiten.

RPi_Fhem_Fan

Guten Abend,

Seit weit über einem Jahr bin ich aktiver Nutzer vom Modul SolarForecast und sehr begeistert über die ständige Weiterentwicklung :)
Nach den heutigen Update auf die Version 1.45.6 startet mein FHEM leider ständig neu.
Ich habe daher erstmal das Modul SolarForecast deaktiviert (nach etwas suche im Log), damit FHEM wieder starten konnte.

Hier der Auszug aus dem Log:

2025.02.17 18:52:26 1: UPD ./CHANGED
2025.02.17 18:52:26 1: UPD FHEM/00_TCM.pm
2025.02.17 18:52:26 1: UPD FHEM/10_EnOcean.pm
2025.02.17 18:52:26 1: UPD FHEM/76_SolarForecast.pm
2025.02.17 18:52:27 1: UPD FHEM/98_SVG.pm
2025.02.17 18:52:27 1: UPD FHEM/HttpUtils.pm
2025.02.17 18:52:27 1: UPD FHEM/lib/AttrTemplate/mqtt2.template
2025.02.17 18:52:27 1: saving fhem.cfg
2025.02.17 18:52:27 1: saving ./log/fhem.save
2025.02.17 18:52:27 1:
2025.02.17 18:52:27 1: New entries in the CHANGED file:
2025.02.17 18:52:27 1:  - change:  76_SolarForecast: version 1.45.6
2025.02.17 18:52:27 1:
2025.02.17 18:52:28 1:
2025.02.17 18:52:28 1: update finished, "shutdown restart" is needed to activate the changes.
2025.02.17 18:52:35 0: Server shutdown
2025.02.17 18:52:36 1: Including fhem.cfg
.......
2025.02.17 18:52:48 3: Forecast - cached data "pvHistory" restored
2025.02.17 18:52:48 3: Forecast - cached data "pvCircular" restored
2025.02.17 18:52:48 3: Forecast - cached data "consumerMaster" restored
2025.02.17 18:52:48 3: Forecast - cached data "radiationApiData" restored
2025.02.17 18:52:48 3: Forecast - cached data "statusApiData" restored
2025.02.17 18:52:48 3: Forecast - cached data "aiTrainedData" restored
2025.02.17 18:52:48 3: Forecast - cached data "aiRawData" restored
.......
2025.02.17 18:53:01 0: Featurelevel: 6.3
2025.02.17 18:53:01 0: Server started with 515 defined entities
.......
Can't use an undefined value as an ARRAY reference at ./FHEM/76_SolarForecast.pm line 12190.
2025.02.17 18:53:12 1: Including fhem.cfg

Läuft es bei euch nach den Update fehlerfrei ?

Gruß Martin

mannil

Zitat von: Dirk070 am 17 Februar 2025, 17:08:48
Zitat von: DS_Starter am 17 Februar 2025, 14:51:00Für das Modul wären 0 am Tagesanfang kein Problem, aber das sieht mir nicht danach aus. Eher vermute ich dass der Zähler "irgendwann" wieder tiefer (bei 0?) beginnend hochzählt.

Da wirst du vermutlich nicht um ein "vernünftiges" Userreading herum kommen.

LG,
Heiko


Hallo Heiko,

eine Frage, was zählt als Tagesanfang, also bis wann nach 00:00:00 wird ein Zurücksetzen auf Null akzeptiert?
Ich baue gerade eine entsprechende Logik und da wäre der Zeitrahmen interessant.

Danke Dir.

Schöne Grüße
Dirk

Du hast auch ein E3DC, richtig?
Die Erzeugungs-, Einspesiungs, Batterieladungs- und Batterientladungswerte kommen ja nur 1/4 stündlich.
Bei mir war das immer so ca. 1-2 Minuten nach der vollen Stunde.

Vielleicht liegt das bei Dir da dran.

Ich habe mich dann mit meiner eigenen Rechnung beholfen.
Leider weiche ich da etwas von der E3DC Berechnung ab.

fromgrid integral {ReadingsVal("$name","gridpower","")>0?ReadingsVal("$name","gridpower","")/3600:0},
togrid integral {ReadingsVal("$name","gridpower","")<0?ReadingsVal("$name","gridpower","")/-3600:0},
batin integral {ReadingsVal("$name","batterypower","")>0?ReadingsVal("$name","batterypower","")/3600:0},
batout integral {ReadingsVal("$name","batterypower","")<0?ReadingsVal("$name","batterypower","")/-3600:0},
fromroof integral {ReadingsVal("$name","solarpower",0)/3600}

Meine Erzeugungsleistung laut Eigenberechnung liegt bei 19,61kWh. Laut E3DC-Portal bei 20,85kWh.
Aber bis ich eine bessere Lösung habe, bleibt das so.

Gruß,
Heiko
HP Elitedesk G4, Intel i5-8500t, 16GB RAM, 256GB SSD
diverse Shellys, HM Rolladensteuerungen und sonst viel zusammengewürfelter Kram ;-.)
PV 9,75kWp Ost-West  an E3DC S10 mit 9,6kWh Speicher, Wärmepumpe Stiebel Eltron WPL-A10 HK premium 400
Tesla Model Y BYD SR an go-e Charger gemini flex 11kW

DS_Starter

Hallo Martin,

ZitatLäuft es bei euch nach den Update fehlerfrei ?

zwei User hatten ein Problem gemeldet, siehe #1984 / #1985.
In meinem contrib liegt eine gefixte Version die auch morgen früh im Update sein wird.

Du kannst die V aus meinem contrib sofort downloaden und FHEM neu starten.
Das löst das Problem.
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