Leistungsprognose für Wechselrichter

Begonnen von ch.eick, 18 Januar 2021, 08:35:46

Vorheriges Thema - Nächstes Thema

DS_Starter

ESXi@NUC+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

dk3572

Hallo Heiko,

noch ein Verbesserungsvorschlag zur Farbgebung des Icon der Planungszeit:

Bsp.

Grau = außerhalb
Grün = innerhalb
Gelb = läuft gerade

Ich habe z.B. ein userReading "running" wenn der Verbraucher läuft.
Das könnte man hierfür doch bestimmt nutzen.

VG Dieter


carlos

Hallo,
Habe diesen Fehler:
2021.06.15 15:22:40 1: PERL WARNING: Use of uninitialized value $n in hash element at fhem.pl line 4601.
2021.06.15 15:22:40 1: stacktrace:
2021.06.15 15:22:40 1:     main::__ANON__                      called by fhem.pl (4601)
2021.06.15 15:22:40 1:     main::ReadingsVal                   called by ./FHEM/76_SolarForecast.pm (3606)
2021.06.15 15:22:40 1:     FHEM::SolarForecast::collectAllRegConsumers called by ./FHEM/76_SolarForecast.pm (1940)
2021.06.15 15:22:40 1:     FHEM::SolarForecast::centralTask    called by fhem.pl (3425)
2021.06.15 15:22:40 1:     main::HandleTimeout                 called by fhem.pl (696)


Keine Ahnung ob durch die letzte version oder evtl. schon länger.

Hier noch ein list zur Hilfe:
Internals:
   .FhemMetaInternals 1
   FUUID      60b14ec6-f33f-7be8-47f1-cebfbe1a7866f0c4
   FVERSION   76_SolarForecast.pm:v0.52.3-s21735/2020-04-20 TESTING
   HISTFILE   last write time: 15:16:05 File: ./FHEM/FhemUtils/PVH_SolarForecast_mySolarForecast
   MODE       Automatic - next polltime: 15:26:10
   NAME       mySolarForecast
   NOTIFYDEV  MQTT2_obi,MQTT2_DVES_DBB94E,MQTT2_sonoffpow,MQTT2_DVES_348A73,myDWD,myDWD2,myFronius,mySenec,mySenec
   NR         1748
   NTFY_ORDER 50-mySolarForecast
   STATE      updated
   TYPE       SolarForecast
   .attraggr:
   .attrminint:
   HELPER:
     FW         WEB
     INITCONTOTAL 0
     INITFEEDTOTAL 0
     PACKAGE    FHEM::SolarForecast
     SPGDETAIL  mySolarForecast
     SPGDEV     mySolarForecast
     SPGROOM    01_PV-Anlage
     VERSION    0.52.3
     VERSION_API unused
     VERSION_ErrCodes unused
     VERSION_SMUtils 1.22.0
   OLDREADINGS:
   READINGS:
     2021-06-15 09:39:08   .associatedWith MQTT2_obi MQTT2_DVES_DBB94E MQTT2_sonoffpow MQTT2_DVES_348A73 myDWD myDWD2 myFronius mySenec mySenec
     2021-06-15 15:25:00   .lastupdateForecastValues 1623763500
     2021-06-16 23:59:59   AllPVforecastsToEvent 0 Wh
     2021-06-15 15:25:00   Current_AutarkyRate 100 %
     2021-06-15 15:25:00   Current_BatCharge 100.00 %
     2021-06-15 15:25:00   Current_Consumption 7277 W
     2021-06-15 15:25:00   Current_GridConsumption 0 W
     2021-06-15 15:25:00   Current_GridFeedIn 4233 W
     2021-06-15 15:25:00   Current_PV      4650 W
     2021-06-15 15:25:00   Current_PowerBatIn 0 W
     2021-06-15 15:25:00   Current_PowerBatOut 6860 W
     2021-06-15 15:25:00   Current_SelfConsumption 417 W
     2021-06-15 15:25:00   Current_SelfConsumptionRate 9 %
     2021-06-15 15:00:00   LastHourGridconsumptionReal 0 Wh
     2021-06-15 15:00:00   LastHourPVforecast 5105 Wh
     2021-06-15 15:00:00   LastHourPVreal  5790 Wh
     2021-06-15 15:25:00   NextHours_Sum01_PVforecast 4195 Wh
     2021-06-15 15:25:00   NextHours_Sum02_PVforecast 7636 Wh
     2021-06-15 15:25:00   NextHours_Sum03_PVforecast 10256 Wh
     2021-06-15 15:25:00   NextHours_Sum04_ConsumptionForecast -733 Wh
     2021-06-15 15:25:00   NextHours_Sum04_PVforecast 12007 Wh
     2021-06-15 15:25:00   RestOfDayConsumptionForecast -3454 Wh
     2021-06-15 15:25:00   RestOfDayPVforecast 13190 Wh
     2021-06-15 00:59:41   Today_Hour01_BatIn 500 Wh
     2021-06-15 00:59:41   Today_Hour01_BatOut 0 Wh
     2021-06-15 00:59:41   Today_Hour01_GridConsumption 0 Wh
     2021-06-15 00:59:41   Today_Hour01_GridFeedIn 0 Wh
     2021-06-15 00:59:41   Today_Hour01_PVreal 0 Wh
     2021-06-15 01:59:20   Today_Hour02_BatIn 460 Wh
     2021-06-15 01:59:20   Today_Hour02_BatOut 0 Wh
     2021-06-15 01:59:20   Today_Hour02_GridConsumption 0 Wh
     2021-06-15 01:59:20   Today_Hour02_GridFeedIn 0 Wh
     2021-06-15 01:59:20   Today_Hour02_PVreal 0 Wh
     2021-06-15 02:59:01   Today_Hour03_BatIn 350 Wh
     2021-06-15 02:59:01   Today_Hour03_BatOut 0 Wh
     2021-06-15 02:59:01   Today_Hour03_GridConsumption 0 Wh
     2021-06-15 02:59:01   Today_Hour03_GridFeedIn 0 Wh
     2021-06-15 02:59:01   Today_Hour03_PVreal 0 Wh
     2021-06-15 03:59:50   Today_Hour04_BatIn 360 Wh
     2021-06-15 03:59:50   Today_Hour04_BatOut 0 Wh
     2021-06-15 03:59:50   Today_Hour04_GridConsumption 0 Wh
     2021-06-15 03:59:50   Today_Hour04_GridFeedIn 0 Wh
     2021-06-15 03:59:50   Today_Hour04_PVreal 0 Wh
     2021-06-15 04:59:27   Today_Hour05_BatIn 370 Wh
     2021-06-15 04:59:27   Today_Hour05_BatOut 0 Wh
     2021-06-15 04:59:27   Today_Hour05_GridConsumption 0 Wh
     2021-06-15 04:59:27   Today_Hour05_GridFeedIn 0 Wh
     2021-06-15 04:59:27   Today_Hour05_PVreal 0 Wh
     2021-06-15 05:59:01   Today_Hour06_BatIn 320 Wh
     2021-06-15 05:59:01   Today_Hour06_BatOut 0 Wh
     2021-06-15 05:59:01   Today_Hour06_GridConsumption 0 Wh
     2021-06-15 05:59:01   Today_Hour06_GridFeedIn 0 Wh
     2021-06-15 05:59:01   Today_Hour06_PVforecast 50 Wh
     2021-06-15 05:59:01   Today_Hour06_PVreal 36 Wh
     2021-06-15 06:59:50   Today_Hour07_BatIn 10 Wh
     2021-06-15 06:59:50   Today_Hour07_BatOut 770 Wh
     2021-06-15 06:59:50   Today_Hour07_GridConsumption 0 Wh
     2021-06-15 06:59:50   Today_Hour07_GridFeedIn 0 Wh
     2021-06-15 06:59:50   Today_Hour07_PVforecast 453 Wh
     2021-06-15 06:59:50   Today_Hour07_PVreal 1237 Wh
     2021-06-15 07:59:28   Today_Hour08_BatIn 0 Wh
     2021-06-15 07:59:28   Today_Hour08_BatOut 2300 Wh
     2021-06-15 07:59:28   Today_Hour08_GridConsumption 0 Wh
     2021-06-15 07:59:28   Today_Hour08_GridFeedIn 0 Wh
     2021-06-15 07:59:28   Today_Hour08_PVforecast 1290 Wh
     2021-06-15 07:59:28   Today_Hour08_PVreal 3505 Wh
     2021-06-15 08:59:01   Today_Hour09_BatIn 0 Wh
     2021-06-15 08:59:01   Today_Hour09_BatOut 1790 Wh
     2021-06-15 08:59:01   Today_Hour09_GridConsumption 0 Wh
     2021-06-15 08:59:01   Today_Hour09_GridFeedIn 0 Wh
     2021-06-15 08:59:01   Today_Hour09_PVforecast 2372 Wh
     2021-06-15 08:59:01   Today_Hour09_PVreal 5550 Wh
     2021-06-15 09:59:49   Today_Hour10_BatIn 10 Wh
     2021-06-15 09:59:49   Today_Hour10_BatOut 310 Wh
     2021-06-15 09:59:49   Today_Hour10_GridConsumption 0 Wh
     2021-06-15 09:59:49   Today_Hour10_GridFeedIn 0 Wh
     2021-06-15 09:59:49   Today_Hour10_PVforecast 3369 Wh
     2021-06-15 09:59:49   Today_Hour10_PVreal 6483 Wh
     2021-06-15 10:59:26   Today_Hour11_BatIn 10 Wh
     2021-06-15 10:59:26   Today_Hour11_BatOut 0 Wh
     2021-06-15 10:59:26   Today_Hour11_GridConsumption 0 Wh
     2021-06-15 10:59:26   Today_Hour11_GridFeedIn 0 Wh
     2021-06-15 10:59:26   Today_Hour11_PVforecast 4144 Wh
     2021-06-15 10:59:26   Today_Hour11_PVreal 6986 Wh
     2021-06-15 11:59:07   Today_Hour12_BatIn 0 Wh
     2021-06-15 11:59:07   Today_Hour12_BatOut 0 Wh
     2021-06-15 11:59:07   Today_Hour12_GridConsumption 0 Wh
     2021-06-15 11:59:07   Today_Hour12_GridFeedIn 0 Wh
     2021-06-15 11:59:07   Today_Hour12_PVforecast 4912 Wh
     2021-06-15 11:59:07   Today_Hour12_PVreal 6778 Wh
     2021-06-15 12:58:53   Today_Hour13_BatIn 10 Wh
     2021-06-15 12:58:53   Today_Hour13_BatOut 0 Wh
     2021-06-15 12:58:53   Today_Hour13_GridConsumption 0 Wh
     2021-06-15 12:58:53   Today_Hour13_GridFeedIn 0 Wh
     2021-06-15 12:58:53   Today_Hour13_PVforecast 5315 Wh
     2021-06-15 12:58:53   Today_Hour13_PVreal 6818 Wh
     2021-06-15 13:59:38   Today_Hour14_BatIn 10 Wh
     2021-06-15 13:59:38   Today_Hour14_BatOut 0 Wh
     2021-06-15 13:59:38   Today_Hour14_GridConsumption 0 Wh
     2021-06-15 13:59:38   Today_Hour14_GridFeedIn 0 Wh
     2021-06-15 13:59:38   Today_Hour14_PVforecast 5325 Wh
     2021-06-15 13:59:38   Today_Hour14_PVreal 6970 Wh
     2021-06-15 14:59:18   Today_Hour15_BatIn 10 Wh
     2021-06-15 14:59:18   Today_Hour15_BatOut 0 Wh
     2021-06-15 14:59:18   Today_Hour15_GridConsumption 0 Wh
     2021-06-15 14:59:18   Today_Hour15_GridFeedIn 0 Wh
     2021-06-15 14:59:18   Today_Hour15_PVforecast 5105 Wh
     2021-06-15 14:59:18   Today_Hour15_PVreal 5790 Wh
     2021-06-15 15:25:00   Today_Hour16_BatIn 0 Wh
     2021-06-15 15:25:00   Today_Hour16_BatOut 0 Wh
     2021-06-15 15:25:00   Today_Hour16_GridConsumption 0 Wh
     2021-06-15 15:25:00   Today_Hour16_GridFeedIn 0 Wh
     2021-06-15 15:25:00   Today_Hour16_PVforecast 4507 Wh
     2021-06-15 15:25:00   Today_Hour16_PVreal 1930 Wh
     2021-06-15 15:25:00   Today_Hour17_PVforecast 3787 Wh
     2021-06-15 15:25:00   Today_Hour18_PVforecast 2989 Wh
     2021-06-15 15:25:00   Today_Hour19_PVforecast 2137 Wh
     2021-06-15 15:25:00   Today_Hour20_PVforecast 1247 Wh
     2021-06-15 15:25:00   Today_Hour21_PVforecast 431 Wh
     2021-06-15 15:25:00   Today_Hour22_PVforecast 46 Wh
     2021-06-15 15:25:00   Today_PVforecast 47479 Wh
     2021-06-15 15:25:00   Today_SunRise   05:14
     2021-06-15 15:25:00   Today_SunSet    21:34
     2021-06-15 15:25:00   Tomorrow_ConsumptionForecast 2150 Wh
     2021-06-15 15:25:00   Tomorrow_PVforecast 42026 Wh
     2021-06-15 15:25:00   Tomorrow_SunRise 05:14
     2021-06-15 15:25:00   Tomorrow_SunSet 21:34
     2021-06-15 15:25:00   consumer01      name='MQTT2_obi' state='off' planningstate='finished'
     2021-06-15 15:25:00   consumer01_planned_start 2021-06-15 09:00:11
     2021-06-15 15:25:00   consumer01_planned_stop 2021-06-15 11:00:36
     2021-06-15 15:25:00   consumer02      name='Trockner' state='' planningstate='planned'
     2021-06-15 15:25:00   consumer02_planned_start 2021-06-15 09:00:00
     2021-06-15 15:25:00   consumer02_planned_stop 2021-06-15 11:00:00
     2021-06-15 15:25:00   consumer03      name='my3DPrinter' state='off' planningstate='finished'
     2021-06-15 15:25:00   consumer03_planned_start 2021-06-15 05:00:00
     2021-06-15 15:25:00   consumer03_planned_stop 2021-06-15 06:00:11
     2021-06-15 15:25:00   consumer04      name='Waschmaschine' state='on' planningstate='planned'
     2021-06-15 15:25:00   consumer04_planned_start 2021-06-15 06:00:00
     2021-06-15 15:25:00   consumer04_planned_stop 2021-06-15 08:00:00
     2021-06-03 10:43:34   currentBatteryDev mySenec pin=GUI_BAT_DATA_POWER:kW pout=-pin intotal=meinsenec_accuimport_today:kWh outtotal=meinsenec_accuexport_today:kWh charge=GUI_BAT_DATA_FUEL_CHARGE
     2021-06-05 09:45:41   currentForecastDev myDWD
     2021-06-05 13:52:27   currentInverterDev myFronius pv=pv:W etotal=pvday:Wh
     2021-05-30 12:33:33   currentMeterDev mySenec gcon=gridConsumption:W contotal=gridConsumptionDay:W gfeedin=gridFeedIn:W feedtotal=gridFeedInDay:W
     2021-06-11 10:07:16   currentRadiationDev myDWD2
     2021-05-28 22:20:39   inverterStrings meindach
     2021-05-28 22:23:50   moduleDirection meindach=NE
     2021-05-28 22:22:41   modulePeakString meindach=9.6
     2021-05-28 22:24:52   moduleTiltAngle meindach=45
     2021-06-15 15:25:00   nextPolltime    15:26:10
     2021-06-15 15:25:00   state           updated
Attributes:
   Css        .flowg.text         { stroke: none; fill: gray; }               
.flowg.sun_active   { stroke: orange; fill: orange; }                                               
.flowg.sun_inactive { stroke: gray; fill: gray; }                                                   
.flowg.bat25        { stroke: red; fill: red; }                                                     
.flowg.bat50        { stroke: yellow; fill: yellow; }                                               
.flowg.bat75        { stroke: green; fill: green; }                                                 
.flowg.grid_color1  { fill: green; }                                                                 
.flowg.grid_color2  { fill: red; }                                                                   
.flowg.grid_color3  { fill: gray; }                                                                 
.flowg.inactive_in  { stroke: gray;   stroke-dashoffset: 20; stroke-dasharray: 10; opacity: 0.2; }   
.flowg.inactive_out { stroke: gray;   stroke-dashoffset: 20; stroke-dasharray: 10; opacity: 0.2; }   
.flowg.active_in    { stroke: red;    stroke-dashoffset: 20; stroke-dasharray: 10; opacity: 0.8; animation: dash 0.5s linear; animation-iteration-count: infinite; }
.flowg.active_out   { stroke: yellow; stroke-dashoffset: 20; stroke-dasharray: 10; opacity: 0.8; animation: dash 0.5s linear; animation-iteration-count: infinite; }

   Wh/kWh     kWh
   alias      Solar Vorhersage
   autoRefresh 120
   beam1Color 0033FF
   beam1Content pvForecast
   beam2Color 149600
   beam2Content pvReal
   beamHeight 100
   consumer01 MQTT2_obi icon=hue_filled_outlet@orange type=other mode=can power=2500 on=on off=off mintime=120
   consumer02 MQTT2_DVES_DBB94E icon=scene_clothes_dryer@orange type=dryer mode=can power=2500 etotal=ENERGY_Total:kWh mintime=120
   consumer03 MQTT2_sonoffpow icon=3d_printer@orange type=other mode=can power=2500 on=on off=off mintime=120 etotal=ENERGY_Total:kWh
   consumer04 MQTT2_DVES_348A73 icon=scene_washing_machine@orange type=washingmachine mode=can power=2500 etotal=ENERGY_Total:kWh mintime=120
   consumerLegend icon_top
   flowGraphicAnimate 1
   flowGraphicSize 300
   graphicSelect both
   historyHour -12
   layoutType double
   numHistDays 30
   room       01_PV-Anlage
   sameWeekdaysForConsfc 1
   showDiff   no
   showNight  0


Gruß

Carlos

FHEM svn auf Intel NUC mit proxmox,1 UDOO, 3 Raspberry Pi, signalduino, nanoCUL, div. Homematic Komponenten, toom Baumarkt Funksteckdosen, einige sonoffs, hue, shelly

DS_Starter

@carlos, danke. Habe es in der neuen contrib Version gefixt.

@Dieter, möglicherweise habe ich auch einen wirksamen check für dein sporadisches Inverter-Werteproblem einbauen können. Beobachte es mal mit der neuen V.

Zitat
noch ein Verbesserungsvorschlag zur Farbgebung des Icon der Planungszeit:

Bsp.

Grau = außerhalb
Grün = innerhalb
Gelb = läuft gerade

Ich habe z.B. ein userReading "running" wenn der Verbraucher läuft.
So ganz verstehe ich noch nicht den tieferen Sinn dahinter. Der Wert "Gelb = läuft gerade" ergibt sich doch automatisch wenn das Planungszeiticon Grün = innerhalb UND der Ein/Aus-Schalter = "ein" ist, dann läuft der Verbraucher ja.
Außerdem müsste ich noch einen neuen "state" Schlüssel für den aktuellen Schaltstatus des Verbrauchers einführen.
Zur Zeit verwenden ich dessen state-Reading und prüfe auf on/off.
Üblicherweise sollte das passen.

Ich gebe zu, dass ein optionaler "state"-Schlüssel für irgendwelche Exoten hilfreich wäre. Das in dem Schlüssel angegebene Verbraucherreading kann aber nur vorgegebene Werte wie on/off/running annehmen damit es vernünftig auswertbar bleibt.

Wie denkst du/ihr darüber ?
ESXi@NUC+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

dk3572

Zitat von: DS_Starter am 15 Juni 2021, 18:07:44
@carlos, danke. Habe es in der neuen contrib Version gefixt.

@Dieter, möglicherweise habe ich auch einen wirksamen check für dein sporadisches Inverter-Werteproblem einbauen können. Beobachte es mal mit der neuen V.
So ganz verstehe ich noch nicht den tieferen Sinn dahinter. Der Wert "Gelb = läuft gerade" ergibt sich doch automatisch wenn das Planungszeiticon Grün = innerhalb UND der Ein/Aus-Schalter = "ein" ist, dann läuft der Verbraucher ja.
Außerdem müsste ich noch einen neuen "state" Schlüssel für den aktuellen Schaltstatus des Verbrauchers einführen.
Zur Zeit verwenden ich dessen state-Reading und prüfe auf on/off.
Üblicherweise sollte das passen.

Ich gebe zu, dass ein optionaler "state"-Schlüssel für irgendwelche Exoten hilfreich wäre. Das in dem Schlüssel angegebene Verbraucherreading kann aber nur vorgegebene Werte wie on/off/running annehmen damit es vernünftig auswertbar bleibt.

Wie denkst du/ihr darüber ?

Wenn ich Auto auf off stelle und alles als reine "Anzeige" nutze, sehe ich ob der Verbraucher läuft od. nicht.
Zugegebenermaßen weiß ich es auch, da ich ihn ja dann auch händisch einschalten muss  ;)

DS_Starter

ZitatZugegebenermaßen weiß ich es auch, da ich ihn ja dann auch händisch einschalten muss 
Zustimmung   ;D
ESXi@NUC+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

papa

Will mir gerade nen Verbraucher anlegen. Als On-Kommando brauche ich "on-for-timer 3600". Wie muss ich das angeben?
BananaPi + CUL868 + CUL433 + HM-UART + 1Wire

DS_Starter

#1042
so ... aus #1020:


WPxw type=heater mode=can power=3000 mintime=180 on="on-for-timer 1" notafter=12


Ich bringe es noch als Beispiel in die Hilfe rein.

Edit: Liegt jetzt im contrib
ESXi@NUC+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

papa

BananaPi + CUL868 + CUL433 + HM-UART + 1Wire

dk3572

Zitat von: DS_Starter am 15 Juni 2021, 18:40:06
Zustimmung   ;D

Die Zustimmung bedeutet aber doch nicht etwa das Aus für den optionalen "state"-Schlüssel?  ;)

Fände die Anzeige trotzdem gut.

DS_Starter

ZitatDie Zustimmung bedeutet aber doch nicht etwa das Aus für den optionalen "state"-Schlüssel? 
Nicht unbedingt. Allerdings wirkt er auf den Status des Ein/Aus-Schalters. D.h. ohne Angabe wird das state-Reading im Consumer ausgewertet, der i.A. on/off steht. So ist dann der EIn/Aus-Schalter entsprechend dargestellt.

Bei dem optionalen state-Schlüssel wird das angegebene Reading ausgewertet, was dann zusätzlich zu on/off auch z.B. running (what ever) enthalten kann. Die Farbe des EIn/Aus-Schalters kann dann z.B. orange sein.
Es ergibt eben die Möglichkeit ein Usereading anzugeben, wenn das state-Reading eben nicht den Zustand on/off annimmt (kann ja vorkommen). Die Auswertung von "running" fällt dabei quasi mit ab.

ESXi@NUC+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

dk3572

Und hier noch was merkwürdiges.

consumerAdviceIcon    clock@green

Vor der geplanten Zeit sind die Icon grau.
In der geplanten Zeit sind sie grün.
Sobald einer die geplante Zeit überschreitet, wird er grau, aber die Restlichen sind dann weiß.

Oder ist mein attr so nicht richtig?

DS_Starter

ZitatSobald einer die geplante Zeit überschreitet, wird er grau, aber die Restlichen sind dann weiß.
hatte einen Schreibfehler bei den Farben  gray -> grey  :o
Sollte jetzt passen.
ESXi@NUC+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

dk3572

Zitat von: DS_Starter am 16 Juni 2021, 13:09:01
hatte einen Schreibfehler bei den Farben  gray -> grey  :o
Sollte jetzt passen.

Nein, blieb weiterhin weiß, während die beiden außerhalb der Zeit grau sind.

Nach einem Reset consumerPlanning wurde auch neu berechnet.
Die Icon sind jetzt wieder grün, da in der Zeit.
Aber die Zeiten sind alles andere als real.
Z.B. Trockner von 14-22 Uhr.

DS_Starter

ZitatNein, blieb weiterhin weiß, während die beiden außerhalb der Zeit grau sind.
Also weiß sind sie maximal wegen dem verwendeten Style, weil grün ist Standard. Bei mir ist nichts weiß. Nimm doch mal z.B.

  clock@gold

ZitatNach einem Reset consumerPlanning wurde auch neu berechnet.
Die Icon sind jetzt wieder grün, da in der Zeit.
Aber die Zeiten sind alles andere als real.
Z.B. Trockner von 14-22 Uhr.
Also Start 14:00 finde ich nicht unnormal. Die maximale Endezeit 22:00 ergibt sich aus dem Parameter mintime -> evtl. kürzen.
ESXi@NUC+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