Hauptmenü

Neueste Beiträge

#11
FHEMWEB / Aw: webCmd - mehrere Schalter ...
Letzter Beitrag von Beta-User - 18 März 2026, 16:54:04
Jede Zeile in stateFormat sollte eindeutig sein, da gehört m.E. noch jeweils ein Kennzeichen hin (0 switch0), und in devStateIcon dann auch die jeweils passende regex.
#12
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von DS_Starter - 18 März 2026, 16:52:28
ZitatWas mir auffällt: Warum bleibt der SoCfc für die kommenden Stunden bei 90 %
Das kommt von deiner Vorgabe upSoc=90 (%).
Da heute und morgen keine Überschüsse erwartet werden:

 2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step1 Bat 01 - basics -> today -> PV fc: 472 Wh, con till sunset: 930 Wh, Surp: -458 Wh
 2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step1 Bat 01 - basics -> tomorrow -> PV fc: 3854 Wh, con till sunset: 5383 Wh, Surp: -183 Wh (75% con)

bleibt es bei dem upSoc:

 2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step4 Bat 01 - basics -> docare: 0, lowSoc: 10 %, upSoc: 90 %
 2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step4 Bat 01 - observe low/up limits -> Target: 90 %
 2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step5 Bat 01 - rounding the SoC to steps of 5 % -> Target: 90 %

Bei Überschüssen würde der Soc sinken.

Ich würde den upSoc in der Jahreszeit bei ca. 50 % einstellen.
#13
FHEMWEB / Aw: webCmd - mehrere Schalter ...
Letzter Beitrag von TomLee - 18 März 2026, 16:50:22
attr bla devStateIcon on:on:switch0+off off:off:switch0+on on:on:switch1+off off:off:switch1+on on:on:switch2+off off:off:switch2+on on:on:switch3+off off:off:switch3+on
attr bla stateFormat switch0\
switch1\
switch2\
switch3

https://forum.fhem.de/index.php?msg=908277
#14
Unterstützende Dienste / Statistics Modul, Stunden Read...
Letzter Beitrag von chrisse111179 - 18 März 2026, 16:29:46
Hallo,
ich habe das statistics-Modul für verschiedene Zwecke im Einsatz und es funktioniert prächtig.
Als default werden ja alle Readings, also Hour, Day, Month und Year fünf Sekunden vor der vollen Stunde berechnet und im auszuwertenden Device gesetzt.
Das ist auch gut so, ich würde nur das Hour-Reading gerne deutlich öfter setzen. Zum Beispiel alle zehn Minuten.
Leider finde oder verstehe ich die Möglichkeit nicht. Kann da wer helfen?

Beste Grüße,
Christian
#15
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von tomcat.x - 18 März 2026, 16:25:10
Zitat von: DS_Starter am 18 März 2026, 15:36:31Da hätte ich auch Fragezeichen. Schalte ctrlDebug->batteryManagement ein damit überhaupt erstmal etwas zum Hergang zu sehen ist.

Habe mal versucht, das selber zu verstehen, habe aber keine Erklärung für alle Werte gefunden. Was mir auffällt: Warum bleibt der SoCfc für die kommenden Stunden bei 90 %. Das war auch das, was mir in der Grafif beim Mousover aufgefallen war. Wobei in den Werten oben drüber noch ein Restverbrauch von um die 3000 Wh für heute vorhergesagt wird. Aber im Debuglog sehe ich keinen Verbauch mehr.

2026.03.18 15:47:02 1: SolarForecast DEBUG> ######################### Start Battery Management DebugLog #########################
2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step1 Bat 01 - basics -> setup values: lowSoc=10 %, upSoc=90 %, maxSoc=95 %, stepSoc=5 %, careCycle=20
2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step1 Bat 01 - basics -> pvHistory values: yesterday=17, batymaxsoc=18.30 %, batysetsoc=90 %
2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step1 Bat 01 - basics -> current values: SoC=93.90 %
2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step1 Bat 01 - basics -> Battery share factor of total required load: 1.00
2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step1 Bat 01 - basics -> today -> PV fc: 472 Wh, con till sunset: 930 Wh, Surp: -458 Wh
2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step1 Bat 01 - basics -> tomorrow -> PV fc: 3854 Wh, con till sunset: 5383 Wh, Surp: -183 Wh (75% con)
2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step1 Bat 01 - basics -> selected energy for charging (the higher positive Surp value from above): 0 Wh
2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step1 Bat 01 - basics -> expected energy for charging after application Share factor: 0 Wh
2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step1 Bat 01 - compare with SoC history -> preliminary new Target: 95 %
2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step2 Bat 01 - basics -> Energy expected for charging: 0 Wh, need until maxsoc: 25 Wh
2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step2 Bat 01 - calc care SoC -> docare: 0, care SoC: 45 %, remain days until care SoC: 10, Target: 95 %
2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step3 Bat 01 - basics -> max SOC so that predicted PV can be stored: 100 %, newtarget: 95 %
2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step3 Bat 01 - charging probability -> docare: 0, Target: 95 % (new target > 90 % and time limit has passed)
2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step4 Bat 01 - basics -> docare: 0, lowSoc: 10 %, upSoc: 90 %
2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step4 Bat 01 - observe low/up limits -> Target: 90 %
2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step5 Bat 01 - rounding the SoC to steps of 5 % -> Target: 90 %
2026.03.18 15:47:02 1: SolarForecast DEBUG> SoC Step6 Bat 01 - force charging request: no (Battery is sufficiently charged)
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeMgmt - Inverter 'MQTT2_openDTU_xxxxxxxxxxxx' cap: 800 W, Power limit: 100 % -> Pmax eff: 800 W
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeMgmt - Inverter 'MQTT2_openDTU_yyyyyyyyyyyy' cap: 400 W, Power limit: 100 % -> Pmax eff: 400 W
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeMgmt - Inverter 'MQTT2_openDTU_zzzzzzzzzzzz' cap: 600 W, Power limit: 100 % -> Pmax eff: 600 W
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeMgmt - Summary Power limit of all Inverter (except feed 'grid'): 1800 W
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeMgmt - The limit for grid feed-in is: 9223372036854775807 W
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeMgmt Bat 01 - selected charging strategy: loadRelease
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeMgmt Bat 01 - general load termination condition: 0
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeMgmt Bat 01 - control time Slot - Slot start: 00:00, Slot end: 23:59
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeMgmt Bat 01 - control barrier SoC: 0 % / 0 Wh
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeMgmt Bat 01 - control barrier Parameter: -
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeMgmt Bat 01 - Battery efficiency used: 87 %
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeMgmt Bat 01 - weighted self-consumption: 0 %
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeMgmt Bat 01 - Target load and target time: 100 % / 2240 Wh / -
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeMgmt Bat 01 - Percentage of the total amount of charging energy required: 100.0 %
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeMgmt Bat 01 - The PV generation, consumption and surplus listed below are based on the battery's share of the total amount of charging energy required!
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeLR Bat 01 - used safety margin: 50 %
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeLR Bat 01 18/15 - lr: 1, CurrSoc: 93.90 %, SoCfc: 2115 Wh, whneed: 137, pvfc: 405, rodpvfc: 67, confcss: 588, SurpDay: 0 Wh, CurrPV: 384 W, CurrCons: 259 W, Limit: 1800 W, inTime: 1
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeLR Bat 01 18/16 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 125, pvfc: 240, rodpvfc: 0, confcss: 222, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeLR Bat 01 18/17 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 118, rodpvfc: 0, confcss: 0, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeLR Bat 01 18/18 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 13, rodpvfc: 0, confcss: 0, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeLR Bat 01 18/19 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, rodpvfc: 0, confcss: 0, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeLR Bat 01 18/20 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, rodpvfc: 0, confcss: 0, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeLR Bat 01 18/21 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, rodpvfc: 0, confcss: 0, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeLR Bat 01 18/22 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, rodpvfc: 0, confcss: 0, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeLR Bat 01 18/23 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, rodpvfc: 0, confcss: 0, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeLR Bat 01 19/00 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 3854, roTomCON: 6895, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeLR Bat 01 19/01 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 3854, roTomCON: 6719, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeLR Bat 01 19/02 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 3854, roTomCON: 6547, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeLR Bat 01 19/03 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 3854, roTomCON: 6368, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:02 1: SolarForecast DEBUG> ChargeLR Bat 01 19/04 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 3854, roTomCON: 6188, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/05 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 3854, roTomCON: 5978, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/06 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 10, roTomPV: 3844, roTomCON: 5749, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/07 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 11, roTomPV: 3833, roTomCON: 5495, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/08 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 90, roTomPV: 3743, roTomCON: 5215, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/09 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 139, roTomPV: 3604, roTomCON: 4823, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/10 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 242, roTomPV: 3362, roTomCON: 4483, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/11 - lr: 1, SoCfc: 100.0 % / 2240 Wh, whneed: 224, pvfc: 591, roTomPV: 2771, roTomCON: 4169, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/12 - lr: 0, SoCfc: 100.0 % / 2240 Wh, whneed: 0, pvfc: 434, roTomPV: 2337, roTomCON: 3849, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/13 - lr: 0, SoCfc: 100.0 % / 2240 Wh, whneed: 0, pvfc: 1015, roTomPV: 1322, roTomCON: 3598, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/14 - lr: 0, SoCfc: 100.0 % / 2240 Wh, whneed: 0, pvfc: 781, roTomPV: 541, roTomCON: 3252, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/15 - lr: 0, SoCfc: 94.6 % / 2118 Wh, whneed: 0, pvfc: 236, roTomPV: 305, roTomCON: 2910, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/16 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 122, pvfc: 164, roTomPV: 141, roTomCON: 2544, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/17 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 125, roTomPV: 16, roTomCON: 2066, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/18 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 16, roTomPV: 0, roTomCON: 1686, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/19 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 0, roTomCON: 1242, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/20 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 0, roTomCON: 800, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/21 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 0, roTomCON: 384, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/22 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 0, roTomCON: 180, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 19/23 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 0, roTomCON: 0, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/00 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 3253, roTomCON: 6895, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/01 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 3253, roTomCON: 6719, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/02 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 3253, roTomCON: 6547, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/03 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 3253, roTomCON: 6368, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/04 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 3253, roTomCON: 6188, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/05 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 3253, roTomCON: 5978, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/06 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 5, roTomPV: 3248, roTomCON: 5749, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/07 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 32, roTomPV: 3216, roTomCON: 5495, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/08 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 26, roTomPV: 3190, roTomCON: 5215, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/09 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 41, roTomPV: 3149, roTomCON: 4823, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/10 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 239, roTomPV: 2910, roTomCON: 4483, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/11 - lr: 1, SoCfc: 94.3 % / 2112 Wh, whneed: 224, pvfc: 424, roTomPV: 2486, roTomCON: 4169, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/12 - lr: 1, SoCfc: 97.5 % / 2185 Wh, whneed: 128, pvfc: 404, roTomPV: 2082, roTomCON: 3849, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/13 - lr: 1, SoCfc: 100.0 % / 2240 Wh, whneed: 55, pvfc: 986, roTomPV: 1096, roTomCON: 3598, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/14 - lr: 0, SoCfc: 100.0 % / 2240 Wh, whneed: 0, pvfc: 602, roTomPV: 494, roTomCON: 3252, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/15 - lr: 0, SoCfc: 93.1 % / 2086 Wh, whneed: 0, pvfc: 208, roTomPV: 286, roTomCON: 2910, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/16 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 154, pvfc: 212, roTomPV: 74, roTomCON: 2544, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/17 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 69, roTomPV: 5, roTomCON: 2066, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/18 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 4, roTomPV: 1, roTomCON: 1686, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/19 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 1, roTomCON: 1242, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/20 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 1, roTomCON: 800, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/21 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 1, roTomCON: 384, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/22 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 1, roTomCON: 180, SurpDay: 0 Wh, inTime: 1
2026.03.18 15:47:03 1: SolarForecast DEBUG> ChargeLR Bat 01 20/23 - lr: 1, SoCfc: 90.0 % / 2016 Wh, whneed: 224, pvfc: 0, roTomPV: 1, roTomCON: 0, SurpDay: 1 Wh, inTime: 1

Nachtrag:
Mit get ... nextHours sehe ich den vorhergesagten Verbauch auch, verteilt auf die restlichen Stunden.
#16
FHEMWEB / Aw: webCmd - mehrere Schalter ...
Letzter Beitrag von Beta-User - 18 März 2026, 16:05:39
Sollte mit mehrzeiligem stateFormat und devStateIcon (Plus statt Leerzeichen) funktionieren.

Es müsste eigentlich irgendein "unified"-attrTemplate als Muster geben. Soll ich suchen helfen, oder reicht das erst mal so?
#17
FHEMWEB / webCmd - mehrere Schalter und ...
Letzter Beitrag von drhirn - 18 März 2026, 16:01:34
Hi,

eines meiner Devices hat folgende setList:
switch0:on,off $DEVICETOPIC/command/switch:0 $EVTPART1
switch1:on,off $DEVICETOPIC/command/switch:1 $EVTPART1
switch2:on,off $DEVICETOPIC/command/switch:2 $EVTPART1
switch3:on,off $DEVICETOPIC/command/switch:3 $EVTPART1

Ich möchte jetzt ein schönes webCmd machen, mit dem ich jeden Schalter ein/aus schalten kann.

Mache ich einfach nur attr DEVICE webCmd switch0:switch1:switch2:switch3 sieht das eigentlich eh schon ganz brauchbar aus. Ein Select-Feld für jeden Schalter mit on/off als Auswahl.

Was aber, wenn ich gerne hätte, dass das kein Select-Feld sondern eine hübsche FHEM-Standard-Lampe als Icon ist die klickbar ist und je nach Schaltzustand die Farbe ändert?

Ich durchschau leider unglücklicherweise die Erklärungen zu webCmd, widgetOverride & Co nicht.

Danke!
Stefan
#18
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von ahlermi - 18 März 2026, 15:58:19
vielen dank, klappt
#19
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von DS_Starter - 18 März 2026, 15:50:47
ZitatBei mir wird keine Abriegelung erkannt, was mache ich falsch?

reductionState    Liefert einen Status an SolarForecast wenn die PV-Anlage abgeregelt wird bzw. abgeregelt ist (optional).
   Device - Device welches den Abregelungsstatus liefert
   Reading - Reading welches den Abregelungsstatus liefert
   Die Prüfung des gelieferten Wertes kann als regulärer Ausdruck oder als in {..} eingeschlossener Perl-Code formuliert sein:
   Regex - regulärer Ausdruck der für einen Abregelungsstatus (wahr) erfüllt sein muß
   {Perl-Code} - der in {..} eingeschlossene Perl-Code muß 'wahr' für einen Abregelungsstatus liefern. Er darf keine Leerzeichen enthalten.


Zum Beispiel so:

plantControl
feedinPowerLimit=800 reductionState=d_www_wechselrichter_100:state:{$VALUE=~/on/}

Grüße,
Heiko
#20
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von ahlermi - 18 März 2026, 15:41:56
Bei mir wird keine Abriegelung erkannt, was mache ich falsch?

plantControl
feedinPowerLimit=800 reductionState=d_www_wechselrichter_100:state:{$VALUE eq "on"}

Nur ein Balkonkraftwechselrichter kann einspeisen, die anderen 3 nicht (Insel).

Gruß Michael