76_SolarForecast - Informationen/Ideen zu Weiterentwicklung und Support

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

Vorheriges Thema - Nächstes Thema

grappa24

#2970
neue Idee für den Inverterknoten  ;)    ( flowGraphicControl ... inverterNodeIcon=measure_power_meter@#ff8c00 )
Gebäudesicherheit/-komfort, PV-Prognose/Verbrauchssteuerung, Heizungssteuerung, Multimedia, ...
KNX, FS20, HM, HUE, Tradfri, Shellies, KLF200, Netatmo, Nuki, SolarForecast, HEOS, Alexa-FHEM, ...
FHEM 6.4, 2 x RasPi 3B+, Debian Bullseye

DS_Starter

Jetzt war ich schon verwundert dass es ein Icon gibt welches man nicht ersetzen kann  ;)
Du meinst das Icon für den Inverterknoten, das Icon für den Hausknoten kann man tatsächlich nicht ändern ... tztz.
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

caldir65

Moin,

ich habe auch die aktuelle Version installiert (aus fhem Update), und mir ist heute aufgefallen, daß die angezeigten Werte nicht mehr stimmig sind: Einspeisung 3732, Eigenverbrauch vom WR -3732, kein Zukauf, Verbrauch -3860 ...
Zumindest Anfang der Woche sahen sie noch anders aus, meine ich

Aktuelle laufen PC und Spüma sowie ein paar andere kleinere Verbraucher



Internals:
   FUUID      62f1192d-f33f-378b-0c69-cc57687c40949580
   FVERSION   76_SolarForecast.pm:v1.52.4-s29984/2025-05-20
   MODE       Automatic / Event-controlled - next planned Cycletime: 12:31:08
   MODEL      OpenMeteoDWDAPI
   NAME       SolarForecast
   NOTIFYDEV  MyObis,ShellyPlugS_HWR_Waschmaschine,ShellyPlug_HWR_Trockner,ShellyPlugS_Kueche_SpueMa,ShellyPlugS_Kueche_Kuehlschrank,Shellyplus1pm_Gartenhaus_Gefrierschrank,ShellyPlugS_Buero_PC,ShellyPlusPlugS_Buero_fhem,ShellyPlusPlugS_Buero_NAS,ShellyPlugS_Wohnzimmer_TV,ShellyPlusPlugS_Buero_FritzBox,PV
   NR         1423
   NTFY_ORDER 50-SolarForecast
   STATE      updated
   TYPE       SolarForecast
   WEATHERMODEL OpenMeteoDWDAPI
   eventCount 4
   HELPER:
     FW         WEB
     PACKAGE    FHEM::SolarForecast
     S10DONE    1
     SPGDETAIL 
     SPGDEV     SolarForecast
     SPGROOM   
     VERSION    1.52.4
     VERSION_API unused
     VERSION_CTZ 1.0.0
     VERSION_ErrCodes 1.3.9
     VERSION_SMUtils 1.28.3
   OLDREADINGS:
   READINGS:
     2025-05-22 12:29:58   Current_AutarkyRate 0 %
     2025-05-22 12:29:58   Current_Consumption -3061 W
     2025-05-22 12:29:58   Current_GridConsumption 0 W
     2025-05-22 12:29:58   Current_GridFeedIn 3061 W
     2025-05-22 12:29:58   Current_PV      0 W
     2025-05-22 12:29:58   Current_SelfConsumption 0 W
     2025-05-22 12:29:58   Current_SelfConsumptionRate 0 %
     2025-05-22 12:29:58   Current_Surplus 3061 W
     2025-05-22 10:53:15   Error           malformed JSON string received
     2025-05-22 10:53:15   Errorcode       9000
     2025-05-22 12:00:00   LastHourGridconsumptionReal 128 Wh
     2025-05-22 12:00:00   LastHourPVforecast 3461 Wh
     2025-05-22 12:00:00   LastHourPVreal  2241 Wh
     2025-05-22 12:29:58   NextHours_Sum01_PVforecast 4435 Wh
     2025-05-22 12:29:58   NextHours_Sum02_PVforecast 9390 Wh
     2025-05-22 12:29:58   NextHours_Sum03_PVforecast 13692 Wh
     2025-05-22 12:29:58   NextHours_Sum04_ConsumptionForecast 2238 Wh
     2025-05-22 12:29:58   NextHours_Sum04_PVforecast 16868 Wh
     2025-05-22 12:29:58   RestOfDayConsumptionForecast 6184 Wh
     2025-05-22 12:29:58   RestOfDayPVforecast 21914 Wh
     2025-05-22 00:59:49   Today_Hour01_GridConsumption 339 Wh
     2025-05-22 00:59:49   Today_Hour01_GridFeedIn 0 Wh
     2025-05-22 00:59:49   Today_Hour01_PVreal 0 Wh
     2025-05-22 01:59:49   Today_Hour02_GridConsumption 345 Wh
     2025-05-22 01:59:49   Today_Hour02_GridFeedIn 0 Wh
     2025-05-22 01:59:49   Today_Hour02_PVreal 0 Wh
     2025-05-22 02:59:49   Today_Hour03_GridConsumption 339 Wh
     2025-05-22 02:59:49   Today_Hour03_GridFeedIn 0 Wh
     2025-05-22 02:59:49   Today_Hour03_PVreal 0 Wh
     2025-05-22 03:59:52   Today_Hour04_GridConsumption 341 Wh
     2025-05-22 03:59:52   Today_Hour04_GridFeedIn 0 Wh
     2025-05-22 03:59:52   Today_Hour04_PVreal 0 Wh
     2025-05-22 04:59:49   Today_Hour05_GridConsumption 322 Wh
     2025-05-22 04:59:49   Today_Hour05_GridFeedIn 0 Wh
     2025-05-22 04:59:49   Today_Hour05_PVreal 0 Wh
     2025-05-22 05:59:49   Today_Hour06_GridConsumption 371 Wh
     2025-05-22 05:59:49   Today_Hour06_GridFeedIn 0 Wh
     2025-05-22 05:59:49   Today_Hour06_PVforecast 20 Wh
     2025-05-22 05:59:49   Today_Hour06_PVreal 4 Wh
     2025-05-22 06:59:49   Today_Hour07_GridConsumption 269 Wh
     2025-05-22 06:59:49   Today_Hour07_GridFeedIn 7 Wh
     2025-05-22 06:59:49   Today_Hour07_PVforecast 240 Wh
     2025-05-22 06:59:49   Today_Hour07_PVreal 218 Wh
     2025-05-22 07:59:49   Today_Hour08_GridConsumption 24 Wh
     2025-05-22 07:59:49   Today_Hour08_GridFeedIn 120 Wh
     2025-05-22 07:59:49   Today_Hour08_PVforecast 2044 Wh
     2025-05-22 07:59:49   Today_Hour08_PVreal 529 Wh
     2025-05-22 08:59:49   Today_Hour09_GridConsumption 0 Wh
     2025-05-22 08:59:49   Today_Hour09_GridFeedIn 2578 Wh
     2025-05-22 08:59:49   Today_Hour09_PVforecast 771 Wh
     2025-05-22 08:59:49   Today_Hour09_PVreal 2956 Wh
     2025-05-22 09:59:49   Today_Hour10_GridConsumption 0 Wh
     2025-05-22 09:59:49   Today_Hour10_GridFeedIn 4169 Wh
     2025-05-22 09:59:49   Today_Hour10_PVforecast 2271 Wh
     2025-05-22 09:59:49   Today_Hour10_PVreal 4497 Wh
     2025-05-22 10:59:49   Today_Hour11_GridConsumption 0 Wh
     2025-05-22 10:59:49   Today_Hour11_GridFeedIn 4666 Wh
     2025-05-22 10:59:49   Today_Hour11_PVforecast 3671 Wh
     2025-05-22 10:59:49   Today_Hour11_PVreal 5010 Wh
     2025-05-22 11:59:49   Today_Hour12_GridConsumption 128 Wh
     2025-05-22 11:59:49   Today_Hour12_GridFeedIn 1363 Wh
     2025-05-22 11:59:49   Today_Hour12_PVforecast 3461 Wh
     2025-05-22 11:59:49   Today_Hour12_PVreal 2241 Wh
     2025-05-22 12:29:58   Today_Hour13_GridConsumption 7 Wh
     2025-05-22 12:29:58   Today_Hour13_GridFeedIn 725 Wh
     2025-05-22 12:29:58   Today_Hour13_PVforecast 3095 Wh
     2025-05-22 12:29:58   Today_Hour13_PVreal 1007 Wh
     2025-05-22 12:29:58   Today_Hour14_PVforecast 5775 Wh
     2025-05-22 12:29:58   Today_Hour15_PVforecast 4136 Wh
     2025-05-22 12:29:58   Today_Hour16_PVforecast 4467 Wh
     2025-05-22 12:29:58   Today_Hour17_PVforecast 1885 Wh
     2025-05-22 12:29:58   Today_Hour18_PVforecast 3026 Wh
     2025-05-22 12:29:58   Today_Hour19_PVforecast 456 Wh
     2025-05-22 12:29:58   Today_Hour20_PVforecast 374 Wh
     2025-05-22 12:29:58   Today_Hour21_PVforecast 222 Wh
     2025-05-22 12:29:58   Today_Hour22_PVforecast 26 Wh
     2025-05-22 12:29:58   Today_MaxPVforecast 5775 Wh
     2025-05-22 12:29:58   Today_MaxPVforecastTime 2025-05-22 13:00:00
     2025-05-22 12:29:58   Today_PVforecast 35940 Wh
     2025-05-22 12:29:58   Today_PVreal    16462 Wh
     2025-05-22 12:29:58   Today_SunRise   05:22
     2025-05-22 12:29:58   Today_SunSet    21:25
     2025-05-22 12:29:58   Tomorrow_ConsumptionForecast 11344 Wh
     2025-05-22 12:29:58   Tomorrow_PVforecast 26192 Wh
     2025-05-22 12:29:58   Tomorrow_SunRise 05:21
     2025-05-22 12:29:58   Tomorrow_SunSet 21:26
     2025-05-22 12:29:58   consumer01      name='ShellyPlugS_HWR_Waschmaschine' state='on' mode='can' planningstate='noSchedule'
     2025-05-22 12:29:58   consumer01_ConsumptionRecommended 1
     2025-05-22 12:29:58   consumer01_currentPower 0 W
     2025-05-22 12:29:58   consumer02      name='ShellyPlug_HWR_Trockner' state='on' mode='can' planningstate='noSchedule'
     2025-05-22 12:29:58   consumer02_currentPower 0 W
     2025-05-22 12:29:58   consumer03      name='ShellyPlugS_Kueche_SpueMa' state='on' mode='can' planningstate='noSchedule'
     2025-05-22 12:29:58   consumer03_ConsumptionRecommended 1
     2025-05-22 12:29:58   consumer03_currentPower 28.01 W
     2025-05-22 12:29:58   consumer04      name='ShellyPlugS_Kueche_Kuehlschrank' state='on' mode='can' planningstate='noSchedule'
     2025-05-22 12:29:58   consumer04_ConsumptionRecommended 1
     2025-05-22 12:29:58   consumer04_currentPower 0 W
     2025-05-22 12:29:58   consumer05      name='Gefrierschrank Gartenhaus mit Temp' state='on' mode='can' planningstate='noSchedule'
     2025-05-22 12:29:58   consumer05_currentPower 31.6 W
     2025-05-22 12:29:58   consumer06      name='ShellyPlugS_Buero_PC' state='on' mode='can' planningstate='noSchedule' info='von extern umgeschaltet'
     2025-05-22 12:29:58   consumer06_currentPower 47.84 W
     2025-05-22 12:29:58   consumer07      name='ShellyPlusPlugS_Buero_fhem' state='unknown' mode='can' planningstate='noSchedule'
     2025-05-22 12:29:58   consumer07_currentPower 5.7 W
     2025-05-22 12:29:58   consumer08      name='ShellyPlusPlugS_Buero_NAS' state='on' mode='can' planningstate='noSchedule'
     2025-05-22 12:29:58   consumer08_currentPower 0 W
     2025-05-22 12:29:58   consumer09      name='ShellyPlugS_Wohnzimmer_TV' state='off' mode='can' planningstate='noSchedule'
     2025-05-22 12:29:58   consumer09_currentPower 0 W
     2025-05-22 12:29:58   consumer10      name='ShellyPlusPlugS_Buero_FritzBox' state='on' mode='can' planningstate='noSchedule'
     2025-05-22 12:29:58   consumer10_currentPower 0 W
     2025-05-22 12:29:58   nextCycletime   12:31:08
     2022-10-18 14:57:17   nextPolltime    14:58:27
     2025-05-22 12:25:25   nextRadiationAPICall nach 22.05.2025 12:40:25
     2025-05-22 06:00:05   pvCorrectionFactor_06 0.42 (automatic - old factor: 0.57, Sun Alt range: 0, Cloud range: 90, Days in range: 2)
     2025-05-22 07:00:04   pvCorrectionFactor_07 0.83 (automatic - old factor: 1.01, AI result used, Sun Alt range: 10, Cloud range: 100, Days in range: 4)
     2025-05-22 08:00:04   pvCorrectionFactor_08 0.61 (automatic - old factor: 1.00, AI result used, Sun Alt range: 15, Cloud range: 95, Days in range: 2)
     2025-05-22 09:00:00   pvCorrectionFactor_09 0.96 (automatic - old factor: 0.89, AI result used, Sun Alt range: 25, Cloud range: 95, Days in range: 2)
     2025-05-22 10:00:05   pvCorrectionFactor_10 0.92 (automatic - old factor: 0.89, AI result used, Sun Alt range: 35, Cloud range: 55, Days in range: 2)
     2025-05-22 11:00:04   pvCorrectionFactor_11 1.30 (automatic - old factor: 0.92, Sun Alt range: 45, Cloud range: 100, Days in range: 3)
     2025-05-22 12:00:04   pvCorrectionFactor_12 0.90 (automatic - old factor: 1.12, AI result used, Sun Alt range: 50, Cloud range: 45, Days in range: 2)
     2025-05-22 12:29:58   pvCorrectionFactor_Auto on_complex_ai
     2025-05-22 12:29:58   special_runTimeTrainAI 10.07296 s
     2025-05-22 12:29:59   state           updated
Attributes:
   DbLogExclude .*
   alias      SolarForecast
   cmdIcon    consumer03_ConsumptionRecommended cmdIcon 0:15px-red 1:15px-green consumer04_ConsumptionRecommended cmdIcon 0:15px-red 1:15px-green
   comment    ShellyPlugS_Gartenhaus_Weatherman


Alte Techniker-Regel: "kaum macht man es richtig, funktioniert es auch"
------
Dell Wyse5070 ThinClient 16GBRam, 128GB SSD, Lubuntu 24.04.01LTS, fhem (aktuell), debmatic, Homematic-Devs, ConBee II und deConz, viele Shellys, Rademacher, NextCloud-Anbindung, FullyKioskBrowser+FUIP uvm.

DS_Starter

Current_PV = 0 W -> wird vermutlich nicht stimmen.

Leider sieht man das /die Inverter-Attribute nicht.
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

roadghost

Hallöchen.

Erstmal muss ich ein Ganz Dickes Lob aussprechen - ein Super Modul habt Ihr da auf die Beine gestellt. Endlich kann man (oder ich als dummy) mit FHEM die Beladung eines Stromspeicher an die PV-Prognose binden, bzw. an dieser ausrichten.

Leider macht mir das 76_SolarForecast.pm seit dem letzten Update Probleme.

Ich habe am 15.05 letztmalig mein FHEM via update all und shutdown restart auf den aktuellen Stand gebracht. Nach dem Update lief alles.

Gestern, nach Rückkehr von einer Dienstreise, habe ich wieder mit update all und shutdown restart ein Update angestoßen, und hatte danach keine Verbindung mehr zum FHEMWEB.

Siehe dieser Thread

Ich habe heute jede Datei einzeln ge-updatet, und nach jeder Datei einen restart gemacht - und beim 76_SolarForecast.pm hatte ich nach dem restart wieder keine Verbindung zum FHEMWEB.

Jetzt bin ich aber mit meinem Latein am Ende, und benötige Schützenhilfe zur Ursachenforschung & Behebung.

VG
NUC/Ubuntu 22.04 m. FHEM, div. Tasmota-Steckdosen, HMCFGUSB-2 für 12x HM-CC-RT-DN + 8x HM-TC-IT-WW
Rademacher DuoFern für 12 Jalousien, JeeLink für LaCrosse Temp.Sensor, WLAN-smart-Plugs, 
NUKI smartlock, 2xIP-CAM, Pylontech Speicher + Sungrow WR, Unifi-AP´s + Controller auf weiterem NUC

DS_Starter

Hallo roadghost,

dann bräuchte ich mal bitte ein Auszug aus dem Log beim Start von FHEM.
An irgendeiner Stelle beim Laden von SF passiert vermutlich ein Fehler den ich behandeln muß.

Grüße,
Heiko
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

roadghost

Zitat von: DS_Starter am 22 Mai 2025, 14:20:56dann bräuchte ich mal bitte ein Auszug aus dem Log beim Start von FHEM.

Grüße,
Heiko

Ich gehe mal davon aus, einen Start vonnfhem mit dem "Bauchschmerzen Update" vom Modul?

Das bastel ich heute Abend gern zusammen, jetzt wo ich weiß, wie ich es danach wieder an laufen kriegen kann 😉

VG
NUC/Ubuntu 22.04 m. FHEM, div. Tasmota-Steckdosen, HMCFGUSB-2 für 12x HM-CC-RT-DN + 8x HM-TC-IT-WW
Rademacher DuoFern für 12 Jalousien, JeeLink für LaCrosse Temp.Sensor, WLAN-smart-Plugs, 
NUKI smartlock, 2xIP-CAM, Pylontech Speicher + Sungrow WR, Unifi-AP´s + Controller auf weiterem NUC

DS_Starter

Ja, genau. Ich dachte du hast einen fehlerhaften Start noch in der Historie des Log.
Ansonsten gerne bis heute Abend.
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

tomcat.x

Hallo Heiko,

ich habe eine Frage zum Parameter pcurr bei den Verbrauchern. Genauer gesagt zum Zusatz <Schwellenwert>. Was genau bedeutet hier "als aktiv gewertet"? Nur dass ein niedrigerer Verbrauch nicht zur Vorhersage verwendet wird? Oder sollte der Energiefluss in der Grafik dann auch nicht animiert sein?

Ich habe bei 2 Verbrauchern "pcurr=power:W:2" definiert, beim einen wird der Fluss im Standby mit 0.92 W animiert, beim anderen mit 0.22 W nicht. Der Unterschied hat dann vermutlich nichts mit dem Schwellenwert zu tun. Man sieht natürlich am Icon, dass beide Geräte aus bzw. im Standby sind.

Viele Grüße
Thomas
FHEM: 6.3 auf Raspi 4B, Raspbian (noch Buster), Perl v5.28.1
Sender/Empfänger: 2 x CULv3, Duofern Stick, HM-MOD-RPI-PCB
Gateways: FRITZ!Box 6591 (OS: 8.10), Trädfri, ConBee 2,  piVCCU, OpenMQTTGateway
Sensoren/Aktoren: FRITZ!DECT, FS20, FHT, HMS, HomeMatic, Trädfri, DuoFern, NetAtmo

300P

Zitat von: DS_Starter am 22 Mai 2025, 14:20:56Hallo roadghost,

dann bräuchte ich mal bitte ein Auszug aus dem Log beim Start von FHEM.
An irgendeiner Stelle beim Laden von SF passiert vermutlich ein Fehler den ich behandeln muß.

Grüße,
Heiko
Zur Info:
Bei mir dauert es seit ein paar Tagen bei einem shutdown / restart ebenfalls bis zu 5 Minuten ehe sich FHEM wieder meldet. :o
Hatte schon gedacht es läge an meinem Debian-QNAP-Container.....


025.05.21 18:13:52 2: myDbLog - Last database write cycle done
2025.05.21 18:13:53 0: Server shutdown
2025.05.21 18:13:53 2: myDbLog - stopping SubProcess PID >30720< ...
2025.05.21 18:13:53 2: myDbLog - SubProcess PID >30720< stopped
2025.05.21 18:15:27 1: Including fhem.cfg
2025.05.21 18:15:28 2: myDbLog - Subprocess >3036< initialized ... ready for non-blocking operation
2025.05.21 18:15:28 2: eventTypes: loaded 4841 lines from ./log/eventTypes.txt
2025.05.21 18:15:29 1: MB_CFG_SBS25: loading config from cfg file
2025.05.21 18:15:32 1: Zisterne: loading config from cfg file
2025.05.21 18:15:44 1: Including ./log/fhem.save
2025.05.21 18:15:45 0: Featurelevel: 6.4
2025.05.21 18:15:45 0: Server started with 402 defined entities (fhem.pl:29809/2025-03-30 perl:5.036000 os:linux user:fhem pid:3035)
2025.05.21 18:25:45 2: AttrTemplates: got 265 entries
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.

DS_Starter

Hallo Thomas,

das bezieht sich auf die Flußgrafik. Der Energiefluß sollte unterhalb der Schwelle grau, also nicht aktiv sein.
Von dem problematischen Consumer mal das Consumerattribut und ein "get ... valConsumerMaster" posten.
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

ZitatBei mir dauert es seit ein paar Tagen bei einem shutdown / restart ebenfalls bis zu 5 Minuten ehe sich FHEM wieder meldet. :o
Hatte schon gedacht es läge an meinem Debian-QNAP-Container.....
Wird schon so sein. ;)  Du hast ja keinen Fehler. Wo dein Server die Zeit verbraucht sieht man hier nicht, müßtest wahrscheinlich mindestens auf verbose 3 gehen.
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

tomcat.x

Zitat von: DS_Starter am 22 Mai 2025, 15:21:54Von dem problematischen Consumer mal das Consumerattribut und ein "get ... valConsumerMaster" posten.

Momentan läuft die Spülmaschine allerdings. Den Schwellenwert hatte ich jetzt mal auf 5 erhöht, da aktuell der Verbrauch bei 3.2 liegt. Falls das in dem Zustand nichts bringt, mache ich es später nochmal.

attr WD_SolarForecast consumer01 S_Spuelmaschine:Spuelmaschine \
icon=scene_dishwasher \
type=dishwasher \
mintime=220 \
switchdev=SMS6ECW00E \
mode=SMS6ECW00E:v_SFmode \
auto=v_SFauto \
pcurr=power:W:5 \
interruptable=0 \
power=50 \
on=startProgram \
off=stopProgram \
swstate=state:Program.*:Idle|Offline|Delayed.* \
notafter=18 \
etotal=energy:Wh:5


01 => alias => Spuelmaschine
      asynchron => 0
      auto => 0
      autoreading => v_SFauto
      avgenergy => 168.95
      currpowerpercent => 6.42
      cycleDayNum => 1
      cycleStarttime => 1747911058
      cycleTime => 157.516666666667
      dspignorecond =>
      dswitch => SMS6ECW00E
      dswoffcond =>
      dswoncond =>
      ehodpieces => 16=76.67 17=17.04 18=17.04 19=76.67
      energythreshold => 5
      epiecAVG => 1=378.40 2=208.20 3=0.00 4=0.00
      epiecAVG_hours => 4
      epiecHist => 1
      epiecHist_1 => 1=409.00 2=166.00 3=2.00
      epiecHist_10 => 1=383.00 2=209.00 3=3.00 4=2.00
      epiecHist_10_hours => 4
      epiecHist_1_hours => 3
      epiecHist_2 => 1=438.00 2=226.00 3=4.00 4=1.00
      epiecHist_2_hours => 4
      epiecHist_3 => 1=432.00 2=183.00 3=4.00 4=1.00
      epiecHist_3_hours => 4
      epiecHist_4 => 1=405.00 2=169.00 3=3.00 4=2.00
      epiecHist_4_hours => 4
      epiecHist_5 => 1=387.00 2=385.00 3=3.00 4=3.00 5=1.00
      epiecHist_5_hours => 5
      epiecHist_6 => 1=438.00 2=222.00 3=3.00 4=2.00
      epiecHist_6_hours => 4
      epiecHist_7 => 1=406.00 2=179.00 3=3.00 4=1.00
      epiecHist_7_hours => 4
      epiecHist_8 => 1=0.00
      epiecHist_8_hours => 0
      epiecHist_9 => 1=422.00 2=168.00 3=3.00 4=2.00
      epiecHist_9_hours => 4
      epiecHour => 3
      epiecStartEtotal => 808514
      epiecStartTime => 1747911128
      epieces => 1=76.03 2=16.89 3=16.89 4=76.03
      exconfc => 0
      hysteresis => 0
      icon => scene_dishwasher
      interruptable => 0
      isConsumptionRecommended => 1
      isIntimeframe => 1
      lastAutoOffTs => 1744464349
      lastAutoOnTs => 1747566054
      lastMinutesOn => 0
      lastOnTime => 1747920555
      locktime => 0:0
      logoffon => off
      mintime => 220
      minutesOn => 28.4833333333333
      mode => SMS6ECW00E:v_SFmode
      name => S_Spuelmaschine
      noshow => 0
      notafter => 18
      notbefore =>
      offcom => stopProgram
      offreg => Idle|Offline|Delayed.*
      oncom => startProgram
      onoff => off
      onreg => Program.*
      physoffon => on
      planSupplement =>
      plandelete => regular
      planstate => planned: 2025-05-22 15:15:39 - 2025-05-22 18:55:39
      planswitchoff => 1747932939
      planswitchon => 1747919739
      power => 50
      powerthreshold => 5
      remainTime => 0
      retotal => energy
      rigncond =>
      rpcurr => power
      rswoffcond =>
      rswoncond =>
      rswstate => state
      runtimeAvgDay => 183.80
      spignorecondition =>
      startTime => 1747918800
      state => on
      surpmeth => default
      swoffcondition =>
      swoncondition =>
      type => dishwasher
      uetotal => Wh
      upcurr => W

FHEM: 6.3 auf Raspi 4B, Raspbian (noch Buster), Perl v5.28.1
Sender/Empfänger: 2 x CULv3, Duofern Stick, HM-MOD-RPI-PCB
Gateways: FRITZ!Box 6591 (OS: 8.10), Trädfri, ConBee 2,  piVCCU, OpenMQTTGateway
Sensoren/Aktoren: FRITZ!DECT, FS20, FHT, HMS, HomeMatic, Trädfri, DuoFern, NetAtmo

tomcat.x

Einen Nachtrag habe ich noch: Ich dachte bisher, dass der Zustand des Icons (Farbe) von swstate gesteuert wird. Jetzt sehe ich, mit der Erhöhung des Schwellenwerts wird das Icon grau, der Energiefluss aber nicht.
FHEM: 6.3 auf Raspi 4B, Raspbian (noch Buster), Perl v5.28.1
Sender/Empfänger: 2 x CULv3, Duofern Stick, HM-MOD-RPI-PCB
Gateways: FRITZ!Box 6591 (OS: 8.10), Trädfri, ConBee 2,  piVCCU, OpenMQTTGateway
Sensoren/Aktoren: FRITZ!DECT, FS20, FHT, HMS, HomeMatic, Trädfri, DuoFern, NetAtmo

DS_Starter

ZitatIch dachte bisher, dass der Zustand des Icons (Farbe) von swstate gesteuert wird.
Es gibt Fallunterschiede. Bei Verbrauchern ohne Energiemessung ist es so wie du sagst.
Bei Verbrauchern mit Energiemessung gehe ich tiefer rein und berücksichtige einen evtl. Schwellenwert.

Der Schwellenwert wird jedenfalls richtig erkannt:

powerthreshold => 5
Ist der Energiefluß animiert oder nur nicht grau?
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