76_SolarForecast - Informationen/Ideen zu Weiterentwicklung und Support

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

Vorheriges Thema - Nächstes Thema

300P

Zitat von: kask am 03 Januar 2025, 19:12:34Danke für das Angebot. Aber für mich musst du das nicht machen. Ich muss es ja sowieso anpassen über kurz oder lang.
Sondiere gerade für mich wie ich das möglichst schnell bzw. komfortabel anstelle. Wie gesagt, alles gut.

@kask:

Kurzinfo:

root@EnergyPi:/home/pi# grep -r 'statistic_' /opt/fhem/ > ausgabe.txt

Auf einem RPI (LINUX-Terminal) kannst du hiermit einfach und rekursiv, z.B. ab dem FHEM-Verzeichnis '/opt/fhem/', in allen Dateien darauf die Inhalte durchsuchen lassen.

Das Ergebnis siehst du dann im aktuellen Verzeichnis (hier =>> /home/pi/) in der angegeben Datei mit einem Texteditor.

Ergebnis: (hier aber mit 'special_' + ohne Dateierzeugung gesucht  O:-) )
root@EnergyPi:/home/pi# grep -r 'special_' /opt/fhem/
/opt/fhem/FHEM/76_SolarForecast.pm:         naming scheme 'special_&lt;indicator&gt;'. Selectable key figures / indicators are: <br><br>
/opt/fhem/FHEM/76_SolarForecast.pm:            <tr><td>                                         </td><td>CO&amp;nbsp;until&amp;nbsp;sunset:special_todayConForecastTillSunset                  </td></tr>
/opt/fhem/FHEM/76_SolarForecast.pm:            <tr><td>                                         </td><td>PV&amp;nbsp;Day&amp;nbsp;after&amp;nbsp;tomorrow:special_dayAfterTomorrowPVforecast   </td></tr>
/opt/fhem/FHEM/76_SolarForecast.pm:            <tr><td>                                         </td><td>in&amp;nbsp;today:special_todayBatIn                                                  </td></tr>
/opt/fhem/FHEM/76_SolarForecast.pm:            <tr><td>                                         </td><td>out&amp;nbsp;today:special_todayBatOut                                                </td></tr>
/opt/fhem/FHEM/76_SolarForecast.pm:         Namensschema 'special_&lt;Indikator&gt;' erstellt. Auswählbare Kennzahlen / Indikatoren sind: <br><br>
/opt/fhem/FHEM/76_SolarForecast.pm:            <tr><td>                                         </td><td>CO&amp;nbsp;bis&amp;nbsp;Sonnenuntergang:special_todayConForecastTillSunset   </td></tr>
/opt/fhem/FHEM/76_SolarForecast.pm:            <tr><td>                                         </td><td>PV&amp;nbsp;Übermorgen:special_dayAfterTomorrowPVforecast                     </td></tr>
/opt/fhem/FHEM/76_SolarForecast.pm:            <tr><td>                                         </td><td>in&amp;nbsp;heute:special_todayBatIn                                          </td></tr>
/opt/fhem/FHEM/76_SolarForecast.pm:            <tr><td>                                         </td><td>out&amp;nbsp;heute:special_todayBatOut                                        </td></tr>
/opt/fhem/FHEM/58_HVAC_DaikinAC.pm: $q = sprintf($q . "aircon/set_special_mode?spmode_kind=%d&set_spmode=%d", 1, $val);
/opt/fhem/FHEM/58_HVAC_DaikinAC.pm: $q = sprintf($q . "aircon/set_special_mode?spmode_kind=%d&set_spmode=%d", 2, $val);
/opt/fhem/FHEM/58_HVAC_DaikinAC.pm: $q = sprintf($q . "aircon/set_special_mode?en_streamer=%d", $val);
/opt/fhem/FHEM/76_SMAEVCharger.pm: my $special_header = "";
/opt/fhem/FHEM/76_SMAEVCharger.pm: $special_header = "-H 'Content-Type: application/x-www-form-urlencoded;charset=UTF-8' -H 'Content-Length: $content_len' -H 'Origin: $baseurl' -H 'Referer: $baseurl/webui/login' ";
/opt/fhem/FHEM/76_SMAEVCharger.pm: $special_header = "-H 'Content-Type: application/x-www-form-urlencoded;charset=UTF-8' -H 'Content-Length: $content_len' -H 'Origin: $baseurl' -H 'Referer: $baseurl/webui/login' ";
/opt/fhem/FHEM/76_SMAEVCharger.pm: $special_header = "-H 'Content-Type: application/x-www-form-urlencoded;charset=UTF-8' -H 'Content-Length: $content_len' -H 'Referer: $baseurl/webui/login' ";
/opt/fhem/FHEM/76_SMAEVCharger.pm: $special_header = "-H 'Content-Type: application/json' -H 'Content-Length: $content_len' -H 'Referer: $baseurl/webui/Plant:1,IGULD:SELF/configuration/view-parameters' ";
/opt/fhem/FHEM/76_SMAEVCharger.pm: $special_header = "-H 'Content-Type: application/json' -H 'Content-Length: $content_len' -H 'Referer: $baseurl/webui/Plant:1,IGULD:SELF/configuration/view-parameters' ";
/opt/fhem/FHEM/76_SMAEVCharger.pm: $special_header = "-H 'Referer: $baseurl/webui/Plant:1/dashboard' ";
/opt/fhem/FHEM/76_SMAEVCharger.pm: $curlcmd = $cmd_call.$method.$header.$special_header.$token.$cookies.$data.$url;
/opt/fhem/fhem.cfg:attr Forecast graphicHeaderOwnspec PV&nbsp;;Heute&nbsp;;real:Today_PVreal Verbrauch&nbsp;;bis&nbsp;;Sonnenaufgang&nbsp;;:statistic_conForecastTillNextSunrise FCU-Erzeugung&nbsp;;:Current_PP_01 PV&nbsp;;Uebermorgen&nbsp;;erwartet:special_dayAfterTomorrowPVforecast Batt.-Ladeanforderung&nbsp;;:Battery_ChargeRequest_01 Batt.-Ladung&nbsp;;empfohlen:Battery_ChargeRecommended_01
/opt/fhem/restoreDir/save/2025-01-03/fhem.cfg:attr Forecast graphicHeaderOwnspec PV&nbsp;;Heute&nbsp;;real:Today_PVreal Verbrauch&nbsp;;bis&nbsp;;Sonnenaufgang&nbsp;;:statistic_conForecastTillNextSunrise FCU-Erzeugung&nbsp;;:Current_PP_01 PV&nbsp;;Uebermorgen&nbsp;;erwartet:special_dayAfterTomorrowPVforecast Batt.-Ladeanforderung&nbsp;;:Battery_ChargeRequest_01 Batt.-Ladung&nbsp;;empfohlen:Battery_ChargeRecommended_01
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_BatPowerIn_Sum 0
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_BatPowerOut_Sum 0
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_SunHours_Remain 0.00
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_SunMinutes_Remain 0
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_allStringsFullfilled 1
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_conForecastTillNextSunrise 9449 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_currentAPIinterval 0
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_currentRunMtsConsumer_01 129 min
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_currentRunMtsConsumer_02 191 min
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_currentRunMtsConsumer_03 315106 min
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_currentRunMtsConsumer_04 200 min
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_currentRunMtsConsumer_05 27 min
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_currentRunMtsConsumer_06 32 min
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_currentRunMtsConsumer_07 28 min
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_dayAfterTomorrowPVforecast 12250 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_daysUntilBatteryCare_01 13
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_lastretrieval_time 2025-01-03 18:47:48
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_lastretrieval_timestamp 1735926468
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_response_message success
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_runTimeAvgDayConsumer_01 436.43 min
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_runTimeAvgDayConsumer_02 387.97 min
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_runTimeAvgDayConsumer_03 1429.94 min
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_runTimeAvgDayConsumer_04 233.40 min
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_runTimeAvgDayConsumer_05 28.80 min
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_runTimeAvgDayConsumer_06 31.80 min
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_runTimeAvgDayConsumer_07 357.35 min
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_runTimeCentralTask 0.3980
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_runTimeLastAPIAnswer -
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_runTimeLastAPIProc -
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_runTimeTrainAI 1.2766
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_todayBatIn_01 4090.0 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_todayBatOut_01 2367.0 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_todayConForecastTillSunset 0 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 08:59:52 special_todayConsumptionForecast_09 685 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 09:59:53 special_todayConsumptionForecast_10 824 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 10:59:51 special_todayConsumptionForecast_11 645 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 11:59:53 special_todayConsumptionForecast_12 667 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 12:59:49 special_todayConsumptionForecast_13 1069 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 13:59:52 special_todayConsumptionForecast_14 1011 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 14:59:59 special_todayConsumptionForecast_15 942 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 15:59:59 special_todayConsumptionForecast_16 860 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 16:59:58 special_todayConsumptionForecast_17 841 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 17:59:59 special_todayConsumptionForecast_18 947 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_todayConsumptionForecast_19 854 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_todayConsumptionForecast_20 781 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_todayConsumptionForecast_21 716 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_todayConsumptionForecast_22 710 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_todayConsumptionForecast_23 686 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_todayConsumptionForecast_24 597 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_todayDoneAPIcalls 0
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_todayDoneAPIrequests 4501
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_todayGridConsumption 232.6 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_todayGridFeedIn 127.7 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_todayMaxAPIcalls n.a.
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_todayRemainingAPIcalls n.a.
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast 2025-01-03 18:47:48 special_todayRemainingAPIrequests n.a.
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_SunHours_Remain 0.00
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_SunMinutes_Remain 0
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_allStringsFullfilled 1
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_conForecastTillNextSunrise 21384 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_currentAPIinterval 0
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_dayAfterTomorrowPVforecast 4415 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_daysUntilBatteryCare_01 -
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_lastretrieval_time 2025-01-03 18:47:28
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_lastretrieval_timestamp 1735926448
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_response_message success
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_runTimeCentralTask 0.1206
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_runTimeLastAPIAnswer -
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_runTimeLastAPIProc -
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_runTimeTrainAI 0.0860
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_todayConForecastTillSunset 0 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 08:59:49 special_todayConsumptionForecast_09 1452 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 09:59:49 special_todayConsumptionForecast_10 1522 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 10:59:49 special_todayConsumptionForecast_11 1459 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 11:59:50 special_todayConsumptionForecast_12 1550 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 12:59:49 special_todayConsumptionForecast_13 1603 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 13:59:49 special_todayConsumptionForecast_14 1492 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 14:59:49 special_todayConsumptionForecast_15 1430 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 15:59:49 special_todayConsumptionForecast_16 1433 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 16:59:52 special_todayConsumptionForecast_17 1561 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 17:59:49 special_todayConsumptionForecast_18 1654 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_todayConsumptionForecast_19 1611 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_todayConsumptionForecast_20 1793 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_todayConsumptionForecast_21 1826 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_todayConsumptionForecast_22 1521 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_todayConsumptionForecast_23 1454 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_todayConsumptionForecast_24 1323 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_todayDoneAPIcalls 0
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_todayDoneAPIrequests 1004
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_todayGridConsumption 25806.0 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_todayGridFeedIn 58.0 Wh
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_todayMaxAPIcalls n.a.
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_todayRemainingAPIcalls n.a.
/opt/fhem/restoreDir/save/2025-01-03/log/fhem.save:setstate Forecast_M 2025-01-03 18:47:28 special_todayRemainingAPIrequests n.a.
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_BatPowerIn_Sum 27
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_BatPowerOut_Sum 0
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_SunHours_Remain 0.00
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_SunMinutes_Remain 0
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_allStringsFullfilled 1
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_conForecastTillNextSunrise 9400 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_currentAPIinterval 0
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_currentRunMtsConsumer_01 129 min
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_currentRunMtsConsumer_02 196 min
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_currentRunMtsConsumer_03 315110 min
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_currentRunMtsConsumer_04 200 min
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_currentRunMtsConsumer_05 27 min
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_currentRunMtsConsumer_06 36 min
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_currentRunMtsConsumer_07 32 min
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_dayAfterTomorrowPVforecast 12250 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_daysUntilBatteryCare_01 13
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_lastretrieval_time 2025-01-03 18:52:31
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_lastretrieval_timestamp 1735926751
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_response_message success
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_runTimeAvgDayConsumer_01 436.43 min
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_runTimeAvgDayConsumer_02 388.12 min
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_runTimeAvgDayConsumer_03 1430.09 min
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_runTimeAvgDayConsumer_04 233.40 min
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_runTimeAvgDayConsumer_05 28.80 min
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_runTimeAvgDayConsumer_06 37.20 min
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_runTimeAvgDayConsumer_07 357.53 min
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_runTimeCentralTask 0.3671
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_runTimeLastAPIAnswer -
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_runTimeLastAPIProc -
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_runTimeTrainAI 1.2766
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_todayBatIn_01 4090.0 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_todayBatOut_01 2367.0 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_todayConForecastTillSunset 0 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 08:59:52 special_todayConsumptionForecast_09 685 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 09:59:53 special_todayConsumptionForecast_10 824 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 10:59:51 special_todayConsumptionForecast_11 645 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 11:59:53 special_todayConsumptionForecast_12 667 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 12:59:49 special_todayConsumptionForecast_13 1069 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 13:59:52 special_todayConsumptionForecast_14 1011 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 14:59:59 special_todayConsumptionForecast_15 942 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 15:59:59 special_todayConsumptionForecast_16 860 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 16:59:58 special_todayConsumptionForecast_17 841 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 17:59:59 special_todayConsumptionForecast_18 947 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_todayConsumptionForecast_19 854 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_todayConsumptionForecast_20 781 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_todayConsumptionForecast_21 716 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_todayConsumptionForecast_22 710 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_todayConsumptionForecast_23 686 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_todayConsumptionForecast_24 597 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_todayDoneAPIcalls 0
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_todayDoneAPIrequests 4518
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_todayGridConsumption 233.3 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_todayGridFeedIn 128.0 Wh
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_todayMaxAPIcalls n.a.
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_todayRemainingAPIcalls n.a.
/opt/fhem/log/fhem.save:setstate Forecast 2025-01-03 18:52:31 special_todayRemainingAPIrequests n.a.
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_SunHours_Remain 0.00
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_SunMinutes_Remain 0
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_allStringsFullfilled 1
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_conForecastTillNextSunrise 21277 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_currentAPIinterval 0
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_dayAfterTomorrowPVforecast 4415 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_daysUntilBatteryCare_01 -
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_lastretrieval_time 2025-01-03 18:52:02
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_lastretrieval_timestamp 1735926722
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_response_message success
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_runTimeCentralTask 0.1077
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_runTimeLastAPIAnswer -
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_runTimeLastAPIProc -
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_runTimeTrainAI 0.0860
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_todayConForecastTillSunset 0 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 08:59:49 special_todayConsumptionForecast_09 1452 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 09:59:49 special_todayConsumptionForecast_10 1522 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 10:59:49 special_todayConsumptionForecast_11 1459 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 11:59:50 special_todayConsumptionForecast_12 1550 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 12:59:49 special_todayConsumptionForecast_13 1603 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 13:59:49 special_todayConsumptionForecast_14 1492 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 14:59:49 special_todayConsumptionForecast_15 1430 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 15:59:49 special_todayConsumptionForecast_16 1433 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 16:59:52 special_todayConsumptionForecast_17 1561 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 17:59:49 special_todayConsumptionForecast_18 1654 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_todayConsumptionForecast_19 1611 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_todayConsumptionForecast_20 1793 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_todayConsumptionForecast_21 1826 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_todayConsumptionForecast_22 1521 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_todayConsumptionForecast_23 1454 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_todayConsumptionForecast_24 1323 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_todayDoneAPIcalls 0
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_todayDoneAPIrequests 1008
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_todayGridConsumption 25913.0 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_todayGridFeedIn 58.0 Wh
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_todayMaxAPIcalls n.a.
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_todayRemainingAPIcalls n.a.
/opt/fhem/log/fhem.save:setstate Forecast_M 2025-01-03 18:52:02 special_todayRemainingAPIrequests n.a.
grep: /opt/fhem/log/eventTypes.txt: Übereinstimmungen in Binärdatei
grep: /opt/fhem/.local/lib/python3.9/site-packages/__pycache__/markdown2.cpython-39.pyc: Übereinstimmungen in Binärdatei
grep: /opt/fhem/.local/lib/python3.9/site-packages/Cryptodome/SelfTest/Protocol/__pycache__/test_KDF.cpython-39.pyc: Übereinstimmungen in Binärdatei
/opt/fhem/.local/lib/python3.9/site-packages/Cryptodome/SelfTest/Protocol/test_KDF.py:    def test_special_case_salt(self):
grep: /opt/fhem/.local/lib/python3.9/site-packages/Crypto/SelfTest/Protocol/__pycache__/test_KDF.cpython-39.pyc: Übereinstimmungen in Binärdatei
/opt/fhem/.local/lib/python3.9/site-packages/Crypto/SelfTest/Protocol/test_KDF.py:    def test_special_case_salt(self):
/opt/fhem/.local/lib/python3.9/site-packages/markdown2.py:        text = self._unescape_special_chars(text)
/opt/fhem/.local/lib/python3.9/site-packages/markdown2.py:        text = self._escape_special_chars(text)
/opt/fhem/.local/lib/python3.9/site-packages/markdown2.py:    def _escape_special_chars(self, text):
/opt/fhem/.local/lib/python3.9/site-packages/markdown2.py:        self._toc.append((level, id, self._unescape_special_chars(name)))
/opt/fhem/.local/lib/python3.9/site-packages/markdown2.py:            self._unescape_special_chars(match.group(1)))
/opt/fhem/.local/lib/python3.9/site-packages/markdown2.py:    def _unescape_special_chars(self, text):
grep: /opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/__pycache__/utils.cpython-39.pyc: Übereinstimmungen in Binärdatei
/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py:    return remove_special_charachters(reading)
/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py:    return remove_special_charachters(devname.replace(" ", "_").replace("-", "_"))
/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/utils.py:def remove_special_charachters(string):
grep: /opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/__pycache__/markdown2.cpython-39.pyc: Übereinstimmungen in Binärdatei
grep: /opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/~hempy/lib/__pycache__/utils.cpython-39.pyc: Übereinstimmungen in Binärdatei
/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/~hempy/lib/utils.py:    return remove_special_charachters(reading)
/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/~hempy/lib/utils.py:    return remove_special_charachters(
/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/~hempy/lib/utils.py:def remove_special_charachters(string):
grep: /opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-39.pyc: Übereinstimmungen in Binärdatei
/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/pip/_internal/operations/prepare.py:def _copy2_ignoring_special_files(src, dest):
/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/pip/_internal/operations/prepare.py:        kwargs['copy_function'] = _copy2_ignoring_special_files
grep: /opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/Cryptodome/SelfTest/Protocol/__pycache__/test_KDF.cpython-39.pyc: Übereinstimmungen in Binärdatei
/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/Cryptodome/SelfTest/Protocol/test_KDF.py:    def test_special_case_salt(self):
grep: /opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/Crypto/SelfTest/Protocol/__pycache__/test_KDF.cpython-39.pyc: Übereinstimmungen in Binärdatei
/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/Crypto/SelfTest/Protocol/test_KDF.py:    def test_special_case_salt(self):
/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/markdown2.py:        text = self._unescape_special_chars(text)
/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/markdown2.py:        text = self._escape_special_chars(text)
/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/markdown2.py:    def _escape_special_chars(self, text):
/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/markdown2.py:        self._toc.append((level, id, self._unescape_special_chars(name)))
/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/markdown2.py:            self._unescape_special_chars(match.group(1)))
/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/markdown2.py:    def _unescape_special_chars(self, text):
grep: /opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/__pycache__/utils.cpython-39.pyc: Übereinstimmungen in Binärdatei
/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/utils.py:    return remove_special_charachters(reading)
/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/utils.py:    return remove_special_charachters(
/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/utils.py:def remove_special_charachters(string):
root@EnergyPi:/home/pi#

Das dauert dann....je nach Leistung des RPI......und deiner Datenmengen in den Unterverzeichnissen....

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.

kask

Danke für die Info & Erklärung.
Ich nutze DBLog und die Werte werden unter anderem in eigenen Funktionen und Notifies verarbeitet.
Wo das von statten geht ist mir (meist) bekannt.
Und da ist jetzt halt Handarbeit angesagt.
Ist ja alles machbar am Ende.

DS_Starter

#1487
ZitatIch nutze DBLog
Dann kannst du die Readingnamen in der DB leicht mit DbRep umsetzen:

 set <DbRep> readingRename <[Device:]alterReadingname>,<neuerReadingname>
Damit werden alle alten Readingnamen in der Datenbank in den neuen Namen umgesetzt. Damit hast du die Historie komplett vorhanden mit neuem Readingnamen.
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

münster

Zitat von: Max_Meyer am 02 Januar 2025, 18:10:09Hallo münster,
ich tippe mal - wie geschrieben benutze ich eine andere Marke - aber die Probleme sind gleich. In meinem Falle ist es auch der erste Hybrid den ich einbinde aber SMA  habe ich bereits mehrere laufen.
wenn ich richtig geschaut habe ist die SE-Integration, die du nutzt, von 2022 (letzte Änderung) --> damals gabs (meines Wissens) noch keine Hybrid-WR - und somit fehlen da ggfls. einige Parameter denke ich. In dem File, auf das ich heute morgen verwiesen habe,  sind alle notwendigen Register vorhanden, glaube ich - die Frage ist ob das File für dein Gerät gültig ist - ansonsten findet sich das bestimmt im SE-Supportbereich. Die Register müssten nur abgefragt werden. Ich nutze dazu 98_ModbusAttr.pm. Zur Bestimmung der 'richtigen' Register nutze ich den Quervergleich mit der Oberfläche (Webserver) des WR - da wird ja der richtige/gewünschte Wert angezeigt.

Vielen Dank Max für die Tipps!

In der Dokumentation konnte ich keine Einträge finden, aber hier sind einige Hinweise https://github.com/nmakel/solaredge_modbus/blob/master/src/solaredge_modbus/__init__.py#L663

Ich habe dem lokalen SolarEdge-Modul Code verändert, um diese Register abzufragen, aber etwas stimmt nicht mit den Werten.

Letzte Nacht habe ich 80% der Batterie verbraucht (10kWh bzw. 9623 ,,netto") und dies wären die Deltas der Werte in den Modbus-Registern:
,,Produzierte Energie (die, wie ich weiß, AC ist)": +5998
"lifetime_export_energy_counter (Akku)": +1121

Darüber hinaus habe ich nicht verstanden, wie oft diese Batteriewerte aktualisiert werden, aber der "export_energy_counter" wurde sicherlich nicht länger als eine Stunde aktualisiert, während die Batterie verwendet wurde, daher bin ich nicht sicher, ob ich sie verwenden kann.

weiter mit den Experimenten ;-)

tpm88

Hallo Heiko,

seit gestern berechnet SolarForecast die PVreal Werte (stündlich und gesamt) mit konstant null ( 0 WH ). Zunächst dachte ich, der Schnee auf den Modulen sei die Ursache, aber zumindest das schneefreie Balkonkraftwerk sollte ein wenig beitragen.

Das Modul ist aktuell, an der Konfiguration habe ich bis auf das Umbenennen der statistic / special Readings nichts verändert. Betroffen sind alle meine drei Instanzen, die bis auf das Wettermodell identisch sind.

Der Plant Configuration Check ist grün - siehe Screenshot.

Ich erhalte plausible Werte für Current_PV:
2025-01-04_14:51:14 PV_forecast nextCycletime: 14:51:24
2025-01-04_14:51:14 PV_forecast Current_PV: 93 W
2025-01-04_14:51:14 PV_forecast consumer01_currentPower: 3 W
2025-01-04_14:51:14 PV_forecast Current_GridConsumption: 148 W
2025-01-04_14:51:14 PV_forecast Current_Consumption: 241 W
2025-01-04_14:51:14 PV_forecast Current_SelfConsumption: 93 W
2025-01-04_14:51:14 PV_forecast Current_AutarkyRate: 39 %
2025-01-04_14:51:14 PV_forecast special_conForecastTillNextSunrise: 7394 Wh
2025-01-04_14:51:15 PV_forecast updated
2025-01-04_14:51:24 PV_forecast nextCycletime: 14:51:34
2025-01-04_14:51:24 PV_forecast Current_PV: 92 W
2025-01-04_14:51:24 PV_forecast Current_GridConsumption: 154 W
2025-01-04_14:51:24 PV_forecast Current_Consumption: 246 W
2025-01-04_14:51:24 PV_forecast Current_SelfConsumption: 92 W
2025-01-04_14:51:24 PV_forecast Current_AutarkyRate: 37 %
2025-01-04_14:51:24 PV_forecast special_conForecastTillNextSunrise: 7393 Wh
2025-01-04_14:51:25 PV_forecast updated
2025-01-04_14:51:34 PV_forecast nextCycletime: 14:51:44
2025-01-04_14:51:34 PV_forecast Current_PV: 105 W
2025-01-04_14:51:34 PV_forecast consumer01_currentPower: 3.06 W
2025-01-04_14:51:34 PV_forecast Current_GridConsumption: 146 W
2025-01-04_14:51:34 PV_forecast Current_Consumption: 251 W
2025-01-04_14:51:34 PV_forecast Current_SelfConsumption: 105 W
2025-01-04_14:51:34 PV_forecast Current_AutarkyRate: 42 %
2025-01-04_14:51:34 PV_forecast special_conForecastTillNextSunrise: 7392 Wh
2025-01-04_14:51:35 PV_forecast updated
2025-01-04_14:51:44 PV_forecast nextCycletime: 14:51:54
2025-01-04_14:51:44 PV_forecast consumer01_currentPower: 3.05 W
2025-01-04_14:51:44 PV_forecast Current_GridConsumption: 153 W
2025-01-04_14:51:44 PV_forecast Current_Consumption: 258 W
2025-01-04_14:51:44 PV_forecast Current_AutarkyRate: 41 %
2025-01-04_14:51:44 PV_forecast special_conForecastTillNextSunrise: 7391 Wh
2025-01-04_14:51:45 PV_forecast updated
2025-01-04_14:51:54 PV_forecast nextCycletime: 14:52:04
2025-01-04_14:51:54 PV_forecast Current_PV: 101 W
2025-01-04_14:51:54 PV_forecast consumer01_currentPower: 2.98 W
2025-01-04_14:51:54 PV_forecast Current_GridConsumption: 156 W
2025-01-04_14:51:54 PV_forecast Current_Consumption: 257 W
2025-01-04_14:51:54 PV_forecast Current_SelfConsumption: 101 W
2025-01-04_14:51:54 PV_forecast Current_AutarkyRate: 39 %
2025-01-04_14:51:54 PV_forecast special_conForecastTillNextSunrise: 7390 Wh
2025-01-04_14:51:55 PV_forecast updated


Warum ist der "Producers cache" leer?

fhem> get PV_forecast valProducer
Producers cache is empty.


Im Anhang noch ein list meiner primären SolarForecast Instanz und der CSV Export für get ... pvHistory. Seit Tag 03 sind die PVreal Werte beständig 0 W.

[Edit] - ebenfalls im Anhang noch die vermutlich relevanten Zeilen mit aktiven debug collectData...

Ich bin ein wenig ratlos, wie ich den Fehler weiter eingrenzen kann und für jeden Tip dankbar.

VG Tobias
Test FHEM Server on RPi, CUL_HM
Prod FHEM Server on Odroid HC1, HM-USB, JeeLink
Devices: diverse HM, IT1500, 1wire, LaCrosse, MQTT

300P

Zitat von: tpm88 am 04 Januar 2025, 15:18:10Warum ist der "Producers cache" leer?

fhem> get PV_forecast valProducer
Producers cache is empty.



Du hast offensichtlich ja keine ProducerXY, sondern InverterXY in deinem System.
Daher muss der "Producers cache" leer sein. ;)  .

Nutze mal
get axaxax valInverter   (oder valInverterXY)
O:-)

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.

tpm88

Zitat von: 300P am 04 Januar 2025, 16:40:49Du hast offensichtlich ja keine ProducerXY, sondern InverterXY in deinem System.
Daher muss der "Producers cache" leer sein. ;)  .

Nutze mal
get axaxax valInverter  (oder valInverterXY)
O:-)

Guter Punkt  ;D

fhem> get PV_forecast valInverter
01 => ialias => MQTT2_gw5048em
      ietotal => 11544000.0000165
      ifeed => default
      igeneration => 0
      ilimit => 100
      iname => MQTT2_gw5048em
      invertercap => 4600
      istrings => roofSouth,roofNorth

02 => ialias => MQTT2_hm600tm_HM600_TM
      ietotal => 1010.49
      ifeed => default
      igeneration => 0
      ilimit => 100
      iname => MQTT2_hm600tm_HM600_TM
      invertercap => 600
      istrings => balcony

Gruß
Tobias
Test FHEM Server on RPi, CUL_HM
Prod FHEM Server on Odroid HC1, HM-USB, JeeLink
Devices: diverse HM, IT1500, 1wire, LaCrosse, MQTT

DS_Starter

Hier sieht man auch den Zählerstand:

      ietotal => 11544000.0000165
      ifeed => default
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

Sorry mein erster Post ist über den Jordan gegangen, ich schreibe nochmal....
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

So jetzt Tobias  :)

der etotal deiner Inverter wird nicht hochgezählt:

...
2025.01.04 14:47:04 1: PV_forecast DEBUG> summary data of all Inverters - pv: 126 W, this hour Generation: 0 Wh
2025.01.04 14:47:14 1: PV_forecast DEBUG> pv: 54 W, etotal: 11544000.0000165 Wh
2025.01.04 14:47:14 1: PV_forecast DEBUG> pv: 71 W, etotal: 1010.44 Wh
2025.01.04 14:47:14 1: PV_forecast DEBUG> summary data of all Inverters - pv: 125 W, this hour Generation: 0 Wh
2025.01.04 14:47:24 1: PV_forecast DEBUG> pv: 54 W, etotal: 11544000.0000165 Wh
2025.01.04 14:47:24 1: PV_forecast DEBUG> pv: 70 W, etotal: 1010.44 Wh
2025.01.04 14:47:24 1: PV_forecast DEBUG> summary data of all Inverters - pv: 124 W, this hour Generation: 0 Wh
2025.01.04 14:47:34 1: PV_forecast DEBUG> pv: 46 W, etotal: 11544000.0000165 Wh
2025.01.04 14:47:34 1: PV_forecast DEBUG> pv: 70 W, etotal: 1010.44 Wh
2025.01.04 14:47:34 1: PV_forecast DEBUG> summary data of all Inverters - pv: 116 W, this hour Generation: 0 Wh
2025.01.04 14:47:44 1: PV_forecast DEBUG> pv: 46 W, etotal: 11544000.0000165 Wh
2025.01.04 14:47:44 1: PV_forecast DEBUG> pv: 70 W, etotal: 1010.44 Wh
2025.01.04 14:47:44 1: PV_forecast DEBUG> summary data of all Inverters - pv: 116 W, this hour Generation: 0 Wh
2025.01.04 14:47:54 1: PV_forecast DEBUG> pv: 43 W, etotal: 11544000.0000165 Wh
2025.01.04 14:47:54 1: PV_forecast DEBUG> pv: 70 W, etotal: 1010.44 Wh
...

Vermutlich liefern die Quellen Readings immer den gleichen Wert. Dadurch ist keine Erzeugung erkennbar.
Du müsstest den Stand der Quellen mit dem Stand im Modul (get ... valInverter) vergleichen.

LG
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

#1495
Dann noch etwas

   setupInverterDev01 MQTT2_gw5048em pv=P_PV:W etotal=P_PV_Total_ALL:kWh capacity=4600 strings=roofSouth,roofNorth
   setupInverterDev02 MQTT2_hm600tm_HM600_TM pv=P_AC:W etotal=YieldTotal:W capacity=600 strings=balcony

Das etotal=YieldTotal vom MQTT2_hm600tm_HM600_TM müssen Wh oder kWh und nicht W sein.
Beim MQTT2_gw5048em sind die etotal kWh. Bei der gegenwärtigen sehr geringen PV Ausbeute könnte es sein dass der Zähler im MQTT2_gw5048em erst nach längeren Zeitintervallen aktualisiert und dadurch das Gap entsteht.
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

tpm88

Hallo Heiko,

Zitat von: DS_Starter am 04 Januar 2025, 17:15:52Dann noch etwas

  setupInverterDev01 MQTT2_gw5048em pv=P_PV:W etotal=P_PV_Total_ALL:kWh capacity=4600 strings=roofSouth,roofNorth
  setupInverterDev02 MQTT2_hm600tm_HM600_TM pv=P_AC:W etotal=YieldTotal:W capacity=600 strings=balcony

Das etotal=YieldTotal vom MQTT2_hm600tm_HM600_TM müssen Wh oder kWh und nicht W sein.
Beim MQTT2_gw5048em sind die etotal kWh. Bei der gegenwärtigen sehr geringen PV Ausbeute könnte es sein dass der Zähler im MQTT2_gw5048em erst nach längeren Zeitintervallen aktualisiert und dadurch das Gap entsteht.

Danke, Heiko. Ich denke tatsächlich, daß ein Doppelfehler bei mir drin ist/war:

Den Fehler in der setupInverterDev02 mit der falschen Einheit W für etotal habe ich auch eben gefunden und auf kWh korrigiert. Das war somit bereits seit dem Split auf zwei Inverter Devices drin.

setupInverterDev02 MQTT2_hm600tm_HM600_TM pv=P_AC:W etotal=YieldTotal:kWh capacity=600 strings=balcony


2025.01.04 17:12:34 1: PV_forecast DEBUG> summary data of all Inverters - pv: 0 W, this hour Generation: 0 Wh
2025.01.04 17:12:44 1: PV_forecast DEBUG> pv: 0 W, etotal: 11544000.0000165 Wh
2025.01.04 17:12:44 1: PV_forecast DEBUG> pv: 0 W, etotal: 1010490 Wh
2025.01.04 17:12:44 1: PV_forecast DEBUG> summary data of all Inverters - pv: 0 W, this hour Generation: 1009479 Wh
2025.01.04 17:12:54 1: PV_forecast DEBUG> pv: 0 W, etotal: 11544000.0000165 Wh
2025.01.04 17:12:54 1: PV_forecast DEBUG> pv: 0 W, etotal: 1010490 Wh
2025.01.04 17:12:54 1: PV_forecast DEBUG> summary data of all Inverters - pv: 0 W, this hour Generation: 0 Wh
2025.01.04 17:13:04 1: PV_forecast DEBUG> pv: 0 W, etotal: 11544000.0000165 Wh
2025.01.04 17:13:04 1: PV_forecast DEBUG> pv: 0 W, etotal: 1010490 Wh

Die Hauptanlage auf dem Dach (setupInverterDev01) hat tatsächlich seit vorgestern das Reading, aus dem etotal abgeleitet wird, nicht mehr geändert:

2025-01-02_13:05:07 MQTT2_gw5048em P_PV_Total_ALL: 11543.8000000165
2025-01-02_13:38:07 MQTT2_gw5048em P_PV_Total_ALL: 11543.9000000165
2025-01-02_14:17:47 MQTT2_gw5048em P_PV_Total_ALL: 11544.0000000165

Das könnte am Schnee liegen, da muß ich nochmal genau hinschauen.

Vielen Dank für's "Mitdenken" und natürlich überhaupt für das geniale Modul.

VG
Tobias

Test FHEM Server on RPi, CUL_HM
Prod FHEM Server on Odroid HC1, HM-USB, JeeLink
Devices: diverse HM, IT1500, 1wire, LaCrosse, MQTT

minierm

Zitat von: DS_Starter am 02 Januar 2025, 17:25:11@minierm,

Zitatwäre es nicht sinnvoll, die bisherigen Readings als Gesamtsumme zu behalten? (Nicht SoC, aber alles mit Watt)
Das betrifft m.M. nach nur die Readings Current_PowerBatIn_XX und Current_PowerBatOut_XX.
Beide Varianten (getrennt vs. gemeinsamer Wert aller Batterien) hat seine Vor- und Nachteile.
Der Vorteil der Trennung ist zunächst der genauere Blick darauf was momentan mit der Bat passiert, ob z.B. eventuelle Steuerungsmaßnahmen den Erfolg bringen der beabsichtigt ist. Auch kann man später in der Grafik diskrete Werte mit darstellen.
Der Nachteil ist ein Paar Readings mehr bzw. wenn man eine Summe möchte muß man die erst erstellen.

Welchen Vorteil würdest du in der Gesamtsumme sehen?
Erstens könnte man die Readings weiter verwenden (kein Breaking Change),
zweitens muss man nicht selber ein Summenreading erstellen.
Den ersten Punkt setzt Du jetzt zwar als Spezial Reading um, aber geschenkt, der zweite Punkt ist ja erfüllt.

Es ist toll, wie engagiert und schnell Du Sachen umsetzt! Bei Breaking Changes - vor allem nicht zwingend notwendigen - hast Du ja mitbekommen, was eine schnelle Umsetzung für Aufregung verursachen kann. Leider gibt es auch keinen guten Mechanismus, um im Modul selbst darüber zu informieren (Warnung bei der Anlagenkonfiguration?)

LG Michael

minierm

Zitat von: DS_Starter am 02 Januar 2025, 17:25:11@minierm,

Zitatwäre es nicht sinnvoll, die bisherigen Readings als Gesamtsumme zu behalten? (Nicht SoC, aber alles mit Watt)
Das betrifft m.M. nach nur die Readings Current_PowerBatIn_XX und Current_PowerBatOut_XX.

Hm, eigentlich alle summierbaren Werte im Sinne einer Gesamtübersicht:
* Current_BatCharge -> Current_BatCharge_XX
* Current_PowerBatOut -> Current_PowerBatOut_XX
* Current_PowerBatIn -> Current_PowerBatIn_XX
* Today_HourXX_BatIn -> Today_HourXX_BatIn_XX
* Today_HourXX_BatOut -> Today_HourXX_BatOut_XX

Disclaimer: Ich habe nur einen Speicher

Btw: Die Benennung ist etwas inkonsistent:
* Current_BatCharge vs Current_PowerBatOut und Today_HourXX_BatOut
Kommt "Bat" jetzt zuerst oder zum Schluß? Mit oder ohne Power?
-> Current_BatPowerOut und Today_HourXX_BatPowerOut
(analog für In)

minierm

Ich hab da noch eine Anmerkung zur Anlagenkonfigurationsprüfung :-)
Common Settings           
The AI support is not used.
erfüllt
The selected SolarForecast Model cannot use AI support.
Your local 76_SolarForecast module is up to date.
checked module:
76_SolarForecast
Wenn das verwendete Modul AI nicht unterstützt ist klar das AI nicht verwendet wird. Und welches Modul wird denn verwendet? Könnte man noch erwähnen (Bei mir: SolCastAPI). Und wie man AI aktiviert (Welches Attribut).

Weather Properties
The device "DWD1_Ulm" uses "MOSMIX_L" which is only updated by DWD every 6 hours.
erfüllt (Attribut: setupWeatherDev1)
checked parameters and attributes of device "DWD1_Ulm":
forecastProperties -> TTT,Neff,RR1c,ww,SunUp,SunRise,SunSet
forecastRefresh -> set attribute to below "6" if possible
Ich habe kein Attribut forecastRefresh, nur forecastResolution ("Time resolution (number of hours between 2 samples)." mit dem Wert "1".