Leistungsprognose für Wechselrichter

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

Vorheriges Thema - Nächstes Thema

DS_Starter

Ja, das dargestellte Szenario ist aber vom Consumertyp abhängig, deswegen nicht allgemein gültig.
Bei deinem UseCase würde sich anbieten mintime auf z.B. 10 Stunden zu setzen in Verbindung mit interruptable=1 (oder einer passenden Bedingung).

Aber du hast bezüglich der Beschreibung von mintime Recht, das ist unglücklich gewählt und ich werde sie ändern.
Weiterhin schaue ich mal, ob ich für mintime einen Schlüsselwert wie "Sonnenzeit" oder soetwas möglich machen kann. Das würde dann stellvertretend für die Zeit zwischen Sonnenauf- und untergang stehen. Dafür muss der User natürlich seine globalen Koordinaten gepflegt haben, was im Check zu prüfen wäre. Eines zieht oft das Nächste nach sich ....  ;)
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

DS_Starter

Mal aus eigenem Interesse ... kannst du den Typ/Bezeichnung des Konvektors posten oder einen Link zu dem Produkt ?
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

ambiman

Danke dir :)

Ich habe den Consumer nun wie folgt angepasst:


consumer01 Shelly_Plug_S_2 type=heater power=750 mode=can pcurr=power:W etotal=energy:Wh on=on off=off interruptable=1 swoncond=PV_Forecast:user_swon_konvektor:1 mintime=10


Dann habe ich ein set .. reset consumerPlanning .. ausgeführt.. und nun habe ich nur 1 Stunde bekommen ?:


2023.02.10 09:35:10.274 1: PV_Forecast DEBUG> Planning consumer "01" - name: Shelly_Plug_S_2
2023.02.10 09:35:10.275 1: PV_Forecast DEBUG> consumer "01" - Consider consumption forecast in consumer planning: no
2023.02.10 09:35:10.279 1: PV_Forecast DEBUG> consumer "01" - epiece1: 750.00
2023.02.10 09:35:10.280 1: PV_Forecast DEBUG> consumer "01" - mode: can, mintime: 10, relevant method: surplus
2023.02.10 09:35:10.280 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 2338, starttime: 2023-02-10 09:00:00, nexthour: 0, today: 1
2023.02.10 09:35:10.280 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 5034, starttime: 2023-02-10 10:00:00, nexthour: 1, today: 1
2023.02.10 09:35:10.280 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 10100, starttime: 2023-02-10 12:00:00, nexthour: 3, today: 1
2023.02.10 09:35:10.280 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 6853, starttime: 2023-02-10 13:00:00, nexthour: 4, today: 1
2023.02.10 09:35:10.280 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 4190, starttime: 2023-02-10 14:00:00, nexthour: 5, today: 1
2023.02.10 09:35:10.280 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 2451, starttime: 2023-02-10 15:00:00, nexthour: 6, today: 1
2023.02.10 09:35:10.281 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 799, starttime: 2023-02-10 16:00:00, nexthour: 7, today: 1
2023.02.10 09:35:10.281 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 86, starttime: 2023-02-10 17:00:00, nexthour: 8, today: 1
2023.02.10 09:35:10.281 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 97, starttime: 2023-02-11 08:00:00, nexthour: 23, today: 0
2023.02.10 09:35:10.281 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 634, starttime: 2023-02-11 09:00:00, nexthour: 24, today: 0
2023.02.10 09:35:10.281 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 1361, starttime: 2023-02-11 10:00:00, nexthour: 25, today: 0
2023.02.10 09:35:10.281 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 3091, starttime: 2023-02-11 11:00:00, nexthour: 26, today: 0
2023.02.10 09:35:10.281 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 3171, starttime: 2023-02-11 12:00:00, nexthour: 27, today: 0
2023.02.10 09:35:10.281 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 2964, starttime: 2023-02-11 13:00:00, nexthour: 28, today: 0
2023.02.10 09:35:10.282 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 1916, starttime: 2023-02-11 14:00:00, nexthour: 29, today: 0
2023.02.10 09:35:10.282 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 1341, starttime: 2023-02-11 15:00:00, nexthour: 30, today: 0
2023.02.10 09:35:10.282 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 474, starttime: 2023-02-11 16:00:00, nexthour: 31, today: 0
2023.02.10 09:35:10.282 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 64, starttime: 2023-02-11 17:00:00, nexthour: 32, today: 0
2023.02.10 09:35:10.282 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 0, starttime: 2023-02-11 23:00:00, nexthour: 38, today: 0
2023.02.10 09:35:10.283 3: PV_Forecast - Consumer "Shelly_Plug_S_2" planned: 2023-02-10 09:00:00 - 2023-02-10 10:00:00
2023.02.10 09:35:10.615 2: PV_Forecast - switching Consumer 'Shelly_Plug_S_2' to 'on' (Automatic = 1)


Kommt er nun wegen der mintime durcheinander ?

DS_Starter

Die 10 h musst du in Minuten umrechnen. Der Wert in mintime ist doch ein Minutenwert.
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

ambiman

Zitat von: DS_Starter am 10 Februar 2023, 09:37:01
Mal aus eigenem Interesse ... kannst du den Typ/Bezeichnung des Konvektors posten oder einen Link zu dem Produkt ?

Klar, ein relatives Einfaches Teil (einmal zum Testen gekauft) von Bauhaus - damals für knap 35€ inkl. 5 Jahren Garantie gekauft:

https://www.bauhaus.info/konvektorheizungen/voltomat-heating-konvektor-dubbe/p/27665365

Dieser hängt an einem Shelly Plug S - ich betreibe ihn jedoch nur auf der 1,25kw Stufe und nicht mit den vollen 2kw obwohl der Shelly 2,5kw kann - man sollte die Grenzen der Schuko Steckdosen und Verkabelung unter Dauerlast nicht immer ausreizen - viele Grüße an dieser Stelle an die E-Auto Fraktion :-).

VG,

ambiman

ambiman

Zitat von: DS_Starter am 10 Februar 2023, 09:40:19
Die 10 h musst du in Minuten umrechnen. Der Wert in mintime ist doch ein Minutenwert.

::) - danke :)

ambiman


2023.02.10 09:44:30.243 1: PV_Forecast DEBUG> Planning consumer "01" - name: Shelly_Plug_S_2
2023.02.10 09:44:30.243 1: PV_Forecast DEBUG> consumer "01" - Consider consumption forecast in consumer planning: no
2023.02.10 09:44:30.247 1: PV_Forecast DEBUG> consumer "01" - epiece1: 750.00
2023.02.10 09:44:30.247 1: PV_Forecast DEBUG> consumer "01" - mode: can, mintime: 600, relevant method: surplus
2023.02.10 09:44:30.248 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 2338, starttime: 2023-02-10 09:00:00, nexthour: 0, today: 1
2023.02.10 09:44:30.248 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 5034, starttime: 2023-02-10 10:00:00, nexthour: 1, today: 1
2023.02.10 09:44:30.248 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 10100, starttime: 2023-02-10 12:00:00, nexthour: 3, today: 1
2023.02.10 09:44:30.248 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 6853, starttime: 2023-02-10 13:00:00, nexthour: 4, today: 1
2023.02.10 09:44:30.248 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 4190, starttime: 2023-02-10 14:00:00, nexthour: 5, today: 1
2023.02.10 09:44:30.248 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 2451, starttime: 2023-02-10 15:00:00, nexthour: 6, today: 1
2023.02.10 09:44:30.248 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 799, starttime: 2023-02-10 16:00:00, nexthour: 7, today: 1
2023.02.10 09:44:30.248 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 86, starttime: 2023-02-10 17:00:00, nexthour: 8, today: 1
2023.02.10 09:44:30.249 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 97, starttime: 2023-02-11 08:00:00, nexthour: 23, today: 0
2023.02.10 09:44:30.249 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 634, starttime: 2023-02-11 09:00:00, nexthour: 24, today: 0
2023.02.10 09:44:30.249 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 1361, starttime: 2023-02-11 10:00:00, nexthour: 25, today: 0
2023.02.10 09:44:30.249 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 3091, starttime: 2023-02-11 11:00:00, nexthour: 26, today: 0
2023.02.10 09:44:30.249 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 3171, starttime: 2023-02-11 12:00:00, nexthour: 27, today: 0
2023.02.10 09:44:30.249 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 2964, starttime: 2023-02-11 13:00:00, nexthour: 28, today: 0
2023.02.10 09:44:30.249 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 1916, starttime: 2023-02-11 14:00:00, nexthour: 29, today: 0
2023.02.10 09:44:30.249 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 1341, starttime: 2023-02-11 15:00:00, nexthour: 30, today: 0
2023.02.10 09:44:30.250 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 474, starttime: 2023-02-11 16:00:00, nexthour: 31, today: 0
2023.02.10 09:44:30.250 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 64, starttime: 2023-02-11 17:00:00, nexthour: 32, today: 0
2023.02.10 09:44:30.250 1: PV_Forecast DEBUG> consumer "01" - surplus expected: 0, starttime: 2023-02-11 23:00:00, nexthour: 38, today: 0
2023.02.10 09:44:30.251 3: PV_Forecast - Consumer "Shelly_Plug_S_2" planned: 2023-02-10 09:00:00 - 2023-02-10 19:00:00
2023.02.10 09:44:30.491 2: PV_Forecast - switching Consumer 'Shelly_Plug_S_2' to 'on' (Automatic = 1)
2023.02.10 09:44:30.495 2: PV_Forecast - Consumer 'Shelly_Plug_S_2' switched on


Passt. Vielen Dank :)

neodee

Zitat von: DS_Starter am 10 Februar 2023, 08:50:24
@neodee,

die hohe Abweihung kommt zustande, weil es wohl bei dir keine Messung der tatsächlichen Erzeugung gibt ?
Zumindest sieht man in deiner Grafik keinerlei Erzeugungsbalken.
Die Abweichung ist dann der prozentuale Wert der Tagesschätzung zu realer Tageserzeugung (bei dir wohl 0).

Hallo DE_Starter,

die tatsächliche Erzeugung hole ich als Reading vom Wechselrichter.

Das Reading Current_PV zeigt den Wert auch korrekt an.

Grüße

DS_Starter

#2273
Da muss man mal einen Blick auf das Device Listing werfen. Irgendwo im Setup scheint etwas nicht zu stimmen.
Gibt es denn die Readings Today_HourXX_PVreal ?

Und was zeigt ein Mouse-Over über den roten Punkt bei SolCast für einen Hinweis ?
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

neodee

Mouse over kann ich erst heute Abend testen am Smartphone klappt das nicht.

Die PVreal Readings sind alle 0.


List von PVVorschau oder meintest du ein List vom Wechselrichter?
Internals:
   FUUID      63e14f2d-f33f-8140-5d73-e49f93897f060d40
   FVERSION   76_SolarForecast.pm:v0.74.7-s21735/2022-11-21 TESTING
   LCACHEFILE last write time: 10:24:52 File: ./FHEM/FhemUtils/PVH_SolarForecast_PVVorschau
   MODE       Automatic - next Cycletime: 10:37:35
   MODEL      SolCastAPI
   NAME       PVVorschau
   NR         1163
   STATE      updated
   TYPE       SolarForecast
   eventCount 10400
   HELPER:
     FW         WEB
     INITCONTOTAL 8959299.4
     INITFEEDTOTAL 105735.4
     PACKAGE    FHEM::SolarForecast
     SPGDETAIL  PVVorschau
     SPGDEV     PVVorschau
     SPGROOM    Wetter
     VERSION    0.74.7
     VERSION_API unused
     VERSION_CTZ 1.0.0
     VERSION_ErrCodes unused
     VERSION_SMUtils 1.25.0
   OLDREADINGS:
   READINGS:
     2023-02-10 23:59:59   AllPVforecastsToEvent 0 Wh
     2023-02-10 10:36:25   Current_AutarkyRate 49 %
     2023-02-10 10:36:25   Current_BatCharge 95.5 %
     2023-02-10 10:36:25   Current_Consumption 17200 W
     2023-02-10 10:36:25   Current_GridConsumption 8824 W
     2023-02-10 10:36:25   Current_GridFeedIn 0 W
     2023-02-10 10:36:25   Current_PV      6168 W
     2023-02-10 10:36:25   Current_PowerBatIn 0 W
     2023-02-10 10:36:25   Current_PowerBatOut 2208 W
     2023-02-10 10:36:25   Current_SelfConsumption 8376 W
     2023-02-10 10:36:25   Current_SelfConsumptionRate 136 %
     2023-02-10 10:00:00   LastHourGridconsumptionReal 3834 Wh
     2023-02-10 10:00:00   LastHourPVforecast 3999 Wh
     2023-02-10 10:00:00   LastHourPVreal  3 Wh
     2023-02-10 10:36:25   NextHours_Sum01_PVforecast 6821 Wh
     2023-02-10 10:36:25   NextHours_Sum02_PVforecast 14240 Wh
     2023-02-10 10:36:25   NextHours_Sum03_PVforecast 21518 Wh
     2023-02-10 10:36:25   NextHours_Sum04_ConsumptionForecast -11078 Wh
     2023-02-10 10:36:25   NextHours_Sum04_PVforecast 27594 Wh
     2023-02-10 10:36:25   RestOfDayConsumptionForecast 17984 Wh
     2023-02-10 10:36:25   RestOfDayPVforecast 33772 Wh
     2023-02-10 00:59:44   Today_Hour01_BatIn 0 Wh
     2023-02-10 00:59:44   Today_Hour01_BatOut 700 Wh
     2023-02-10 00:59:44   Today_Hour01_GridConsumption 3639 Wh
     2023-02-10 00:59:44   Today_Hour01_GridFeedIn 3 Wh
     2023-02-10 00:59:44   Today_Hour01_PVreal 0 Wh
     2023-02-10 01:59:15   Today_Hour02_BatIn 0 Wh
     2023-02-10 01:59:15   Today_Hour02_BatOut 200 Wh
     2023-02-10 01:59:15   Today_Hour02_GridConsumption 3844 Wh
     2023-02-10 01:59:15   Today_Hour02_GridFeedIn 1 Wh
     2023-02-10 01:59:15   Today_Hour02_PVreal 0 Wh
     2023-02-10 02:59:55   Today_Hour03_BatIn 0 Wh
     2023-02-10 02:59:55   Today_Hour03_BatOut 200 Wh
     2023-02-10 02:59:55   Today_Hour03_GridConsumption 3837 Wh
     2023-02-10 02:59:55   Today_Hour03_GridFeedIn 1 Wh
     2023-02-10 02:59:55   Today_Hour03_PVreal 0 Wh
     2023-02-10 03:59:25   Today_Hour04_BatIn 0 Wh
     2023-02-10 03:59:25   Today_Hour04_BatOut 200 Wh
     2023-02-10 03:59:25   Today_Hour04_GridConsumption 3865 Wh
     2023-02-10 03:59:25   Today_Hour04_GridFeedIn 0 Wh
     2023-02-10 03:59:25   Today_Hour04_PVreal 0 Wh
     2023-02-10 04:58:56   Today_Hour05_BatIn 0 Wh
     2023-02-10 04:58:56   Today_Hour05_BatOut 200 Wh
     2023-02-10 04:58:56   Today_Hour05_GridConsumption 3499 Wh
     2023-02-10 04:58:56   Today_Hour05_GridFeedIn 0 Wh
     2023-02-10 04:58:56   Today_Hour05_PVreal 0 Wh
     2023-02-10 05:59:45   Today_Hour06_BatIn 0 Wh
     2023-02-10 05:59:45   Today_Hour06_BatOut 200 Wh
     2023-02-10 05:59:45   Today_Hour06_GridConsumption 4028 Wh
     2023-02-10 05:59:45   Today_Hour06_GridFeedIn 0 Wh
     2023-02-10 05:59:45   Today_Hour06_PVreal 0 Wh
     2023-02-10 06:59:15   Today_Hour07_BatIn 0 Wh
     2023-02-10 06:59:15   Today_Hour07_BatOut 200 Wh
     2023-02-10 06:59:15   Today_Hour07_GridConsumption 4027 Wh
     2023-02-10 06:59:15   Today_Hour07_GridFeedIn 0 Wh
     2023-02-10 06:59:15   Today_Hour07_PVreal 0 Wh
     2023-02-10 07:59:55   Today_Hour08_BatIn 0 Wh
     2023-02-10 07:59:55   Today_Hour08_BatOut 300 Wh
     2023-02-10 07:59:55   Today_Hour08_GridConsumption 4167 Wh
     2023-02-10 07:59:55   Today_Hour08_GridFeedIn 2 Wh
     2023-02-10 07:59:55   Today_Hour08_PVforecast 93 Wh
     2023-02-10 07:59:55   Today_Hour08_PVreal 0 Wh
     2023-02-10 08:59:26   Today_Hour09_BatIn 900 Wh
     2023-02-10 08:59:26   Today_Hour09_BatOut 0 Wh
     2023-02-10 08:59:26   Today_Hour09_GridConsumption 3918 Wh
     2023-02-10 08:59:26   Today_Hour09_GridFeedIn 7 Wh
     2023-02-10 08:59:26   Today_Hour09_PVforecast 2128 Wh
     2023-02-10 08:59:26   Today_Hour09_PVreal 1 Wh
     2023-02-10 09:58:56   Today_Hour10_BatIn 3300 Wh
     2023-02-10 09:58:56   Today_Hour10_BatOut 0 Wh
     2023-02-10 09:58:56   Today_Hour10_GridConsumption 3834 Wh
     2023-02-10 09:58:56   Today_Hour10_GridFeedIn 34 Wh
     2023-02-10 09:58:56   Today_Hour10_PVforecast 3999 Wh
     2023-02-10 09:58:56   Today_Hour10_PVreal 3 Wh
     2023-02-10 10:36:25   Today_Hour11_BatIn 3100 Wh
     2023-02-10 10:36:25   Today_Hour11_BatOut 0 Wh
     2023-02-10 10:36:25   Today_Hour11_GridConsumption 1902 Wh
     2023-02-10 10:36:25   Today_Hour11_GridFeedIn 792 Wh
     2023-02-10 10:36:25   Today_Hour11_PVforecast 6249 Wh
     2023-02-10 10:36:25   Today_Hour11_PVreal 3 Wh
     2023-02-10 10:36:25   Today_Hour12_PVforecast 7177 Wh
     2023-02-10 10:36:25   Today_Hour13_PVforecast 7570 Wh
     2023-02-10 10:36:25   Today_Hour14_PVforecast 7097 Wh
     2023-02-10 10:36:25   Today_Hour15_PVforecast 5441 Wh
     2023-02-10 10:36:25   Today_Hour16_PVforecast 2915 Wh
     2023-02-10 10:36:25   Today_Hour17_PVforecast 1160 Wh
     2023-02-10 10:36:25   Today_Hour18_PVforecast 17 Wh
     2023-02-10 10:36:25   Today_MaxPVforecast 7570 Wh
     2023-02-10 10:36:25   Today_MaxPVforecastTime 2023-02-10 12:00:00
     2023-02-10 10:36:25   Today_PVforecast 43846 Wh
     2023-02-10 10:31:45   Today_PVreal    7 Wh
     2023-02-10 10:36:25   Today_SunRise   07:23
     2023-02-10 10:36:25   Today_SunSet    17:26
     2023-02-10 10:36:25   Tomorrow_ConsumptionForecast 44984 Wh
     2023-02-10 10:36:25   Tomorrow_PVforecast 12125 Wh
     2023-02-10 10:36:25   Tomorrow_SunRise 07:22
     2023-02-10 10:36:25   Tomorrow_SunSet 17:28
     2023-02-07 19:52:17   currentBatteryDev SH10rt_Fast pin=-pout:W pout=Batterieladeleistung:W intotal=Gesamte_Ladeenergie_der_Batterie:kWh outtotal=Gesamte_Entladungsenergie_der_Batterie:kWh charge=Battery_level
     2023-02-06 21:05:41   currentForecastDev DWD
     2023-02-10 09:51:20   currentInverterDev SH10rt_Fast pv=Complete_AC_Power:W etotal=Total_PV_Generation:kW capacity=8000
     2023-02-07 10:37:02   currentMeterDev Smartmeter_Energy gcon=SML_AP:W contotal=SML_HT:kWh gfeedin=-gcon:W feedtotal=SML_SP:kWh
     2023-02-06 20:51:21   currentRadiationDev SolCast-API
     2023-02-06 20:27:29   inverterStrings Süddach
     2023-02-06 20:32:27   moduleDirection Süddach=S
     2023-02-06 20:21:21   modulePeakString Süddach=9.72
     2023-02-06 20:56:23   moduleRoofTops  Süddach=p1
     2023-02-06 20:31:12   moduleTiltAngle Süddach=30
     2023-02-10 10:36:25   nextCycletime   10:37:35


DS_Starter

Die Readings gibt es schon, sind aber konstant 3 Wh, z.B.


Today_Hour10_PVreal 3 Wh


Wichtig ist hier der Schlüssel etotal in currentInverterDev


currentInverterDev SH10rt_Fast etotal=Total_PV_Generation:kW


Der scheint nicht zu passen.
Mit dem Attr ctrlDebug = collectData kannst du dir die Daten anschauen dir von den Geräten abgeholt werden.
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

neodee

Danke, Fehler vermutlich gefunden:

currentInverterDev SH10rt_Fast etotal=Total_PV_Generation:kW

Bei Total_PV_Generation:kW fehlte das ,,h" bei kWh...

Jetzt rechnet er natürlich aktuell mit dem viel zu hohen Wert der letzte Stunde erzeugt worden ist, ich vermute aber das legt sich dann ab morgen.

Grüße und Danke für die Hilfestellung


DS_Starter

Hallo @all,

die mögliche Angabe von mintime im Consumer-Attribut ist erweitert:

[mintime=<minutes> | SunPath[:<Offset_Sunrise>:<Offset_Sunset>]]

mintime    Einplanungsdauer (Minuten oder "SunPath") des Verbrauchers. (optional)
           Mit der Angabe von SunPath erfolgt die Plaung entsprechend des Sonnenauf- und untergangs.
   
           SunPath[:<Offset_Sunrise>:<Offset_Sunset>] - die Einplanung erfolgt von Sonnenaufgang bis Sonnenuntergang.
           Optional kann eine positive / negative Verschiebung (Minuten) der Planungszeit bzgl. Sonnenaufgang bzw.
           Sonnenuntergang angegeben werden.


Damit folgt die Einplanung der theoretischen Sonnentagsdauer. Man kann mit einem Offset für Sonnenaufgang und/oder Sonnenuntergang zum Beispiel den Start jeden Tag eine Stunde nach Sonnenaufgang bis zwei Stunden vor Sonnenuntergang einplanen lassen.
Die Schlüsselangabe dafür wäre:

            mintime=SunPath:60:-120

Die V 0.74.8 liegt in meinem contrib.

LG
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

neodee

Ich hatte heute mal Zeit den Solcast Status zu prüfen.
Offenbar geht das Modul von 50 möglichen API abrufen aus, ich habe jedoch nur 10 am Tag und bei 12 ist dann ganz Schluss.
Gibt es irgendwo einen Parameter um die Abfragen anzupassen?

DS_Starter

#2279
ZitatOffenbar geht das Modul von 50 möglichen API abrufen aus, ich habe jedoch nur 10 am Tag und bei 12 ist dann ganz Schluss.
Gibt es irgendwo einen Parameter um die Abfragen anzupassen?

Ja, 50 bekommt man nach Registrierung auf der Seite https://toolkit.solcast.com.au/rooftop-sites/
Wieso hast du nur 10 ?

Momentan kannst du erstmal nur die Zeile auf 10 ändern:

       Zeile 364  ->  my $apimaxreqs   = 50;

Allerdings werden bei nur 10 Abrufen pro Tag die Abstände zwischen den Abrufen ziemlich lang, insbesondere wenn du mehr als 1 Rooftop hast.
Du solltest dir zur Periodenoptimierung das Attr ctrlOptimizeSolCastInterval = 1 setzen wenn noch nicht erfolgt.

Sollte eine generelle Einstellbarkeit erforderlich werden, müsste ich ein entsprechendes Attribut einbauen.
Bislang sah ich diese Notwendigkeit nicht.
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