76_SolarForecast - Informationen/Ideen zu Weiterentwicklung und Support

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

Vorheriges Thema - Nächstes Thema

DS_Starter

@pah,

ZitatZu dem Problem habe ich mehrere Abschlussarbeiten anfertigen lassen.
Gibt es die Möglichkeit, solche Arbeiten online einzusehen?
Könnte evtl. Arbeit und Zeit sparen.

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

Persuasiv

Kann man die Energieflussgrafik verstecken bzw. deaktivieren, ohne die Definitionen (z. B. setupBatteryDev01) zu verändern?

DS_Starter

ZitatKann man die Energieflussgrafik verstecken bzw. deaktivieren, ohne die Definitionen (z. B. setupBatteryDev01) zu verändern?
Ja, Attr graphicSelect. Siehe auch Wiki.
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

DS_Starter

@all,

die V 1.52.5 ist eingecheckt und morgen früh im Update enthalten. Der Überblick des Inhalts findet ihr in #3002.

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

300P

#3034
Hallo Heiko,

bei solchem Wetter (wie dem heutige Wetter) müllen mir meine consumer das Logfile bei verbose 2 mit on/off-Meldungen etwas zu.

2025.05.27 10:11:37 2: Forecast - Consumer '_Waschmaschine' switched on
2025.05.27 10:11:37 2: Forecast - Consumer '_WP_Heizstab_WW' switched on
2025.05.27 10:11:37 2: Forecast - switching Consumer '_Waschmaschine' to 'on', command: "set FBDECT_fbahahttp_11657_0127183 on" (Automatic = 1)
2025.05.27 10:11:37 2: Forecast - switching Consumer '_WP_Heizstab_WW' to 'on', command: "set FBDECT_fbahahttp_E8_DF_70_07_42_0B on" (Automatic = 1)
2025.05.27 10:16:40 2: Forecast - Consumer '_Waschmaschine' switched off (interrupted)
2025.05.27 10:16:40 2: Forecast - switching Consumer '_Waschmaschine' to 'off', command: "set FBDECT_fbahahttp_11657_0127183 off", cause: surplus shortage (Automatic = 1)
2025.05.27 10:18:55 2: Forecast - Consumer '_WP_Heizstab_WW' switched off (interrupted)
2025.05.27 10:18:55 2: Forecast - switching Consumer '_WP_Heizstab_WW' to 'off', command: "set FBDECT_fbahahttp_E8_DF_70_07_42_0B off", cause: surplus shortage (Automatic = 1)
2025.05.27 10:21:41 2: Forecast - Consumer '_Waschmaschine' switched on (continued)
2025.05.27 10:21:41 2: Forecast - switching Consumer '_Waschmaschine' to 'on', command: "set FBDECT_fbahahttp_11657_0127183 on", cause: existing surplus
2025.05.27 10:23:56 2: Forecast - Consumer '_WP_Heizstab_WW' switched on (continued)
2025.05.27 10:23:56 2: Forecast - switching Consumer '_WP_Heizstab_WW' to 'on', command: "set FBDECT_fbahahttp_E8_DF_70_07_42_0B on", cause: existing surplus
2025.05.27 10:26:56 2: Forecast - Consumer '_Waschmaschine' switched off (interrupted)
2025.05.27 10:26:56 2: Forecast - switching Consumer '_Waschmaschine' to 'off', command: "set FBDECT_fbahahttp_11657_0127183 off", cause: surplus shortage (Automatic = 1)
2025.05.27 10:29:11 2: Forecast - Consumer '_WP_Heizstab_WW' switched off (interrupted)
2025.05.27 10:29:11 2: Forecast - switching Consumer '_WP_Heizstab_WW' to 'off', command: "set FBDECT_fbahahttp_E8_DF_70_07_42_0B off", cause: surplus shortage (Automatic = 1)
2025.05.27 10:32:11 2: Forecast - Consumer '_Waschmaschine' switched on (continued)
2025.05.27 10:32:11 2: Forecast - switching Consumer '_Waschmaschine' to 'on', command: "set FBDECT_fbahahttp_11657_0127183 on", cause: existing surplus
2025.05.27 10:34:26 2: Forecast - Consumer '_WP_Heizstab_WW' switched on (continued)
2025.05.27 10:34:26 2: Forecast - switching Consumer '_WP_Heizstab_WW' to 'on', command: "set FBDECT_fbahahttp_E8_DF_70_07_42_0B on", cause: existing surplus
2025.05.27 10:37:26 2: Forecast - Consumer '_Waschmaschine' switched off (interrupted)
2025.05.27 10:37:26 2: Forecast - switching Consumer '_Waschmaschine' to 'off', command: "set FBDECT_fbahahttp_11657_0127183 off", cause: surplus shortage (Automatic = 1)
2025.05.27 10:39:41 2: Forecast - Consumer '_WP_Heizstab_WW' switched off (interrupted)
2025.05.27 10:39:41 2: Forecast - switching Consumer '_WP_Heizstab_WW' to 'off', command: "set FBDECT_fbahahttp_E8_DF_70_07_42_0B off", cause: surplus shortage (Automatic = 1)
2025.05.27 10:42:41 2: Forecast - Consumer '_Waschmaschine' switched on (continued)
2025.05.27 10:42:41 2: Forecast - switching Consumer '_Waschmaschine' to 'on', command: "set FBDECT_fbahahttp_11657_0127183 on", cause: existing surplus
2025.05.27 10:49:26 2: Forecast - Consumer '_Waschmaschine' switched off (interrupted)
2025.05.27 10:49:26 2: Forecast - switching Consumer '_Waschmaschine' to 'off', command: "set FBDECT_fbahahttp_11657_0127183 off", cause: surplus shortage (Automatic = 1)
2025.05.27 10:54:41 2: Forecast - Consumer '_Waschmaschine' switched on (continued)
2025.05.27 10:54:41 2: Forecast - switching Consumer '_Waschmaschine' to 'on', command: "set FBDECT_fbahahttp_11657_0127183 on", cause: existing surplus
2025.05.27 10:59:11 2: Forecast - Consumer '_WP_Heizstab_WW' switched on (continued)
2025.05.27 10:59:11 2: Forecast - switching Consumer '_WP_Heizstab_WW' to 'on', command: "set FBDECT_fbahahttp_E8_DF_70_07_42_0B on", cause: existing surplus
2025.05.27 10:59:49 2: Forecast - Consumer '_Waschmaschine' switched off (interrupted)
2025.05.27 10:59:49 2: Forecast - switching Consumer '_Waschmaschine' to 'off', command: "set FBDECT_fbahahttp_11657_0127183 off", cause: surplus shortage (Automatic = 1)
2025.05.27 11:04:56 2: Forecast - Consumer '_Waschmaschine' switched on (continued)
2025.05.27 11:04:56 2: Forecast - switching Consumer '_Waschmaschine' to 'on', command: "set FBDECT_fbahahttp_11657_0127183 on", cause: existing surplus
2025.05.27 11:10:11 2: Forecast - Consumer '_Waschmaschine' switched off (interrupted)
2025.05.27 11:10:11 2: Forecast - Consumer '_WP_Heizstab_WW' switched off (interrupted)
2025.05.27 11:10:11 2: Forecast - switching Consumer '_Waschmaschine' to 'off', command: "set FBDECT_fbahahttp_11657_0127183 off", cause: surplus shortage (Automatic = 1)
2025.05.27 11:10:11 2: Forecast - switching Consumer '_WP_Heizstab_WW' to 'off', command: "set FBDECT_fbahahttp_E8_DF_70_07_42_0B off", cause: surplus shortage (Automatic = 1)
2025.05.27 11:15:26 2: Forecast - Consumer '_Waschmaschine' switched on (continued)
2025.05.27 11:15:26 2: Forecast - switching Consumer '_Waschmaschine' to 'on', command: "set FBDECT_fbahahttp_11657_0127183 on", cause: existing surplus
2025.05.27 11:22:28 2: Forecast - Consumer '_WP_Heizstab_WW' switched on (continued)
2025.05.27 11:22:28 2: Forecast - switching Consumer '_WP_Heizstab_WW' to 'on', command: "set FBDECT_fbahahttp_E8_DF_70_07_42_0B on", cause: existing surplus
2025.05.27 11:22:58 2: Forecast - Consumer '_Waschmaschine' switched off (interrupted)
2025.05.27 11:22:58 2: Forecast - switching Consumer '_Waschmaschine' to 'off', command: "set FBDECT_fbahahttp_11657_0127183 off", cause: surplus shortage (Automatic = 1)
2025.05.27 11:28:13 2: Forecast - Consumer '_Waschmaschine' switched on (continued)
2025.05.27 11:28:13 2: Forecast - switching Consumer '_Waschmaschine' to 'on', command: "set FBDECT_fbahahttp_11657_0127183 on", cause: existing surplus
2025.05.27 11:33:28 2: Forecast - Consumer '_Waschmaschine' switched off (interrupted)
2025.05.27 11:33:28 2: Forecast - switching Consumer '_Waschmaschine' to 'off', command: "set FBDECT_fbahahttp_11657_0127183 off", cause: surplus shortage (Automatic = 1)
2025.05.27 11:38:15 2: Forecast - switching Consumer '_WP_Heizstab_WW' to 'off', command: "set FBDECT_fbahahttp_E8_DF_70_07_42_0B off", cause: surplus shortage (Automatic = 1)
2025.05.27 11:38:16 2: Forecast - Consumer '_WP_Heizstab_WW' switched off (interrupted)
2025.05.27 11:38:46 2: Forecast - Consumer '_Waschmaschine' switched on (continued)
2025.05.27 11:38:46 2: Forecast - switching Consumer '_Waschmaschine' to 'on', command: "set FBDECT_fbahahttp_11657_0127183 on", cause: existing surplus
2025.05.27 11:44:17 2: Forecast - Consumer '_WP_Heizstab_WW' switched on (continued)
2025.05.27 11:44:17 2: Forecast - switching Consumer '_WP_Heizstab_WW' to 'on', command: "set FBDECT_fbahahttp_E8_DF_70_07_42_0B on", cause: existing surplus
2025.05.27 12:11:37 2: Forecast - switching Consumer '_Waschmaschine' to 'off', command: "set FBDECT_fbahahttp_11657_0127183 off", cause: planned switch-off time reached/exceeded (Automatic = 1)
2025.05.27 12:11:38 2: Forecast - Consumer '_Waschmaschine' switched off
2025.05.27 12:53:11 2: Forecast - switching Consumer '_WP_Heizstab_WW' to 'off', command: "set FBDECT_fbahahttp_E8_DF_70_07_42_0B off", cause: surplus shortage (Automatic = 1)
2025.05.27 12:53:12 2: Forecast - Consumer '_WP_Heizstab_WW' switched off (interrupted)
2025.05.27 13:06:21 2: Forecast - Consumer '_WP_Heizstab_WW' switched on (continued)
2025.05.27 13:06:21 2: Forecast - switching Consumer '_WP_Heizstab_WW' to 'on', command: "set FBDECT_fbahahttp_E8_DF_70_07_42_0B on", cause: existing surplus
2025.05.27 13:14:37 2: Forecast - Consumer '_WP_Heizstab_WW' switched off (interrupted)
2025.05.27 13:14:37 2: Forecast - switching Consumer '_WP_Heizstab_WW' to 'off', command: "set FBDECT_fbahahttp_E8_DF_70_07_42_0B off", cause: surplus shortage (Automatic = 1)
2025.05.27 13:39:09 2: Forecast - Consumer '_WP_Heizstab_WW' switched on (continued)
2025.05.27 13:39:09 2: Forecast - switching Consumer '_WP_Heizstab_WW' to 'on', command: "set FBDECT_fbahahttp_E8_DF_70_07_42_0B on", cause: existing surplus
2025.05.27 13:58:26 2: Forecast - Consumer '_WP_Heizstab_WW' switched off (interrupted)
2025.05.27 13:58:26 2: Forecast - switching Consumer '_WP_Heizstab_WW' to 'off', command: "set FBDECT_fbahahttp_E8_DF_70_07_42_0B off", cause: surplus shortage (Automatic = 1)
2025.05.27 14:03:41 2: Forecast - Consumer '_WP_Heizstab_WW' switched on (continued)
2025.05.27 14:03:41 2: Forecast - switching Consumer '_WP_Heizstab_WW' to 'on', command: "set FBDECT_fbahahttp_E8_DF_70_07_42_0B on", cause: existing surplus

FBDECT_fbahahttp_E8_DF_70_07_42_0B
type=heater
power=2170
mode=can
icon=sani_buffer_electric_heater_side@orange
mintime=SunPath
on=on
off=off
asynchron=1
notbefore=08:00
notafter=19:00
locktime=300:300
pcurr=power:W
etotal=energy:Wh
surpmeth=10
interruptable=1
swstate=state:.*on.*:.*off.*

Deshalb die Frage:
Könnte das Logging dieser gesendeten Befehle vom consumerXX nicht auf auf Level 3 gesetzt werden?

Wer denn da genauer was wissen will, um nachzuvollziehen ob oder ob nicht, kann den Level doch auf "verbose 3" setzen.

Es sind ja nun nicht so "wichtige" Alarme/Ereignisse - die allermeisten anderen Module "verschweigen" das Schalten von Geräten ja auch meist bei verbose 2.

verbose
Set the verbosity level. Possible values:
0 - server start/stop
1 - error messages or unknown packets
2 - major events/alarms.
3 - commands sent out will be logged.
4 - you'll see whats received by the different devices.
5 - debugging.
The value for the global device is a default for other devices without own verbose attribute set.

Gruß
300P
Gruß
300P

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

DS_Starter

#3035
ZitatKönnte das Logging dieser gesendeten Befehle vom consumerXX nicht auf auf Level 3 gesetzt werden?
Sicher, kann ich machen.

EDIT: ist eingecheckt.
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

Phill

Hallo,
irgendwie habe ich seit längerer Zeit ein Problem bei der Verwendung der Wetterkorrekturen über ein eigenes FHEM DWD-Device.

Erst mal Danke für das Modul und die Menge Arbeit die da drin steckt.

Das Problem was ich festgestellt habe, ist wenn ich den Parameter setupWeatherDev1 auf mein lokales FHEM-DWD-Device einstelle sehen die Prognosen so aus als wenn das Wetter überhaupt nicht berücksichtigt wird. Schalte ich z.b. auf OpenMeteoDWD_D2-API sieht es gleich viel besser aus.
Ich habe das DWD-Device natürlich überprüft und hier scheint alles korrekt zu sein. Die notwendigen Readings TTT,Neff,RR1c,ww sind aktuell und plausibel.
Auch das Modul sagt alles auf grün und in Ordnung. Setzte ich aber ein "get SolarForecast weatherApiData" ab, bekomme ich keine Daten im Cache zurück. Bzw jetzt sehe ich die Daten nur von "OpenMeteo" aber keine von einer der lokalen Instanz auch wenn ich "get SolarForecast data" ausführe.
Das Modul ist natürlich auf dem aktuellen Stand 76_SolarForecast.pm:v1.52.5-s29997/2025-05-25.
Eigentlich kann ich auch auf die andere API gehen, ich wollte aber trotzdem mitteilen das hier irgendwie ein Bug zu seien scheint.

Das DWD-Device hat auch keine besonderen Einstellungen:
attr phy_DWD forecastDays 3
attr phy_DWD forecastProperties Neff,ww,wwd,SunD1,SunD3,FF,FX1,Tm,PEvap,RR1c,RR3c ,RRdc,SunD,RSunD,TTT,TX,TN,R101,SunUp,SunRise,SunSet,Rad1h
attr phy_DWD forecastRefresh 1
attr phy_DWD forecastResolution 1
attr phy_DWD forecastStation P######

Wenn ich noch irgendwelche Infos schicken soll, kann ich das gerne machen.

Grüße


Homebrew 1-Wire / HomeMatic Mix - Cubietruck mit FHEM als Server - Raspberry PI 3 als Informationsanzeige im MagicMirror Stil - Raspberry Pi 1 als Klingelanlage - VDR

Mein Modul: Talk2Fhem - Mein Tipp: https://forum.fhem.de/index.php/topic,82442.0.html

Prof. Dr. Peter Henning

Hier habe ich gerade beschrieben, wie man solche Vorhersagewerte in einen FHEM-Plot einbauen kann.

https://wiki.fhem.de/wiki/LogFromArray

https://forum.fhem.de/index.php?topic=141763.msg1342440#msg134244

als Thread dazu.

LG

pah

DS_Starter

@Phill,

danke für den Hinweis.

Wenn man ein DWD device als Wetterlieferant gewählt hat, sollte ein "get SolarForecast weatherApiData" keine Daten liefern weil es in diesem Sinn keine API ist.
Bei mir sehe ich auch gerade, dass alte! Daten von OpenMeteo entalten sind, weil ich mal OpenMeteo als Wetterlieferant bei diesem Device ausgewählt hatte. Das ist ein Fehler und schaue ich mir an.

Für die Funtion hat es allerdings keine Relevanz. Man sieht mit einem ctrlDebug=collectData woher die Wetterdaten bezogen werden.
In dem Fall von einem DWD Device was i.O. ist:

2025.05.28 13:25:18.423 1: SolDwd DEBUG> collect Weather data step 1 - device: DWD.Solar.xxxxx =>
2025.05.28 13:25:18.423 1: SolDwd DEBUG> Weather 1: fc0_13, don: 1, wid: 61, RR1c: 0.40, TTT: 16.3, Neff: 93
2025.05.28 13:25:18.424 1: SolDwd DEBUG> Weather 1: fc0_14, don: 1, wid: 61, RR1c: 0.30, TTT: 16.6, Neff: 94
2025.05.28 13:25:18.424 1: SolDwd DEBUG> Weather 1: fc0_15, don: 1, wid: 81, RR1c: 0.30, TTT: 16.8, Neff: 92
2025.05.28 13:25:18.424 1: SolDwd DEBUG> Weather 1: fc0_16, don: 1, wid: 81, RR1c: 0.50, TTT: 16.9, Neff: 91
2025.05.28 13:25:18.424 1: SolDwd DEBUG> Weather 1: fc0_17, don: 1, wid: 81, RR1c: 0.40, TTT: 16.8, Neff: 90
2025.05.28 13:25:18.425 1: SolDwd DEBUG> Weather 1: fc0_18, don: 1, wid: 81, RR1c: 0.40, TTT: 16.3, Neff: 88
2025.05.28 13:25:18.425 1: SolDwd DEBUG> Weather 1: fc0_19, don: 1, wid: 81, RR1c: 0.40, TTT: 15.7, Neff: 88
2025.05.28 13:25:18.425 1: SolDwd DEBUG> Weather 1: fc0_20, don: 1, wid: 81, RR1c: 0.30, TTT: 15, Neff: 89
2025.05.28 13:25:18.425 1: SolDwd DEBUG> Weather 1: fc0_21, don: 1, wid: 80, RR1c: 0.20, TTT: 14.1, Neff: 88
2025.05.28 13:25:18.426 1: SolDwd DEBUG> Weather 1: fc0_22, don: 0, wid: 180, RR1c: 0.00, TTT: 13.3, Neff: 84
2025.05.28 13:25:18.426 1: SolDwd DEBUG> Weather 1: fc0_23, don: 0, wid: 103, RR1c: 0.00, TTT: 12.7, Neff: 81
2025.05.28 13:25:18.426 1: SolDwd DEBUG> Weather 1: fc1_0, don: 0, wid: 103, RR1c: 0.00, TTT: 12.2, Neff: 81
2025.05.28 13:25:18.427 1: SolDwd DEBUG> Weather 1: fc1_1, don: 0, wid: 103, RR1c: 0.00, TTT: 11.8, Neff: 80
2025.05.28 13:25:18.427 1: SolDwd DEBUG> Weather 1: fc1_2, don: 0, wid: 103, RR1c: 0.00, TTT: 11.4, Neff: 83
2025.05.28 13:25:18.427 1: SolDwd DEBUG> Weather 1: fc1_3, don: 0, wid: 103, RR1c: 0.00, TTT: 11, Neff: 84
2025.05.28 13:25:18.427 1: SolDwd DEBUG> Weather 1: fc1_4, don: 0, wid: 103, RR1c: 0.00, TTT: 10.9, Neff: 87
2025.05.28 13:25:18.428 1: SolDwd DEBUG> Weather 1: fc1_5, don: 0, wid: 103, RR1c: 0.00, TTT: 10.6, Neff: 81
2025.05.28 13:25:18.428 1: SolDwd DEBUG> Weather 1: fc1_6, don: 1, wid: 3, RR1c: 0.00, TTT: 10.7, Neff: 78
2025.05.28 13:25:18.428 1: SolDwd DEBUG> Weather 1: fc1_7, don: 1, wid: 3, RR1c: 0.00, TTT: 10.9, Neff: 69
2025.05.28 13:25:18.429 1: SolDwd DEBUG> Weather 1: fc1_8, don: 1, wid: 3, RR1c: 0.00, TTT: 11.7, Neff: 72
2025.05.28 13:25:18.429 1: SolDwd DEBUG> Weather 1: fc1_9, don: 1, wid: 2, RR1c: 0.00, TTT: 12.5, Neff: 73
2025.05.28 13:25:18.429 1: SolDwd DEBUG> Weather 1: fc1_10, don: 1, wid: 2, RR1c: 0.00, TTT: 13.4, Neff: 72
2025.05.28 13:25:18.429 1: SolDwd DEBUG> Weather 1: fc1_11, don: 1, wid: 2, RR1c: 0.00, TTT: 14.2, Neff: 72
2025.05.28 13:25:18.430 1: SolDwd DEBUG> Weather 1: fc1_12, don: 1, wid: 2, RR1c: 0.00, TTT: 14.9, Neff: 73
2025.05.28 13:25:18.430 1: SolDwd DEBUG> Weather 1: fc1_13, don: 1, wid: 2, RR1c: 0.00, TTT: 15.7, Neff: 74
2025.05.28 13:25:18.430 1: SolDwd DEBUG> Weather 1: fc1_14, don: 1, wid: 2, RR1c: 0.00, TTT: 16.5, Neff: 77
2025.05.28 13:25:18.430 1: SolDwd DEBUG> Weather 1: fc1_15, don: 1, wid: 2, RR1c: 0.00, TTT: 16.9, Neff: 79
2025.05.28 13:25:18.431 1: SolDwd DEBUG> Weather 1: fc1_16, don: 1, wid: 2, RR1c: 0.00, TTT: 17.2, Neff: 78
2025.05.28 13:25:18.431 1: SolDwd DEBUG> Weather 1: fc1_17, don: 1, wid: 2, RR1c: 0.00, TTT: 17.3, Neff: 83
2025.05.28 13:25:18.431 1: SolDwd DEBUG> Weather 1: fc1_18, don: 1, wid: 3, RR1c: 0.00, TTT: 17.2, Neff: 87
2025.05.28 13:25:18.432 1: SolDwd DEBUG> Weather 1: fc1_19, don: 1, wid: 3, RR1c: 0.00, TTT: 16.8, Neff: 87
2025.05.28 13:25:18.432 1: SolDwd DEBUG> Weather 1: fc1_20, don: 1, wid: 3, RR1c: 0.00, TTT: 16.1, Neff: 89
2025.05.28 13:25:18.432 1: SolDwd DEBUG> Weather 1: fc1_21, don: 1, wid: 3, RR1c: 0.00, TTT: 15.6, Neff: 89
2025.05.28 13:25:18.433 1: SolDwd DEBUG> Weather 1: fc1_22, don: 0, wid: 103, RR1c: 0.00, TTT: 15.2, Neff: 93
2025.05.28 13:25:18.433 1: SolDwd DEBUG> merge Weather data =>
2025.05.28 13:25:18.433 1: SolDwd DEBUG> Weather merged: fc0_13, don: 1, wid: 61, RR1c: 0.40, TTT: 16.30, Neff: 93
2025.05.28 13:25:18.433 1: SolDwd DEBUG> Weather merged: fc0_14, don: 1, wid: 61, RR1c: 0.30, TTT: 16.60, Neff: 94
2025.05.28 13:25:18.434 1: SolDwd DEBUG> Weather merged: fc0_15, don: 1, wid: 81, RR1c: 0.30, TTT: 16.80, Neff: 92
2025.05.28 13:25:18.434 1: SolDwd DEBUG> Weather merged: fc0_16, don: 1, wid: 81, RR1c: 0.50, TTT: 16.90, Neff: 91
2025.05.28 13:25:18.434 1: SolDwd DEBUG> Weather merged: fc0_17, don: 1, wid: 81, RR1c: 0.40, TTT: 16.80, Neff: 90
2025.05.28 13:25:18.434 1: SolDwd DEBUG> Weather merged: fc0_18, don: 1, wid: 81, RR1c: 0.40, TTT: 16.30, Neff: 88
2025.05.28 13:25:18.435 1: SolDwd DEBUG> Weather merged: fc0_19, don: 1, wid: 81, RR1c: 0.40, TTT: 15.70, Neff: 88
2025.05.28 13:25:18.435 1: SolDwd DEBUG> Weather merged: fc0_20, don: 1, wid: 81, RR1c: 0.30, TTT: 15.00, Neff: 89
2025.05.28 13:25:18.435 1: SolDwd DEBUG> Weather merged: fc0_21, don: 1, wid: 80, RR1c: 0.20, TTT: 14.10, Neff: 88
2025.05.28 13:25:18.436 1: SolDwd DEBUG> Weather merged: fc0_22, don: 0, wid: 180, RR1c: 0.00, TTT: 13.30, Neff: 84
2025.05.28 13:25:18.436 1: SolDwd DEBUG> Weather merged: fc0_23, don: 0, wid: 103, RR1c: 0.00, TTT: 12.70, Neff: 81
2025.05.28 13:25:18.436 1: SolDwd DEBUG> Weather merged: fc1_0, don: 0, wid: 103, RR1c: 0.00, TTT: 12.20, Neff: 81
2025.05.28 13:25:18.436 1: SolDwd DEBUG> Weather merged: fc1_1, don: 0, wid: 103, RR1c: 0.00, TTT: 11.80, Neff: 80
2025.05.28 13:25:18.437 1: SolDwd DEBUG> Weather merged: fc1_10, don: 1, wid: 2, RR1c: 0.00, TTT: 13.40, Neff: 72
2025.05.28 13:25:18.437 1: SolDwd DEBUG> Weather merged: fc1_11, don: 1, wid: 2, RR1c: 0.00, TTT: 14.20, Neff: 72
2025.05.28 13:25:18.437 1: SolDwd DEBUG> Weather merged: fc1_12, don: 1, wid: 2, RR1c: 0.00, TTT: 14.90, Neff: 73
2025.05.28 13:25:18.437 1: SolDwd DEBUG> Weather merged: fc1_13, don: 1, wid: 2, RR1c: 0.00, TTT: 15.70, Neff: 74
2025.05.28 13:25:18.438 1: SolDwd DEBUG> Weather merged: fc1_14, don: 1, wid: 2, RR1c: 0.00, TTT: 16.50, Neff: 77
2025.05.28 13:25:18.438 1: SolDwd DEBUG> Weather merged: fc1_15, don: 1, wid: 2, RR1c: 0.00, TTT: 16.90, Neff: 79
2025.05.28 13:25:18.439 1: SolDwd DEBUG> Weather merged: fc1_16, don: 1, wid: 2, RR1c: 0.00, TTT: 17.20, Neff: 78
2025.05.28 13:25:18.439 1: SolDwd DEBUG> Weather merged: fc1_17, don: 1, wid: 2, RR1c: 0.00, TTT: 17.30, Neff: 83
2025.05.28 13:25:18.439 1: SolDwd DEBUG> Weather merged: fc1_18, don: 1, wid: 3, RR1c: 0.00, TTT: 17.20, Neff: 87
2025.05.28 13:25:18.440 1: SolDwd DEBUG> Weather merged: fc1_19, don: 1, wid: 3, RR1c: 0.00, TTT: 16.80, Neff: 87
2025.05.28 13:25:18.440 1: SolDwd DEBUG> Weather merged: fc1_2, don: 0, wid: 103, RR1c: 0.00, TTT: 11.40, Neff: 83
2025.05.28 13:25:18.440 1: SolDwd DEBUG> Weather merged: fc1_20, don: 1, wid: 3, RR1c: 0.00, TTT: 16.10, Neff: 89
2025.05.28 13:25:18.441 1: SolDwd DEBUG> Weather merged: fc1_21, don: 1, wid: 3, RR1c: 0.00, TTT: 15.60, Neff: 89
2025.05.28 13:25:18.441 1: SolDwd DEBUG> Weather merged: fc1_22, don: 0, wid: 103, RR1c: 0.00, TTT: 15.20, Neff: 93
2025.05.28 13:25:18.442 1: SolDwd DEBUG> Weather merged: fc1_3, don: 0, wid: 103, RR1c: 0.00, TTT: 11.00, Neff: 84
2025.05.28 13:25:18.442 1: SolDwd DEBUG> Weather merged: fc1_4, don: 0, wid: 103, RR1c: 0.00, TTT: 10.90, Neff: 87
2025.05.28 13:25:18.442 1: SolDwd DEBUG> Weather merged: fc1_5, don: 0, wid: 103, RR1c: 0.00, TTT: 10.60, Neff: 81
2025.05.28 13:25:18.443 1: SolDwd DEBUG> Weather merged: fc1_6, don: 1, wid: 3, RR1c: 0.00, TTT: 10.70, Neff: 78
2025.05.28 13:25:18.443 1: SolDwd DEBUG> Weather merged: fc1_7, don: 1, wid: 3, RR1c: 0.00, TTT: 10.90, Neff: 69
2025.05.28 13:25:18.443 1: SolDwd DEBUG> Weather merged: fc1_8, don: 1, wid: 3, RR1c: 0.00, TTT: 11.70, Neff: 72
2025.05.28 13:25:18.444 1: SolDwd DEBUG> Weather merged: fc1_9, don: 1, wid: 2, RR1c: 0.00, TTT: 12.50, Neff: 73

Da kannst du auch die Werte mit dem DWD Device vergleichen.

Vllt. fülle ich aber auch die weatherApiData mit den Werten damit eine Einheitlichkeit vorhanden ist und nicht zur Verwirrung führt.

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

Phill

Hi, und danke für die Antwort.
Dein Hinweis mit dem Debug hat geholfen zu erkennen das es wohl nicht an den Wetterdaten liegt, sondern an den Radiation-Werten und somit an der Einstellung des Attributs setupRadiationAPI. DWD sendet hier Strahlungswerte die viel Höher sind als die von OpenMeteo. Es scheint das die von OpenMeteo Wetterabhängig sind und von DWD Wetterunabhängig oder zumindest viel weniger Wetterabhängig sind.

Es war etwas kniffelig herauszufinden, da wenn man setupWeatherDev1 ändert sofort die neuen Wetterdaten benutzt werden, im Gegensatz ändert man setupRadiationAPI die Daten der vorherigen API noch eine Zeit lang weiter verwendet werden.
Um es eindeutig zu belegen, habe ich dann ein neues Gerät angelegt.

Dass die Rad1h Daten so unterschiedlich sind ist natürlich merkwürdig ist vielleicht auch Stationsabhängig. Bei DWD hatte ich bei der Solarvorhersage immer einen ziemlich akkuraten Sinus, das hatte mich schon die ganze Zeit gewundert. Dann werde ich wohl bei OpenMeteo bleiben.

Grüße und Danke!

Homebrew 1-Wire / HomeMatic Mix - Cubietruck mit FHEM als Server - Raspberry PI 3 als Informationsanzeige im MagicMirror Stil - Raspberry Pi 1 als Klingelanlage - VDR

Mein Modul: Talk2Fhem - Mein Tipp: https://forum.fhem.de/index.php/topic,82442.0.html

Wolle02

Hallo Heiko, ich habe aktuell die Version 1.52.5 laufen. Seit dem Update auf 1.52.4 habe ich festgestellt, dass plötzlich die Prognosewerte für meinen Speicher nicht mehr stimmen. Es wird so angezeigt, als wenn der Speicher über Nacht nicht entladen werden würde. Natürlich wird aber Nachts auch Strom verbraucht, so dass der Speicher morgens dann bei ca. 40% steht.
Wo könnte ich denn hier ansetzen?

caldir65

Moin,

sorry, das Thema hatte ich etwas aus den Augen verloren ...

Zitat von: DS_Starter am 22 Mai 2025, 13:27:47Current_PV = 0 W -> wird vermutlich nicht stimmen.

Leider sieht man das /die Inverter-Attribute nicht.

Habe ich irgendwann mal übersehen, daß der Wechselrichter bzw. die Einrichtung sich geändert hat?
Hier ist der WR:Internals:
   DEF        crypt:51540655 192.168.1.21
   FUUID      5c573c8b-f33f-e6da-959a-d15c910a847eb23a
   FVERSION   76_SMAInverter.pm:v2.29.6-s29924/2025-05-04
   HOST       192.168.1.21
   INTERVAL   60
   INVCLASS   8001
   INVFWMAIN  2
   INVTYPE    9100
   LASTUPDATE 28.05.2025 / 17:06:08
   NAME       PV
   NR         98
   PASS       crypt:51540655
   STATE      530
   TYPE       SMAInverter
   eventCount 8932
   HELPER:
     AVERAGEBUF 530,826,1078,1214,1387,1422,1619,1993,1416,1443,1461,1578,1706,1766,2260,1881,2379
     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.29.6
     firtRunDay 0
   READINGS:
     2025-05-28 17:06:08   INV_CLASS       Solar-Wechselrichter
     2025-05-28 16:35:08   INV_FIRMWARE    2.85.3 R
     2025-05-28 17:06:08   INV_GRIDRELAY   geschlossen
     2025-05-28 17:06:08   INV_GeneralOperatingStatus MPP
     2025-05-28 17:06:08   INV_NAME        SN: 304906370
     2025-05-28 17:06:08   INV_PACMAX1     7000
     2025-05-28 17:06:08   INV_PACMAX2     7000
     2025-05-28 17:06:08   INV_PACMAX3     7000
     2025-05-28 17:06:08   INV_STATUS      Ok
     2025-05-04 20:53:18   INV_TEMP        48.7
     2025-05-28 17:06:08   INV_TYPE        STP 7000TL-20
     2025-05-28 17:06:08   SPOT_ETODAY     14273
     2025-05-28 17:06:08   SPOT_ETODAY_KWh 14.273
     2025-05-28 17:06:08   SPOT_ETOTAL     91153941
     2025-05-28 17:06:08   SPOT_ETOTAL_KWh 91153.941
     2025-05-28 17:06:08   SPOT_FEEDTM     49828.34
     2025-05-28 17:06:08   SPOT_FREQ       50.02
     2025-05-28 17:06:08   SPOT_IAC1       0.75
     2025-05-28 17:06:08   SPOT_IAC2       0.75
     2025-05-28 17:06:08   SPOT_IAC3       0.75
     2025-05-28 17:06:08   SPOT_IDC1       0.546
     2025-05-28 17:06:08   SPOT_IDC2       0.572
     2025-05-28 17:06:08   SPOT_OPERTM     50743.4
     2025-05-28 17:06:08   SPOT_PAC1       177
     2025-05-28 17:06:08   SPOT_PAC2       175
     2025-05-28 17:06:08   SPOT_PAC3       178
     2025-05-28 17:06:08   SPOT_PACTOT     530
     2025-05-28 17:06:08   SPOT_PDC1       228
     2025-05-28 17:06:08   SPOT_PDC2       241
     2025-05-28 17:06:08   SPOT_UAC1       238.88
     2024-02-11 14:22:02   SPOT_UAC1_2     9.870
     2025-05-28 17:06:08   SPOT_UAC2       237
     2024-02-11 14:22:02   SPOT_UAC2_3     9.940
     2025-05-28 17:06:08   SPOT_UAC3       238.18
     2024-02-11 14:22:02   SPOT_UAC3_1     9.880
     2025-05-28 17:06:08   SPOT_UDC1       418.81
     2025-05-28 17:06:08   SPOT_UDC2       423.06
     2025-05-28 17:06:08   SUSyID          181 - SN: 304906370
     2025-05-28 17:06:08   Serialnumber    304906370
     2025-05-28 17:06:08   avg_power_lastminutes_05 1076
     2025-05-28 17:06:08   avg_power_lastminutes_10 1308
     2025-05-28 17:06:08   avg_power_lastminutes_15 1473
     2025-05-28 17:06:08   modulstate      normal
     2025-05-28 17:06:08   opertime_start  28.05.2025 04:29:51
     2025-05-28 17:06:08   opertime_stop   28.05.2025 22:19:21
     2025-05-28 17:06:08   state           530
Attributes:
   SBFSpotComp 0
   detail-level 2
   event-on-change-reading .*
   event-on-update-reading .*
   mode       automatic
   room       PV
   target-serial 304906370
   target-susyid 181
   userReadings SPOT_ETODAY_KWh { my $temp1 = ReadingsVal($name,"SPOT_ETODAY",0)/1000; return $temp1;},
SPOT_ETOTAL_KWh { my $temp1 = ReadingsVal($name,"SPOT_ETOTAL",0)/1000; return $temp1;}
Und nochmal das SV-Device:
Internals:
   FUUID      62f1192d-f33f-378b-0c69-cc57687c40949580
   FVERSION   76_SolarForecast.pm:v1.52.5-s29997/2025-05-25
   LCACHEFILE last write time: 17:00:04 File: ./FHEM/FhemUtils/AIraw_SolarForecast_SolarForecast
   MODE       Automatic / Event-controlled - next planned Cycletime: 17:09:34
   MODEL      OpenMeteoDWDAPI
   NAME       SolarForecast
   NOTIFYDEV  MyObis,ShellyPlugS_HWR_Waschmaschine,ShellyPlug_HWR_Trockner,ShellyPlugS_Kueche_SpueMa,ShellyPlugS_Kueche_Kuehlschrank,Shellyplus1pm_Gartenhaus_Gefrierschrank,ShellyPlugS_Buero_PC,ShellyPlusPlugS_Buero_fhem,ShellyPlusPlugS_Buero_NAS,ShellyPlugS_Wohnzimmer_TV,ShellyPlusPlugS_Buero_FritzBox,PV
   NR         1422
   NTFY_ORDER 50-SolarForecast
   STATE      updated
   TYPE       SolarForecast
   WEATHERMODEL OpenMeteoDWDAPI
   eventCount 3006
   HELPER:
     FW         WEB
     PACKAGE    FHEM::SolarForecast
     S10DONE    1
     SPGDETAIL 
     SPGDEV     SolarForecast
     SPGROOM   
     VERSION    1.52.5
     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     11359
       finishFn   FHEM::SolarForecast::_processMessageFile
       fn         FHEM::SolarForecast::_retrieveMessageFile
       loglevel   3
       pid        DEAD:3838722
       telnet     telnetForBlockingFn_1748357921.0281_127.0.0.1_53688
       terminated 1
       timeout    30
       abortArg:
       arg:
         block      1
         name       SolarForecast
         tsnext     1748445387.15631
   OLDREADINGS:
   READINGS:
     2025-05-28 17:08:24   Current_AutarkyRate 0 %
     2025-05-28 17:08:24   Current_Consumption 269 W
     2025-05-28 17:08:24   Current_GridConsumption 269 W
     2025-05-28 17:08:24   Current_GridFeedIn 0 W
     2025-05-28 17:08:24   Current_PV      0 W
     2025-05-28 17:08:24   Current_SelfConsumption 0 W
     2025-05-28 17:08:24   Current_SelfConsumptionRate 0 %
     2025-05-28 17:08:24   Current_Surplus 0 W
     2025-05-28 17:00:00   LastHourGridconsumptionReal 1258 Wh
     2025-05-28 17:00:00   LastHourPVforecast 650 Wh
     2025-05-28 17:00:00   LastHourPVreal  1515 Wh
     2025-05-28 17:08:24   NextHours_Sum01_PVforecast 1048 Wh
     2025-05-28 17:08:24   NextHours_Sum02_PVforecast 1730 Wh
     2025-05-28 17:08:24   NextHours_Sum03_PVforecast 1985 Wh
     2025-05-28 17:08:24   NextHours_Sum04_ConsumptionForecast 2307 Wh
     2025-05-28 17:08:24   NextHours_Sum04_PVforecast 2110 Wh
     2025-05-28 17:08:24   RestOfDayConsumptionForecast 3570 Wh
     2025-05-28 17:08:24   RestOfDayPVforecast 2113 Wh
     2025-05-28 00:59:49   Today_Hour01_GridConsumption 361 Wh
     2025-05-28 00:59:49   Today_Hour01_GridFeedIn 0 Wh
     2025-05-28 00:59:49   Today_Hour01_PVreal 0 Wh
     2025-05-28 01:59:49   Today_Hour02_GridConsumption 369 Wh
     2025-05-28 01:59:49   Today_Hour02_GridFeedIn 0 Wh
     2025-05-28 01:59:49   Today_Hour02_PVreal 0 Wh
     2025-05-28 02:59:49   Today_Hour03_GridConsumption 372 Wh
     2025-05-28 02:59:49   Today_Hour03_GridFeedIn 0 Wh
     2025-05-28 02:59:49   Today_Hour03_PVreal 0 Wh
     2025-05-28 03:59:49   Today_Hour04_GridConsumption 347 Wh
     2025-05-28 03:59:49   Today_Hour04_GridFeedIn 0 Wh
     2025-05-28 03:59:49   Today_Hour04_PVreal 0 Wh
     2025-05-28 04:59:52   Today_Hour05_GridConsumption 349 Wh
     2025-05-28 04:59:52   Today_Hour05_GridFeedIn 0 Wh
     2025-05-28 04:59:52   Today_Hour05_PVreal 0 Wh
     2025-05-28 05:59:49   Today_Hour06_GridConsumption 414 Wh
     2025-05-28 05:59:49   Today_Hour06_GridFeedIn 0 Wh
     2025-05-28 05:59:49   Today_Hour06_PVforecast 19 Wh
     2025-05-28 05:59:49   Today_Hour06_PVreal 0 Wh
     2025-05-28 06:59:49   Today_Hour07_GridConsumption 532 Wh
     2025-05-28 06:59:49   Today_Hour07_GridFeedIn 0 Wh
     2025-05-28 06:59:49   Today_Hour07_PVforecast 79 Wh
     2025-05-28 06:59:49   Today_Hour07_PVreal 67 Wh
     2025-05-28 07:59:49   Today_Hour08_GridConsumption 170 Wh
     2025-05-28 07:59:49   Today_Hour08_GridFeedIn 51 Wh
     2025-05-28 07:59:49   Today_Hour08_PVforecast 292 Wh
     2025-05-28 07:59:49   Today_Hour08_PVreal 392 Wh
     2025-05-28 08:59:49   Today_Hour09_GridConsumption 28 Wh
     2025-05-28 08:59:49   Today_Hour09_GridFeedIn 252 Wh
     2025-05-28 08:59:49   Today_Hour09_PVforecast 915 Wh
     2025-05-28 08:59:49   Today_Hour09_PVreal 723 Wh
     2025-05-28 09:59:52   Today_Hour10_GridConsumption 449 Wh
     2025-05-28 09:59:52   Today_Hour10_GridFeedIn 609 Wh
     2025-05-28 09:59:52   Today_Hour10_PVforecast 708 Wh
     2025-05-28 09:59:52   Today_Hour10_PVreal 1415 Wh
     2025-05-28 10:59:50   Today_Hour11_GridConsumption 0 Wh
     2025-05-28 10:59:50   Today_Hour11_GridFeedIn 1697 Wh
     2025-05-28 10:59:50   Today_Hour11_PVforecast 3423 Wh
     2025-05-28 10:59:50   Today_Hour11_PVreal 2137 Wh
     2025-05-28 11:59:49   Today_Hour12_GridConsumption 0 Wh
     2025-05-28 11:59:49   Today_Hour12_GridFeedIn 2291 Wh
     2025-05-28 11:59:49   Today_Hour12_PVforecast 714 Wh
     2025-05-28 11:59:49   Today_Hour12_PVreal 2807 Wh
     2025-05-28 12:59:49   Today_Hour13_GridConsumption 13 Wh
     2025-05-28 12:59:49   Today_Hour13_GridFeedIn 696 Wh
     2025-05-28 12:59:49   Today_Hour13_PVforecast 1316 Wh
     2025-05-28 12:59:49   Today_Hour13_PVreal 1092 Wh
     2025-05-28 13:59:49   Today_Hour14_GridConsumption 259 Wh
     2025-05-28 13:59:49   Today_Hour14_GridFeedIn 420 Wh
     2025-05-28 13:59:49   Today_Hour14_PVforecast 1952 Wh
     2025-05-28 13:59:49   Today_Hour14_PVreal 807 Wh
     2025-05-28 14:59:49   Today_Hour15_GridConsumption 174 Wh
     2025-05-28 14:59:49   Today_Hour15_GridFeedIn 570 Wh
     2025-05-28 14:59:49   Today_Hour15_PVforecast 1803 Wh
     2025-05-28 14:59:49   Today_Hour15_PVreal 831 Wh
     2025-05-28 15:59:49   Today_Hour16_GridConsumption 488 Wh
     2025-05-28 15:59:49   Today_Hour16_GridFeedIn 1754 Wh
     2025-05-28 15:59:49   Today_Hour16_PVforecast 3988 Wh
     2025-05-28 15:59:49   Today_Hour16_PVreal 2335 Wh
     2025-05-28 16:59:49   Today_Hour17_GridConsumption 1258 Wh
     2025-05-28 16:59:49   Today_Hour17_GridFeedIn 534 Wh
     2025-05-28 16:59:49   Today_Hour17_PVforecast 650 Wh
     2025-05-28 16:59:49   Today_Hour17_PVreal 1515 Wh
     2025-05-28 17:08:24   Today_Hour18_GridConsumption 7 Wh
     2025-05-28 17:08:24   Today_Hour18_GridFeedIn 65 Wh
     2025-05-28 17:08:24   Today_Hour18_PVforecast 1101 Wh
     2025-05-28 17:08:24   Today_Hour18_PVreal 165 Wh
     2025-05-28 17:08:24   Today_Hour19_PVforecast 754 Wh
     2025-05-28 17:08:24   Today_Hour20_PVforecast 274 Wh
     2025-05-28 17:08:24   Today_Hour21_PVforecast 146 Wh
     2025-05-28 17:08:24   Today_Hour22_PVforecast 4 Wh
     2025-05-28 17:08:24   Today_MaxPVforecast 3988 Wh
     2025-05-28 17:08:24   Today_MaxPVforecastTime 2025-05-28 15:00:00
     2025-05-28 17:08:24   Today_PVforecast 18138 Wh
     2025-05-28 17:08:24   Today_PVreal    14286 Wh
     2025-05-28 17:08:24   Today_SunRise   05:15
     2025-05-28 17:08:24   Today_SunSet    21:33
     2025-05-28 17:08:24   Tomorrow_ConsumptionForecast 11336 Wh
     2025-05-28 17:08:24   Tomorrow_PVforecast 23604 Wh
     2025-05-28 17:08:24   Tomorrow_SunRise 05:14
     2025-05-28 17:08:24   Tomorrow_SunSet 21:34
     2025-05-28 17:08:24   consumer01      name='ShellyPlugS_HWR_Waschmaschine' state='on' mode='can' planningstate='noSchedule'
     2025-05-28 17:08:24   consumer01_ConsumptionRecommended 0
     2025-05-28 17:08:24   consumer01_currentPower 0 W
     2025-05-28 17:08:24   consumer02      name='ShellyPlug_HWR_Trockner' state='on' mode='can' planningstate='noSchedule'
     2025-05-28 17:08:24   consumer02_currentPower 2.61 W
     2025-05-28 17:08:24   consumer03      name='ShellyPlugS_Kueche_SpueMa' state='on' mode='can' planningstate='noSchedule'
     2025-05-28 17:08:24   consumer03_ConsumptionRecommended 0
     2025-05-28 17:08:24   consumer03_currentPower 39.69 W
     2025-05-28 17:08:24   consumer04      name='ShellyPlugS_Kueche_Kuehlschrank' state='on' mode='can' planningstate='noSchedule'
     2025-05-28 17:08:24   consumer04_ConsumptionRecommended 0
     2025-05-28 17:08:24   consumer04_currentPower 0 W
     2025-05-28 17:08:24   consumer05      name='Gefrierschrank Gartenhaus mit Temp' state='on' mode='can' planningstate='noSchedule'
     2025-05-28 17:08:24   consumer05_currentPower 1 W
     2025-05-28 17:08:24   consumer06      name='ShellyPlugS_Buero_PC' state='on' mode='can' planningstate='noSchedule' info='von extern umgeschaltet'
     2025-05-28 17:08:24   consumer06_currentPower 75.76 W
     2025-05-28 17:08:24   consumer07      name='ShellyPlusPlugS_Buero_fhem' state='unknown' mode='can' planningstate='noSchedule'
     2025-05-28 17:08:24   consumer07_currentPower 5.7 W
     2025-05-28 17:08:24   consumer08      name='ShellyPlusPlugS_Buero_NAS' state='on' mode='can' planningstate='noSchedule'
     2025-05-28 17:08:24   consumer08_currentPower 0 W
     2025-05-28 17:08:24   consumer09      name='ShellyPlugS_Wohnzimmer_TV' state='off' mode='can' planningstate='noSchedule'
     2025-05-28 17:08:24   consumer09_currentPower 0 W
     2025-05-28 17:08:24   consumer10      name='ShellyPlusPlugS_Buero_FritzBox' state='on' mode='can' planningstate='noSchedule'
     2025-05-28 17:08:24   consumer10_currentPower 0 W
     2025-05-28 17:08:24   nextCycletime   17:09:34
     2022-10-18 14:57:17   nextPolltime    14:58:27
     2025-05-28 16:57:54   nextRadiationAPICall nach 28.05.2025 17:12:54
     2025-05-28 07:00:04   pvCorrectionFactor_07 0.98 (automatic - old factor: 0.85, AI result used, Sun Alt range: 10, Cloud range: 100, Days in range: 7)
     2025-05-28 08:00:05   pvCorrectionFactor_08 1.64 (automatic - old factor: 1.27, Sun Alt range: 20, Cloud range: 100, Days in range: 3)
     2025-05-28 09:00:04   pvCorrectionFactor_09 1.08 (automatic - old factor: 1.73, AI result used, Sun Alt range: 25, Cloud range: 100, Days in range: 5)
     2025-05-28 10:00:04   pvCorrectionFactor_10 1.12 (automatic - old factor: 1.12, AI result used, Sun Alt range: 35, Cloud range: 100, Days in range: 5)
     2025-05-28 11:00:04   pvCorrectionFactor_11 1.13 (automatic - old factor: 1.13, AI result used, Sun Alt range: 45, Cloud range: 100, Days in range: 6)
     2025-05-28 12:00:04   pvCorrectionFactor_12 1.12 (automatic - old factor: 0.80, Sun Alt range: 50, Cloud range: 100, Days in range: 5)
     2025-05-28 13:00:05   pvCorrectionFactor_13 0.95 (automatic - old factor: 1.02, Sun Alt range: 60, Cloud range: 100, Days in range: 2)
     2025-05-28 14:00:05   pvCorrectionFactor_14 0.94 (automatic - old factor: 0.90, AI result used, Sun Alt range: 60, Cloud range: 100, Days in range: 5)
     2025-05-28 15:00:03   pvCorrectionFactor_15 0.98 (automatic - old factor: 0.99, AI result used, Sun Alt range: 55, Cloud range: 100, Days in range: 10)
     2025-05-28 16:00:04   pvCorrectionFactor_16 0.97 (automatic - old factor: 0.81, AI result used, Sun Alt range: 50, Cloud range: 100, Days in range: 7)
     2025-05-28 17:00:04   pvCorrectionFactor_17 1.22 (automatic - old factor: 0.83, AI result used, Sun Alt range: 45, Cloud range: 100, Days in range: 3)
     2025-05-28 17:08:24   pvCorrectionFactor_Auto on_complex_ai
     2025-05-28 17:08:24   special_runTimeTrainAI 10.14762 s
     2025-05-28 17:08:25   state           updated
Attributes:
   DbLogExclude .*
   alias      SolarForecast
   cmdIcon    consumer03_ConsumptionRecommended cmdIcon 0:15px-red 1:15px-green consumer04_ConsumptionRecommended cmdIcon 0:15px-red 1:15px-green
   comment    ShellyPlugS_Gartenhaus_Weatherman



funktioniert:
consumer03_planned_hour {my @consumer03_planned = split( " ", ReadingsVal("SolarForecast","consumer03_planned_start",""));return $consumer03_planned[1];}

gibt im Moment Fehler:
consumer03_planned_hour {my @consumer03_planned = split( " ", ReadingsVal("SolarForecast","consumer03_planned_start","")); my @pieces = split(/:/,$consumer03_planned[1]); return $pieces[0].":".$pieces[1]},
consumer03_planned_date {my @consumer03_planned = split( " ", ReadingsVal("SolarForecast","consumer03_planned_start","")); my @pieces = split(/:/,$consumer03_planned[0]); return $pieces[1]}
   consumer01 ShellyPlugS_HWR_Waschmaschine type=noSchedule power=2200 icon=scene_washing_machine pcurr=power:W
   consumer02 ShellyPlug_HWR_Trockner type=noSchedule icon=scene_clothes_dryer pcurr=power:W power=3000
   consumer03 ShellyPlugS_Kueche_SpueMa type=noSchedule power=2200 icon=scene_dishwasher pcurr=power:W
   consumer04 ShellyPlugS_Kueche_Kuehlschrank type=noSchedule power=90 icon=kuehlschrank_small pcurr=power:W
   consumer05 Shellyplus1pm_Gartenhaus_Gefrierschrank type=noSchedule power=90 icon=gefrierschrank_icon pcurr=power:W
   consumer06 ShellyPlugS_Buero_PC type=noSchedule power=100 switchdev=ShellyPlugS_Buero_PC icon=it_pc pcurr=power:W
   consumer07 ShellyPlusPlugS_Buero_fhem type=noSchedule power=100 switchdev=ShellyPlusPlugS_Buero_fhem icon=system_fhem pcurr=power:W
   consumer08 ShellyPlusPlugS_Buero_NAS type=noSchedule power=150 icon=it_nas pcurr=power:W
   consumer09 ShellyPlugS_Wohnzimmer_TV type=noSchedule power=150 icon=it_television pcurr=power:W
   consumer10 ShellyPlusPlugS_Buero_FritzBox type=noSchedule power=20 icon=it_router pcurr=power:W
   consumerControl adviceIcon=radio_checked@green detailLink=1 showLegend=text_bottom
   ctrlConsRecommendReadings 01,03,04
   ctrlSpecialReadings runTimeTrainAI
   event-on-change-reading .*
   graphicBeam1Color 35E01B
   graphicBeam1Content pvReal
   graphicBeam2Color FF8F1F
   graphicBeam2Content pvForecast
   graphicControl hourCount=24 hourStyle=:00 layoutType=double
   graphicHeaderOwnspec #
AutarkyRate:Current_AutarkyRate
Überschuß:Current_Surplus
aktueller Netzbezug:Current_GridConsumption
aktuelle Einspeisung:Current_GridFeedIn
   graphicHistoryHour 0
   graphicSelect both
   group      Energie
   room       EG->HWR,OG->Buero
   setupInverterDev01 PV pv=SPOT_PACTOT:W etotal=SPOT_ETOTAL:W capacity=7500
   setupInverterStrings Sued
   setupMeterDev MyObis gcon=power:W gfeedin=-gcon contotal=total_consumption:W feedtotal=total_feed:W
   setupRadiationAPI OpenMeteoDWD-API
   setupStringAzimuth Sued=SE
   setupStringDeclination Sued=45
   setupStringPeak Sued=7.5
   setupWeatherDev1 OpenMeteoDWD-API

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

DS_Starter

@caldir65,

setupInverterDev01 PV pv=SPOT_PACTOT:W etotal=SPOT_ETOTAL:W capacity=7500

muß heißen

setupInverterDev01 PV pvOut=SPOT_PACTOT:W etotal=SPOT_ETOTAL:W capacity=7500


Die Umsetzung erfolgte automatisch. Möglicherweise hast du die Strukturänderung nicht gespeichert.

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

DS_Starter

@Wolle02,

poste bitte deine setup* - Attribute.

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

caldir65

#3044
Hallo Heiko,

danke, leider funktioniert das so nicht - beim setzen des attr kommt eine Fehlermeldung "The key 'etotal=SPOT_ETOTAL:W' is not specified correctly. Please refer to the command reference."

Zitat von: DS_Starter am 28 Mai 2025, 18:13:25setupInverterDev01 PV pv=SPOT_PACTOT:W etotal=SPOT_ETOTAL:W capacity=7500

muß heißen

setupInverterDev01 PV pvOut=SPOT_PACTOT:W etotal=SPOT_ETOTAL:W capacity=7500

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