Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. E3DC Hauskraftwerk steuern

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    E3DC Hauskraftwerk steuern

    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      Zelkin @ArnoD last edited by

      @arnod

      V1.0.9 eingespielt
      Hier der Start 😊 ..... scheinen doch einige Timer nicht beendet worden zu sein .... hoffe das ergebnis ist wie erwartet

      2022-07-29 06:50:18.708 - info: javascript.0 (1420) Start javascript script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control
      2022-07-29 06:50:18.770 - warn: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_908390.1657311093602","type":"schedule","schedule":"{\"time\":{\"exactTime\":true,\"start\":\"06:30\"},\"period\":{\"weeks\":1,\"dows\":\"[1,2,3,4,5]\"}}"}
      2022-07-29 06:50:18.771 - warn: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_950196.1657311093602","type":"schedule","schedule":"{\"time\":{\"exactTime\":true,\"start\":\"07:30\"},\"period\":{\"weeks\":1,\"dows\":\"[0,6]\"},\"valid\":{\"from\":\"18.02.2022\",\"to\":\"\"}}"}
      2022-07-29 06:50:18.771 - warn: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_273667.1657311093635","type":"schedule","schedule":"{\"time\":{\"exactTime\":true,\"start\":\"05:30\"},\"period\":{\"days\":1}}"}
      2022-07-29 06:50:18.771 - warn: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_847962.1657311093826","type":"schedule","schedule":"{\"time\":{\"exactTime\":true,\"start\":\"00:05\"},\"period\":{\"days\":1}}"}
      2022-07-29 06:50:18.772 - warn: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_601780.1657311094539","type":"schedule","schedule":"{\"time\":{\"start\":\"23:00\",\"exactTime\":true},\"period\":{\"days\":1}}"}
      2022-07-29 06:50:18.772 - warn: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_283917.1657311094728","type":"schedule","schedule":"{\"time\":{\"start\":\"08:00\",\"end\":\"18:00\",\"mode\":\"hours\",\"interval\":1},\"period\":{\"days\":1}}"}
      2022-07-29 06:50:18.773 - warn: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_245912.1657311095137","type":"schedule","schedule":"{\"time\":{\"exactTime\":true,\"start\":\"04:00\"},\"period\":{\"days\":1}}"}
      2022-07-29 06:50:18.773 - warn: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_590755.1657665414739","type":"schedule","schedule":"{\"time\":{\"exactTime\":true,\"start\":\"00:01\"},\"period\":{\"days\":1}}"}
      2022-07-29 06:50:18.811 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: registered 55 subscriptions and 5 schedules
      2022-07-29 06:50:18.811 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Jetzt sind alle States abgearbeitet ====-
      2022-07-29 06:50:18.850 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: ****************************** Es wird Solcast Dach 2 abgerufen ******************************
      2022-07-29 06:50:20.735 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Rueckmeldung XHR.Status Solcast= 200
      2022-07-29 06:50:20.747 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: ****************************** Es wird Solcast Dach 1 abgerufen ******************************
      2022-07-29 06:50:21.027 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schritt = 0 keine Steuerung ====-
      2022-07-29 06:50:22.015 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Rueckmeldung XHR.Status Solcast= 200
      2022-07-29 06:50:22.017 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-07-29 pv_estimate= 46.08 pv_estimate90= 62.6
      2022-07-29 06:50:22.020 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-07-30 pv_estimate= 62.43 pv_estimate90= 72.27
      2022-07-29 06:50:22.023 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-07-31 pv_estimate= 70.85 pv_estimate90= 74.84
      2022-07-29 06:50:22.025 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-08-01 pv_estimate= 70.08 pv_estimate90= 70.56
      2022-07-29 06:50:22.028 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-08-02 pv_estimate= 69.2 pv_estimate90= 69.51
      2022-07-29 06:50:22.030 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-08-03 pv_estimate= 64.93 pv_estimate90= 66.08
      2022-07-29 06:50:22.032 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-08-04 pv_estimate= 61.97 pv_estimate90= 69.33
      2022-07-29 06:50:22.071 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: RB UTC = 9:17
      2022-07-29 06:50:22.071 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: RE UTC = 12:55
      2022-07-29 06:50:22.072 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: LE UTC = 15:42
      2022-07-29 06:50:22.103 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: ******************* Es wird die Globalstrahlung von Proplanta abgerufen *******************
      2022-07-29 06:50:22.759 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Rueckmeldung InterrogateProplanta XHR.Status= 200
      2022-07-29 06:50:22.832 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Näste Aktualisierung Wetterdaten =10:00 Uhr
      2022-07-29 06:50:22.842 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Solcast in kWh = 55.6
      2022-07-29 06:50:22.842 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Solcast 90 Perzentil in kWh = 71.7
      2022-07-29 06:50:22.843 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Proplanta in kWh = 49.1977728
      2022-07-29 06:50:22.843 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag3 konnte nicht abgerufen werden ====-
      2022-07-29 06:50:22.843 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag4 konnte nicht abgerufen werden ====-
      2022-07-29 06:50:22.843 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag5 konnte nicht abgerufen werden ====-
      2022-07-29 06:50:22.843 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag6 konnte nicht abgerufen werden ====-
      2022-07-29 06:50:22.843 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose_kWh nach Abzug Korrekturfaktor = 49.77894208
      2022-07-29 06:50:22.843 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bereits produzierte PV-Leistung = 0.1467761978229577
      2022-07-29 06:50:22.849 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose_kWh_heute für Berechnung = 49.63216588217704
      2022-07-29 06:50:22.938 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: BatterieProzent(wert)=17.432165882177042
      2022-07-29 06:50:22.939 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Eigenverbrauch Tag = 22
      2022-07-29 06:50:22.940 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: AktSpeicherSoC in % = 15
      2022-07-29 06:50:22.940 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Ueberschuss in kWh 17.432165882177042 = (Prognose kWh 49.63216588217704 - Berechneter Eigenverbrauch 22) - FreieKapBatterie_kWh 10.2
      2022-07-29 06:50:22.940 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Ueberschuss in Prozent = 100
      2022-07-29 06:50:22.993 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bewölkungsgrad 12 Uhr Proplanta 100
      2022-07-29 06:50:22.993 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bewölkungsgrad 15 Uhr Proplanta 87.5
      2022-07-29 06:50:22.993 - info: javascript.0 (1420) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Einstellung 4 aktiv
      
      A 1 Reply Last reply Reply Quote 0
      • Z
        Zelkin @ArnoD last edited by Zelkin

        @arnod
        Jetzt scheint irgendwas nicht mehr zu klappen!!
        Screenshot 2022-07-29 090713.jpg

        er lädt nicht, trotz

        Screenshot 2022-07-29 090750.jpg

        Er sollte doch jetzt bis 35% alles in die Batterie Schieben was geht?!

        Hab das script vorerst deaktiviert um ein paar Prozent in die Batterie zu pumpen, sobald ICh da bei 30% bin oder es 11:17 ist schalte Ich es wieder ein zum testen ob der regelzeitraum sauber läuft

        1 Reply Last reply Reply Quote 0
        • A
          ArnoD @Zelkin last edited by

          @zelkin sagte in E3DC Hauskraftwerk steuern:

          V1.0.9 eingespielt
          Hier der Start ..... scheinen doch einige Timer nicht beendet worden zu sein .... hoffe das ergebnis ist wie erwartet

          Nein, da stimmt was nicht. Es wurden Timer beendet, die nicht von dem Skript gestartet wurden.
          Welche Version hat bei dir der Javascript Adapter?

          Z 2 Replies Last reply Reply Quote 0
          • Z
            Zelkin @ArnoD last edited by

            @arnod
            Im Moment 5.2.21

            Das Update auf 5.7 hab Ich noch nicht eingespielt, da Ich mir den Changelog erst genauer anschauen wollte

            A 1 Reply Last reply Reply Quote 0
            • Z
              Zelkin @ArnoD last edited by

              @arnod

              nach dem Update scheint alles zu klappen ..... sollte man im Script erwähnen dass man min. V5.7 benötigt

              Hier noch der Start:

              2022-07-29 10:26:26.149 - info: javascript.0 (30178) Start javascript script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control
              2022-07-29 10:26:26.189 - warn: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_946503.1659083111272","type":"schedule","schedule":"{\"time\":{\"exactTime\":true,\"start\":\"00:01\"},\"period\":{\"days\":1}}"}
              2022-07-29 10:26:26.190 - warn: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_345328.1659083111314","type":"schedule","schedule":"{\"time\":{\"exactTime\":true,\"start\":\"06:30\"},\"period\":{\"weeks\":1,\"dows\":\"[1,2,3,4,5]\"}}"}
              2022-07-29 10:26:26.190 - warn: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_252291.1659083111314","type":"schedule","schedule":"{\"time\":{\"exactTime\":true,\"start\":\"07:30\"},\"period\":{\"weeks\":1,\"dows\":\"[0,6]\"},\"valid\":{\"from\":\"18.02.2022\",\"to\":\"\"}}"}
              2022-07-29 10:26:26.190 - warn: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_318933.1659083111347","type":"schedule","schedule":"{\"time\":{\"exactTime\":true,\"start\":\"05:30\"},\"period\":{\"days\":1}}"}
              2022-07-29 10:26:26.191 - warn: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_512006.1659083111521","type":"schedule","schedule":"{\"time\":{\"exactTime\":true,\"start\":\"00:05\"},\"period\":{\"days\":1}}"}
              2022-07-29 10:26:26.191 - warn: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_229600.1659083112253","type":"schedule","schedule":"{\"time\":{\"start\":\"23:00\",\"exactTime\":true},\"period\":{\"days\":1}}"}
              2022-07-29 10:26:26.191 - warn: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_779854.1659083112425","type":"schedule","schedule":"{\"time\":{\"start\":\"08:00\",\"end\":\"18:00\",\"mode\":\"hours\",\"interval\":1},\"period\":{\"days\":1}}"}
              2022-07-29 10:26:26.211 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: registered 55 subscriptions and 5 schedules
              2022-07-29 10:26:26.212 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Jetzt sind alle States abgearbeitet ====-
              2022-07-29 10:26:26.320 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: ****************************** Es wird Solcast Dach 2 abgerufen ******************************
              2022-07-29 10:26:27.044 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schritt = 0 keine Steuerung ====-
              2022-07-29 10:26:28.917 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Rueckmeldung XHR.Status Solcast= 200
              2022-07-29 10:26:28.929 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: ****************************** Es wird Solcast Dach 1 abgerufen ******************************
              2022-07-29 10:26:30.186 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Rueckmeldung XHR.Status Solcast= 200
              2022-07-29 10:26:30.189 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-07-29 pv_estimate= 31.34 pv_estimate90= 44.25
              2022-07-29 10:26:30.192 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-07-30 pv_estimate= 62.43 pv_estimate90= 72.27
              2022-07-29 10:26:30.195 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-07-31 pv_estimate= 70.85 pv_estimate90= 74.84
              2022-07-29 10:26:30.198 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-08-01 pv_estimate= 70.08 pv_estimate90= 70.56
              2022-07-29 10:26:30.200 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-08-02 pv_estimate= 69.2 pv_estimate90= 69.51
              2022-07-29 10:26:30.203 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-08-03 pv_estimate= 64.93 pv_estimate90= 66.08
              2022-07-29 10:26:30.205 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-08-04 pv_estimate= 61.97 pv_estimate90= 69.33
              2022-07-29 10:26:30.312 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: RB UTC = 9:17
              2022-07-29 10:26:30.313 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: RE UTC = 12:55
              2022-07-29 10:26:30.313 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: LE UTC = 15:42
              2022-07-29 10:26:30.376 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: ******************* Es wird die Globalstrahlung von Proplanta abgerufen *******************
              2022-07-29 10:26:30.898 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Rueckmeldung InterrogateProplanta XHR.Status= 200
              2022-07-29 10:26:30.993 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Näste Aktualisierung Wetterdaten =15:20 Uhr
              2022-07-29 10:26:31.044 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Solcast in kWh = 55.6
              2022-07-29 10:26:31.045 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Solcast 90 Perzentil in kWh = 71.7
              2022-07-29 10:26:31.046 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Proplanta in kWh = 51.33680640000001
              2022-07-29 10:26:31.047 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag3 konnte nicht abgerufen werden ====-
              2022-07-29 10:26:31.047 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag4 konnte nicht abgerufen werden ====-
              2022-07-29 10:26:31.048 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag5 konnte nicht abgerufen werden ====-
              2022-07-29 10:26:31.048 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag6 konnte nicht abgerufen werden ====-
              2022-07-29 10:26:31.049 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose_kWh nach Abzug Korrekturfaktor = 50.794983040000005
              2022-07-29 10:26:31.049 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bereits produzierte PV-Leistung = 3.633262989121122
              2022-07-29 10:26:31.113 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose_kWh_heute für Berechnung = 47.161720050878884
              2022-07-29 10:26:31.193 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: BatterieProzent(wert)=22.344284153442985
              2022-07-29 10:26:31.193 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Eigenverbrauch Tag = 22
              2022-07-29 10:26:31.193 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: AktSpeicherSoC in % = 14
              2022-07-29 10:26:31.194 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Ueberschuss in kWh 22.344284153442985 = (Prognose kWh 47.161720050878884 - Berechneter Eigenverbrauch 14.497435897435897) - FreieKapBatterie_kWh 10.32
              2022-07-29 10:26:31.194 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Ueberschuss in Prozent = 100
              2022-07-29 10:26:31.243 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bewölkungsgrad 12 Uhr Proplanta 75
              2022-07-29 10:26:31.243 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bewölkungsgrad 15 Uhr Proplanta 87.5
              2022-07-29 10:26:31.244 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Einstellung 2 aktiv EinstellungAnwahl=4
              2022-07-29 10:26:31.261 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: RB UTC = 9:22
              2022-07-29 10:26:31.261 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: RE UTC = 14:50
              2022-07-29 10:26:31.262 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: LE UTC = 16:42
              2022-07-29 10:26:31.262 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Trigger manuelle Programmvorwahl
              2022-07-29 10:26:31.272 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Solcast in kWh = 55.6
              2022-07-29 10:26:31.272 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Solcast 90 Perzentil in kWh = 71.7
              2022-07-29 10:26:31.273 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Proplanta in kWh = 51.33680640000001
              2022-07-29 10:26:31.273 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag3 konnte nicht abgerufen werden ====-
              2022-07-29 10:26:31.273 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag4 konnte nicht abgerufen werden ====-
              2022-07-29 10:26:31.273 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag5 konnte nicht abgerufen werden ====-
              2022-07-29 10:26:31.274 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag6 konnte nicht abgerufen werden ====-
              2022-07-29 10:26:31.274 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose_kWh nach Abzug Korrekturfaktor = 50.794983040000005
              2022-07-29 10:26:31.274 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bereits produzierte PV-Leistung = 3.633262989121122
              2022-07-29 10:26:31.282 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose_kWh_heute für Berechnung = 47.161720050878884
              2022-07-29 10:26:31.375 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: BatterieProzent(wert)=22.344284153442985
              2022-07-29 10:26:31.375 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Eigenverbrauch Tag = 22
              2022-07-29 10:26:31.376 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: AktSpeicherSoC in % = 14
              2022-07-29 10:26:31.376 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Ueberschuss in kWh 22.344284153442985 = (Prognose kWh 47.161720050878884 - Berechneter Eigenverbrauch 14.497435897435897) - FreieKapBatterie_kWh 10.32
              2022-07-29 10:26:31.376 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Ueberschuss in Prozent = 100
              2022-07-29 10:26:31.423 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bewölkungsgrad 12 Uhr Proplanta 75
              2022-07-29 10:26:31.423 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bewölkungsgrad 15 Uhr Proplanta 87.5
              2022-07-29 10:26:31.424 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Einstellung 2 aktiv EinstellungAnwahl=2
              

              Sind es nicht die selben Timer ... auch jetzt?

              Z 1 Reply Last reply Reply Quote 0
              • A
                ArnoD @Zelkin last edited by

                @zelkin
                Ok, da scheint die Funktion getSchedules(false) noch anders zu funktionieren, normalerweise sollte das "false" bewirken das nur Schedules von dem Script angezeigt werden.

                Tausch bitte diese Zeilen ab 203:

                const list_Start = getSchedules(false);
                list_Start.forEach(schedule => log('-==== Schedule war noch aktiv und wurde beendet ===-'+JSON.stringify(schedule),'warn'));
                list_Start.forEach(schedule => clearSchedule(schedule));
                

                aus gegen diese:

                clearSchedule(Timer0);
                clearSchedule(Timer1);
                clearSchedule(Timer2);
                clearSchedule(Timer3);
                

                das Gleiche am Ende vom Script:

                //Bei Scriptende alle Timer löschen
                onStop(function () { 
                    // @ts-ignore
                    const list_Ende = getSchedules(false);
                    list_Ende.forEach(schedule => clearSchedule(schedule));
                }, 100);
                

                gegen diese Zeilen:

                //Bei Scriptende alle Timer löschen
                onStop(function () { 
                    clearSchedule(Timer0);
                    clearSchedule(Timer1);
                    clearSchedule(Timer2);
                    clearSchedule(Timer3);
                }, 100);
                

                Dann sollte es erstmal funktionieren. Muss mal nachlesen, ab welcher Version die Funktion verwendet werden kann..

                Z 1 Reply Last reply Reply Quote 0
                • Z
                  Zelkin @ArnoD last edited by

                  @arnod
                  Sorry eben update von javascript durchgeführt .......

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    ArnoD @Zelkin last edited by ArnoD

                    @zelkin
                    Ok dann probier es mal ohne Änderung.
                    Welche Version hast du jetzt ?

                    1 Reply Last reply Reply Quote 0
                    • Z
                      Zelkin @Zelkin last edited by Zelkin

                      @zelkin said in E3DC Hauskraftwerk steuern:

                      @arnod

                      nach dem Update scheint alles zu klappen ..... sollte man im Script erwähnen dass man min. V5.7 benötigt

                      Hier noch der Start:

                      2022-07-29 10:26:26.149 - info: javascript.0 (30178) Start javascript script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control
                      2022-07-29 10:26:26.189 - warn: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_946503.1659083111272","type":"schedule","schedule":"{\"time\":{\"exactTime\":true,\"start\":\"00:01\"},\"period\":{\"days\":1}}"}
                      2022-07-29 10:26:26.190 - warn: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_345328.1659083111314","type":"schedule","schedule":"{\"time\":{\"exactTime\":true,\"start\":\"06:30\"},\"period\":{\"weeks\":1,\"dows\":\"[1,2,3,4,5]\"}}"}
                      2022-07-29 10:26:26.190 - warn: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_252291.1659083111314","type":"schedule","schedule":"{\"time\":{\"exactTime\":true,\"start\":\"07:30\"},\"period\":{\"weeks\":1,\"dows\":\"[0,6]\"},\"valid\":{\"from\":\"18.02.2022\",\"to\":\"\"}}"}
                      2022-07-29 10:26:26.190 - warn: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_318933.1659083111347","type":"schedule","schedule":"{\"time\":{\"exactTime\":true,\"start\":\"05:30\"},\"period\":{\"days\":1}}"}
                      2022-07-29 10:26:26.191 - warn: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_512006.1659083111521","type":"schedule","schedule":"{\"time\":{\"exactTime\":true,\"start\":\"00:05\"},\"period\":{\"days\":1}}"}
                      2022-07-29 10:26:26.191 - warn: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_229600.1659083112253","type":"schedule","schedule":"{\"time\":{\"start\":\"23:00\",\"exactTime\":true},\"period\":{\"days\":1}}"}
                      2022-07-29 10:26:26.191 - warn: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schedule war noch aktiv und wurde beendet ===-{"id":"schedule_779854.1659083112425","type":"schedule","schedule":"{\"time\":{\"start\":\"08:00\",\"end\":\"18:00\",\"mode\":\"hours\",\"interval\":1},\"period\":{\"days\":1}}"}
                      2022-07-29 10:26:26.211 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: registered 55 subscriptions and 5 schedules
                      2022-07-29 10:26:26.212 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Jetzt sind alle States abgearbeitet ====-
                      2022-07-29 10:26:26.320 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: ****************************** Es wird Solcast Dach 2 abgerufen ******************************
                      2022-07-29 10:26:27.044 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schritt = 0 keine Steuerung ====-
                      2022-07-29 10:26:28.917 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Rueckmeldung XHR.Status Solcast= 200
                      2022-07-29 10:26:28.929 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: ****************************** Es wird Solcast Dach 1 abgerufen ******************************
                      2022-07-29 10:26:30.186 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Rueckmeldung XHR.Status Solcast= 200
                      2022-07-29 10:26:30.189 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-07-29 pv_estimate= 31.34 pv_estimate90= 44.25
                      2022-07-29 10:26:30.192 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-07-30 pv_estimate= 62.43 pv_estimate90= 72.27
                      2022-07-29 10:26:30.195 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-07-31 pv_estimate= 70.85 pv_estimate90= 74.84
                      2022-07-29 10:26:30.198 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-08-01 pv_estimate= 70.08 pv_estimate90= 70.56
                      2022-07-29 10:26:30.200 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-08-02 pv_estimate= 69.2 pv_estimate90= 69.51
                      2022-07-29 10:26:30.203 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-08-03 pv_estimate= 64.93 pv_estimate90= 66.08
                      2022-07-29 10:26:30.205 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-08-04 pv_estimate= 61.97 pv_estimate90= 69.33
                      2022-07-29 10:26:30.312 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: RB UTC = 9:17
                      2022-07-29 10:26:30.313 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: RE UTC = 12:55
                      2022-07-29 10:26:30.313 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: LE UTC = 15:42
                      2022-07-29 10:26:30.376 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: ******************* Es wird die Globalstrahlung von Proplanta abgerufen *******************
                      2022-07-29 10:26:30.898 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Rueckmeldung InterrogateProplanta XHR.Status= 200
                      2022-07-29 10:26:30.993 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Näste Aktualisierung Wetterdaten =15:20 Uhr
                      2022-07-29 10:26:31.044 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Solcast in kWh = 55.6
                      2022-07-29 10:26:31.045 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Solcast 90 Perzentil in kWh = 71.7
                      2022-07-29 10:26:31.046 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Proplanta in kWh = 51.33680640000001
                      2022-07-29 10:26:31.047 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag3 konnte nicht abgerufen werden ====-
                      2022-07-29 10:26:31.047 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag4 konnte nicht abgerufen werden ====-
                      2022-07-29 10:26:31.048 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag5 konnte nicht abgerufen werden ====-
                      2022-07-29 10:26:31.048 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag6 konnte nicht abgerufen werden ====-
                      2022-07-29 10:26:31.049 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose_kWh nach Abzug Korrekturfaktor = 50.794983040000005
                      2022-07-29 10:26:31.049 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bereits produzierte PV-Leistung = 3.633262989121122
                      2022-07-29 10:26:31.113 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose_kWh_heute für Berechnung = 47.161720050878884
                      2022-07-29 10:26:31.193 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: BatterieProzent(wert)=22.344284153442985
                      2022-07-29 10:26:31.193 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Eigenverbrauch Tag = 22
                      2022-07-29 10:26:31.193 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: AktSpeicherSoC in % = 14
                      2022-07-29 10:26:31.194 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Ueberschuss in kWh 22.344284153442985 = (Prognose kWh 47.161720050878884 - Berechneter Eigenverbrauch 14.497435897435897) - FreieKapBatterie_kWh 10.32
                      2022-07-29 10:26:31.194 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Ueberschuss in Prozent = 100
                      2022-07-29 10:26:31.243 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bewölkungsgrad 12 Uhr Proplanta 75
                      2022-07-29 10:26:31.243 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bewölkungsgrad 15 Uhr Proplanta 87.5
                      2022-07-29 10:26:31.244 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Einstellung 2 aktiv EinstellungAnwahl=4
                      2022-07-29 10:26:31.261 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: RB UTC = 9:22
                      2022-07-29 10:26:31.261 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: RE UTC = 14:50
                      2022-07-29 10:26:31.262 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: LE UTC = 16:42
                      2022-07-29 10:26:31.262 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Trigger manuelle Programmvorwahl
                      2022-07-29 10:26:31.272 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Solcast in kWh = 55.6
                      2022-07-29 10:26:31.272 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Solcast 90 Perzentil in kWh = 71.7
                      2022-07-29 10:26:31.273 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Proplanta in kWh = 51.33680640000001
                      2022-07-29 10:26:31.273 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag3 konnte nicht abgerufen werden ====-
                      2022-07-29 10:26:31.273 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag4 konnte nicht abgerufen werden ====-
                      2022-07-29 10:26:31.273 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag5 konnte nicht abgerufen werden ====-
                      2022-07-29 10:26:31.274 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag6 konnte nicht abgerufen werden ====-
                      2022-07-29 10:26:31.274 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose_kWh nach Abzug Korrekturfaktor = 50.794983040000005
                      2022-07-29 10:26:31.274 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bereits produzierte PV-Leistung = 3.633262989121122
                      2022-07-29 10:26:31.282 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose_kWh_heute für Berechnung = 47.161720050878884
                      2022-07-29 10:26:31.375 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: BatterieProzent(wert)=22.344284153442985
                      2022-07-29 10:26:31.375 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Eigenverbrauch Tag = 22
                      2022-07-29 10:26:31.376 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: AktSpeicherSoC in % = 14
                      2022-07-29 10:26:31.376 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Ueberschuss in kWh 22.344284153442985 = (Prognose kWh 47.161720050878884 - Berechneter Eigenverbrauch 14.497435897435897) - FreieKapBatterie_kWh 10.32
                      2022-07-29 10:26:31.376 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Ueberschuss in Prozent = 100
                      2022-07-29 10:26:31.423 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bewölkungsgrad 12 Uhr Proplanta 75
                      2022-07-29 10:26:31.423 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bewölkungsgrad 15 Uhr Proplanta 87.5
                      2022-07-29 10:26:31.424 - info: javascript.0 (30178) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Einstellung 2 aktiv EinstellungAnwahl=2
                      

                      Sind es nicht die selben Timer ... auch jetzt?

                      Das war der Start mit V5.7
                      Er lädt im moment zumindest

                      A 2 Replies Last reply Reply Quote 0
                      • A
                        ArnoD @Zelkin last edited by

                        @zelkin
                        Das passt immer noch nicht.
                        Die Timer vom Script sind vom Typ "cron" nicht "schedule"

                        1 Reply Last reply Reply Quote 0
                        • A
                          ArnoD @Zelkin last edited by

                          @zelkin
                          Ich werde das auch bei mir im Script in Version 1.0.10 ändern, sonst führt das nur zu Probleme mit anderen Timer.

                          1 Reply Last reply Reply Quote 0
                          • A
                            ArnoD @ArnoD last edited by

                            Habe eine neue Version Charge-Control auf GitHub hochgeladen.
                            Version: 1.0.10
                            Änderungen:

                            • getSchedules(false) ersetzt, da es nicht bei allen problemlos funktioniert.

                            Wer die Version 1.0.9 bereits eingesetzt und gestartet hat, sollte sicherheitshalber alle Skripte neu starten, damit die Timer wieder funktionieren.

                            Z A 2 Replies Last reply Reply Quote 0
                            • stiwy18
                              stiwy18 last edited by stiwy18

                              @ArnoD
                              Jetzt ist mein Speicher in die Reserve gefallen 🙂 Hier ist noch ein Bug mit dem Standby Verbrauch. Er belässt die Lade- und Entladeschwelle auf 0 Watt, auch wenn genug vom Dach generiert wird:
                              046bd9db-9be0-4ee9-b337-625ca7c8efbe-image.png

                              Wenn ich die Reserve dann abesenke, lädt er die Akkus wieder:
                              e7a26c3b-dbc4-4325-956f-340f11b3ccf6-image.png

                              Viele Grüße und Danke,
                              Stefan

                              A 1 Reply Last reply Reply Quote 0
                              • Z
                                Zelkin @ArnoD last edited by Zelkin

                                @arnod

                                Sodele 🙂

                                script stop
                                Update auf V1.10
                                Javascriptadapter restart um alle scripte neu zu starten
                                start script

                                ergebnis start aus dem log:

                                2022-07-29 11:05:03.483 - info: javascript.0 (32021) Start javascript script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control
                                2022-07-29 11:05:03.561 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: registered 55 subscriptions and 5 schedules
                                2022-07-29 11:05:03.562 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Jetzt sind alle States abgearbeitet ====-
                                2022-07-29 11:05:03.627 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: ****************************** Es wird Solcast Dach 2 abgerufen ******************************
                                2022-07-29 11:05:05.073 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Rueckmeldung XHR.Status Solcast= 200
                                2022-07-29 11:05:05.083 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: ****************************** Es wird Solcast Dach 1 abgerufen ******************************
                                2022-07-29 11:05:06.016 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Schritt = 0 keine Steuerung ====-
                                2022-07-29 11:05:06.200 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Rueckmeldung XHR.Status Solcast= 200
                                2022-07-29 11:05:06.201 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-07-29 pv_estimate= 25.41 pv_estimate90= 35.33
                                2022-07-29 11:05:06.202 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-07-30 pv_estimate= 62.43 pv_estimate90= 72.27
                                2022-07-29 11:05:06.203 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-07-31 pv_estimate= 70.85 pv_estimate90= 74.84
                                2022-07-29 11:05:06.204 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-08-01 pv_estimate= 70.08 pv_estimate90= 70.56
                                2022-07-29 11:05:06.205 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-08-02 pv_estimate= 69.2 pv_estimate90= 69.51
                                2022-07-29 11:05:06.206 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-08-03 pv_estimate= 64.93 pv_estimate90= 66.08
                                2022-07-29 11:05:06.207 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Summe PV Leistung Tag 2022-08-04 pv_estimate= 61.97 pv_estimate90= 69.33
                                2022-07-29 11:05:06.242 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: RB UTC = 9:22
                                2022-07-29 11:05:06.243 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: RE UTC = 14:50
                                2022-07-29 11:05:06.243 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: LE UTC = 16:42
                                2022-07-29 11:05:06.272 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: ******************* Es wird die Globalstrahlung von Proplanta abgerufen *******************
                                2022-07-29 11:05:06.825 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Rueckmeldung InterrogateProplanta XHR.Status= 200
                                2022-07-29 11:05:06.887 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Näste Aktualisierung Wetterdaten =15:20 Uhr
                                2022-07-29 11:05:06.915 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Solcast in kWh = 55.6
                                2022-07-29 11:05:06.915 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Solcast 90 Perzentil in kWh = 71.7
                                2022-07-29 11:05:06.916 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose Proplanta in kWh = 51.33680640000001
                                2022-07-29 11:05:06.916 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag3 konnte nicht abgerufen werden ====-
                                2022-07-29 11:05:06.916 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag4 konnte nicht abgerufen werden ====-
                                2022-07-29 11:05:06.916 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag5 konnte nicht abgerufen werden ====-
                                2022-07-29 11:05:06.916 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag6 konnte nicht abgerufen werden ====-
                                2022-07-29 11:05:06.917 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose_kWh nach Abzug Korrekturfaktor = 50.794983040000005
                                2022-07-29 11:05:06.917 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bereits produzierte PV-Leistung = 5.612927602632132
                                2022-07-29 11:05:06.963 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Prognose_kWh_heute für Berechnung = 45.18205543736787
                                2022-07-29 11:05:07.041 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: BatterieProzent(wert)=22.304619539931974
                                2022-07-29 11:05:07.041 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Eigenverbrauch Tag = 22
                                2022-07-29 11:05:07.041 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: AktSpeicherSoC in % = 21
                                2022-07-29 11:05:07.041 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Ueberschuss in kWh 22.304619539931974 = (Prognose kWh 45.18205543736787 - Berechneter Eigenverbrauch 13.397435897435898) - FreieKapBatterie_kWh 9.48
                                2022-07-29 11:05:07.042 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Ueberschuss in Prozent = 100
                                2022-07-29 11:05:07.054 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bewölkungsgrad 12 Uhr Proplanta 75
                                2022-07-29 11:05:07.055 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Bewölkungsgrad 15 Uhr Proplanta 87.5
                                2022-07-29 11:05:07.055 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: Einstellung 2 aktiv EinstellungAnwahl=2
                                

                                Der Speicher lädt im Moment und es scheint alles zu laufen

                                A 1 Reply Last reply Reply Quote 0
                                • A
                                  ArnoD last edited by

                                  @stiwy18
                                  Ok, Danke.
                                  Das muss ich mir dann noch mal ansehen.
                                  Ich hatte das gleiche Problem beim ersten Test und hatte das eigentlich geändert, anscheinend habe ich da noch was übersehen.

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    ArnoD @Zelkin last edited by ArnoD

                                    @zelkin
                                    So sollte es aussehen, bis auf folgende Zeilen:

                                    2022-07-29 11:05:06.916 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag3 konnte nicht abgerufen werden ====-
                                    2022-07-29 11:05:06.916 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag4 konnte nicht abgerufen werden ====-
                                    2022-07-29 11:05:06.916 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag5 konnte nicht abgerufen werden ====-
                                    2022-07-29 11:05:06.916 - info: javascript.0 (32021) script.js.common.00_Haus.30_Zentral_Haus.E3DC_Charge_control: -==== Prognose für Tag6 konnte nicht abgerufen werden ====-
                                    

                                    Diese dürften eigentlich nicht im LOG erscheinen, vor allem da die Werte für nächsten 6 Tage vorhanden sind.
                                    Vermute das es mit dem Monatswechsel zu tun hat. Muss ich mir aber auch erst mal ansehen.

                                    Nachtrag: Die Meldungen sind so in Ordnung, wie vermutet hat das mit dem Monatswechsel zu tun, damit die alten Werte von diesem Monat nicht mit den neuen Werten vom nächsten Monat überschrieben werden.

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      ArnoD @stiwy18 last edited by ArnoD

                                      @stiwy18 sagte in E3DC Hauskraftwerk steuern:

                                      Jetzt ist mein Speicher in die Reserve gefallen Hier ist noch ein Bug mit dem Standby Verbrauch. Er belässt die Lade- und Entladeschwelle auf 0 Watt, auch wenn genug vom Dach generiert wird:

                                      Kannst du mir noch sagen, wie deine Einstellungen von Charge-Control waren?
                                      Interessant ist der Werte Ladeschwelle und eingestellte Notstromreserve.

                                      1 Reply Last reply Reply Quote 0
                                      • stiwy18
                                        stiwy18 last edited by

                                        Hi Arno,
                                        klar, so ist es eingestellt:
                                        34be2436-2b4d-4ab1-a76d-ed9c3df8c1bd-image.png
                                        Zu der Zeit war noch Einstellung 5 aktiv:
                                        1d06a9ab-b0f0-4248-b73a-4c3343b34659-image.png

                                        VG
                                        Stefan

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          ArnoD last edited by

                                          @stiwy18
                                          ok Danke.
                                          Eigentlich hätte geladen werden müssen.
                                          Was ist beim Adapter e3dc-rscp Objekt ID: e3dc-rscp.0.EMS.BAT_CHARGE_LIMIT für ein Wert eingetragen?

                                          1 Reply Last reply Reply Quote 0
                                          • stiwy18
                                            stiwy18 last edited by

                                            Aktuell sind es 3000 Watt
                                            8d7929f6-2304-48c6-ba67-9efd9758f2be-image.png
                                            Laut Log hat er erst bisschen komisch gestartet (MAX_Charge_Power, 0)
                                            258d7d41-72e7-4dcb-997d-de3343a3cb0b-image.png
                                            Und dann schaltet er dauernd zwischen 0 und 3000 hin und her, das macht er dann die ganze Zeit, bis ich die HT Werte geändert hab:
                                            8dd8c8a6-0274-4b30-98bf-4e4c34b163da-image.png
                                            Dann nachdem ich umgestellt habe, verhält er sich im Log wieder normal:
                                            34bf8d24-dbff-49f0-ba43-8cbf1c2221a0-image.png

                                            Viele Grüße,
                                            Stefan

                                            A 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            985
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            70
                                            3330
                                            1355492
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo