Leistungsprognose für Wechselrichter

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

Vorheriges Thema - Nächstes Thema

DS_Starter

Hallo zusammen,

wer von euch eine Victron Energy Anlage hat, kann sich neuerdings im VRM Portal eine Prognose für seine Anlage erstellen lassen.
Dazu hat Victron den Dienst SolCast  ;)  eingebunden. Weiterhin wurde von Victron kommuniziert, dass die eigenen Erzeugungsdaten durch eine KI ausgewertet werden um die Prognose zu unterstützen bzw. zu verbessern.

In diesem Beitrag könnt ihr euch informieren:
https://www.victronenergy.com/blog/2023/07/05/new-vrm-solar-production-forecast-feature/

Ich habe in meinem VRM Portal die Voraussetzungen für die Vorhersage nun eingerichtet und warte jetzt auf Daten. Bisher ist noch nichts gekommen.
Interessant wird sein, dass das VRM Portal eine API hat, mit der es sehr wahrscheinlich möglich sein wird die Prognosedaten für die eigene Anlage aus dem Portal abzurufen.
Damit hätten wir eine SolCast + KI-gestützte Prognose zur Verfügung die ich als weitere API in das Modul einbauen könnte wenn es klappt. Leider wäre diese API nur Nutzern von Victron Energy Anlagen vorbehalten.
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

der-Lolo

Zitat von: DS_Starter am 08 August 2023, 22:20:27Funktioniert die Zyklenaufteilung / Optimierung mit der neuen V jetzt bei dir?

Hallo Heiko,
ich war ein paar Tage nicht zuhause und hab unterwegs nicht auf dieses thema geschaut...
Jetzt aktuell fällt mir auf das die letzte Abfrage offenbar um 09:31 stattgefunden hat.

Das ctrlDebug Attribut hatte ich vor Abreise entfernt aber gerade wieder aktiviert, morgen Abend wissen wir mehr.

MarkusN

Zitat von: DS_Starter am 11 August 2023, 14:28:13Hallo zusammen,

wer von euch eine Victron Energy Anlage hat, kann sich neuerdings im VRM Portal eine Prognose für seine Anlage erstellen lassen.
Dazu hat Victron den Dienst SolCast  ;)  eingebunden. Weiterhin wurde von Victron kommuniziert, dass die eigenen Erzeugungsdaten durch eine KI ausgewertet werden um die Prognose zu unterstützen bzw. zu verbessern.

In diesem Beitrag könnt ihr euch informieren:
https://www.victronenergy.com/blog/2023/07/05/new-vrm-solar-production-forecast-feature/

Ich habe in meinem VRM Portal die Voraussetzungen für die Vorhersage nun eingerichtet und warte jetzt auf Daten. Bisher ist noch nichts gekommen.
Interessant wird sein, dass das VRM Portal eine API hat, mit der es sehr wahrscheinlich möglich sein wird die Prognosedaten für die eigene Anlage aus dem Portal abzurufen.
Damit hätten wir eine SolCast + KI-gestützte Prognose zur Verfügung die ich als weitere API in das Modul einbauen könnte wenn es klappt. Leider wäre diese API nur Nutzern von Victron Energy Anlagen vorbehalten.

Ja bitte! Ich habe schon nach Wegen gesucht die Daten in FHEM zu bekommen.

DS_Starter

Guten Morgen,

@MarkusN, hast du in deinem VRM Portal schon Vorhersagedaten für deine Anlage verfügbar?
Vllt. vor 5 Tagen habe ich bei mir die Location gesetzt/aktiviert. Bis jetzt gibt es in meinem VRM Portal noch keine Vorhersage.
 
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

der-Lolo

Guten morgen Heiko,
aktuell sieht es so bei mir aus:
2023.08.13 04:44:22 1: Prognose DEBUG> SolCast API Call - max possible daily API requests: 10
2023.08.13 04:44:22 1: Prognose DEBUG> SolCast API Call - Requestmultiplier: 1
2023.08.13 04:44:22 1: Prognose DEBUG> SolCast API Call - possible daily API Calls: 10
2023.08.13 04:44:22 1: Prognose DEBUG> Request SolCast API for string "Südost": https://api.solcast.com.au/rooftop_sites/
2023.08.13 04:44:24 1: Prognose DEBUG> SolCast API Call - done API Calls: 1
2023.08.13 04:44:24 1: Prognose DEBUG> SolCast API Call - Sunset: 2023-08-13 20:40:00, remain Sec to Sunset: 57336, new interval: 5733
2023.08.13 04:44:24 1: Prognose DEBUG> SolCast API Call - remaining API Calls: 9
2023.08.13 04:44:24 1: Prognose DEBUG> SolCast API Call - next API Call: 13.08.2023 06:19:57
2023.08.13 04:44:24 1: Prognose DEBUG> Request SolCast API for string "Nordwest": https://api.solcast.com.au/rooftop_sites/
2023.08.13 04:44:25 1: Prognose DEBUG> SolCast API Call - done API Calls: 1
2023.08.13 04:44:25 1: Prognose DEBUG> SolCast API Call - Sunset: 2023-08-13 20:40:00, remain Sec to Sunset: 57335, new interval: 5733
2023.08.13 04:44:25 1: Prognose DEBUG> SolCast API Call - remaining API Calls: 9
2023.08.13 04:44:25 1: Prognose DEBUG> SolCast API Call - next API Call: 13.08.2023 06:19:58
2023.08.13 04:44:25 1: Prognose DEBUG> Request SolCast API for string "West": https://api.solcast.com.au/rooftop_sites
2023.08.13 04:44:27 1: Prognose DEBUG> SolCast API Call - done API Calls: 1
2023.08.13 04:44:27 1: Prognose DEBUG> SolCast API Call - Sunset: 2023-08-13 20:40:00, remain Sec to Sunset: 57333, new interval: 5733
2023.08.13 04:44:27 1: Prognose DEBUG> SolCast API Call - remaining API Calls: 9
2023.08.13 04:44:27 1: Prognose DEBUG> SolCast API Call - next API Call: 13.08.2023 06:20:00
2023.08.13 05:11:38 2: Staubsauger: connecting
2023.08.13 06:20:02 1: Prognose DEBUG> SolCast API Call - max possible daily API requests: 10
2023.08.13 06:20:02 1: Prognose DEBUG> SolCast API Call - Requestmultiplier: 1
2023.08.13 06:20:02 1: Prognose DEBUG> SolCast API Call - possible daily API Calls: 10
2023.08.13 06:20:02 1: Prognose DEBUG> Request SolCast API for string "Südost": https://api.solcast.com.au/rooftop_sites/
2023.08.13 06:20:04 1: Prognose DEBUG> SolCast API Call - done API Calls: 2
2023.08.13 06:20:04 1: Prognose DEBUG> SolCast API Call - Sunset: 2023-08-13 20:40:00, remain Sec to Sunset: 51596, new interval: 5732
2023.08.13 06:20:04 1: Prognose DEBUG> SolCast API Call - remaining API Calls: 8
2023.08.13 06:20:04 1: Prognose DEBUG> SolCast API Call - next API Call: 13.08.2023 07:55:36
2023.08.13 06:20:04 1: Prognose DEBUG> Request SolCast API for string "Nordwest": https://api.solcast.com.au/rooftop_sites/
2023.08.13 06:20:06 1: Prognose DEBUG> SolCast API Call - done API Calls: 2
2023.08.13 06:20:06 1: Prognose DEBUG> SolCast API Call - Sunset: 2023-08-13 20:40:00, remain Sec to Sunset: 51594, new interval: 5732
2023.08.13 06:20:06 1: Prognose DEBUG> SolCast API Call - remaining API Calls: 8
2023.08.13 06:20:06 1: Prognose DEBUG> SolCast API Call - next API Call: 13.08.2023 07:55:38
2023.08.13 06:20:06 1: Prognose DEBUG> Request SolCast API for string "West": https://api.solcast.com.au/rooftop_sites/
2023.08.13 06:20:08 1: Prognose DEBUG> SolCast API Call - done API Calls: 2
2023.08.13 06:20:08 1: Prognose DEBUG> SolCast API Call - Sunset: 2023-08-13 20:40:00, remain Sec to Sunset: 51593, new interval: 5732
2023.08.13 06:20:08 1: Prognose DEBUG> SolCast API Call - remaining API Calls: 8
2023.08.13 06:20:08 1: Prognose DEBUG> SolCast API Call - next API Call: 13.08.2023 07:55:39
2023.08.13 07:55:43 1: Prognose DEBUG> SolCast API Call - max possible daily API requests: 10
2023.08.13 07:55:43 1: Prognose DEBUG> SolCast API Call - Requestmultiplier: 1
2023.08.13 07:55:43 1: Prognose DEBUG> SolCast API Call - possible daily API Calls: 10
2023.08.13 07:55:43 1: Prognose DEBUG> Request SolCast API for string "Südost": https://api.solcast.com.au/rooftop_sites/
2023.08.13 07:55:44 1: Prognose DEBUG> SolCast API Call - done API Calls: 3
2023.08.13 07:55:44 1: Prognose DEBUG> SolCast API Call - Sunset: 2023-08-13 20:40:00, remain Sec to Sunset: 45856, new interval: 5732
2023.08.13 07:55:44 1: Prognose DEBUG> SolCast API Call - remaining API Calls: 7
2023.08.13 07:55:44 1: Prognose DEBUG> SolCast API Call - next API Call: 13.08.2023 09:31:16
2023.08.13 07:55:45 1: Prognose DEBUG> Request SolCast API for string "Nordwest": https://api.solcast.com.au/rooftop_sites
2023.08.13 07:55:46 1: Prognose DEBUG> SolCast API Call - done API Calls: 3
2023.08.13 07:55:46 1: Prognose DEBUG> SolCast API Call - Sunset: 2023-08-13 20:40:00, remain Sec to Sunset: 45854, new interval: 5731
2023.08.13 07:55:46 1: Prognose DEBUG> SolCast API Call - remaining API Calls: 7
2023.08.13 07:55:46 1: Prognose DEBUG> SolCast API Call - next API Call: 13.08.2023 09:31:17
2023.08.13 07:55:46 1: Prognose DEBUG> Request SolCast API for string "West": https://api.solcast.com.au/rooftop_sites/
2023.08.13 07:55:48 1: Prognose DEBUG> SolCast API Call - done API Calls: 3
2023.08.13 07:55:48 1: Prognose DEBUG> SolCast API Call - Sunset: 2023-08-13 20:40:00, remain Sec to Sunset: 45853, new interval: 5731
2023.08.13 07:55:48 1: Prognose DEBUG> SolCast API Call - remaining API Calls: 7
2023.08.13 07:55:48 1: Prognose DEBUG> SolCast API Call - next API Call: 13.08.2023 09:31:18

2023.08.13 09:31:23 1: Prognose DEBUG> SolCast API Call - max possible daily API requests: 10
2023.08.13 09:31:23 1: Prognose DEBUG> SolCast API Call - Requestmultiplier: 1
2023.08.13 09:31:23 1: Prognose DEBUG> SolCast API Call - possible daily API Calls: 10
2023.08.13 09:31:23 1: Prognose DEBUG> Request SolCast API for string "Südost": https://api.solcast.com.au/rooftop_sites/
2023.08.13 09:31:25 1: Prognose DEBUG> SolCast API Call - done API Calls: 4
2023.08.13 09:31:25 1: Prognose DEBUG> SolCast API Call - Sunset: 2023-08-13 20:40:00, remain Sec to Sunset: 40116, new interval: 5730
2023.08.13 09:31:25 1: Prognose DEBUG> SolCast API Call - remaining API Calls: 6
2023.08.13 09:31:25 1: Prognose DEBUG> SolCast API Call - next API Call: 13.08.2023 11:06:54
2023.08.13 09:31:25 1: Prognose DEBUG> Request SolCast API for string "Nordwest": https://api.solcast.com.au/rooftop_sites/
2023.08.13 09:31:26 1: Prognose DEBUG> SolCast API Call - done API Calls: 4
2023.08.13 09:31:26 1: Prognose DEBUG> SolCast API Call - Sunset: 2023-08-13 20:40:00, remain Sec to Sunset: 40115, new interval: 5730
2023.08.13 09:31:26 1: Prognose DEBUG> SolCast API Call - remaining API Calls: 6
2023.08.13 09:31:26 1: Prognose DEBUG> SolCast API Call - next API Call: 13.08.2023 11:06:55
2023.08.13 09:31:26 1: Prognose DEBUG> Request SolCast API for string "West": https://api.solcast.com.au/rooftop_sites
2023.08.13 09:31:27 1: Prognose DEBUG> SolCast API Call - done API Calls: 4
2023.08.13 09:31:27 1: Prognose DEBUG> SolCast API Call - Sunset: 2023-08-13 20:40:00, remain Sec to Sunset: 40113, new interval: 5730
2023.08.13 09:31:27 1: Prognose DEBUG> SolCast API Call - remaining API Calls: 6
2023.08.13 09:31:27 1: Prognose DEBUG> SolCast API Call - next API Call: 13.08.2023 11:06:57



Die Oberfläche zeigt das alle "Credits" schon aufgebraucht sind, letzte abfrage war 09:31

SolCast: 13.08.2023 09:31:27  API Abfrage erfolgreich
automatischer Zyklus: ab 60 Minuten vor dem kommenden Sonnenaufgang  (12/0)

Nochmal kurz: mein wunsch wäre die letzte Abfrage später am Abend zuhaben ( Sunset? )

DS_Starter

Ja, das Ziel ist klar. Ich muß deine Ausschriften erstmal analysieren.
Bei mir klappt es auch mit der aktuellen V sehr gut.
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

Bitte zeig mir mal das obere Drittel von "get ... solApiData". Bitte die ?IdPair => unkenttlich machen.
Die Solardaten der Strings sind für mich jetzt auch nicht relevant. Es geht mir nur um die Steuerdaten.
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

der-Lolo

Gerne.

?All => ?All => currentAPIinterval: 5730
                lastretrieval_time: 2023-08-13 09:31:27
                lastretrieval_timestamp: 1691911887
                response_message: success
                solCastAPIcallMultiplier: 1
                todayDoneAPIcalls: 4
                todayDoneAPIrequests: 12
                todayMaxAPIcalls: 10
                todayRemainingAPIcalls: 6
                todayRemainingAPIrequests: 0
?IdPair => ?p1 => apikey:
           ?p2 => apikey:
           ?p3 => apikey:
Nordwest => 2023-08-13 05:00:00 => pv_estimate50: 2
            2023-08-13 06:00:00 => pv_estimate50: 47
            2023-08-13 07:00:00 => pv_estimate50: 258
            2023-08-13 08:00:00 => pv_estimate50: 526
            2023-08-13 09:00:00 => pv_estimate50: 715
            2023-08-13 10:00:00 => pv_estimate50: 908
            2023-08-13 11:00:00 => pv_estimate50: 1052
            2023-08-13 12:00:00 => pv_estimate50: 1089
            2023-08-13 13:00:00 => pv_estimate50: 1133
            2023-08-13 14:00:00 => pv_estimate50: 1100
            2023-08-13 15:00:00 => pv_estimate50: 1016
            2023-08-13 16:00:00 => pv_estimate50: 869
            2023-08-13 17:00:00 => pv_estimate50: 676
            2023-08-13 18:00:00 => pv_estimate50: 400
            2023-08-13 19:00:00 => pv_estimate50: 101
            2023-08-13 20:00:00 => pv_estimate50: 7
            2023-08-14 05:00:00 => pv_estimate50: 1
            2023-08-14 06:00:00 => pv_estimate50: 89
            2023-08-14 07:00:00 => pv_estimate50: 301
            2023-08-14 08:00:00 => pv_estimate50: 509
            2023-08-14 09:00:00 => pv_estimate50: 700
            2023-08-14 10:00:00 => pv_estimate50: 861
            2023-08-14 11:00:00 => pv_estimate50: 1006
            2023-08-14 12:00:00 => pv_estimate50: 1102
            2023-08-14 13:00:00 => pv_estimate50: 1153
            2023-08-14 14:00:00 => pv_estimate50: 1110
            2023-08-14 15:00:00 => pv_estimate50: 1004
            2023-08-14 16:00:00 => pv_estimate50: 800
            2023-08-14 17:00:00 => pv_estimate50: 556
            2023-08-14 18:00:00 => pv_estimate50: 310
            2023-08-14 19:00:00 => pv_estimate50: 83
            2023-08-14 20:00:00 => pv_estimate50: 6
            2023-08-15 06:00:00 => pv_estimate50: 38
            2023-08-15 07:00:00 => pv_estimate50: 229
            2023-08-15 08:00:00 => pv_estimate50: 474
            2023-08-15 09:00:00 => pv_estimate50: 667
            2023-08-15 10:00:00 => pv_estimate50: 820
            2023-08-15 11:00:00 => pv_estimate50: 946
            2023-08-15 12:00:00 => pv_estimate50: 1035
            2023-08-15 13:00:00 => pv_estimate50: 1074
            2023-08-15 14:00:00 => pv_estimate50: 1071
            2023-08-15 15:00:00 => pv_estimate50: 986
            2023-08-15 16:00:00 => pv_estimate50: 824
            2023-08-15 17:00:00 => pv_estimate50: 597
            2023-08-15 18:00:00 => pv_estimate50: 281
            2023-08-15 19:00:00 => pv_estimate50: 62
            2023-08-15 20:00:00 => pv_estimate50: 4
            2023-08-16 06:00:00 => pv_estimate50: 39
            2023-08-16 07:00:00 => pv_estimate50: 220
            2023-08-16 08:00:00 => pv_estimate50: 474
            2023-08-16 09:00:00 => pv_estimate50: 689
Südost => 2023-08-13 05:00:00 => pv_estimate50: 2
           2023-08-13 06:00:00 => pv_estimate50: 57
           2023-08-13 07:00:00 => pv_estimate50: 325
           2023-08-13 08:00:00 => pv_estimate50: 880
           2023-08-13 09:00:00 => pv_estimate50: 1594.5
           2023-08-13 10:00:00 => pv_estimate50: 1872
           2023-08-13 11:00:00 => pv_estimate50: 1887
           2023-08-13 12:00:00 => pv_estimate50: 2042
           2023-08-13 13:00:00 => pv_estimate50: 2174
           2023-08-13 14:00:00 => pv_estimate50: 1902
           2023-08-13 15:00:00 => pv_estimate50: 1575
           2023-08-13 16:00:00 => pv_estimate50: 1197
           2023-08-13 17:00:00 => pv_estimate50: 806
           2023-08-13 18:00:00 => pv_estimate50: 420
           2023-08-13 19:00:00 => pv_estimate50: 123
           2023-08-13 20:00:00 => pv_estimate50: 9
           2023-08-14 05:00:00 => pv_estimate50: 1
           2023-08-14 06:00:00 => pv_estimate50: 110
           2023-08-14 07:00:00 => pv_estimate50: 576
           2023-08-14 08:00:00 => pv_estimate50: 1305
           2023-08-14 09:00:00 => pv_estimate50: 1907
           2023-08-14 10:00:00 => pv_estimate50: 2328
           2023-08-14 11:00:00 => pv_estimate50: 2579
           2023-08-14 12:00:00 => pv_estimate50: 2666
           2023-08-14 13:00:00 => pv_estimate50: 2612
           2023-08-14 14:00:00 => pv_estimate50: 2192
           2023-08-14 15:00:00 => pv_estimate50: 1632
           2023-08-14 16:00:00 => pv_estimate50: 1098
           2023-08-14 17:00:00 => pv_estimate50: 680
           2023-08-14 18:00:00 => pv_estimate50: 368
           2023-08-14 19:00:00 => pv_estimate50: 104
           2023-08-14 20:00:00 => pv_estimate50: 7
           2023-08-15 06:00:00 => pv_estimate50: 48
           2023-08-15 07:00:00 => pv_estimate50: 312
           2023-08-15 08:00:00 => pv_estimate50: 798
           2023-08-15 09:00:00 => pv_estimate50: 1188
           2023-08-15 10:00:00 => pv_estimate50: 1443
           2023-08-15 11:00:00 => pv_estimate50: 1690
           2023-08-15 12:00:00 => pv_estimate50: 1947
           2023-08-15 13:00:00 => pv_estimate50: 2041
           2023-08-15 14:00:00 => pv_estimate50: 1917
           2023-08-15 15:00:00 => pv_estimate50: 1567
           2023-08-15 16:00:00 => pv_estimate50: 1140
           2023-08-15 17:00:00 => pv_estimate50: 730
           2023-08-15 18:00:00 => pv_estimate50: 347
           2023-08-15 19:00:00 => pv_estimate50: 78
           2023-08-15 20:00:00 => pv_estimate50: 5
           2023-08-16 06:00:00 => pv_estimate50: 49
           2023-08-16 07:00:00 => pv_estimate50: 278
           2023-08-16 08:00:00 => pv_estimate50: 754
           2023-08-16 09:00:00 => pv_estimate50: 1231
West => 2023-08-13 05:00:00 => pv_estimate50: 2
        2023-08-13 06:00:00 => pv_estimate50: 45
        2023-08-13 07:00:00 => pv_estimate50: 255
        2023-08-13 08:00:00 => pv_estimate50: 391
        2023-08-13 09:00:00 => pv_estimate50: 506.5
        2023-08-13 10:00:00 => pv_estimate50: 820
        2023-08-13 11:00:00 => pv_estimate50: 1078
        2023-08-13 12:00:00 => pv_estimate50: 1235
        2023-08-13 13:00:00 => pv_estimate50: 1397
        2023-08-13 14:00:00 => pv_estimate50: 1388
        2023-08-13 15:00:00 => pv_estimate50: 1292
        2023-08-13 16:00:00 => pv_estimate50: 1105
        2023-08-13 17:00:00 => pv_estimate50: 863
        2023-08-13 18:00:00 => pv_estimate50: 486
        2023-08-13 19:00:00 => pv_estimate50: 103
        2023-08-13 20:00:00 => pv_estimate50: 7
        2023-08-14 05:00:00 => pv_estimate50: 1
        2023-08-14 06:00:00 => pv_estimate50: 45
        2023-08-14 07:00:00 => pv_estimate50: 109
        2023-08-14 08:00:00 => pv_estimate50: 87
        2023-08-14 09:00:00 => pv_estimate50: 358
        2023-08-14 10:00:00 => pv_estimate50: 729
        2023-08-14 11:00:00 => pv_estimate50: 1089
        2023-08-14 12:00:00 => pv_estimate50: 1369
        2023-08-14 13:00:00 => pv_estimate50: 1570
        2023-08-14 14:00:00 => pv_estimate50: 1549
        2023-08-14 15:00:00 => pv_estimate50: 1342
        2023-08-14 16:00:00 => pv_estimate50: 996
        2023-08-14 17:00:00 => pv_estimate50: 643
        2023-08-14 18:00:00 => pv_estimate50: 333
        2023-08-14 19:00:00 => pv_estimate50: 83
        2023-08-14 20:00:00 => pv_estimate50: 6
        2023-08-15 06:00:00 => pv_estimate50: 38
        2023-08-15 07:00:00 => pv_estimate50: 209
        2023-08-15 08:00:00 => pv_estimate50: 354
        2023-08-15 09:00:00 => pv_estimate50: 557
        2023-08-15 10:00:00 => pv_estimate50: 779
        2023-08-15 11:00:00 => pv_estimate50: 980
        2023-08-15 12:00:00 => pv_estimate50: 1167
        2023-08-15 13:00:00 => pv_estimate50: 1319
        2023-08-15 14:00:00 => pv_estimate50: 1388
        2023-08-15 15:00:00 => pv_estimate50: 1282
        2023-08-15 16:00:00 => pv_estimate50: 1044
        2023-08-15 17:00:00 => pv_estimate50: 711
        2023-08-15 18:00:00 => pv_estimate50: 286
        2023-08-15 19:00:00 => pv_estimate50: 62
        2023-08-15 20:00:00 => pv_estimate50: 4
        2023-08-16 06:00:00 => pv_estimate50: 39
        2023-08-16 07:00:00 => pv_estimate50: 217
        2023-08-16 08:00:00 => pv_estimate50: 383
        2023-08-16 09:00:00 => pv_estimate50: 580

DS_Starter

In meinem contrib liegt die V 0.80.20.
Spiele sie bitte bei dir ein und dann schauen wir erneut. Bin optimistisch  ;)
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

der-Lolo

Ok Heiko,
ich habe das leider erst soeben gesehen und eingespielt...
Wir sehen also vermutlich erst morgen ob es was gebracht hat.

Nach dem neustart habe ich eine warnung gefunden...
PERL WARNING: Use of uninitialized value in string eq at ./FHEM/76_SolarForecast.pm line 11490.

fhainz

#2860
Hallo Heiko!

Ich habe gestern geschafft, nachdem ich einen consumer fehlerhaft definiert habe, FHEM zum Absturz zu bringen.
Illegal division by zero at ./FHEM/76_SolarForecast.pm line 5533.Vielleicht kannst du das zu gegebener Zeit noch abfangen.

Schöne Grüße

Edit:
Ich verwende noch diese Version. Werde gleich mal updaten.
76_SolarForecast.pm 21735 2023-07-27 23:53:24Z DS_Starter

fhainz

Hallo Heiko!

Ich verwende das Modul unter anderem um meinen Geschirrspüler freizugeben. Ich erkläre mal kurz die Steuerung. Gegeben sind Geschirrspühler, Stromzähler via Modbus sowie ein Relais.

Im Normalfall hat der Geschirrspüler Spannung und ist ausgeschalten. Nachdem der Geschirrspühler gestartet wurde und er eine Leistung > 10W aufnimmt, schaltet ich die Steckdose mit dem Relais spannungslos und warte auf die Freigabe durch das SolarForecast Modul. Sobald die Freigabe durch das Modul kommt schalte ich das Geschirrspüler Relais wieder ein und das Gerät fängt an zu waschen. Läuft auch prima bisher so.
Mein Problem besteht darin wenn das Gerät ein zweites mal am Tag laufen soll. Hier bekomme ich dann keine Freigabe mehr durch das SolarForecast Modul, obwohl die swoncond zutrifft.
Der entsprechdene consumer ist derzeit so definiert:
PV01_FRG_GSP_dummy type=dishwasher power=1900 mode=must mintime=240 icon=scene_dishwasher on=on off=off swstate=state:on:off swoncond=R11_SD02_PV_ANF:value:on notbefore=8 notafter=20 auto=1 pcurr=power:W:3 etotal=cons:kWh
Ist meine Anforderung mit den derzeitigen Mitteln lösbar?

Schöne Grüße!

CaptainHook

#2862
Moin,

aus der Doku:
ZitatMit dem optionalen Schlüssel swoncond kann eine zusätzliche externe Bedingung definiert werden um den Einschaltvorgang des Consumers freizugeben. Ist die Bedingung (Regex) nicht erfüllt, erfolgt kein Einschalten des Verbrauchers auch wenn die sonstigen Voraussetzungen wie Zeitplanung, on-Schlüssel, auto-Mode und aktuelle PV-Leistung gegeben sind. Es erfolgt somit eine UND-Verknüpfung des Schlüssels swoncond mit den weiteren Einschaltbedingungen.

und genau das ist das "Problem". swoncond muss zusätzlich erfüllt sein und das Modul plant nur einen Start pro Tag, wenn du einen weiteren geplanten Start braucht muss du dem Modul mitteilen, dass es neu planen soll.

Du könntest es ggf. mit "consumerImmediatePlanning" versuchen


Grüße,
Stephan
Lenovo M53 ThinkCentre 10DC | Docker | SolarEdge SE10K + SE5000H + Energy Bank 10KWh | EspEasy | Tasmota | Hue | Alexa | uvm.

MarkusN

Zitat von: DS_Starter am 13 August 2023, 09:27:19Guten Morgen,

@MarkusN, hast du in deinem VRM Portal schon Vorhersagedaten für deine Anlage verfügbar?
Vllt. vor 5 Tagen habe ich bei mir die Location gesetzt/aktiviert. Bis jetzt gibt es in meinem VRM Portal noch keine Vorhersage.
 

Ich hatte meine Location schon immer gesetzt, und vor einigen Wochen hat mich die Vorhersage dann überrascht. Sieht bei mir so aus:
Du darfst diesen Dateianhang nicht ansehen.

DS_Starter

@fhainz,

Illegal division by zero at ./FHEM/76_SolarForecast.pm line 5533.
Dieser Fehler sollte ab V 0.80.19 behoben sein.

Mein Problem besteht darin wenn das Gerät ein zweites mal am Tag laufen soll. Hier bekomme ich dann keine Freigabe mehr durch das SolarForecast Modul, obwohl die swoncond zutrifft.
Wie CaptainHook geschrieben hat, kannst du "consumerImmediatePlanning" für die unmittelbare Sofortplanung verwenden. Allerdings hat der Befehle in paar Eigenschaften die in der ComRef beschrieben sind.

Für den Zweck bietet sich ein:

set ... reset consumerPlanning <Verbrauchernummer> 

an. Dann wird alles wie bei der Normaleinplanung gemäß Vorgaben berücksichtigt.
Man könnte diesen Befehl über einen Funkschalter/Notify quasi "manuell" an SolarForecast senden, oder
das Consumerreading über ein notify auswerten:

consumer01   name='SolarForecast Consumer Dummy' state='off' planningstate='finished'

Hier könntest du den Term "planningstate='finished'" über ein Regex auswerten und wenn er zutrifft automatisiert das oben angegebene "set .. reset .." Kommando ausführen. Dann würde sich der Geschirrspüler immer wieder neu einplanen wenn er fertig ist.
Beim Tageswechsel erfolgt es ohnehin.

@MarkusN,

danke für die Info. Dann bin ich mal gespannt wann bei mir Werte verfügbar sind.
Wie stark sind den die Abweichungen zwischen SolCast im VRM-Portal und SolCast in unserem Modul?

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