Hauptmenü

Neueste Beiträge

#11
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
#12
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.
#13
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?
#14
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
#15
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von ahlermi - 18 März 2026, 15:58:19
vielen dank, klappt
#16
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
#17
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
#18
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von DS_Starter - 18 März 2026, 15:36:31
Da hätte ich auch Fragezeichen. Schalte ctrlDebug->batteryManagement ein damit überhaupt erstmal etwas zum Hergang zu sehen ist.

#19
Sonstige Systeme / Aw: FHEM-Integration von Tapo ...
Letzter Beitrag von Prof. Dr. Peter Henning - 18 März 2026, 15:11:07
Die Cloud ist nötig, um das Ding zu installieren. Dabei wird u.a. das Cloud-Passwort auf die Kamera übertragen, das braucht sie hinterher für Zugriffe aus dem Netz.

Ich mache mal ein Wiki dazu auf: https://wiki.fhem.de/wiki/Tapo_Kameras

@DeeSPee: Würde mich interessieren, was die Ausgabe des tapo_testmethod bei der C222 ergibt.
Bei mir zeigt die Kamera zwar an, dass sie die Methoden zum manuellen Auslösen des Alarms und zum Schalten des Lichts akzeptiert - steigt dann aber bei der Anwendung aus.

LG

pah
#20
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von tomcat.x - 18 März 2026, 15:09:44
Jetzt muss ich doch noch mal auf mein Thema von weiter oben bezüglich SoC-Prognose zurückkommen. Die Antwort von 300P hat mich einen Moment beschäftigt ;-) , das Fragezeichen auf der Stirn aber nicht dauerhaft beseitigt. Das Thema "Aktivierung des Batterie SOC- und Lade-Managements" habe ich mir durchgelesen, aber momentan geht es mir ja gar nicht um die Steuerung sondern erst mal um die Vorhersage.

Hier ein Beispiel von heute Morgen. nextHours liefert folgende Werte:

NextHour02 => starttime: 2026-03-18 10:00:00, day: 18, weekday: Wed, holiday: 0, hourofday: 11, today: 1
              pvapifcraw: 876, pvapifc: 254, pvaifc: -, pvfc: 254, aihit: 0
              conlegfc: 340, conaifc: -, confc: 340, confcEx: 340, weatherid: 0, wcc: 0, rr1c: 0.00
              temp: 6.80, windspeed: 3.22, rad1h: 1832, sunaz: 142, sunalt: 33, DoN: 1
              rrange: 0.00, crange: 00, DaysInRange: 14, correff: 0.29/0.00
              soc01: 10.0, soc02: -, soc03: -, socprogwhsum: 224
              rcdchargebat01: 1, rcdchargebat02: -, rcdchargebat03: -
              lcintimebat01: 1, lcintimebat02: -, lcintimebat03: -
              strategybat01: loadRelease, strategybat02: -, strategybat03: -
NextHour03 => starttime: 2026-03-18 11:00:00, day: 18, weekday: Wed, holiday: 0, hourofday: 12, today: 1
              pvapifcraw: 985, pvapifc: 630, pvaifc: -, pvfc: 630, aihit: 0
              conlegfc: 319, conaifc: -, confc: 319, confcEx: 319, weatherid: 0, wcc: 0, rr1c: 0.00
              temp: 9.10, windspeed: 3.85, rad1h: 2129, sunaz: 160, sunalt: 38, DoN: 1
              rrange: 0.00, crange: 00, DaysInRange: 12, correff: 0.64/0.00
              soc01: 45.0, soc02: -, soc03: -, socprogwhsum: 1008
              rcdchargebat01: 1, rcdchargebat02: -, rcdchargebat03: -
              lcintimebat01: 1, lcintimebat02: -, lcintimebat03: -
              strategybat01: loadRelease, strategybat02: -, strategybat03: -

Da Frage ich mich, wo kommt bei den prognostizierten Werten für pvfc und confc der Zuwachs um 784 Wh bei socprogwhsum her? Für Hour03 ist pvfc nur mit 630 und zusätzlich confc mit 319 (gut!) vorhergesagt gewesen.

Falls relevant, die Batterie ist so definiert:

attr SolarForecast setupBatteryDev01 MQTT2_MS_A2 pin=-pout pout=sys_bat_p:W pinmax=1000 poutmax=800 intotal=chg_e:Wh outtotal=dchg_e:Wh charge=sys_soc cap=2240 show=1

Aber cap ist eigentlich nur in Bezug auf die Prozentwerte interessant. Oder übersehe ich einen anderen Zusammenhang?