Neueste Beiträge

#11
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von DS_Starter - 06 Mai 2026, 20:21:35
Hallo Peter,

danke für deine Infos. In dem einen Scrennshot mit:

2026.05.06 19:39:11 1: SolarForecast DEBUG> collect Battery Readings data: device=Enphase =>
2026.05.06 19:39:11 1: SolarForecast DEBUG> pin: 0 W, pout: 506 W, totalin: 6785066 Wh, totalout: 6480344 Wh, soc: 96
2026.05.06 19:39:11 1: SolarForecast DEBUG> collect Battery Readings data: device=ha_tjsLMch1 =>
2026.05.06 19:39:11 1: SolarForecast DEBUG> pin: 0 W, pout: 169 W, totalin: 31891.8179961261 Wh, totalout: 15572.6153359371 Wh, soc: 98

sieht man dass nur die 169 W aus der Bat ha_tjsLMch1 zu sehen ist, der 506W Direktfluß fehlt. Da versteckt sich irgendwo ein Differenzfehler im Vektor. Kommt auf meine Liste.

LG,
Heiko 
#12
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von peterboeckmann - 06 Mai 2026, 19:50:01
Hallo Heiko,

Zitat von: peterboeckmann am 06 Mai 2026, 10:05:32Einen echten Screenshot beider Varianten inkl. der jeweiligen collectData-Logs kann ich heute abend machen, wenn wieder Strom aus beiden Batterien kommt.

anbei nun die beiden Screenshots der Flussgrafik.

Und hier die Log-Auszüge:
Für Screenshot1_max200W_über_Batteriewechselrichter, Stand 19:39:11:
2026.05.06 19:39:11 1: SolarForecast DEBUG> collect Wind measurement data  - device: WindSpeed_mps =>
2026.05.06 19:39:11 1: SolarForecast DEBUG> Smooth Wind data - value=7.94 m/s, last=10.80, last_fast=6.24 -> smoothed=10.80, smoothed_fast=6.25
2026.05.06 19:39:11 1: SolarForecast DEBUG> collect Inverter 01 data - device: Enphase, source: pv, delivery: default =>
2026.05.06 19:39:11 1: SolarForecast DEBUG> pvOut: 96 W, pvIn: 179 W, AC->DC: 0 W, DC->AC: 0 W, etotal: 27012 Wh
2026.05.06 19:39:11 1: SolarForecast DEBUG> collect Inverter 02 data - device: ha_tjsLMch1, source: pv, delivery: bat =>
2026.05.06 19:39:11 1: SolarForecast DEBUG> pvOut: 31 W, pvIn: 31 W, AC->DC: 0 W, DC->AC: 0 W, etotal: 18044 Wh
2026.05.06 19:39:11 1: SolarForecast DEBUG> collect Inverter 03 data - device: ha_tjsLMch1, source: bat, delivery: default =>
2026.05.06 19:39:11 1: SolarForecast DEBUG> pvOut: 0 W, pvIn: 0 W, AC->DC: 0 W, DC->AC: 169 W, etotal: 0 Wh
2026.05.06 19:39:11 1: SolarForecast DEBUG> summary data of all Inverters - pv: 127 W, this hour Generation: 162 Wh
2026.05.06 19:39:11 1: SolarForecast DEBUG> State of Plant derating: 0, info: The value of device "SolarForecast", reading "userRdg_Regulated" doesn't match the condition "1"
2026.05.06 19:39:11 1: SolarForecast DEBUG> currently saved 'pvrlvd' value: 1
2026.05.06 19:39:11 1: SolarForecast DEBUG> current percentage pvrl/pvapifc deviation of hod 20: 275.3 % -> pvrlvd: 1
2026.05.06 19:39:11 1: SolarForecast DEBUG> collect Energy Meter data - device: MQTT2_SmartMeterReader =>
2026.05.06 19:39:11 1: SolarForecast DEBUG> gcon: 8 W, gfeedin: 0 W, contotal: 5946964.5 Wh, feedtotal: 7910340.5 Wh
2026.05.06 19:39:11 1: SolarForecast DEBUG> write to pvHistory - day: 06, hod: 20, GridConsumption (gcons): 18 Wh
2026.05.06 19:39:11 1: SolarForecast DEBUG> collect Battery Readings data: device=Enphase =>
2026.05.06 19:39:11 1: SolarForecast DEBUG> pin: 0 W, pout: 506 W, totalin: 6785066 Wh, totalout: 6480344 Wh, soc: 96
2026.05.06 19:39:11 1: SolarForecast DEBUG> collect Battery Readings data: device=ha_tjsLMch1 =>
2026.05.06 19:39:11 1: SolarForecast DEBUG> pin: 0 W, pout: 169 W, totalin: 31891.8179961261 Wh, totalout: 15572.6153359371 Wh, soc: 98
2026.05.06 19:39:11 1: SolarForecast DEBUG> consumer=01 activated=1
2026.05.06 19:39:11 1: SolarForecast DEBUG> consumer=02 activated=1
2026.05.06 19:39:11 1: SolarForecast DEBUG> consumer=03 activated=1
2026.05.06 19:39:11 1: SolarForecast DEBUG> consumer=04 activated=1
2026.05.06 19:39:11 1: SolarForecast DEBUG> consumer=05 activated=1
2026.05.06 19:39:11 1: SolarForecast DEBUG> consumer=06 activated=1
2026.05.06 19:39:11 1: SolarForecast DEBUG> consumer=07 activated=1
2026.05.06 19:39:11 1: SolarForecast DEBUG> consumer=08 activated=1
2026.05.06 19:39:11 1: SolarForecast DEBUG> consumer=09 activated=1
2026.05.06 19:39:11 1: SolarForecast DEBUG> consumer=10 activated=1
2026.05.06 19:39:11 1: SolarForecast DEBUG> consumer=11 activated=1
2026.05.06 19:39:11 1: SolarForecast DEBUG> consumer=12 activated=1
2026.05.06 19:39:11 1: SolarForecast DEBUG> consumer=13 activated=1
2026.05.06 19:39:11 1: SolarForecast DEBUG> consumer=14 activated=1
2026.05.06 19:39:11 1: SolarForecast DEBUG> BEV - id=none -> consumer=15 activated=0
2026.05.06 19:39:11 1: SolarForecast DEBUG> consumer=16 activated=1
2026.05.06 19:39:11 1: SolarForecast DEBUG> EnergyConsumption input -> PV: 162 Wh, PP: 0 Wh, GridIn: 1 Wh, GridCon: 18 Wh, BatIn: 0 Wh, BatOut: 158 Wh
2026.05.06 19:39:11 1: SolarForecast DEBUG> EnergyConsumption result -> 337 Wh
2026.05.06 19:39:11 1: SolarForecast DEBUG> current Power values -> PV2Node: 96 W, PV2Bat: 31, PV2Grid: 0 W, Other: 0 W, GridIn: 0 W, GridCon: 8 W
2026.05.06 19:39:11 1: SolarForecast DEBUG> current Power Battery -> BatIn: 0 W (Node2Inv2DC: 0 W), BatOut: 675 W (DC2Inv2Node: 169 W)
2026.05.06 19:39:11 1: SolarForecast DEBUG> current Consumption result -> 273 W

Für Screenshot2_0W_über_Batteriewechselrichter, Stand 19:41:01:
2026.05.06 19:41:01 1: SolarForecast DEBUG> collect Wind measurement data  - device: WindSpeed_mps =>
2026.05.06 19:41:01 1: SolarForecast DEBUG> Smooth Wind data - value=7.94 m/s, last=10.68, last_fast=6.51 -> smoothed=10.67, smoothed_fast=6.52
2026.05.06 19:41:01 1: SolarForecast DEBUG> collect Inverter 01 data - device: Enphase, source: pv, delivery: default =>
2026.05.06 19:41:01 1: SolarForecast DEBUG> pvOut: 94 W, pvIn: 181 W, AC->DC: 0 W, DC->AC: 0 W, etotal: 27015 Wh
2026.05.06 19:41:01 1: SolarForecast DEBUG> collect Inverter 02 data - device: ha_tjsLMch1, source: pv, delivery: bat =>
2026.05.06 19:41:01 1: SolarForecast DEBUG> pvOut: 28 W, pvIn: 28 W, AC->DC: 0 W, DC->AC: 0 W, etotal: 18045 Wh
2026.05.06 19:41:01 1: SolarForecast DEBUG> collect Inverter 03 data - device: ha_tjsLMch1, source: bat, delivery: default =>
2026.05.06 19:41:01 1: SolarForecast DEBUG> pvOut: 0 W, pvIn: 0 W, AC->DC: 0 W, DC->AC: 0 W, etotal: 0 Wh
2026.05.06 19:41:01 1: SolarForecast DEBUG> summary data of all Inverters - pv: 122 W, this hour Generation: 166 Wh
2026.05.06 19:41:01 1: SolarForecast DEBUG> State of Plant derating: 0, info: The value of device "SolarForecast", reading "userRdg_Regulated" doesn't match the condition "1"
2026.05.06 19:41:01 1: SolarForecast DEBUG> currently saved 'pvrlvd' value: 1
2026.05.06 19:41:01 1: SolarForecast DEBUG> current percentage pvrl/pvapifc deviation of hod 20: 266.3 % -> pvrlvd: 1
2026.05.06 19:41:01 1: SolarForecast DEBUG> collect Energy Meter data - device: MQTT2_SmartMeterReader =>
2026.05.06 19:41:01 1: SolarForecast DEBUG> gcon: 69 W, gfeedin: 0 W, contotal: 5946964.7 Wh, feedtotal: 7910340.6 Wh
2026.05.06 19:41:01 1: SolarForecast DEBUG> write to pvHistory - day: 06, hod: 20, GridConsumption (gcons): 18 Wh
2026.05.06 19:41:01 1: SolarForecast DEBUG> collect Battery Readings data: device=Enphase =>
2026.05.06 19:41:01 1: SolarForecast DEBUG> pin: 0 W, pout: 493 W, totalin: 3392533 Wh, totalout: 3240172 Wh, soc: 96
2026.05.06 19:41:01 1: SolarForecast DEBUG> collect Battery Readings data: device=ha_tjsLMch1 =>
2026.05.06 19:41:01 1: SolarForecast DEBUG> pin: 28 W, pout: 0 W, totalin: 31894.1355792371 Wh, totalout: 15577.6216815959 Wh, soc: 98
2026.05.06 19:41:01 1: SolarForecast DEBUG> consumer=01 activated=1
2026.05.06 19:41:01 1: SolarForecast DEBUG> consumer=02 activated=1
2026.05.06 19:41:01 1: SolarForecast DEBUG> consumer=03 activated=1
2026.05.06 19:41:01 1: SolarForecast DEBUG> consumer=04 activated=1
2026.05.06 19:41:01 1: SolarForecast DEBUG> consumer=05 activated=1
2026.05.06 19:41:01 1: SolarForecast DEBUG> consumer=06 activated=1
2026.05.06 19:41:01 1: SolarForecast DEBUG> consumer=07 activated=1
2026.05.06 19:41:01 1: SolarForecast DEBUG> consumer=08 activated=1
2026.05.06 19:41:01 1: SolarForecast DEBUG> consumer=09 activated=1
2026.05.06 19:41:01 1: SolarForecast DEBUG> consumer=10 activated=1
2026.05.06 19:41:01 1: SolarForecast DEBUG> consumer=11 activated=1
2026.05.06 19:41:01 1: SolarForecast DEBUG> consumer=12 activated=1
2026.05.06 19:41:01 1: SolarForecast DEBUG> consumer=13 activated=1
2026.05.06 19:41:01 1: SolarForecast DEBUG> consumer=14 activated=1
2026.05.06 19:41:01 1: SolarForecast DEBUG> BEV - id=none -> consumer=15 activated=0
2026.05.06 19:41:01 1: SolarForecast DEBUG> consumer=16 activated=1
2026.05.06 19:41:01 1: SolarForecast DEBUG> EnergyConsumption input -> PV: 166 Wh, PP: 0 Wh, GridIn: 1 Wh, GridCon: 18 Wh, BatIn: 2 Wh, BatOut: 163 Wh
2026.05.06 19:41:01 1: SolarForecast DEBUG> EnergyConsumption result -> 344 Wh
2026.05.06 19:41:01 1: SolarForecast DEBUG> current Power values -> PV2Node: 94 W, PV2Bat: 28, PV2Grid: 0 W, Other: 0 W, GridIn: 0 W, GridCon: 69 W
2026.05.06 19:41:01 1: SolarForecast DEBUG> current Power Battery -> BatIn: 28 W (Node2Inv2DC: 0 W), BatOut: 493 W (DC2Inv2Node: 0 W)
2026.05.06 19:41:01 1: SolarForecast DEBUG> current Consumption result -> 656 W

Die current Consumption von 656W im Screenshot2, ohne den Stromfluss aus dem Batteriewechselrichter, ist realistischer als die von 273W im Screenshot1.

Vielleicht findest Du ja was raus.

Viele Grüße,
Peter

Nachtrag: Vielleicht interessiert Dich zum Vergleich auch noch das Log ohne Batteriewechselrichter:
2026.05.06 19:53:22 1: SolarForecast DEBUG> collect Wind measurement data  - device: WindSpeed_mps =>
2026.05.06 19:53:22 1: SolarForecast DEBUG> Smooth Wind data - value=7.72 m/s, last=9.89, last_fast=6.87 -> smoothed=9.89, smoothed_fast=6.88
2026.05.06 19:53:22 1: SolarForecast DEBUG> collect Inverter 01 data - device: Enphase, source: pv, delivery: default =>
2026.05.06 19:53:22 1: SolarForecast DEBUG> pvOut: 51 W, pvIn: 129 W, AC->DC: 0 W, DC->AC: 0 W, etotal: 27033 Wh
2026.05.06 19:53:22 1: SolarForecast DEBUG> collect Inverter 02 data - device: ha_tjsLMch1, source: pv, delivery: default =>
2026.05.06 19:53:22 1: SolarForecast DEBUG> pvOut: 0 W, pvIn: 0 W, AC->DC: 0 W, DC->AC: 0 W, etotal: 18050 Wh
2026.05.06 19:53:22 1: SolarForecast DEBUG> summary data of all Inverters - pv: 51 W, this hour Generation: 189 Wh
2026.05.06 19:53:22 1: SolarForecast DEBUG> State of Plant derating: 0, info: The value of device "SolarForecast", reading "userRdg_Regulated" doesn't match the condition "1"
2026.05.06 19:53:22 1: SolarForecast DEBUG> currently saved 'pvrlvd' value: 1
2026.05.06 19:53:22 1: SolarForecast DEBUG> current percentage pvrl/pvapifc deviation of hod 20: 221.7 % -> pvrlvd: 1
2026.05.06 19:53:22 1: SolarForecast DEBUG> collect Energy Meter data - device: MQTT2_SmartMeterReader =>
2026.05.06 19:53:22 1: SolarForecast DEBUG> gcon: 12 W, gfeedin: 0 W, contotal: 5946968.3 Wh, feedtotal: 7910340.8 Wh
2026.05.06 19:53:22 1: SolarForecast DEBUG> write to pvHistory - day: 06, hod: 20, GridConsumption (gcons): 21 Wh
2026.05.06 19:53:22 1: SolarForecast DEBUG> collect Battery Readings data: device=Enphase =>
2026.05.06 19:53:22 1: SolarForecast DEBUG> pin: 0 W, pout: 426 W, totalin: 5538943 Wh, totalout: 5343014 Wh, soc: 95
2026.05.06 19:53:22 1: SolarForecast DEBUG> collect Battery Readings data: device=ha_tjsLMch1 =>
2026.05.06 19:53:22 1: SolarForecast DEBUG> pin: 0 W, pout: 199 W, totalin: 31895.492957634 Wh, totalout: 15608.9316279298 Wh, soc: 97
2026.05.06 19:53:22 1: SolarForecast DEBUG> consumer=01 activated=1
2026.05.06 19:53:22 1: SolarForecast DEBUG> consumer=02 activated=1
2026.05.06 19:53:22 1: SolarForecast DEBUG> consumer=03 activated=1
2026.05.06 19:53:22 1: SolarForecast DEBUG> consumer=04 activated=1
2026.05.06 19:53:22 1: SolarForecast DEBUG> consumer=05 activated=1
2026.05.06 19:53:22 1: SolarForecast DEBUG> consumer=06 activated=1
2026.05.06 19:53:22 1: SolarForecast DEBUG> consumer=07 activated=1
2026.05.06 19:53:22 1: SolarForecast DEBUG> consumer=08 activated=1
2026.05.06 19:53:22 1: SolarForecast DEBUG> consumer=09 activated=1
2026.05.06 19:53:22 1: SolarForecast DEBUG> consumer=10 activated=1
2026.05.06 19:53:22 1: SolarForecast DEBUG> consumer=11 activated=1
2026.05.06 19:53:22 1: SolarForecast DEBUG> consumer=12 activated=1
2026.05.06 19:53:22 1: SolarForecast DEBUG> consumer=13 activated=1
2026.05.06 19:53:22 1: SolarForecast DEBUG> consumer=14 activated=1
2026.05.06 19:53:22 1: SolarForecast DEBUG> BEV - id=none -> consumer=15 activated=0
2026.05.06 19:53:22 1: SolarForecast DEBUG> consumer=16 activated=1
2026.05.06 19:53:22 1: SolarForecast DEBUG> EnergyConsumption input -> PV: 189 Wh, PP: 0 Wh, GridIn: 1 Wh, GridCon: 21 Wh, BatIn: 2146413 Wh, BatOut: 2103036 Wh
2026.05.06 19:53:22 1: SolarForecast DEBUG> EnergyConsumption result -> -43168 Wh
2026.05.06 19:53:22 1: SolarForecast DEBUG> current Power values -> PV2Node: 51 W, PV2Bat: 0, PV2Grid: 0 W, Other: 0 W, GridIn: 0 W, GridCon: 12 W
2026.05.06 19:53:22 1: SolarForecast DEBUG> current Power Battery -> BatIn: 0 W (Node2Inv2DC: 0 W), BatOut: 625 W (DC2Inv2Node: 0 W)
2026.05.06 19:53:22 1: SolarForecast DEBUG> current Consumption result -> 688 W
Screenshot3 anbei zeigt die Flussgrafik dazu.
An der "stört" (viel zu großes Wort) mich eigentlich nur, dass ich nicht direkt die Flüsse aus beiden Batterien sehe.
#13
FRITZ!Box / Aw: Fritzbox: Fritz_Readout_AP...
Letzter Beitrag von JoWiemann - 06 Mai 2026, 19:43:00
Hallo Dieter,

im Log finde ich immer wieder folgendes:2026.05.06 18:03:07.678 3: [FritzBox | 7530 | 164.08.21 | Attr_Modul.2132] - BASIC:Attr set INTERVAL -> Neustart internal Timer - APICHECKED = 1
Hier wird protokolliert dass das Attribut INTERVAL neu gesetzt worden ist. Das geschieht während der Laufzeit des initialen API Checks. Machst Du das manuell ?
Der initiale API check muss einmal ungestört durchlaufen werden.

Grüße Jörg
#14
Multimedia / Aw: Bose und soundcork und FHE...
Letzter Beitrag von betateilchen - 06 Mai 2026, 19:38:14
Der Markt füllt sich langsam mit günstig angebotenen Bose Soundtouch Geräten  8)
#15
DOIF / Aw: Modale Textbox aus DOIF mö...
Letzter Beitrag von Damian - 06 Mai 2026, 19:35:45
Dann zeig mal das Beispiel, was du im DOIF erstellt hast.
#16
DOIF / Modale Textbox aus DOIF möglic...
Letzter Beitrag von phys1 - 06 Mai 2026, 19:11:17
Hallo,

ist es möglich aus einem DOIF im Perl-Modus heraus eine modale Textbox anzuzeigen? Die Box soll erscheinen, wenn der Nutzer per set-Befehl einen bestimmten Block ausführen lässt. Die dafür vorgesehene Methode FW_directNotify("#FHEMWEB:WEB","FW_okDialog('Mein Text')","") funktioniert jedenfalls nicht, weder im Block selbst (mit vorangestellten ::) noch über ein userReading, das ja auch Perl Code ausführen kann. Das 98_DOIF.pm hat Version 2026-04-27.

In einem dummy Device hingegen geht es, d.h. dort ruft FW_directNotify / FW_okDialog in einem userReading tatsächlich eine modale Textbox auf.
Grüße
#17
Frontends / Aw: [FULLY] Support Thread ab ...
Letzter Beitrag von bertl - 06 Mai 2026, 18:35:54
Spannende Erkenntnis:

Ich habe FHEM neu gestartet und siehe da, FULLY_Start wurde nicht aufgerufen.
Somit gibt es auch kein Polling und das Modul macht nichts, es steht wie ein Stein.

Nach genauerer Analyse habe ich das Problem gefunden.
Beim Startup wird zuerst "FULLY_Define" aufgerufen und nachdem "init_done" noch 0 ist, der Timer zum Aufruf von "FULLY_Start" gestartet.
Im Anschluss wird automatisch "FULLY_Attr" nacheinander mit den bestehenden Attributen aufgerufen.
Und hier werden alle Timer gelöscht und keiner mehr aufgerufen, nachdem "init_done" immer noch 0 ist.

Folgende Änderung in "FULLY_Attr" löst das Problem:
-    RemoveInternalTimer($hash);
-    return InternalTimer(gettimeofday()+1, \&FULLY_Start, $hash, 0) if $init_done;
+    if ($init_done) {
+        RemoveInternalTimer($hash);
+        return InternalTimer(gettimeofday()+1, \&FULLY_Start, $hash, 0);
+    }
#18
FRITZ!Box / Aw: Fritzbox: Fritz_Readout_AP...
Letzter Beitrag von dieterpau - 06 Mai 2026, 18:10:15
Hallo Jörg,
den shutdown um 13:01:57 habe ich manuell erzeugt, wie in meinem Post von 14:07 beschrieben. Ich habe eigentlich noch nie undefinierte shutdown gesehen. Die, die in den Logs vorkommen waren immer manual ausgelöst.
Ich habe verbose 3 gesetzt und gesaved, fhem gestoppt, fhem-2026-05.log gelöscht, fhem gestartet. Den Log findest du im Anhang.

Gruß
Dieter


#19
FRITZ!Box / Aw: FRITZ!Smart Thermo 301 un...
Letzter Beitrag von mistepke - 06 Mai 2026, 16:48:02
Zitat von: mistepke am 06 Mai 2026, 16:31:25Ich vermute das das Problem in dieser Zeile liegt:
TargetHeatingCoolingState=heatingState,values=OFF:0;;;;HEAT:1;;;;COOL:2;;;;AUTO:3,cmds=OFF:closed;;HEAT:desired-temp+20;;COOL:desired-temp+16

Das "closed" kann ich in den Informationen im FHEM nicht finden. Daher habe ich es mal so probiert:
TargetHeatingCoolingState=heatingState,values=OFF:0;;;;HEAT:1;;;;COOL:2;;;;AUTO:3,cmds=OFF:heatingState+OFF;;HEAT:desired-temp+21;;COOL:desired-temp+16

Geht aber leider auch nicht.

Jetzt bin ich darauf gekommen das das closed ein set commando ist. Daher macht das Sinn. Wenn ich das closed manuell in FHEM auslöse geht es auch. Nur aus dem cmds heraus geht es leider nicht.
#20
FRITZ!Box / Aw: FRITZ!Smart Thermo 301 un...
Letzter Beitrag von mistepke - 06 Mai 2026, 16:31:25
Ich vermute das das Problem in dieser Zeile liegt:
TargetHeatingCoolingState=heatingState,values=OFF:0;;;;HEAT:1;;;;COOL:2;;;;AUTO:3,cmds=OFF:closed;;HEAT:desired-temp+20;;COOL:desired-temp+16

Das "closed" kann ich in den Informationen im FHEM nicht finden. Daher habe ich es mal so probiert:
TargetHeatingCoolingState=heatingState,values=OFF:0;;;;HEAT:1;;;;COOL:2;;;;AUTO:3,cmds=OFF:heatingState+OFF;;HEAT:desired-temp+21;;COOL:desired-temp+16

Geht aber leider auch nicht.