Leistungsprognose für Wechselrichter

Begonnen von ch.eick, 18 Januar 2021, 08:35:46

Vorheriges Thema - Nächstes Thema

ch.eick

Zitat von: Wzut am 01 März 2021, 19:37:16
WOW , wievel machst du so im Schnitt bei völliger Dunkelheit ? :)
Ich habe etwas ähnliches, allerdings "nur" 5..22
Wer ist jetzt der Ketzer :-) :-)
Von 7-19 Uhr reicht auch, da die Forecast Abweichung zu den anderen Zeiten Sinn frei ist ;-) Auch die Winkel Korrektur spuckt weniger Müll aus.

VG Christian
RPI4; Docker; CUNX; Eltako FSB61NP; SamsungTV H-Serie; Sonos; Vallox; Luxtronik; 3x FB7490; Stromzähler mit DvLIR; wunderground; Plenticore 10 mit BYD; EM410; SMAEM; Modbus TCP
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/ch.eick

papa

Zitat von: Wzut am 01 März 2021, 19:37:16
WOW , wievel machst du so im Schnitt bei völliger Dunkelheit ? :)
Ich habe etwas ähnliches, allerdings "nur" 5..22
;D
Ich will halt ne durchgehende Line und habe keine Lust auf eine Sonderbehandlung.
BananaPi + CUL868 + CUL433 + HM-UART + 1Wire

DS_Starter

Ich habe das Splitting für DbLog eingebaut. Die Version (0.7.0) liegt in meinem contrib.

Zum Download in der FHEMWEB Kommandozeile inklusive der Ausführungszeichen angeben und danach FHEM restarten:


"wget -qO ./FHEM/76_SolarForecast.pm https://svn.fhem.de/fhem/trunk/fhem/contrib/DS_Starter/76_SolarForecast.pm"

ESXi@NUC+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

Wzut

Zitat von: ch.eick am 01 März 2021, 20:19:05
Wer ist jetzt der Ketzer :-) :-)
ja ... ich gestehe mit dem Teufel im Bunde zu sein :) soll ich schon mal Holz für meinen Scheiterhaufen sammeln ?

@Heiko, ich habe nun einige Sachen ausprobiert.
Die gute Nachricht : neues HTML muß man nicht erfinden, die Gegenüberstellung forecast-real geht wundbar mit den beiden alten Darstellungen die eh zwei Basiswerte haben. (pvco & diff)
Die schlechte : ich kämpfe noch etwas mit der X Achse, da jetzt zum ersten mal der Startpunkt nicht die aktuelle Stunde ist.
Ach und btw. obwohl es Zeilen gibt mit dem Kommentar : Division durch 0 unbedingt vermeiden kann FHEM doch  in dieses Loch fallen :(
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

dk3572

Hallo,

in meiner pvHistory ist pvreal immer = 0.

02 => 00 => pvreal: 0, pvforecast: 0
      01 => pvreal: 32054, pvforecast: 0
      02 => pvreal: 0, pvforecast: 0
      03 => pvreal: 0, pvforecast: 0
      04 => pvreal: 0, pvforecast: 0
      05 => pvreal: 0, pvforecast: 0
      06 => pvreal: 0, pvforecast: 0
      07 => pvreal: 0, pvforecast: 0
      08 => pvreal: 0, pvforecast: 190
      09 => pvreal: 0, pvforecast: 1082
01 => 16 => pvreal: 0, pvforecast: 918
      17 => pvreal: 0, pvforecast: 497
      18 => pvreal: 0, pvforecast: 4
      19 => pvreal: 0, pvforecast: 0
      20 => pvreal: 0, pvforecast: 0
      21 => pvreal: 0, pvforecast: 0
      22 => pvreal: 0, pvforecast: 0
      23 => pvreal: 0, pvforecast: 0


   FUUID      5fd65ec0-f33f-cd72-ba56-13a41f24f97a012f
   FVERSION   76_SolarForecast.pm:v0.6.0-s21735/2020-04-20 TESTING
   HISTFILE   last write time: 09:18:30 File: ./FHEM/FhemUtils/PVH_SolarForecast_SolarForecast
   MODE       Automatic - next polltime: 09:24:34
   NAME       SolarForecast
   NOTIFYDEV  DWD_PV,SMA_Wechselrichter,SMA_Zaehler
   NR         453
   NTFY_ORDER 50-SolarForecast
   STATE      updated
   TYPE       SolarForecast
   HELPER:
     FW         WEB
     NextHour01_CloudCover 20
     NextHour01_RainProb 0.00
     NextHour01_WeatherId 0
     NextHour01_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour02_CloudCover 19
     NextHour02_RainProb 1.00
     NextHour02_WeatherId 0
     NextHour02_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour03_CloudCover 18
     NextHour03_RainProb 1.00
     NextHour03_WeatherId 0
     NextHour03_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour04_CloudCover 15
     NextHour04_RainProb 1.00
     NextHour04_WeatherId 0
     NextHour04_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour05_CloudCover 15
     NextHour05_RainProb 1.00
     NextHour05_WeatherId 0
     NextHour05_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour06_CloudCover 15
     NextHour06_RainProb 1.00
     NextHour06_WeatherId 0
     NextHour06_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour07_CloudCover 14
     NextHour07_RainProb 1.00
     NextHour07_WeatherId 0
     NextHour07_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour08_CloudCover 14
     NextHour08_RainProb 1.00
     NextHour08_WeatherId 0
     NextHour08_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour09_CloudCover 15
     NextHour09_RainProb 1.00
     NextHour09_WeatherId 0
     NextHour09_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     .
     .
     NextHour47_CloudCover 47
     NextHour47_RainProb 3.00
     NextHour47_WeatherId 101
     NextHour47_WeatherTxt Bewölkung abnehmend
     PACKAGE    FHEM::SolarForecast
     SPGDETAIL  SolarForecast
     SPGDEV     SolarForecast
     SPGROOM   
     ThisHour_CloudCover 20
     ThisHour_RainProb 1.00
     ThisHour_WeatherId 0
     ThisHour_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     VERSION    0.6.0
     VERSION_API unused
     VERSION_ErrCodes unused
     VERSION_SMUtils 1.20.7
     fc0_00_Rad1h 0.00 kJ/m2
     fc0_01_Rad1h 0.00 kJ/m2
     fc0_02_Rad1h 0.00 kJ/m2
     fc0_03_Rad1h 0.00 kJ/m2
     fc0_04_Rad1h 0.00 kJ/m2
     fc0_05_Rad1h 0.00 kJ/m2
     fc0_06_Rad1h 0.00 kJ/m2
     fc0_07_Rad1h 0.00 kJ/m2
     fc0_08_Rad1h 70.00 kJ/m2
     fc0_09_Rad1h 400.00 kJ/m2
     fc0_10_Rad1h 880.00 kJ/m2
     fc0_11_Rad1h 1330.00 kJ/m2
     fc0_12_Rad1h 1680.00 kJ/m2
     fc0_13_Rad1h 1890.00 kJ/m2
     fc0_14_Rad1h 1850.00 kJ/m2
     fc0_15_Rad1h 1610.00 kJ/m2
     fc0_16_Rad1h 1260.00 kJ/m2
     fc0_17_Rad1h 770.00 kJ/m2
     fc0_18_Rad1h 240.00 kJ/m2
     fc0_19_Rad1h 0.00 kJ/m2
     fc0_20_Rad1h 0.00 kJ/m2
     fc0_21_Rad1h 0.00 kJ/m2
     fc0_22_Rad1h 0.00 kJ/m2
     fc0_23_Rad1h 0.00 kJ/m2
     fc1_00_Rad1h 0.00 kJ/m2
     fc1_01_Rad1h 0.00 kJ/m2
     fc1_02_Rad1h 0.00 kJ/m2
     fc1_03_Rad1h 0.00 kJ/m2
     fc1_04_Rad1h 0.00 kJ/m2
     fc1_05_Rad1h 0.00 kJ/m2
     fc1_06_Rad1h 0.00 kJ/m2
     fc1_07_Rad1h 0.00 kJ/m2
     fc1_08_Rad1h 70.00 kJ/m2
     fc1_09_Rad1h 400.00 kJ/m2
     fc1_10_Rad1h 830.00 kJ/m2
     fc1_11_Rad1h 1250.00 kJ/m2
     fc1_12_Rad1h 1550.00 kJ/m2
     fc1_13_Rad1h 1680.00 kJ/m2
     fc1_14_Rad1h 1660.00 kJ/m2
     fc1_15_Rad1h 1420.00 kJ/m2
     fc1_16_Rad1h 1070.00 kJ/m2
     fc1_17_Rad1h 650.00 kJ/m2
     fc1_18_Rad1h 210.00 kJ/m2
     fc1_19_Rad1h 0.00 kJ/m2
     fc1_20_Rad1h 0.00 kJ/m2
     fc1_21_Rad1h 0.00 kJ/m2
     fc1_22_Rad1h 0.00 kJ/m2
     fc1_23_Rad1h 0.00 kJ/m2
   OLDREADINGS:
   READINGS:
     2021-03-02 09:23:25   Current_GridConsumption 2.2 W
     2021-03-02 09:23:25   Current_PV      3908 W
     2020-12-20 00:59:02   Hour_00_PVreal  3389 Wh
     2020-12-20 01:58:59   Hour_01_PVreal  4.54747350886464e-13 Wh
     2020-12-20 02:59:58   Hour_02_PVreal  -4.54747350886419 Wh
     2020-12-20 03:59:55   Hour_03_PVreal  0 Wh
     2020-12-20 04:59:55   Hour_04_PVreal  0 Wh
     2020-12-20 05:59:53   Hour_05_PVreal  0 Wh
     2020-12-20 06:59:51   Hour_06_PVreal  -3389 Wh
     2020-12-20 07:59:50   Hour_07_PVreal  -4.54747350886464e-13 Wh
     2020-12-20 08:59:48   Hour_08_PVreal  4.54747350886419 Wh
     2020-12-20 09:59:46   Hour_09_PVreal  45 Wh
     2020-12-20 10:59:43   Hour_10_PVreal  244 Wh
     2020-12-20 11:59:41   Hour_11_PVreal  474 Wh
     2020-12-20 12:59:39   Hour_12_PVreal  333 Wh
     2020-12-20 13:57:34   Hour_13_PVreal  275 Wh
     2021-03-02 09:23:25   Next04Hours_PV  10638 Wh
     2021-03-02 09:23:25   NextHour01_PVforecast 2892 Wh
     2021-03-02 09:23:25   NextHour01_Time 02.03.2021 10:00:00
     2021-03-02 09:23:25   NextHour02_PVforecast 2833 Wh
     2021-03-02 09:23:25   NextHour02_Time 02.03.2021 11:00:00
     2021-03-02 09:23:25   NextHour03_PVforecast 3831 Wh
     2021-03-02 09:23:25   NextHour03_Time 02.03.2021 12:00:00
     2021-03-02 09:23:25   NextHour04_PVforecast 3446 Wh
     2021-03-02 09:23:25   NextHour04_Time 02.03.2021 13:00:00
     2021-03-02 09:23:25   NextHour05_PVforecast 3873 Wh
     2021-03-02 09:23:25   NextHour05_Time 02.03.2021 14:00:00
     2021-03-02 09:23:25   NextHour06_PVforecast 2663 Wh
     .
     .
     2021-03-02 01:58:53   NextHour46_PVforecast 0 Wh
     2021-03-02 01:58:53   NextHour46_Time 03.03.2021 23:00:00
     2021-03-02 00:59:23   NextHour47_PVforecast 0 Wh
     2021-03-02 00:59:23   NextHour47_Time 03.03.2021 23:00:00
     2021-03-02 09:23:25   RestOfDay_PV    22167 Wh
     2021-03-02 09:23:25   ThisHour_PVforecast 1082 Wh
     2021-03-02 09:23:25   ThisHour_Time   02.03.2021 09:00:00
     2021-03-02 01:58:53   Today_Hour01_PVreal 32054 Wh
     2021-03-02 02:59:33   Today_Hour02_PVreal 0 Wh
     2021-03-02 03:59:03   Today_Hour03_PVreal 0 Wh
     2021-03-02 04:59:43   Today_Hour04_PVreal 0 Wh
     2021-03-02 05:59:13   Today_Hour05_PVreal 0 Wh
     2021-03-02 06:59:54   Today_Hour06_PVreal 0 Wh
     2021-03-02 07:59:24   Today_Hour07_PVreal 0 Wh
     2021-03-02 08:58:55   Today_Hour08_PVforecast 190 Wh
     2021-03-02 08:58:55   Today_Hour08_PVreal 0 Wh
     2021-03-02 09:23:25   Today_Hour09_PVforecast 1082 Wh
     2021-03-02 09:23:25   Today_Hour09_PVreal 0 Wh
     2021-03-02 09:23:25   Today_Hour10_PVforecast 2892 Wh
     2021-03-02 09:23:25   Today_Hour11_PVforecast 2833 Wh
     2021-03-02 09:23:25   Today_Hour12_PVforecast 3831 Wh
     2021-03-02 09:23:25   Today_Hour13_PVforecast 3446 Wh
     2021-03-02 09:23:25   Today_Hour14_PVforecast 3873 Wh
     2021-03-02 09:23:25   Today_Hour15_PVforecast 2663 Wh
     2021-03-02 09:23:25   Today_Hour16_PVforecast 1006 Wh
     2021-03-02 09:23:25   Today_Hour17_PVforecast 537 Wh
     2021-03-02 09:23:25   Today_Hour18_PVforecast 4 Wh
     2020-12-20 13:57:34   Today_HourSunRise 08
     2020-12-20 13:57:34   Today_HourSunSet 16
     2021-03-02 09:23:25   Today_PV        22357 Wh
     2021-03-02 09:23:25   Today_SunRise   07:05
     2021-03-02 09:23:25   Today_SunSet    18:12
     2020-12-20 13:57:34   Tomorrow_HourSunRise 08
     2020-12-20 13:57:34   Tomorrow_HourSunSet 16
     2021-03-02 09:23:25   Tomorrow_PV     20394 Wh
     2021-03-02 09:23:25   Tomorrow_SunRise 07:03
     2021-03-02 09:23:25   Tomorrow_SunSet 18:14
     2020-12-20 13:08:03   currentForecastDev DWD_PV
     2020-12-20 14:03:08   currentInverterDev SMA_Wechselrichter pv=total_pac:kW etoday=etoday:kWh
     2020-12-20 14:03:46   currentMeterDev SMA_Zaehler gcon=Bezug_Wirkleistung:W
     2021-01-27 19:08:53   inverterStrings Süddach
     2020-12-13 19:39:52   moduleArea      32
     2021-01-27 19:07:57   moduleDirection Süddach=S
     2021-01-27 19:10:15   modulePeakString Süddach=6.175
     2021-01-27 19:11:29   moduleTiltAngle Süddach=45
     2021-01-24 10:00:18   pvCorrectionFactor_05 1 (manual)
     2021-01-24 10:00:23   pvCorrectionFactor_06 1 (manual)
     2021-01-24 10:00:29   pvCorrectionFactor_07 1 (manual)
     2021-02-19 09:00:21   pvCorrectionFactor_08 1.50 (automatic)
     2021-02-27 10:00:09   pvCorrectionFactor_09 1.50 (automatic)
     2021-02-27 11:00:50   pvCorrectionFactor_10 1.80 (automatic)
     2021-02-27 12:00:20   pvCorrectionFactor_11 1.16 (automatic)
     2021-02-27 13:01:00   pvCorrectionFactor_12 1.22 (automatic)
     2021-02-27 14:00:30   pvCorrectionFactor_13 0.97 (automatic)
     2021-02-27 15:00:00   pvCorrectionFactor_14 1.12 (automatic)
     2021-02-27 16:00:40   pvCorrectionFactor_15 0.89 (automatic)
     2021-02-28 17:01:04   pvCorrectionFactor_16 0.43 (automatic)
     2021-02-28 18:00:34   pvCorrectionFactor_17 0.38 (automatic)
     2021-02-28 19:00:04   pvCorrectionFactor_18 0.01 (automatic)
     2021-01-24 09:59:55   pvCorrectionFactor_19 1 (manual)
     2021-01-24 10:00:00   pvCorrectionFactor_20 1 (manual)
     2021-01-24 10:00:10   pvCorrectionFactor_21 1 (manual)
     2021-03-02 09:23:25   pvCorrectionFactor_Auto on
     2021-03-02 09:23:25   state           updated
Attributes:
   DbLogExclude .*
   autoRefresh 120
   forcePageRefresh 1
   room       Photovoltaik
   showDiff   top


Jemand eine Idee was ich falsch mache?

Danke und VG
Dieter

ch.eick

Zitat von: DS_Starter am 01 März 2021, 22:21:36
Ich habe das Splitting für DbLog eingebaut. Die Version (0.7.0) liegt in meinem contrib.
Moin,
das sieht schon mal besser aus, danke dafür.


MySQL [fhem]> select * from history where DEVICE='DWD_Forecast_Test' and TIMESTAMP>'2021-03-02';
+---------------------+-------------------+---------------+-------+-------------------------+-------+------+
| TIMESTAMP           | DEVICE            | TYPE          | EVENT | READING                 | VALUE | UNIT |
+---------------------+-------------------+---------------+-------+-------------------------+-------+------+
| 2021-03-02 09:01:49 | DWD_Forecast_Test | SOLARFORECAST |       | Today_Hour10_PVforecast | 2362  | Wh   |
| 2021-03-02 10:01:19 | DWD_Forecast_Test | SOLARFORECAST |       | Today_Hour10_PVforecast | 2375  | Wh   |
| 2021-03-02 09:01:49 | DWD_Forecast_Test | SOLARFORECAST |       | Today_Hour11_PVforecast | 3590  | Wh   |
| 2021-03-02 10:01:19 | DWD_Forecast_Test | SOLARFORECAST |       | Today_Hour11_PVforecast | 3653  | Wh   |
| 2021-03-02 09:01:49 | DWD_Forecast_Test | SOLARFORECAST |       | Today_Hour12_PVforecast | 4642  | Wh   |
| 2021-03-02 10:01:19 | DWD_Forecast_Test | SOLARFORECAST |       | Today_Hour12_PVforecast | 4669  | Wh   |
| 2021-03-02 09:01:49 | DWD_Forecast_Test | SOLARFORECAST |       | Today_Hour13_PVforecast | 5277  | Wh   |
| 2021-03-02 10:01:19 | DWD_Forecast_Test | SOLARFORECAST |       | Today_Hour14_PVforecast | 5137  | Wh   |
| 2021-03-02 09:01:49 | DWD_Forecast_Test | SOLARFORECAST |       | Today_Hour15_PVforecast | 4478  | Wh   |
| 2021-03-02 10:01:19 | DWD_Forecast_Test | SOLARFORECAST |       | Today_Hour15_PVforecast | 4426  | Wh   |
| 2021-03-02 09:01:49 | DWD_Forecast_Test | SOLARFORECAST |       | Today_Hour16_PVforecast | 3448  | Wh   |
| 2021-03-02 10:01:19 | DWD_Forecast_Test | SOLARFORECAST |       | Today_Hour16_PVforecast | 3428  | Wh   |
| 2021-03-02 09:01:49 | DWD_Forecast_Test | SOLARFORECAST |       | Today_Hour17_PVforecast | 2105  | Wh   |
| 2021-03-02 10:01:19 | DWD_Forecast_Test | SOLARFORECAST |       | Today_Hour17_PVforecast | 2068  | Wh   |
| 2021-03-02 09:01:49 | DWD_Forecast_Test | SOLARFORECAST |       | Today_Hour18_PVforecast | 636   | Wh   |
| 2021-03-02 10:01:19 | DWD_Forecast_Test | SOLARFORECAST |       | Today_Hour18_PVforecast | 632   | Wh   |
+---------------------+-------------------+---------------+-------+-------------------------+-------+------+

Jetzt besteht nur noch das Problem, dass die Stunden Werte jeweils mit dem Datum der Berechnung eingetragen werden und nicht  mit dem Datum der Gültigkeit.


+---------------------+--------+------------+-------+----------------------------+-------+------+
| 2021-03-02 07:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc0      | 0     |      |
| 2021-03-02 07:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 0     |      |
| 2021-03-02 08:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc0      | 0     |      |
| 2021-03-02 08:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 0     |      |
| 2021-03-02 09:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc0      | 2534  |      |
| 2021-03-02 09:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 2495  |      |
| 2021-03-02 10:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc0      | 3231  |      |
| 2021-03-02 10:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 3182  |      |
| 2021-03-02 11:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc0      | 4104  |      |
| 2021-03-02 11:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 4423  |      |
| 2021-03-02 12:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc0      | 5217  |      |
| 2021-03-02 12:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 5522  |      |
| 2021-03-02 13:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc0      | 5005  |      |
| 2021-03-02 13:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 4868  |      |
| 2021-03-02 14:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc0      | 4018  |      |
| 2021-03-02 14:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 3896  |      |
| 2021-03-02 15:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc0      | 3278  |      |
| 2021-03-02 15:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 3222  |      |
| 2021-03-02 16:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc0      | 2353  |      |
| 2021-03-02 16:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 2604  |      |
| 2021-03-02 17:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc0      | 858   |      |
| 2021-03-02 17:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 724   |      |
| 2021-03-02 18:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc0      | 0     |      |
| 2021-03-02 18:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 0     |      |
| 2021-03-02 19:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc0      | 0     |      |
| 2021-03-02 19:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 0     |      |
| 2021-03-03 07:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 0     |      |
| 2021-03-03 08:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 1444  |      |
| 2021-03-03 09:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 2045  |      |
| 2021-03-03 10:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 2597  |      |
| 2021-03-03 11:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 3233  |      |
| 2021-03-03 12:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 3881  |      |
| 2021-03-03 13:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 3767  |      |
| 2021-03-03 14:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 2938  |      |
| 2021-03-03 15:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 2326  |      |
| 2021-03-03 16:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 1639  |      |
| 2021-03-03 17:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 603   |      |
| 2021-03-03 18:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 0     |      |
| 2021-03-03 19:00:00 | PV_1   | addlog     |       | Solar_Calculation_fc1      | 0     |      |
+---------------------+--------+------------+-------+----------------------------+-------+------+
RPI4; Docker; CUNX; Eltako FSB61NP; SamsungTV H-Serie; Sonos; Vallox; Luxtronik; 3x FB7490; Stromzähler mit DvLIR; wunderground; Plenticore 10 mit BYD; EM410; SMAEM; Modbus TCP
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/ch.eick

DS_Starter

Zitat
Jetzt besteht nur noch das Problem, dass die Stunden Werte jeweils mit dem Datum der Berechnung eingetragen werden und nicht  mit dem Datum der Gültigkeit.
Das ist normal, sind ja normale Readings.
Du kannst dir ja einen kleinen Code schreiben, der die Readingsval ausliest, die Daten formatiert und per addCacheLine (DbLog) oder insert (DbRep) in die DB einfügt.

@Dieter:
Prüfe mal ob diese Angabe

currentInverterDev SMA_Wechselrichter pv=total_pac:kW etoday=etoday:kWh

richtig ist, die Readings etoday, total_pac im SMA_Wechselrichter existieren. Ansonsten verbose 4 oder 5 im Device einstellen und posten was der Datenabruf im Log sagt.
ESXi@NUC+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

dk3572

Zitat von: DS_Starter am 02 März 2021, 21:55:46

@Dieter:
Prüfe mal ob diese Angabe

currentInverterDev SMA_Wechselrichter pv=total_pac:kW etoday=etoday:kWh

richtig ist, die Readings etoday, total_pac im SMA_Wechselrichter existieren. Ansonsten verbose 4 oder 5 im Device einstellen und posten was der Datenabruf im Log sagt.

Hallo Heiko,

vielen Dank für deine Unterstützung.

Die Angaben sind richtig eingetragen und die Readings existieren ebenfalls.

2021.03.03 06:16:02.391 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:18:02
2021.03.03 06:16:02.401 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:18:02
2021.03.03 06:16:02.408 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:18:02
2021.03.03 06:16:02.446 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:18:02
2021.03.03 06:16:02.732 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:18:02
2021.03.03 06:16:29.280 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:18:29
2021.03.03 06:16:29.287 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:18:29
2021.03.03 06:16:29.288 5: SolarForecast - ################################################################
2021.03.03 06:16:29.288 5: SolarForecast - ###                New data collection cycle                 ###
2021.03.03 06:16:29.288 5: SolarForecast - ################################################################
2021.03.03 06:16:29.288 5: SolarForecast - collect DWD forecast data: device=DWD_PV, rad=fc0_6_Rad1h, Val=0.00
2021.03.03 06:16:29.288 5: SolarForecast - PV forecast calc for hour 06 string: Süddach ->
Area factor => 1.15
Cloudfactor => 0.8185
Factor kJ to kWh => 0.00027778
PV generation (Wh) => 0.0
Radiation => 0.00
Rainfactor => 0.997
moduleDirection => S
modulePeakString => 6.175
moduleTiltAngle => 45
pvCorrectionFactor => 1

2021.03.03 06:16:29.288 5: SolarForecast - PV forecast calc for hour 06 summary: 0
2021.03.03 06:16:29.288 5: SolarForecast - set PV History hour 06 -> real: 0, forecast: 0
2021.03.03 06:16:29.288 5: SolarForecast - collect DWD forecast data: device=DWD_PV, rad=fc0_7_Rad1h, Val=0.00
2021.03.03 06:16:29.288 5: SolarForecast - PV forecast calc for hour 07 string: Süddach ->
Area factor => 1.15
Cloudfactor => 0.813
Factor kJ to kWh => 0.00027778
PV generation (Wh) => 0.0
Radiation => 0.00
Rainfactor => 0.997
moduleDirection => S
modulePeakString => 6.175
moduleTiltAngle => 45
pvCorrectionFactor => 1
.
.
2021.03.03 06:16:29.293 5: SolarForecast - PV forecast calc for hour 23 summary: 0
2021.03.03 06:16:29.293 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_6_ww, val=0, txt=Bewölkungsentwicklung nicht beobachtet, cc=20, rp=1.00
2021.03.03 06:16:29.293 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_7_ww, val=0, txt=Bewölkungsentwicklung nicht beobachtet, cc=25, rp=0.00
2021.03.03 06:16:29.293 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_8_ww, val=1, txt=Bewölkung abnehmend, cc=29, rp=1.00
2021.03.03 06:16:29.293 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_9_ww, val=1, txt=Bewölkung abnehmend, cc=33, rp=1.00
2021.03.03 06:16:29.293 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_10_ww, val=1, txt=Bewölkung abnehmend, cc=33, rp=0.00
2021.03.03 06:16:29.293 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_11_ww, val=1, txt=Bewölkung abnehmend, cc=34, rp=1.00
2021.03.03 06:16:29.293 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_12_ww, val=1, txt=Bewölkung abnehmend, cc=33, rp=1.00
2021.03.03 06:16:29.293 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_13_ww, val=1, txt=Bewölkung abnehmend, cc=34, rp=1.00
2021.03.03 06:16:29.293 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_14_ww, val=1, txt=Bewölkung abnehmend, cc=35, rp=1.00
2021.03.03 06:16:29.293 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_15_ww, val=1, txt=Bewölkung abnehmend, cc=36, rp=1.00
2021.03.03 06:16:29.293 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_16_ww, val=1, txt=Bewölkung abnehmend, cc=39, rp=1.00
2021.03.03 06:16:29.293 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_17_ww, val=1, txt=Bewölkung abnehmend, cc=40, rp=1.00
2021.03.03 06:16:29.293 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_18_ww, val=1, txt=Bewölkung abnehmend, cc=43, rp=1.00
2021.03.03 06:16:29.293 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_19_ww, val=1, txt=Bewölkung abnehmend, cc=46, rp=1.00
2021.03.03 06:16:29.293 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_20_ww, val=101, txt=Bewölkung abnehmend, cc=45, rp=1.00
2021.03.03 06:16:29.293 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_21_ww, val=101, txt=Bewölkung abnehmend, cc=46, rp=1.00
2021.03.03 06:16:29.293 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_22_ww, val=101, txt=Bewölkung abnehmend, cc=49, rp=1.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_23_ww, val=101, txt=Bewölkung abnehmend, cc=49, rp=1.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_0_ww, val=101, txt=Bewölkung abnehmend, cc=51, rp=1.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_1_ww, val=101, txt=Bewölkung abnehmend, cc=51, rp=2.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_2_ww, val=101, txt=Bewölkung abnehmend, cc=52, rp=2.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_3_ww, val=101, txt=Bewölkung abnehmend, cc=53, rp=2.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_4_ww, val=101, txt=Bewölkung abnehmend, cc=53, rp=3.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_5_ww, val=101, txt=Bewölkung abnehmend, cc=56, rp=3.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_6_ww, val=2, txt=Bewölkung unverändert, cc=58, rp=4.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_7_ww, val=2, txt=Bewölkung unverändert, cc=62, rp=6.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_8_ww, val=2, txt=Bewölkung unverändert, cc=63, rp=10.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_9_ww, val=2, txt=Bewölkung unverändert, cc=65, rp=12.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_10_ww, val=2, txt=Bewölkung unverändert, cc=68, rp=14.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_11_ww, val=2, txt=Bewölkung unverändert, cc=68, rp=19.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_12_ww, val=2, txt=Bewölkung unverändert, cc=69, rp=17.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_13_ww, val=2, txt=Bewölkung unverändert, cc=70, rp=22.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_14_ww, val=80, txt=leichter Regenschauer, cc=72, rp=22.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_15_ww, val=80, txt=leichter Regenschauer, cc=72, rp=29.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_16_ww, val=81, txt=mäßiger oder starker Regenschauer, cc=77, rp=35.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_17_ww, val=81, txt=mäßiger oder starker Regenschauer, cc=76, rp=31.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_18_ww, val=81, txt=mäßiger oder starker Regenschauer, cc=77, rp=33.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_19_ww, val=81, txt=mäßiger oder starker Regenschauer, cc=81, rp=35.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_20_ww, val=181, txt=mäßiger oder starker Regenschauer, cc=81, rp=37.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_21_ww, val=161, txt=durchgehend leichter Regen, cc=82, rp=39.00
2021.03.03 06:16:29.294 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_22_ww, val=161, txt=durchgehend leichter Regen, cc=85, rp=34.00
2021.03.03 06:16:29.295 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_23_ww, val=161, txt=durchgehend leichter Regen, cc=85, rp=30.00
2021.03.03 06:16:29.295 5: SolarForecast - collect Inverter data: device=SMA_Wechselrichter, pv=total_pac (kW), etoday=etoday (kWh)
2021.03.03 06:16:29.295 5: SolarForecast - set PV History hour 06 -> real: 0, forecast: 0
2021.03.03 06:16:29.295 5: SolarForecast - collect Meter data: device=SMA_Zaehler, gcon=Bezug_Wirkleistung (W)
2021.03.03 06:16:29.425 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:18:29
2021.03.03 06:16:29.432 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:18:29
2021.03.03 06:16:29.568 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:18:29
2021.03.03 06:16:29.576 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:18:29
2021.03.03 06:16:29.586 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:18:29
2021.03.03 06:16:29.593 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:18:29
2021.03.03 06:17:28.414 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:19:28
2021.03.03 06:17:31.071 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:19:31
2021.03.03 06:17:39.281 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:19:39
2021.03.03 06:17:39.288 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:19:39
2021.03.03 06:17:39.294 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:19:39
2021.03.03 06:17:39.295 5: SolarForecast - ################################################################
2021.03.03 06:17:39.295 5: SolarForecast - ###                New data collection cycle                 ###
2021.03.03 06:17:39.295 5: SolarForecast - ################################################################
2021.03.03 06:17:39.295 5: SolarForecast - collect DWD forecast data: device=DWD_PV, rad=fc0_6_Rad1h, Val=0.00
2021.03.03 06:17:39.295 5: SolarForecast - PV forecast calc for hour 06 string: Süddach ->
Area factor => 1.15
Cloudfactor => 0.8185
Factor kJ to kWh => 0.00027778
PV generation (Wh) => 0.0
Radiation => 0.00
Rainfactor => 0.997
moduleDirection => S
modulePeakString => 6.175
moduleTiltAngle => 45
pvCorrectionFactor => 1

2021.03.03 06:17:39.295 5: SolarForecast - PV forecast calc for hour 06 summary: 0
2021.03.03 06:17:39.296 5: SolarForecast - set PV History hour 06 -> real: 0, forecast: 0
2021.03.03 06:17:39.296 5: SolarForecast - collect DWD forecast data: device=DWD_PV, rad=fc0_7_Rad1h, Val=0.00
2021.03.03 06:17:39.296 5: SolarForecast - PV forecast calc for hour 07 string: Süddach ->
Area factor => 1.15
Cloudfactor => 0.813
Factor kJ to kWh => 0.00027778
PV generation (Wh) => 0.0
Radiation => 0.00
Rainfactor => 0.997
moduleDirection => S
modulePeakString => 6.175
moduleTiltAngle => 45
pvCorrectionFactor => 1
.
.
2021.03.03 06:17:39.300 5: SolarForecast - PV forecast calc for hour 23 summary: 0
2021.03.03 06:17:39.300 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_6_ww, val=0, txt=Bewölkungsentwicklung nicht beobachtet, cc=20, rp=1.00
2021.03.03 06:17:39.300 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_7_ww, val=0, txt=Bewölkungsentwicklung nicht beobachtet, cc=25, rp=0.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_8_ww, val=1, txt=Bewölkung abnehmend, cc=29, rp=1.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_9_ww, val=1, txt=Bewölkung abnehmend, cc=33, rp=1.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_10_ww, val=1, txt=Bewölkung abnehmend, cc=33, rp=0.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_11_ww, val=1, txt=Bewölkung abnehmend, cc=34, rp=1.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_12_ww, val=1, txt=Bewölkung abnehmend, cc=33, rp=1.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_13_ww, val=1, txt=Bewölkung abnehmend, cc=34, rp=1.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_14_ww, val=1, txt=Bewölkung abnehmend, cc=35, rp=1.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_15_ww, val=1, txt=Bewölkung abnehmend, cc=36, rp=1.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_16_ww, val=1, txt=Bewölkung abnehmend, cc=39, rp=1.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_17_ww, val=1, txt=Bewölkung abnehmend, cc=40, rp=1.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_18_ww, val=1, txt=Bewölkung abnehmend, cc=43, rp=1.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_19_ww, val=1, txt=Bewölkung abnehmend, cc=46, rp=1.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_20_ww, val=101, txt=Bewölkung abnehmend, cc=45, rp=1.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_21_ww, val=101, txt=Bewölkung abnehmend, cc=46, rp=1.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_22_ww, val=101, txt=Bewölkung abnehmend, cc=49, rp=1.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc0_23_ww, val=101, txt=Bewölkung abnehmend, cc=49, rp=1.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_0_ww, val=101, txt=Bewölkung abnehmend, cc=51, rp=1.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_1_ww, val=101, txt=Bewölkung abnehmend, cc=51, rp=2.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_2_ww, val=101, txt=Bewölkung abnehmend, cc=52, rp=2.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_3_ww, val=101, txt=Bewölkung abnehmend, cc=53, rp=2.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_4_ww, val=101, txt=Bewölkung abnehmend, cc=53, rp=3.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_5_ww, val=101, txt=Bewölkung abnehmend, cc=56, rp=3.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_6_ww, val=2, txt=Bewölkung unverändert, cc=58, rp=4.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_7_ww, val=2, txt=Bewölkung unverändert, cc=62, rp=6.00
2021.03.03 06:17:39.301 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_8_ww, val=2, txt=Bewölkung unverändert, cc=63, rp=10.00
2021.03.03 06:17:39.302 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_9_ww, val=2, txt=Bewölkung unverändert, cc=65, rp=12.00
2021.03.03 06:17:39.302 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_10_ww, val=2, txt=Bewölkung unverändert, cc=68, rp=14.00
2021.03.03 06:17:39.302 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_11_ww, val=2, txt=Bewölkung unverändert, cc=68, rp=19.00
2021.03.03 06:17:39.302 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_12_ww, val=2, txt=Bewölkung unverändert, cc=69, rp=17.00
2021.03.03 06:17:39.302 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_13_ww, val=2, txt=Bewölkung unverändert, cc=70, rp=22.00
2021.03.03 06:17:39.302 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_14_ww, val=80, txt=leichter Regenschauer, cc=72, rp=22.00
2021.03.03 06:17:39.302 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_15_ww, val=80, txt=leichter Regenschauer, cc=72, rp=29.00
2021.03.03 06:17:39.302 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_16_ww, val=81, txt=mäßiger oder starker Regenschauer, cc=77, rp=35.00
2021.03.03 06:17:39.302 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_17_ww, val=81, txt=mäßiger oder starker Regenschauer, cc=76, rp=31.00
2021.03.03 06:17:39.302 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_18_ww, val=81, txt=mäßiger oder starker Regenschauer, cc=77, rp=33.00
2021.03.03 06:17:39.302 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_19_ww, val=81, txt=mäßiger oder starker Regenschauer, cc=81, rp=35.00
2021.03.03 06:17:39.302 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_20_ww, val=181, txt=mäßiger oder starker Regenschauer, cc=81, rp=37.00
2021.03.03 06:17:39.302 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_21_ww, val=161, txt=durchgehend leichter Regen, cc=82, rp=39.00
2021.03.03 06:17:39.302 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_22_ww, val=161, txt=durchgehend leichter Regen, cc=85, rp=34.00
2021.03.03 06:17:39.302 5: SolarForecast - collect Weather data: device=DWD_PV, wid=fc1_23_ww, val=161, txt=durchgehend leichter Regen, cc=85, rp=30.00
2021.03.03 06:17:39.302 5: SolarForecast - collect Inverter data: device=SMA_Wechselrichter, pv=total_pac (kW), etoday=etoday (kWh)
2021.03.03 06:17:39.302 5: SolarForecast - set PV History hour 06 -> real: 0, forecast: 0
2021.03.03 06:17:39.302 5: SolarForecast - collect Meter data: device=SMA_Zaehler, gcon=Bezug_Wirkleistung (W)
2021.03.03 06:17:39.432 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:19:39
2021.03.03 06:17:39.440 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:19:39
2021.03.03 06:17:39.447 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:19:39
2021.03.03 06:17:39.583 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:19:39
2021.03.03 06:17:39.591 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:19:39
2021.03.03 06:17:39.598 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:19:39
2021.03.03 06:17:39.609 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:19:39
2021.03.03 06:17:39.615 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:19:39
2021.03.03 06:17:39.622 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:19:39
2021.03.03 06:18:49.310 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:20:49
2021.03.03 06:18:49.317 5: SolarForecast - next start of autoRefresh: 2021-03-03 06:20:49
2021.03.03 06:18:49.318 5: SolarForecast - ################################################################
2021.03.03 06:18:49.318 5: SolarForecast - ###                New data collection cycle                 ###
2021.03.03 06:18:49.318 5: SolarForecast - ################################################################
2021.03.03 06:18:49.318 5: SolarForecast - collect DWD forecast data: device=DWD_PV, rad=fc0_6_Rad1h, Val=0.00
2021.03.03 06:18:49.318 5: SolarForecast - PV forecast calc for hour 06 string: Süddach ->
Area factor => 1.15
Cloudfactor => 0.8185
Factor kJ to kWh => 0.00027778
PV generation (Wh) => 0.0
Radiation => 0.00
Rainfactor => 0.997
moduleDirection => S
modulePeakString => 6.175
moduleTiltAngle => 45
pvCorrectionFactor => 1

2021.03.03 06:18:49.318 5: SolarForecast - PV forecast calc for hour 06 summary: 0
2021.03.03 06:18:49.319 5: SolarForecast - set PV History hour 06 -> real: 0, forecast: 0
2021.03.03 06:18:49.319 5: SolarForecast - collect DWD forecast data: device=DWD_PV, rad=fc0_7_Rad1h, Val=0.00
2021.03.03 06:18:49.319 5: SolarForecast - PV forecast calc for hour 07 string: Süddach ->
Area factor => 1.15
Cloudfactor => 0.813
Factor kJ to kWh => 0.00027778
PV generation (Wh) => 0.0
Radiation => 0.00
Rainfactor => 0.997
moduleDirection => S
modulePeakString => 6.175
moduleTiltAngle => 45
pvCorrectionFactor => 1


Hoffe das hilft dir weiter.

VG Dieter

Wzut

Zitat von: dk3572 am 03 März 2021, 06:33:01
Hoffe das hilft dir weiter.
ich fürchte nein, um 6:00 Uhr morgens wird dein WR noch nicht viel machen.
Oder doch ? Manchmal machst ja mitten in der Nacht Strom :
Zitat2021-03-02 01:58:53   Today_Hour01_PVreal 32054 Wh
poste bitte mal ein list deines WR
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

dk3572

Zitat von: Wzut am 03 März 2021, 07:09:42
ich fürchte nein, um 6:00 Uhr morgens wird dein WR noch nicht viel machen.
Oder doch ? Manchmal machst ja mitten in der Nacht Strom :poste bitte mal ein list deines WR

Hallo,

ja, das war wohl ein verfrühter Schnellschuss  ;)

DEF        0000 192.***.***.**
   FUUID      5eb01b4c-f33f-cd72-5e39-40639d5f6f9b3c00
   FVERSION   76_SMAInverter.pm:v2.14.0-s20399/2019-10-23
   HOST       192.***.***.**
   INTERVAL   manual
   LASTUPDATE 03.03.2021 / 07:47:54
   MODEL      STP6.0-3AV-40 (Sunny Tripower 6.0)
   NAME       SMA_Wechselrichter
   NR         366
   PASS       ****
   STATE      PV-aktuell: <font color="Yellow"><b>0.160 W</b></font><br>PV-heute: <font color="Green"><b>0.039 Wh</b></font><br>
   TYPE       SMAInverter
   HELPER:
     AVERAGEBUF 160,156,151,146,139,135,130,124,121,115,110,103,99,92,85,80,76
     DEFAULT_TARGET_SERIAL 4294967295
     DEFAULT_TARGET_SUSYID 65535
     FAULTEDCYCLES 0
     INTERVAL   60
     MAXBYTES   300
     MYSERIALNUMBER 123321123
     MYSUSYID   233
     PACKAGE    main
     PKT_ID     32769
     VERSION    2.14.0
   Helper:
     DBLOG:
       etoday:
         logdb:
           TIME       1614754074.16274
           VALUE      0.039
       etotal:
         logdb:
           TIME       1614754074.16274
           VALUE      5516.571
       total_pac:
         logdb:
           TIME       1614754074.16274
           VALUE      0.160
   READINGS:
     2021-03-03 07:47:54   avg_power_lastminutes_05 147
     2021-03-03 07:47:54   avg_power_lastminutes_10 135
     2021-03-03 07:47:54   avg_power_lastminutes_15 121
     2021-03-03 07:47:54   background_processing_time 0.6065
     2021-03-03 07:47:54   device_class    Solar-Wechselrichter
     2021-03-03 07:47:54   device_name     SN: 3007788841
     2021-03-03 07:47:54   device_status   Ok
     2021-03-03 07:47:54   device_type     STP6.0-3AV-40 (Sunny Tripower 6.0)
     2021-03-03 07:47:54   etoday          0.039
     2021-03-03 07:47:54   etotal          5516.571
     2021-03-03 07:47:54   feed-in_time    3419.04
     2021-03-03 07:47:54   grid_freq       49.99
     2021-03-03 07:47:54   gridrelay_status geschlossen
     2021-03-03 07:47:54   inverter_processing_time 0.5771
     2021-03-03 07:47:54   modulstate      normal
     2021-03-03 07:47:54   operation_time  3586.86
     2021-03-03 07:47:54   opertime_start  03.03.2021 05:32:23
     2021-03-03 07:47:54   opertime_stop   03.03.2021 19:42:00
     2021-03-03 07:47:54   pac_max_phase_1 6000
     2021-03-03 07:47:54   pac_max_phase_2 0
     2021-03-03 07:47:54   pac_max_phase_3 0
     2021-03-03 07:47:54   phase_1_iac     39.398
     2021-03-03 07:47:54   phase_1_pac     0.054
     2021-03-03 07:47:54   phase_1_uac     227.21
     2021-03-03 07:47:54   phase_2_iac     39.718
     2021-03-03 07:47:54   phase_2_pac     0.054
     2021-03-03 07:47:54   phase_2_uac     228.11
     2021-03-03 07:47:54   phase_3_iac     39.168
     2021-03-03 07:47:54   phase_3_pac     0.052
     2021-03-03 07:47:54   phase_3_uac     227.64
     2021-03-03 07:47:54   serial_number   3007788841
     2021-03-03 07:47:54   state           0.160
     2021-03-03 07:47:54   string_1_idc    0.308
     2021-03-03 07:47:54   string_1_pdc    0.100
     2021-03-03 07:47:54   string_1_udc    327.93
     2021-03-03 07:47:54   string_2_idc    0.279
     2021-03-03 07:47:54   string_2_pdc    0.084
     2021-03-03 07:47:54   string_2_udc    302.88
     2021-03-03 07:47:54   susyid          378 - SN: 3007788841
     2021-03-03 07:47:54   total_pac       0.160
Attributes:
   DbLogExclude .*
   DbLogInclude total_pac,etoday,etotal
   SBFSpotComp 1
   alias      SMA Wechselrichter
   detail-level 2
   event-on-change-reading total_pac,etoday,etotal,state
   event-on-update-reading state,modulstate
   icon       measure_power
   interval   60
   mode       manual
   offset     3600
   room       Photovoltaik
   showproctime 1
   stateFormat PV-aktuell: <font color="Yellow"><b>[$name:total_pac] W</b></font><br>PV-heute: <font color="Green"><b>[$name:etoday] Wh</b></font><br>
   suppressSleep 0
   target-serial 3007788841
   target-susyid 378
   timeout    90
   verbose    2

ch.eick

Zitat von: DS_Starter am 02 März 2021, 21:55:46
Du kannst dir ja einen kleinen Code schreiben, der die Readingsval ausliest, die Daten formatiert und per addCacheLine (DbLog) oder insert (DbRep) in die DB einfügt.
Das habe ich ja bereits mit dem Solar_forecast(), wenn ich um das Solar_Forecast Modul wieder Code schreiben muss, dann bringt mich das nicht weiter.

VG Christian
RPI4; Docker; CUNX; Eltako FSB61NP; SamsungTV H-Serie; Sonos; Vallox; Luxtronik; 3x FB7490; Stromzähler mit DvLIR; wunderground; Plenticore 10 mit BYD; EM410; SMAEM; Modbus TCP
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/ch.eick

thobo

Hallo zusammen,

ich habe das gleiche / ein ähnliches Problem wie Dieter. Auch bei mir wird der reale Wert nicht zur passenden Zeit erfasst. Sondern um 1 Uhr.


03 => 00 => pvreal: 0, pvforecast: 0
      01 => pvreal: 63362, pvforecast: 0
      02 => pvreal: 0, pvforecast: 0
      03 => pvreal: 0, pvforecast: 0
      04 => pvreal: 0, pvforecast: 0
      05 => pvreal: 0, pvforecast: 0
      06 => pvreal: 0, pvforecast: 0
      07 => pvreal: 0, pvforecast: 0
      08 => pvreal: 0, pvforecast: 182
      09 => pvreal: 0, pvforecast: 1527
      10 => pvreal: 0, pvforecast: 3365
      11 => pvreal: 0, pvforecast: 5162
      12 => pvreal: 0, pvforecast: 5632
      13 => pvreal: 0, pvforecast: 5179
      14 => pvreal: 0, pvforecast: 2777
      15 => pvreal: 0, pvforecast: 2937
      16 => pvreal: 0, pvforecast: 2418
      17 => pvreal: 0, pvforecast: 883
      18 => pvreal: 0, pvforecast: 212
      19 => pvreal: 0, pvforecast: 25
      20 => pvreal: 0, pvforecast: 0
      21 => pvreal: 0, pvforecast: 0
02 => 00 => pvreal: 0, pvforecast: 0
      01 => pvreal: 41041, pvforecast: 0
      02 => pvreal: 0, pvforecast: 0
      03 => pvreal: 0, pvforecast: 0
      04 => pvreal: 0, pvforecast: 0
      05 => pvreal: 0, pvforecast: 0
      06 => pvreal: 0, pvforecast: 0
      07 => pvreal: 0, pvforecast: 0
      08 => pvreal: 0, pvforecast: 287
      09 => pvreal: 0, pvforecast: 2313
      10 => pvreal: 0, pvforecast: 5375
      11 => pvreal: 0, pvforecast: 8213
      12 => pvreal: 0, pvforecast: 10004
      13 => pvreal: 0, pvforecast: 10439
      14 => pvreal: 6562, pvforecast: 9643
      15 => pvreal: 7547, pvforecast: 7989
      16 => pvreal: 6050, pvforecast: 5758
      17 => pvreal: 2115, pvforecast: 3448
      18 => pvreal: 47, pvforecast: 1094
      19 => pvreal: 0, pvforecast: 46
      20 => pvreal: 0, pvforecast: 0
      21 => pvreal: 0, pvforecast: 0
      22 => pvreal: 0, pvforecast: 0
      23 => pvreal: 0, pvforecast: 0
01 => 14 => pvreal: 0, pvforecast: 0
      15 => pvreal: 0, pvforecast: 0
      16 => pvreal: 0, pvforecast: 0
      17 => pvreal: 0, pvforecast: 0
      18 => pvreal: 0, pvforecast: 0
      23 => pvreal: 0, pvforecast: 0


defmod SolarForecast SolarForecast
attr SolarForecast room Sunny Home Manager

setstate SolarForecast updated
setstate SolarForecast 2021-03-03 18:08:39 .associatedWith DwdOpenData SmaInverter SmaEm
setstate SolarForecast 2021-03-03 21:46:51 Current_GridConsumption 242.3 W
setstate SolarForecast 2021-03-03 21:46:51 Current_PV 0 W
setstate SolarForecast 2021-03-03 21:46:51 Next04Hours_PV 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour01_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour01_Time 2021-03-03 22:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour02_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour02_Time 2021-03-03 23:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour03_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour03_Time 2021-03-04 00:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour04_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour04_Time 2021-03-04 01:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour05_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour05_Time 2021-03-04 02:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour06_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour06_Time 2021-03-04 03:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour07_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour07_Time 2021-03-04 04:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour08_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour08_Time 2021-03-04 05:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour09_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour09_Time 2021-03-04 06:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour10_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour10_Time 2021-03-04 07:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour11_PVforecast 23 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour11_Time 2021-03-04 08:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour12_PVforecast 182 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour12_Time 2021-03-04 09:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour13_PVforecast 432 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour13_Time 2021-03-04 10:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour14_PVforecast 731 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour14_Time 2021-03-04 11:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour15_PVforecast 970 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour15_Time 2021-03-04 12:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour16_PVforecast 1150 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour16_Time 2021-03-04 13:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour17_PVforecast 896 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour17_Time 2021-03-04 14:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour18_PVforecast 1173 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour18_Time 2021-03-04 15:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour19_PVforecast 1145 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour19_Time 2021-03-04 16:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour20_PVforecast 408 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour20_Time 2021-03-04 17:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour21_PVforecast 132 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour21_Time 2021-03-04 18:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour22_PVforecast 27 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour22_Time 2021-03-04 19:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour23_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour23_Time 2021-03-04 20:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour24_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour24_Time 2021-03-04 21:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour25_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour25_Time 2021-03-04 22:00:00
setstate SolarForecast 2021-03-03 21:46:51 NextHour26_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 NextHour26_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 20:59:01 NextHour27_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 20:59:01 NextHour27_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 19:59:31 NextHour28_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 19:59:31 NextHour28_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 18:58:51 NextHour29_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 18:58:51 NextHour29_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 17:58:50 NextHour30_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 17:58:50 NextHour30_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 16:59:20 NextHour31_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 16:59:20 NextHour31_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 15:59:50 NextHour32_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 15:59:50 NextHour32_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 14:59:10 NextHour33_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 14:59:10 NextHour33_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 13:59:40 NextHour34_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 13:59:40 NextHour34_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 12:58:59 NextHour35_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 12:58:59 NextHour35_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 11:59:29 NextHour36_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 11:59:29 NextHour36_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 10:59:59 NextHour37_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 10:59:59 NextHour37_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 09:59:19 NextHour38_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 09:59:19 NextHour38_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 08:59:49 NextHour39_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 08:59:49 NextHour39_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 07:59:09 NextHour40_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 07:59:09 NextHour40_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 06:59:38 NextHour41_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 06:59:38 NextHour41_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 05:58:58 NextHour42_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 05:58:58 NextHour42_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 04:59:28 NextHour43_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 04:59:28 NextHour43_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 03:59:58 NextHour44_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 03:59:58 NextHour44_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 02:59:18 NextHour45_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 02:59:18 NextHour45_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 01:59:48 NextHour46_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 01:59:48 NextHour46_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 00:59:08 NextHour47_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 00:59:08 NextHour47_Time 2021-03-04 23:00:00
setstate SolarForecast 2021-03-03 21:46:51 RestOfDay_PV 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 ThisHour_PVforecast 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 ThisHour_Time 2021-03-03 21:00:00
setstate SolarForecast 2021-03-03 01:59:48 Today_Hour01_PVreal 63362 Wh
setstate SolarForecast 2021-03-03 02:59:18 Today_Hour02_PVreal 0 Wh
setstate SolarForecast 2021-03-03 03:59:58 Today_Hour03_PVreal 0 Wh
setstate SolarForecast 2021-03-03 04:59:28 Today_Hour04_PVreal 0 Wh
setstate SolarForecast 2021-03-03 05:58:58 Today_Hour05_PVreal 0 Wh
setstate SolarForecast 2021-03-03 06:59:38 Today_Hour06_PVreal 0 Wh
setstate SolarForecast 2021-03-03 07:59:09 Today_Hour07_PVreal 0 Wh
setstate SolarForecast 2021-03-03 08:59:49 Today_Hour08_PVforecast 182 Wh
setstate SolarForecast 2021-03-03 08:59:49 Today_Hour08_PVreal 0 Wh
setstate SolarForecast 2021-03-03 09:59:19 Today_Hour09_PVforecast 1527 Wh
setstate SolarForecast 2021-03-03 09:59:19 Today_Hour09_PVreal 0 Wh
setstate SolarForecast 2021-03-03 10:59:59 Today_Hour10_PVforecast 3365 Wh
setstate SolarForecast 2021-03-03 10:59:59 Today_Hour10_PVreal 0 Wh
setstate SolarForecast 2021-03-03 11:59:29 Today_Hour11_PVforecast 5162 Wh
setstate SolarForecast 2021-03-03 11:59:29 Today_Hour11_PVreal 0 Wh
setstate SolarForecast 2021-03-03 12:58:59 Today_Hour12_PVforecast 5632 Wh
setstate SolarForecast 2021-03-03 12:58:59 Today_Hour12_PVreal 0 Wh
setstate SolarForecast 2021-03-03 13:59:40 Today_Hour13_PVforecast 5179 Wh
setstate SolarForecast 2021-03-03 13:59:40 Today_Hour13_PVreal 0 Wh
setstate SolarForecast 2021-03-03 14:59:10 Today_Hour14_PVforecast 2777 Wh
setstate SolarForecast 2021-03-03 14:59:10 Today_Hour14_PVreal 0 Wh
setstate SolarForecast 2021-03-03 15:59:50 Today_Hour15_PVforecast 2937 Wh
setstate SolarForecast 2021-03-03 15:59:50 Today_Hour15_PVreal 0 Wh
setstate SolarForecast 2021-03-03 16:59:20 Today_Hour16_PVforecast 2418 Wh
setstate SolarForecast 2021-03-03 16:59:20 Today_Hour16_PVreal 0 Wh
setstate SolarForecast 2021-03-03 17:58:50 Today_Hour17_PVforecast 883 Wh
setstate SolarForecast 2021-03-03 17:58:50 Today_Hour17_PVreal 0 Wh
setstate SolarForecast 2021-03-03 18:58:51 Today_Hour18_PVforecast 212 Wh
setstate SolarForecast 2021-03-03 18:58:51 Today_Hour18_PVreal 0 Wh
setstate SolarForecast 2021-03-03 19:59:31 Today_Hour19_PVforecast 25 Wh
setstate SolarForecast 2021-03-03 19:59:31 Today_Hour19_PVreal 0 Wh
setstate SolarForecast 2021-03-03 20:59:01 Today_Hour20_PVreal 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 Today_Hour21_PVreal 0 Wh
setstate SolarForecast 2021-03-03 21:46:51 Today_PV 30299 Wh
setstate SolarForecast 2021-03-03 21:46:51 Today_SunRise 07:16
setstate SolarForecast 2021-03-03 21:46:51 Today_SunSet 18:21
setstate SolarForecast 2021-03-03 21:46:51 Tomorrow_PV 7269 Wh
setstate SolarForecast 2021-03-03 21:46:51 Tomorrow_SunRise 07:14
setstate SolarForecast 2021-03-03 21:46:51 Tomorrow_SunSet 18:23
setstate SolarForecast 2021-02-28 23:57:25 currentForecastDev DwdOpenData
setstate SolarForecast 2021-03-01 00:26:46 currentInverterDev SmaInverter pv=SPOT_PACTOT:W etoday=SPOT_ETODAY:Wh
setstate SolarForecast 2021-03-01 00:29:37 currentMeterDev SmaEm gcon=SMAEM3004914098_Bezug_Wirkleistung:W
setstate SolarForecast 2021-03-01 22:59:34 inverterStrings Ost,West
setstate SolarForecast 2021-03-01 23:00:26 moduleDirection Ost=E West=W
setstate SolarForecast 2021-03-01 23:03:26 modulePeakString Ost=10.88 West=12.16
setstate SolarForecast 2021-03-01 23:14:49 moduleTiltAngle Ost=30 West=30
setstate SolarForecast 2021-03-02 15:00:59 pvCorrectionFactor_14 0.68 (automatic)
setstate SolarForecast 2021-03-02 16:00:29 pvCorrectionFactor_15 0.94 (automatic)
setstate SolarForecast 2021-03-02 17:01:10 pvCorrectionFactor_16 1.05 (automatic)
setstate SolarForecast 2021-03-02 18:00:39 pvCorrectionFactor_17 0.61 (automatic)
setstate SolarForecast 2021-03-02 19:00:09 pvCorrectionFactor_18 0.50 (automatic)
setstate SolarForecast 2021-03-03 21:46:51 pvCorrectionFactor_Auto on
setstate SolarForecast 2021-03-03 21:46:51 state updated



Wo könnte ich noch schauen, bzw. was kann ich euch zur Verfügung stellen? Und schonmal vielen DANK für euren extrem guten und schnellen Support!!

Viele Grüße
Thomas

DS_Starter

Im SMAInvertermodul müsst ihr wahrscheinlich dieses userreading anlegen


etoday_fc:modulstate.* {
                         my $hour = (localtime(time))[2];
                         if (ReadingsVal($name, "gridrelay_status", "") eq "geschlossen" || $hour > 12) {
                           ReadingsVal($name, "etoday", 0);
                         }
                         else {
   
                           0;
                         }
                       }


Und etoday_fc für etoday im Forecast Modul eintragen. Je nach eurer Einstellung des SMAInverter müsst ihr gridrelay_status evtl. durch INV_GRIDRELAY ersetzen.
ESXi@NUC+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

dk3572

Zitat von: DS_Starter am 03 März 2021, 22:22:32
Im SMAInvertermodul müsst ihr wahrscheinlich dieses userreading anlegen


etoday_fc:modulstate.* {
                         my $hour = (localtime(time))[2];
                         if (ReadingsVal($name, "gridrelay_status", "") eq "geschlossen" || $hour > 12) {
                           ReadingsVal($name, "etoday", 0);
                         }
                         else {
   
                           0;
                         }
                       }


Und etoday_fc für etoday im Forecast Modul eintragen. Je nach eurer Einstellung des SMAInverter müsst ihr gridrelay_status evtl. durch INV_GRIDRELAY ersetzen.

Hallo Heiko,

habe es so angelegt

etoday_fc:modulstate.* {
                         my $hour = (localtime(time))[2];
                         if (ReadingsVal($name, "gridrelay_status", "") eq "geschlossen" || "Information liegt nicht vor" || $hour > 12) {
                           ReadingsVal($name, "etoday", 0);
                         }
                         else {
   
                           0;
                         }
                       }


und im Forecast Modul das

SMA_Wechselrichter pv=total_pac:kW etoday=etoday_fc:kWh

Ergebnis

04 => 00 => pvreal: 0, pvforecast: 0
      01 => pvreal: 18802, pvforecast: 0
      02 => pvreal: 0, pvforecast: 0
      03 => pvreal: 0, pvforecast: 0
      04 => pvreal: 0, pvforecast: 0
      05 => pvreal: 0, pvforecast: 0
      06 => pvreal: 0, pvforecast: 0
      07 => pvreal: 0, pvforecast: 0
      08 => pvreal: 0, pvforecast: 87
      09 => pvreal: 0, pvforecast: 404

DS_Starter

Hier mal meine Definitionen für euch zum vergleichen.

SolarForecast:


Internals:
   FUUID      5fd8c225-f33f-1c47-2ba6-83dcf0700feba752
   FVERSION   76_SolarForecast.pm:v0.5.0-s21735/2020-04-20 TESTING
   HISTFILE   last write time: 09:03:16 File: ./FHEM/FhemUtils/PVH_SolarForecast_SolCast
   MODE       Automatic - next polltime: 09:12:43
   NAME       SolCast
   NOTIFYDEV  DWD.Solar.Forecast,STP_5000,SMA_Energymeter
   NR         1906
   NTFY_ORDER 50-SolCast
   STATE      updated
   TYPE       SolarForecast
   HELPER:
     FW         WEB
     NextHour01_CloudCover 81
     NextHour01_RainProb 32.00
     NextHour01_WeatherId 61
     NextHour01_WeatherTxt durchgehend leichter Regen
     NextHour02_CloudCover 82
     NextHour02_RainProb 34.00
     NextHour02_WeatherId 61
     NextHour02_WeatherTxt durchgehend leichter Regen
     NextHour03_CloudCover 86
     NextHour03_RainProb 44.00
     NextHour03_WeatherId 61
     NextHour03_WeatherTxt durchgehend leichter Regen
     NextHour04_CloudCover 90
     NextHour04_RainProb 48.00
     NextHour04_WeatherId 61
     NextHour04_WeatherTxt durchgehend leichter Regen
     NextHour05_CloudCover 94
     NextHour05_RainProb 54.00
     NextHour05_WeatherId 61
     NextHour05_WeatherTxt durchgehend leichter Regen
     NextHour06_CloudCover 96
     NextHour06_RainProb 60.00
     NextHour06_WeatherId 61
     NextHour06_WeatherTxt durchgehend leichter Regen
     NextHour07_CloudCover 99
     NextHour07_RainProb 64.00
     NextHour07_WeatherId 61
     NextHour07_WeatherTxt durchgehend leichter Regen
     NextHour08_CloudCover 99
     NextHour08_RainProb 65.00
     NextHour08_WeatherId 61
     NextHour08_WeatherTxt durchgehend leichter Regen
     NextHour09_CloudCover 98
     NextHour09_RainProb 63.00
     NextHour09_WeatherId 61
     NextHour09_WeatherTxt durchgehend leichter Regen
     NextHour10_CloudCover 98
     NextHour10_RainProb 60.00
     NextHour10_WeatherId 61
     NextHour10_WeatherTxt durchgehend leichter Regen
     NextHour11_CloudCover 97
     NextHour11_RainProb 58.00
     NextHour11_WeatherId 161
     NextHour11_WeatherTxt durchgehend leichter Regen
     NextHour12_CloudCover 97
     NextHour12_RainProb 59.00
     NextHour12_WeatherId 161
     NextHour12_WeatherTxt durchgehend leichter Regen
     NextHour13_CloudCover 99
     NextHour13_RainProb 61.00
     NextHour13_WeatherId 161
     NextHour13_WeatherTxt durchgehend leichter Regen
     NextHour14_CloudCover 99
     NextHour14_RainProb 57.00
     NextHour14_WeatherId 161
     NextHour14_WeatherTxt durchgehend leichter Regen
     NextHour15_CloudCover 98
     NextHour15_RainProb 51.00
     NextHour15_WeatherId 161
     NextHour15_WeatherTxt durchgehend leichter Regen
     NextHour16_CloudCover 96
     NextHour16_RainProb 40.00
     NextHour16_WeatherId 161
     NextHour16_WeatherTxt durchgehend leichter Regen
     NextHour17_CloudCover 95
     NextHour17_RainProb 35.00
     NextHour17_WeatherId 161
     NextHour17_WeatherTxt durchgehend leichter Regen
     NextHour18_CloudCover 93
     NextHour18_RainProb 30.00
     NextHour18_WeatherId 161
     NextHour18_WeatherTxt durchgehend leichter Regen
     NextHour19_CloudCover 89
     NextHour19_RainProb 28.00
     NextHour19_WeatherId 168
     NextHour19_WeatherTxt leichter Schneeregen
     NextHour20_CloudCover 84
     NextHour20_RainProb 24.00
     NextHour20_WeatherId 71
     NextHour20_WeatherTxt durchgehend leichter Schneefall
     NextHour21_CloudCover 77
     NextHour21_RainProb 21.00
     NextHour21_WeatherId 71
     NextHour21_WeatherTxt durchgehend leichter Schneefall
     NextHour22_CloudCover 72
     NextHour22_RainProb 17.00
     NextHour22_WeatherId 71
     NextHour22_WeatherTxt durchgehend leichter Schneefall
     NextHour23_CloudCover 69
     NextHour23_RainProb 15.00
     NextHour23_WeatherId 3
     NextHour23_WeatherTxt Bewölkung zunehmend
     NextHour24_CloudCover 66
     NextHour24_RainProb 11.00
     NextHour24_WeatherId 2
     NextHour24_WeatherTxt Bewölkung unverändert
     NextHour25_CloudCover 59
     NextHour25_RainProb 9.00
     NextHour25_WeatherId 2
     NextHour25_WeatherTxt Bewölkung unverändert
     NextHour26_CloudCover 59
     NextHour26_RainProb 6.00
     NextHour26_WeatherId 2
     NextHour26_WeatherTxt Bewölkung unverändert
     NextHour27_CloudCover 57
     NextHour27_RainProb 5.00
     NextHour27_WeatherId 2
     NextHour27_WeatherTxt Bewölkung unverändert
     NextHour28_CloudCover 55
     NextHour28_RainProb 7.00
     NextHour28_WeatherId 1
     NextHour28_WeatherTxt Bewölkung abnehmend
     NextHour29_CloudCover 52
     NextHour29_RainProb 8.00
     NextHour29_WeatherId 1
     NextHour29_WeatherTxt Bewölkung abnehmend
     NextHour30_CloudCover 51
     NextHour30_RainProb 8.00
     NextHour30_WeatherId 1
     NextHour30_WeatherTxt Bewölkung abnehmend
     NextHour31_CloudCover 46
     NextHour31_RainProb 6.00
     NextHour31_WeatherId 1
     NextHour31_WeatherTxt Bewölkung abnehmend
     NextHour32_CloudCover 45
     NextHour32_RainProb 4.00
     NextHour32_WeatherId 1
     NextHour32_WeatherTxt Bewölkung abnehmend
     NextHour33_CloudCover 38
     NextHour33_RainProb 3.00
     NextHour33_WeatherId 1
     NextHour33_WeatherTxt Bewölkung abnehmend
     NextHour34_CloudCover 35
     NextHour34_RainProb 2.00
     NextHour34_WeatherId 1
     NextHour34_WeatherTxt Bewölkung abnehmend
     NextHour35_CloudCover 29
     NextHour35_RainProb 1.00
     NextHour35_WeatherId 101
     NextHour35_WeatherTxt Bewölkung abnehmend
     NextHour36_CloudCover 26
     NextHour36_RainProb 1.00
     NextHour36_WeatherId 101
     NextHour36_WeatherTxt Bewölkung abnehmend
     NextHour37_CloudCover 23
     NextHour37_RainProb 1.00
     NextHour37_WeatherId 100
     NextHour37_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour38_CloudCover 22
     NextHour38_RainProb 1.00
     NextHour38_WeatherId 100
     NextHour38_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour39_CloudCover 22
     NextHour39_RainProb 1.00
     NextHour39_WeatherId 100
     NextHour39_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour40_CloudCover 22
     NextHour40_RainProb 1.00
     NextHour40_WeatherId 100
     NextHour40_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour41_CloudCover 22
     NextHour41_RainProb 1.00
     NextHour41_WeatherId 100
     NextHour41_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour42_CloudCover 22
     NextHour42_RainProb 1.00
     NextHour42_WeatherId 100
     NextHour42_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour43_CloudCover 22
     NextHour43_RainProb 1.00
     NextHour43_WeatherId 100
     NextHour43_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour44_CloudCover 22
     NextHour44_RainProb 1.00
     NextHour44_WeatherId 100
     NextHour44_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour45_CloudCover 22
     NextHour45_RainProb 1.00
     NextHour45_WeatherId 100
     NextHour45_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour46_CloudCover 22
     NextHour46_RainProb 1.00
     NextHour46_WeatherId 100
     NextHour46_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     NextHour47_CloudCover 22
     NextHour47_RainProb 1.00
     NextHour47_WeatherId 100
     NextHour47_WeatherTxt Bewölkungsentwicklung nicht beobachtet
     PACKAGE    FHEM::SolarForecast
     SPGDETAIL  SolCast
     SPGDEV     SolCast
     SPGROOM   
     ThisHour_CloudCover 72
     ThisHour_RainProb 22.00
     ThisHour_WeatherId 3
     ThisHour_WeatherTxt Bewölkung zunehmend
     VERSION    0.5.0
     VERSION_API unused
     VERSION_ErrCodes unused
     VERSION_SMUtils 1.20.7
     fc0_00_Rad1h 0.00 kJ/m2
     fc0_01_Rad1h 0.00 kJ/m2
     fc0_02_Rad1h 0.00 kJ/m2
     fc0_03_Rad1h 0.00 kJ/m2
     fc0_04_Rad1h 0.00 kJ/m2
     fc0_05_Rad1h 0.00 kJ/m2
     fc0_06_Rad1h 0.00 kJ/m2
     fc0_07_Rad1h 0.00 kJ/m2
     fc0_08_Rad1h 70.00 kJ/m2
     fc0_09_Rad1h 270.00 kJ/m2
     fc0_10_Rad1h 450.00 kJ/m2
     fc0_11_Rad1h 610.00 kJ/m2
     fc0_12_Rad1h 650.00 kJ/m2
     fc0_13_Rad1h 550.00 kJ/m2
     fc0_14_Rad1h 480.00 kJ/m2
     fc0_15_Rad1h 340.00 kJ/m2
     fc0_16_Rad1h 230.00 kJ/m2
     fc0_17_Rad1h 130.00 kJ/m2
     fc0_18_Rad1h 40.00 kJ/m2
     fc0_19_Rad1h 0.00 kJ/m2
     fc0_20_Rad1h 0.00 kJ/m2
     fc0_21_Rad1h 0.00 kJ/m2
     fc0_22_Rad1h 0.00 kJ/m2
     fc0_23_Rad1h 0.00 kJ/m2
     fc1_00_Rad1h 0.00 kJ/m2
     fc1_01_Rad1h 0.00 kJ/m2
     fc1_02_Rad1h 0.00 kJ/m2
     fc1_03_Rad1h 0.00 kJ/m2
     fc1_04_Rad1h 0.00 kJ/m2
     fc1_05_Rad1h 0.00 kJ/m2
     fc1_06_Rad1h 0.00 kJ/m2
     fc1_07_Rad1h 0.00 kJ/m2
     fc1_08_Rad1h 80.00 kJ/m2
     fc1_09_Rad1h 330.00 kJ/m2
     fc1_10_Rad1h 690.00 kJ/m2
     fc1_11_Rad1h 1030.00 kJ/m2
     fc1_12_Rad1h 1270.00 kJ/m2
     fc1_13_Rad1h 1360.00 kJ/m2
     fc1_14_Rad1h 1290.00 kJ/m2
     fc1_15_Rad1h 1120.00 kJ/m2
     fc1_16_Rad1h 840.00 kJ/m2
     fc1_17_Rad1h 490.00 kJ/m2
     fc1_18_Rad1h 130.00 kJ/m2
     fc1_19_Rad1h 0.00 kJ/m2
     fc1_20_Rad1h 0.00 kJ/m2
     fc1_21_Rad1h 0.00 kJ/m2
     fc1_22_Rad1h 0.00 kJ/m2
     fc1_23_Rad1h 0.00 kJ/m2
   OLDREADINGS:
   READINGS:
     2021-03-04 09:11:33   Current_GridConsumption 0 W
     2021-03-04 09:11:33   Current_PV      952 W
     2021-03-04 09:11:33   Next04Hours_PV  1702 Wh
     2021-03-04 09:11:33   NextHour01_PVforecast 468 Wh
     2021-03-04 09:11:33   NextHour01_Time 04.03.2021 10:00:00
     2021-03-04 09:11:33   NextHour02_PVforecast 613 Wh
     2021-03-04 09:11:33   NextHour02_Time 04.03.2021 11:00:00
     2021-03-04 09:11:33   NextHour03_PVforecast 301 Wh
     2021-03-04 09:11:33   NextHour03_Time 04.03.2021 12:00:00
     2021-03-04 09:11:33   NextHour04_PVforecast 276 Wh
     2021-03-04 09:11:33   NextHour04_Time 04.03.2021 13:00:00
     2021-03-04 09:11:33   NextHour05_PVforecast 253 Wh
     2021-03-04 09:11:33   NextHour05_Time 04.03.2021 14:00:00
     2021-03-04 09:11:33   NextHour06_PVforecast 173 Wh
     2021-03-04 09:11:33   NextHour06_Time 04.03.2021 15:00:00
     2021-03-04 09:11:33   NextHour07_PVforecast 118 Wh
     2021-03-04 09:11:33   NextHour07_Time 04.03.2021 16:00:00
     2021-03-04 09:11:33   NextHour08_PVforecast 33 Wh
     2021-03-04 09:11:33   NextHour08_Time 04.03.2021 17:00:00
     2021-03-04 09:11:33   NextHour09_PVforecast 28 Wh
     2021-03-04 09:11:33   NextHour09_Time 04.03.2021 18:00:00
     2021-03-04 09:11:33   NextHour10_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour10_Time 04.03.2021 19:00:00
     2021-03-04 09:11:33   NextHour11_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour11_Time 04.03.2021 20:00:00
     2021-03-04 09:11:33   NextHour12_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour12_Time 04.03.2021 21:00:00
     2021-03-04 09:11:33   NextHour13_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour13_Time 04.03.2021 22:00:00
     2021-03-04 09:11:33   NextHour14_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour14_Time 04.03.2021 23:00:00
     2021-03-04 09:11:33   NextHour15_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour15_Time 05.03.2021 00:00:00
     2021-03-04 09:11:33   NextHour16_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour16_Time 05.03.2021 01:00:00
     2021-03-04 09:11:33   NextHour17_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour17_Time 05.03.2021 02:00:00
     2021-03-04 09:11:33   NextHour18_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour18_Time 05.03.2021 03:00:00
     2021-03-04 09:11:33   NextHour19_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour19_Time 05.03.2021 04:00:00
     2021-03-04 09:11:33   NextHour20_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour20_Time 05.03.2021 05:00:00
     2021-03-04 09:11:33   NextHour21_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour21_Time 05.03.2021 06:00:00
     2021-03-04 09:11:33   NextHour22_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour22_Time 05.03.2021 07:00:00
     2021-03-04 09:11:33   NextHour23_PVforecast 154 Wh
     2021-03-04 09:11:33   NextHour23_Time 05.03.2021 08:00:00
     2021-03-04 09:11:33   NextHour24_PVforecast 391 Wh
     2021-03-04 09:11:33   NextHour24_Time 05.03.2021 09:00:00
     2021-03-04 09:11:33   NextHour25_PVforecast 718 Wh
     2021-03-04 09:11:33   NextHour25_Time 05.03.2021 10:00:00
     2021-03-04 09:11:33   NextHour26_PVforecast 1035 Wh
     2021-03-04 09:11:33   NextHour26_Time 05.03.2021 11:00:00
     2021-03-04 09:11:33   NextHour27_PVforecast 588 Wh
     2021-03-04 09:11:33   NextHour27_Time 05.03.2021 12:00:00
     2021-03-04 09:11:33   NextHour28_PVforecast 684 Wh
     2021-03-04 09:11:33   NextHour28_Time 05.03.2021 13:00:00
     2021-03-04 09:11:33   NextHour29_PVforecast 682 Wh
     2021-03-04 09:11:33   NextHour29_Time 05.03.2021 14:00:00
     2021-03-04 09:11:33   NextHour30_PVforecast 570 Wh
     2021-03-04 09:11:33   NextHour30_Time 05.03.2021 15:00:00
     2021-03-04 09:11:33   NextHour31_PVforecast 432 Wh
     2021-03-04 09:11:33   NextHour31_Time 05.03.2021 16:00:00
     2021-03-04 09:11:33   NextHour32_PVforecast 124 Wh
     2021-03-04 09:11:33   NextHour32_Time 05.03.2021 17:00:00
     2021-03-04 09:11:33   NextHour33_PVforecast 93 Wh
     2021-03-04 09:11:33   NextHour33_Time 05.03.2021 18:00:00
     2021-03-04 09:11:33   NextHour34_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour34_Time 05.03.2021 19:00:00
     2021-03-04 09:11:33   NextHour35_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour35_Time 05.03.2021 20:00:00
     2021-03-04 09:11:33   NextHour36_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour36_Time 05.03.2021 21:00:00
     2021-03-04 09:11:33   NextHour37_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour37_Time 05.03.2021 22:00:00
     2021-03-04 09:11:33   NextHour38_PVforecast 0 Wh
     2021-03-04 09:11:33   NextHour38_Time 05.03.2021 23:00:00
     2021-03-04 08:59:53   NextHour39_PVforecast 0 Wh
     2021-03-04 08:59:53   NextHour39_Time 05.03.2021 23:00:00
     2021-03-04 07:59:12   NextHour40_PVforecast 0 Wh
     2021-03-04 07:59:12   NextHour40_Time 05.03.2021 23:00:00
     2021-03-04 06:59:40   NextHour41_PVforecast 0 Wh
     2021-03-04 06:59:40   NextHour41_Time 05.03.2021 23:00:00
     2021-03-04 05:58:59   NextHour42_PVforecast 0 Wh
     2021-03-04 05:58:59   NextHour42_Time 05.03.2021 23:00:00
     2021-03-04 04:59:29   NextHour43_PVforecast 0 Wh
     2021-03-04 04:59:29   NextHour43_Time 05.03.2021 23:00:00
     2021-03-04 03:59:58   NextHour44_PVforecast 0 Wh
     2021-03-04 03:59:58   NextHour44_Time 05.03.2021 23:00:00
     2021-03-04 02:59:16   NextHour45_PVforecast 0 Wh
     2021-03-04 02:59:16   NextHour45_Time 05.03.2021 23:00:00
     2021-03-04 01:59:46   NextHour46_PVforecast 0 Wh
     2021-03-04 01:59:46   NextHour46_Time 05.03.2021 23:00:00
     2021-03-04 00:59:05   NextHour47_PVforecast 0 Wh
     2021-03-04 00:59:05   NextHour47_Time 05.03.2021 23:00:00
     2021-03-04 09:11:33   RestOfDay_PV    2583 Wh
     2021-03-04 09:11:33   ThisHour_PVforecast 320 Wh
     2021-03-04 09:11:33   ThisHour_Time   04.03.2021 09:00:00
     2021-03-04 01:59:46   Today_Hour01_PVreal 0 Wh
     2021-03-04 02:59:16   Today_Hour02_PVreal 0 Wh
     2021-03-04 03:59:58   Today_Hour03_PVreal 0 Wh
     2021-03-04 04:59:29   Today_Hour04_PVreal 0 Wh
     2021-03-04 05:58:59   Today_Hour05_PVreal 0 Wh
     2021-03-04 06:59:40   Today_Hour06_PVreal 0 Wh
     2021-03-04 07:59:12   Today_Hour07_PVreal 159 Wh
     2021-03-04 08:59:53   Today_Hour08_PVforecast 102 Wh
     2021-03-04 08:59:53   Today_Hour08_PVreal 790 Wh
     2021-03-04 09:11:33   Today_Hour09_PVforecast 320 Wh
     2021-03-04 09:11:33   Today_Hour09_PVreal 260 Wh
     2021-03-04 09:11:33   Today_Hour10_PVforecast 468 Wh
     2021-03-04 09:11:33   Today_Hour11_PVforecast 613 Wh
     2021-03-04 09:11:33   Today_Hour12_PVforecast 301 Wh
     2021-03-04 09:11:33   Today_Hour13_PVforecast 276 Wh
     2021-03-04 09:11:33   Today_Hour14_PVforecast 253 Wh
     2021-03-04 09:11:33   Today_Hour15_PVforecast 173 Wh
     2021-03-04 09:11:33   Today_Hour16_PVforecast 118 Wh
     2021-03-04 09:11:33   Today_Hour17_PVforecast 33 Wh
     2021-03-04 09:11:33   Today_Hour18_PVforecast 28 Wh
     2021-03-04 09:11:33   Today_PV        2685 Wh
     2021-03-04 09:11:33   Today_SunRise   06:48
     2021-03-04 09:11:33   Today_SunSet    18:00
     2021-03-04 09:11:33   Tomorrow_PV     5471 Wh
     2021-03-04 09:11:33   Tomorrow_SunRise 06:46
     2021-03-04 09:11:33   Tomorrow_SunSet 18:02
     2020-12-15 15:09:07   currentForecastDev DWD.Solar.Forecast
     2020-12-24 09:22:35   currentInverterDev STP_5000 pv=total_pac:kW etoday=etoday_fc:kWh
     2020-12-15 15:48:26   currentMeterDev SMA_Energymeter gcon=Bezug_Wirkleistung:W
     2021-01-26 23:41:37   inverterStrings Süddach
     2021-01-26 23:43:53   moduleArea      Süddach=31.04
     2021-01-26 23:43:42   moduleDirection Süddach=S
     2021-01-26 23:42:34   moduleEfficiency Süddach=16.52
     2021-01-26 23:44:24   moduleTiltAngle Süddach=45
     2021-03-04 09:01:03   pvCorrectionFactor_08 3.27 (automatic)
     2021-03-04 09:01:03   pvCorrectionFactor_08_autocalc done
     2021-03-03 10:00:39   pvCorrectionFactor_09 1.97 (automatic)
     2021-03-03 11:00:10   pvCorrectionFactor_10 1.71 (automatic)
     2021-03-03 12:00:50   pvCorrectionFactor_11 1.62 (automatic)
     2021-03-03 13:00:21   pvCorrectionFactor_12 0.75 (automatic)
     2021-03-03 14:01:01   pvCorrectionFactor_13 0.84 (automatic)
     2021-03-03 15:00:32   pvCorrectionFactor_14 0.87 (automatic)
     2021-03-03 16:00:02   pvCorrectionFactor_15 0.81 (automatic)
     2021-03-03 17:00:42   pvCorrectionFactor_16 0.77 (automatic)
     2021-03-03 18:00:12   pvCorrectionFactor_17 0.37 (automatic)
     2021-03-04 09:11:33   pvCorrectionFactor_Auto on
     2021-03-04 09:11:33   state           updated
Attributes:
   Wh/kWh     Wh
   alias      Solar Vorhersage
   beamColor  FFAC63
   disable    0
   headerDetail all
   interval   70
   layoutType pvco
   maxVariancePerDay 0.8
   numHistDays 7
   room       Energie
   showHeader 1
   showLink   1
   showNight  1
   verbose    3
   weatherColor DBB169
   weatherColor_night A1A1A1



SMAInverter:

Internals:
   DEF        xxxxxxx 192.168.2.40
   FUUID      5c44e275-f33f-1c47-3487-59791791f78526e5
   FVERSION   76_SMAInverter.pm:v2.14.0-s20399/2019-10-23
   HOST       192.168.2.40
   INTERVAL   manual
   LASTUPDATE 04.03.2021 / 09:13:08
   MODEL      STP 5000TL-20
   NAME       STP_5000
   NR         89
   PASS       sonne4me!
   STATE      manual - 0.965 kW
   TYPE       SMAInverter
   HELPER:
     AVERAGEBUF 965,998,952,854,867,622,1382,1258,1484,1666,1469,1432,1473,1135,954,1276,1405
     DEFAULT_TARGET_SERIAL 4294967295
     DEFAULT_TARGET_SUSYID 65535
     FAULTEDCYCLES 0
     INTERVAL   60
     MAXBYTES   300
     MYSERIALNUMBER 123321123
     MYSUSYID   233
     PACKAGE    main
     PKT_ID     32769
     VERSION    2.14.0
   Helper:
     DBLOG:
       etoday:
         LogDB:
           TIME       1614845588.24238
           VALUE      1.243
       etotal:
         LogDB:
           TIME       1614845588.24238
           VALUE      37948.335
       state:
         LogDB:
           TIME       1614845588.24238
           VALUE      0.965
       total_pac:
         LogDB:
           TIME       1614845588.24238
           VALUE      0.965
   READINGS:
     2021-03-04 09:13:08   avg_power_lastminutes_05 876
     2021-03-04 09:13:08   avg_power_lastminutes_10 1137
     2021-03-04 09:13:08   avg_power_lastminutes_15 1174
     2021-03-04 09:13:08   background_processing_time 0.3836
     2021-03-04 09:13:08   device_class    Solar-Wechselrichter
     2021-03-04 09:13:08   device_name     SN: 304978710
     2021-03-04 09:13:08   device_status   Ok
     2021-03-04 09:13:08   device_temperature 42.3
     2021-03-04 09:13:08   device_type     STP 5000TL-20
     2021-03-04 09:13:08   etoday          1.243
     2021-03-04 09:13:08   etoday_fc       1.243
     2021-03-04 09:13:08   etotal          37948.335
     2021-03-04 09:13:08   feed-in_time    26217.93
     2021-03-04 09:13:08   grid_freq       49.99
     2021-03-04 09:13:08   gridrelay_status geschlossen
     2021-03-04 09:13:08   inverter_processing_time 0.3634
     2021-03-04 09:13:08   modulstate      normal
     2021-03-04 09:13:08   operation_time  26381.23
     2021-03-04 09:13:08   opertime_start  04.03.2021 06:17:56
     2021-03-04 09:13:08   opertime_stop   04.03.2021 18:30:13
     2021-03-04 09:13:08   pac_max_phase_1 5000
     2021-03-04 09:13:08   pac_max_phase_2 5000
     2021-03-04 09:13:08   pac_max_phase_3 5000
     2021-03-04 09:13:08   phase_1_iac     1.384
     2021-03-04 09:13:08   phase_1_pac     0.322
     2021-03-04 09:13:08   phase_1_uac     232.90
     2021-03-04 09:13:08   phase_2_iac     1.364
     2021-03-04 09:13:08   phase_2_pac     0.321
     2021-03-04 09:13:08   phase_2_uac     235.58
     2021-03-04 09:13:08   phase_3_iac     1.366
     2021-03-04 09:13:08   phase_3_pac     0.322
     2021-03-04 09:13:08   phase_3_uac     235.89
     2021-03-04 09:13:08   serial_number   304978710
     2021-03-04 09:13:08   state           0.965
     2021-03-04 09:13:08   string_1_idc    1.601
     2021-03-04 09:13:08   string_1_pdc    0.961
     2021-03-04 09:13:08   string_1_udc    600.53
     2021-03-04 09:13:08   string_2_idc    0.000
     2021-03-04 09:13:08   string_2_pdc    0.000
     2021-03-04 09:13:08   string_2_udc    0.00
     2021-03-04 09:13:08   susyid          181 - SN: 304978710
     2021-03-04 09:13:08   total_pac       0.965
Attributes:
   DbLogExclude modulstate
   SBFSpotComp 1
   detail-level 2
   disable    0
   event-on-change-reading total_pac,etoday,etotal
   event-on-update-reading state,modulstate
   group      SMA Inverter
   icon       measure_photovoltaic_inst@green
   interval   60
   mode       manual
   offset     0
   room       Energie
   showproctime 1
   sortby     1
   stateFormat { AttrVal("$name","mode", "automatic").
" - ".ReadingsVal("$name","state", undef)." kW"}
   suppressSleep 0
   target-serial 304978710
   target-susyid 181
   timeout    30
   userReadings etoday_fc:modulstate.* { # Extra-Reading für Solarforecast
                         my $hour = (localtime(time))[2];
                         if (ReadingsVal($name, "gridrelay_status", "") eq "geschlossen" || $hour > 12) {
                           ReadingsVal($name, "etoday", 0);
                         }
                         else {
                           0;
                         }
                       }
   verbose    2


Das läuft.
Vllt. musst du einfach nur einen Tag warten Dieter.

Grüße,
Heiko
ESXi@NUC+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