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

#5235
Hallo Daniel,

da wirst du als User vermutlich nicht viel machen können außer dafür Sorge tragen, dass die Readings der Quellendevices immer die geforderten Werte ohne unschöne Sprünge oder Fehler liefern. Wenn ein "permanent aufsteigender Zähler" gefordert ist, sollte das Reading nicht einfach mal auf einen teieferen Wert springen z.B. Das heißt die Datenqualität der Quelle ist wichtig um solche Situationen möglichst auszuschließen.
In den berechneten realen Verbrauch gehen die gelieferten Werte verschiedener FHEM Devices/Readings ein. Vergleiche Wiki.

Leider liefern die Devices in FHEM nicht synchronisiert. Dadurch bedingt kann es zu ungünstigen Konstellationen kommen.
Ich habe bereits einen Filter eingebaut der seinen Dienst tut.
Mal sehen ob ich den noch verbessern kann.

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

Wolle02

Was ist denn plötzlich hier passiert?

Die Readings sehen alle normal aus.

DS_Starter

#5237
Da fehlt nur die Rundung ohne Nachkommastelle. Schaue ich mir an.
Der Balken ist pvreal, richtig?


Edit: Wie sieht der Schlüssel 'pvrl' der Stunde 10 aus wenn du "get ... pvHistory 05" aufrufst? z.B.

10 => pvapifcraw: 3999, pvfc: 3599, pvrl: 4092, pvrlvd: 1, plantderated: -, rad1h: -
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

Wolle02

Zitat von: DS_Starter am 05 März 2026, 10:22:15Der Balken ist pvreal, richtig?

Der orangene Balken ist pvreal, richtig.
Sieht bei mir in den Readings so aus:
Today_Hour08_BatIn_01
0 Wh
2026-03-05 07:00:03
Today_Hour08_BatOut_01
504 Wh
2026-03-05 07:55:16
Today_Hour08_GridConsumption
29 Wh
2026-03-05 07:55:06
Today_Hour08_GridFeedIn
15 Wh
2026-03-05 07:27:56
Today_Hour08_PVforecast
161 Wh
2026-03-05 07:49:55
Today_Hour08_PVreal
187 Wh
2026-03-05 08:00:00
Today_Hour09_BatIn_01
362 Wh
2026-03-05 08:55:28
Today_Hour09_BatOut_01
75 Wh
2026-03-05 08:15:18
Today_Hour09_GridConsumption
6 Wh
2026-03-05 08:51:41
Today_Hour09_GridFeedIn
0 Wh
2026-03-05 08:00:07
Today_Hour09_PVforecast
920 Wh
2026-03-05 08:49:13
Today_Hour09_PVreal
1095 Wh
2026-03-05 08:59:54
Today_Hour10_BatIn_01
979 Wh
2026-03-05 09:55:15
Today_Hour10_BatOut_01
207 Wh
2026-03-05 09:55:15
Today_Hour10_GridConsumption
24 Wh
2026-03-05 09:59:05
Today_Hour10_GridFeedIn
10 Wh
2026-03-05 09:51:07
Today_Hour10_PVforecast
2456 Wh
2026-03-05 09:41:02
Today_Hour10_PVreal
2402 Wh
2026-03-05 09:59:50

DS_Starter

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

Wolle02

Zitat von: DS_Starter am 05 März 2026, 10:34:04Der Wert aus pvHistory  ist hier relevant.

Ja, hab ich mir auch gedacht. War grade am schauen:

10 => pvapifcraw: 1717, pvfc: 2456, pvrl: 2412.91356894001, pvrlvd: 1, plantderated: -, rad1h: 1210
            etotali01: 622166.29999736, etotali02: 1873022.51640776, etotali03: 3676504.78500039, etotali04: -, etotali05: -
            pvrl01: 29, pvrl02: 2165.91356894001, pvrl03: 218, pvrl04: -, pvrl05: -
            etotalp01: -, etotalp02: -, etotalp03: -
            pprl01: -, pprl02: -, pprl03: -
            conlegfc: 767, conaifc: 1091, confc: 1091, con: 1644, gcons: 24, conprice: -
            gfeedin: 10, feedprice: -
            DoN: 1, sunaz: 129, sunalt: 22
            batintotal01: 1505062.2, batintotal02: -, batintotal03: -
            batouttotal01: 1390282.2, batouttotal02: -, batouttotal03: -
            batprogsoc01: -, batprogsoc02: -, batprogsoc03: -, socprogwhsum: 3237
            batsoc01: 30.2, batsoc02: -, batsoc03: -, socwhsum: 3092
            lcintimebat01: 1, lcintimebat02: -, lcintimebat03: -
            strategybat01: smartPower, strategybat02: -, strategybat03: -
            batin01: 979, batin02: -, batin03: -
            batout01: 207, batout02: -, batout03: -
            weatherid: 0, wcc: 0, windspeed: 11.00, rr1c: 0.00, pvcorrf: 1.43/0.91 temp: 7.2, presence: 1
            csmt01: 230179.578, csme01: 779.98, minutescsm01: 51
            csmt02: 4548217.6500043, csme02: 0.00, minutescsm02: 0
            csmt03: 357718, csme03: 0.00, minutescsm03: 0
            csmt04: 110766.74, csme04: 0.21, minutescsm04: 0
            csmt05: 211874.581, csme05: 0.00, minutescsm05: 0
            csmt06: 837848.782, csme06: 133.32, minutescsm06: 60
            csmt07: 52731.362, minutescsm07: 0
            csmt08: 14102.371, minutescsm08: 0
            csmt09: 226006.851, minutescsm09: 0

Da steht der Wert oben drin.

DS_Starter

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

marboj

Hallo zusammen,

habe das Modul bisher im Einsatz mit einem WR mit 4 Panelen. Das funktioniert sehr gut.

Jetzt habe ich meine Anlage um einen Speicher ergänzt, an dem 2 Panele hängen und die Ausgänge an 2 Eingänge des WR.

Leider ist die Stromflussgrafik nun nicht mehr passend.

Kann man die o.g. Konstellation überhaupt darstellen?

Gruß
Marco
meine FHEM-Konfiguration: Raspberry Pi4, BT-Dongle, CUL868, CeeBee II

Wolle02

Ok, das kommt jetzt bei jedem Stundenwechsel.
Ich hatte heute vormittag das Update auf V2.2.2 gemacht.

DS_Starter

ZitatOk, das kommt jetzt bei jedem Stundenwechsel.
Dann weiß ich Bescheid. Das ist der neue Übertrag einer evtl. Differenzmessung nach nach Stundenwechsel auf die Vorstunde.
Stelle ich kurzfristig ins contrib und sage Bescheid.
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, habe die V2.2.3 ins contrib gestellt. Damit sollte dein Problem obsolet sein.

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

@Marco,

das sollte abbildbar sein, so ähnlich wie auf dem Screenshot.

Der Inverter wäre ein Solar-Ladegerät (feed=bat), wobei du die zwei Strings zuordnen müsstest (strings=...). Hier ein Beispiel:

MQTT2_cerboGX_c0619ab34e08_solarcharger_Common feed=bat asynchron=0 pvIn=Yield_Power_value:W pvOut=Yield_Power_value:W limit=100 capacity=2080 etotal=Yield_System_value:kWh strings=Schleppdach

Optional wäre noch ein virtueller Batteriewechselrichter möglich wie in meinem Beispiel:

MQTT2_cerboGX_c0619ab34e08_vebus 
dc2ac=DC_IN:W
ac2dc=DC_OUT:W
capacity=7200
strings=none
asynchron=0

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

peterboeckmann

Hallo Heiko,

Zitat von: DS_Starter am 05 März 2026, 11:24:23@Wolle02, habe die V2.2.3 ins contrib gestellt. Damit sollte dein Problem obsolet sein.

damit habe ich jetzt plötzlich eine Nachkommastelle in der PV-Prognose:
Du darfst diesen Dateianhang nicht ansehen.

Viele Grüße,
Peter