Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test PV Forecast Adapter

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.3k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.4k

Test PV Forecast Adapter

Geplant Angeheftet Gesperrt Verschoben Tester
forecastphotovoltaik
881 Beiträge 114 Kommentatoren 285.4k Aufrufe 108 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • M Maxtor62

    @haus-automatisierung

    Hi, Version 2.4.0 installiert. Mein Standort ist immer noch um ca. 6Km falsch. so wie am 03.11. schon erklärt.
    Wenn ich das richtig verstanden habe, sollten doch die Koordinaten von der Admin-Einstellung übernommen werden, oder?

    haus-automatisierungH Online
    haus-automatisierungH Online
    haus-automatisierung
    Developer Most Active
    schrieb am zuletzt editiert von
    #596

    @maxtor62 sagte in Test PV Forecast Adapter:

    Wenn ich das richtig verstanden habe, sollten doch die Koordinaten von der Admin-Einstellung übernommen werden, oder?

    Die "Admin-Einstellungen" sind ja die globalen system.config Einstellungen. Hat erstmal nichts mit dem Admin zu tun - der bietet dafür die Konfigurationsoberfläche an. Aber ja - man sieht auch im Log welche Koordinaten genutzt werden.

    Wenn da der Standort falsch ist, einfach genauere Koordinaten angeben? Was heißt "6km falsch"?

    🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
    🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
    📚 Meine inoffizielle ioBroker Dokumentation

    M 1 Antwort Letzte Antwort
    0
    • HeimwehH Heimweh

      @haus-automatisierung super danke schonmal für den Support

      HeimwehH Offline
      HeimwehH Offline
      Heimweh
      schrieb am zuletzt editiert von
      #597

      @heimweh kommt die neue Version dann als Update?

      haus-automatisierungH 1 Antwort Letzte Antwort
      0
      • HeimwehH Heimweh

        @heimweh kommt die neue Version dann als Update?

        haus-automatisierungH Online
        haus-automatisierungH Online
        haus-automatisierung
        Developer Most Active
        schrieb am zuletzt editiert von
        #598

        @heimweh Ist als Beta-Version bereits im Repo (2.4.0)

        🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
        🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
        📚 Meine inoffizielle ioBroker Dokumentation

        HeimwehH 1 Antwort Letzte Antwort
        0
        • haus-automatisierungH haus-automatisierung

          @maxtor62 sagte in Test PV Forecast Adapter:

          Wenn ich das richtig verstanden habe, sollten doch die Koordinaten von der Admin-Einstellung übernommen werden, oder?

          Die "Admin-Einstellungen" sind ja die globalen system.config Einstellungen. Hat erstmal nichts mit dem Admin zu tun - der bietet dafür die Konfigurationsoberfläche an. Aber ja - man sieht auch im Log welche Koordinaten genutzt werden.

          Wenn da der Standort falsch ist, einfach genauere Koordinaten angeben? Was heißt "6km falsch"?

          M Offline
          M Offline
          Maxtor62
          schrieb am zuletzt editiert von
          #599

          @haus-automatisierung sagte in Test PV Forecast Adapter:

          @maxtor62 sagte in Test PV Forecast Adapter:

          Wenn ich das richtig verstanden habe, sollten doch die Koordinaten von der Admin-Einstellung übernommen werden, oder?

          Die "Admin-Einstellungen" sind ja die globalen system.config Einstellungen. Hat erstmal nichts mit dem Admin zu tun - der bietet dafür die Konfigurationsoberfläche an. Aber ja - man sieht auch im Log welche Koordinaten genutzt werden.

          Wenn da der Standort falsch ist, einfach genauere Koordinaten angeben? Was heißt "6km falsch"?

          Die Koordinaten stimmen absolut. In der Admin-Konfigurationsoberfläche sind die Daten korrekt. Der Standort wir auf den Meter genau angezeigt. Die Stecknadel ist genau vor meiner Haustür. Nur der Ort im DP "place" (Standortinformationen) ist 6km entfernt.

          Wer meint er ist was, hat aufgehört was zu werden

          haus-automatisierungH 1 Antwort Letzte Antwort
          0
          • M Maxtor62

            @haus-automatisierung sagte in Test PV Forecast Adapter:

            @maxtor62 sagte in Test PV Forecast Adapter:

            Wenn ich das richtig verstanden habe, sollten doch die Koordinaten von der Admin-Einstellung übernommen werden, oder?

            Die "Admin-Einstellungen" sind ja die globalen system.config Einstellungen. Hat erstmal nichts mit dem Admin zu tun - der bietet dafür die Konfigurationsoberfläche an. Aber ja - man sieht auch im Log welche Koordinaten genutzt werden.

            Wenn da der Standort falsch ist, einfach genauere Koordinaten angeben? Was heißt "6km falsch"?

            Die Koordinaten stimmen absolut. In der Admin-Konfigurationsoberfläche sind die Daten korrekt. Der Standort wir auf den Meter genau angezeigt. Die Stecknadel ist genau vor meiner Haustür. Nur der Ort im DP "place" (Standortinformationen) ist 6km entfernt.

            haus-automatisierungH Online
            haus-automatisierungH Online
            haus-automatisierung
            Developer Most Active
            schrieb am zuletzt editiert von
            #600

            @maxtor62 sagte in Test PV Forecast Adapter:

            Nur der Ort im DP "place" (Standortinformationen) ist 6km entfernt.

            Keine Ahnung wie der aufgelöst wird. Da würde ich nicht zu viel drauf geben. Ist bestimmt nur der nächste größere Ort in der Nähe?! Müsste man bei den API-Anbietern mal nachfragen.

            🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
            🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
            📚 Meine inoffizielle ioBroker Dokumentation

            cashC 1 Antwort Letzte Antwort
            1
            • haus-automatisierungH haus-automatisierung

              @heimweh Ist als Beta-Version bereits im Repo (2.4.0)

              HeimwehH Offline
              HeimwehH Offline
              Heimweh
              schrieb am zuletzt editiert von
              #601

              @haus-automatisierung bei mir leider nicht - ich bekomme keine 2.4.0 angezeigt...

              LatziL 1 Antwort Letzte Antwort
              0
              • HeimwehH Heimweh

                @haus-automatisierung bei mir leider nicht - ich bekomme keine 2.4.0 angezeigt...

                LatziL Online
                LatziL Online
                Latzi
                schrieb am zuletzt editiert von
                #602

                @heimweh

                github:	2.4.0
                latest:	2.4.0 for 3 days
                stable:	2.3.0 for 5 months
                
                HeimwehH 1 Antwort Letzte Antwort
                0
                • LatziL Latzi

                  @heimweh

                  github:	2.4.0
                  latest:	2.4.0 for 3 days
                  stable:	2.3.0 for 5 months
                  
                  HeimwehH Offline
                  HeimwehH Offline
                  Heimweh
                  schrieb am zuletzt editiert von
                  #603

                  @latzi - bei mir sieht das so aus:

                  48945555-889e-43da-9a49-d76f7f0caa13-image.png

                  03e51c78-e48f-43b2-b9cb-cb699b5b5454-image.png

                  JohGreJ LatziL 2 Antworten Letzte Antwort
                  0
                  • HeimwehH Heimweh

                    @latzi - bei mir sieht das so aus:

                    48945555-889e-43da-9a49-d76f7f0caa13-image.png

                    03e51c78-e48f-43b2-b9cb-cb699b5b5454-image.png

                    JohGreJ Offline
                    JohGreJ Offline
                    JohGre
                    schrieb am zuletzt editiert von
                    #604

                    @heimweh ich hab im Beta Kanal das eingetragen

                    http://iobroker.live/repo/sources-dist-latest.json
                    

                    nuc i5: RaspberryMatic, ioBroker, pi-hole, SQL-Server, OMV-NAS, Influx-DB & Grafana, OpenHab, tasmoadmin

                    HeimwehH 1 Antwort Letzte Antwort
                    0
                    • JohGreJ JohGre

                      @heimweh ich hab im Beta Kanal das eingetragen

                      http://iobroker.live/repo/sources-dist-latest.json
                      
                      HeimwehH Offline
                      HeimwehH Offline
                      Heimweh
                      schrieb am zuletzt editiert von
                      #605

                      @johgre sagte in Test PV Forecast Adapter:

                      http://iobroker.live/repo/sources-dist-latest.json

                      ok - ich trage es mal ein. Hatte gestern extra nochmal geschaut wie der Link zum Beta Repo ist...

                      1 Antwort Letzte Antwort
                      0
                      • HeimwehH Heimweh

                        @latzi - bei mir sieht das so aus:

                        48945555-889e-43da-9a49-d76f7f0caa13-image.png

                        03e51c78-e48f-43b2-b9cb-cb699b5b5454-image.png

                        LatziL Online
                        LatziL Online
                        Latzi
                        schrieb am zuletzt editiert von
                        #606

                        @heimweh
                        hier mal aktualisiert?

                        880a13b8-6956-4c15-869c-cd6fe3377fa9-image.png

                        Ich verwende auch http://iobroker.live/repo/sources-dist-latest.json im beta

                        HeimwehH 1 Antwort Letzte Antwort
                        0
                        • LatziL Latzi

                          @heimweh
                          hier mal aktualisiert?

                          880a13b8-6956-4c15-869c-cd6fe3377fa9-image.png

                          Ich verwende auch http://iobroker.live/repo/sources-dist-latest.json im beta

                          HeimwehH Offline
                          HeimwehH Offline
                          Heimweh
                          schrieb am zuletzt editiert von
                          #607

                          @latzi das wars - Danke...

                          1 Antwort Letzte Antwort
                          0
                          • T THELOH

                            @patrickwalther
                            Moin zusammen,
                            da ich die Material Design Widgets nicht nutze sondern Grafana habe ich den Trend in Inventwo Widgets eingebettet. So kann ich Designs fürs Panel umschalten etc.

                            Etwas komplizierter war es einen Datenpunkt zu ereugen, der die richtigen Zeitstempel für die Zukunft schreibt. Also die Werte von Heute 05-21 Uhr und Morgen 05-21Uhr in einem DP in die InfluxDB schreibt.

                            Das wäre vielleicht noch eine Idee für den Adapter, da ich bei der Suche zur Umsetzung viele Fragen zum Thema und keine Lösung gefunden habe...
                            Beste Grüße

                            6fd348ac-6425-4764-8ae9-c80937cb7648-grafik.png

                            icebearI Online
                            icebearI Online
                            icebear
                            schrieb am zuletzt editiert von
                            #608

                            @theloh said in Test PV Forecast Adapter:

                            Etwas komplizierter war es einen Datenpunkt zu ereugen, der die richtigen Zeitstempel für die Zukunft schreibt. Also die Werte von Heute 05-21 Uhr und Morgen 05-21Uhr in einem DP in die InfluxDB schreibt.

                            Könntest du mal kurz erklären wie du das umgesetzt hast?
                            Ich würde das gern auch so machen.

                            Gruß Holger

                            T 1 Antwort Letzte Antwort
                            0
                            • icebearI icebear

                              @theloh said in Test PV Forecast Adapter:

                              Etwas komplizierter war es einen Datenpunkt zu ereugen, der die richtigen Zeitstempel für die Zukunft schreibt. Also die Werte von Heute 05-21 Uhr und Morgen 05-21Uhr in einem DP in die InfluxDB schreibt.

                              Könntest du mal kurz erklären wie du das umgesetzt hast?
                              Ich würde das gern auch so machen.

                              Gruß Holger

                              T Offline
                              T Offline
                              THELOH
                              schrieb am zuletzt editiert von
                              #609

                              @icebear Welche Infos benötigst du? Wie ich den Datenpunkt der in Grafana genutzt wird erzeuge?

                              icebearI 1 Antwort Letzte Antwort
                              0
                              • T THELOH

                                @icebear Welche Infos benötigst du? Wie ich den Datenpunkt der in Grafana genutzt wird erzeuge?

                                icebearI Online
                                icebearI Online
                                icebear
                                schrieb am zuletzt editiert von
                                #610

                                @theloh

                                Genau. Wie hast du den DP erzeugt der die Daten dann in die Datenbank schreibt und in Grafana genutzt wird.

                                T 1 Antwort Letzte Antwort
                                0
                                • icebearI icebear

                                  @theloh

                                  Genau. Wie hast du den DP erzeugt der die Daten dann in die Datenbank schreibt und in Grafana genutzt wird.

                                  T Offline
                                  T Offline
                                  THELOH
                                  schrieb am zuletzt editiert von THELOH
                                  #611

                                  @icebear Die Datenpunkte mit den einzelnen Zielzeiten brauchst du nicht....
                                  Damit meine ich:
                                  summary.power.hoursToday.05:00:00-21:00:00_TS
                                  summary.power.hoursTomorrow.05:00:00-21:00:00_TS
                                  Es sei denn die möchtest zwei Datwnpunkte für Heute und Morgen getrennt.
                                  Der Datenpunkt den ich im 48h Grafanbild oben habe ist der summary.power.Power_TS

                                  Du kannst also jeden zweite Zeile löschen.
                                  VG

                                  on({id: [].concat(['0_userdata.0.influxdb.pvforecast.0.Steuerung.Zeitstempel_Skript']), change: "ne"}, async function (obj) {
                                  function getDatum(iSTD){
                                      let time = new Date();
                                      time.setHours(iSTD);
                                      time.setMinutes(0);
                                      time.setSeconds(0);
                                      time.setMilliseconds(0);
                                      return time.getTime()
                                  }
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(5), val: getState("pvforecast.0.summary.power.hoursToday.05:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(5), val: getState("pvforecast.0.summary.power.hoursToday.05:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(6), val: getState("pvforecast.0.summary.power.hoursToday.06:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(6), val: getState("pvforecast.0.summary.power.hoursToday.06:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(7), val: getState("pvforecast.0.summary.power.hoursToday.07:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(7), val: getState("pvforecast.0.summary.power.hoursToday.07:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(8), val: getState("pvforecast.0.summary.power.hoursToday.08:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(8), val: getState("pvforecast.0.summary.power.hoursToday.08:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(9), val: getState("pvforecast.0.summary.power.hoursToday.09:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(9), val: getState("pvforecast.0.summary.power.hoursToday.09:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(10), val: getState("pvforecast.0.summary.power.hoursToday.10:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(10), val: getState("pvforecast.0.summary.power.hoursToday.10:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(11), val: getState("pvforecast.0.summary.power.hoursToday.11:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(11), val: getState("pvforecast.0.summary.power.hoursToday.11:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(12), val: getState("pvforecast.0.summary.power.hoursToday.12:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(12), val: getState("pvforecast.0.summary.power.hoursToday.12:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(13), val: getState("pvforecast.0.summary.power.hoursToday.13:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(13), val: getState("pvforecast.0.summary.power.hoursToday.13:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(14), val: getState("pvforecast.0.summary.power.hoursToday.14:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(14), val: getState("pvforecast.0.summary.power.hoursToday.14:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(15), val: getState("pvforecast.0.summary.power.hoursToday.15:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(15), val: getState("pvforecast.0.summary.power.hoursToday.15:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(16), val: getState("pvforecast.0.summary.power.hoursToday.16:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(16), val: getState("pvforecast.0.summary.power.hoursToday.16:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(17), val: getState("pvforecast.0.summary.power.hoursToday.17:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(17), val: getState("pvforecast.0.summary.power.hoursToday.17:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(18), val: getState("pvforecast.0.summary.power.hoursToday.18:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(18), val: getState("pvforecast.0.summary.power.hoursToday.18:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(19), val: getState("pvforecast.0.summary.power.hoursToday.19:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(19), val: getState("pvforecast.0.summary.power.hoursToday.19:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(20), val: getState("pvforecast.0.summary.power.hoursToday.20:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(20), val: getState("pvforecast.0.summary.power.hoursToday.20:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(21), val: getState("pvforecast.0.summary.power.hoursToday.21:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(21), val: getState("pvforecast.0.summary.power.hoursToday.21:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(5) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.05:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(5) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.05:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(6) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.06:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(6) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.06:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(7) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.07:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(7) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.07:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(8) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.08:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(8) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.08:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(9) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.09:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(9) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.09:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(10) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.10:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(10) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.10:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(11) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.11:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(11) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.11:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(12) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.12:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(12) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.12:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(13) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.13:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(13) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.13:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(14) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.14:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(14) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.14:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(15) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.15:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(15) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.15:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(16) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.16:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(16) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.16:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(17) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.17:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(17) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.17:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(18) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.18:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(18) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.18:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(19) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.19:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(19) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.19:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(20) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.20:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(20) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.20:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(21) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.21:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(21) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.21:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                  });
                                  
                                  GlasfaserG 1 Antwort Letzte Antwort
                                  0
                                  • T THELOH

                                    @icebear Die Datenpunkte mit den einzelnen Zielzeiten brauchst du nicht....
                                    Damit meine ich:
                                    summary.power.hoursToday.05:00:00-21:00:00_TS
                                    summary.power.hoursTomorrow.05:00:00-21:00:00_TS
                                    Es sei denn die möchtest zwei Datwnpunkte für Heute und Morgen getrennt.
                                    Der Datenpunkt den ich im 48h Grafanbild oben habe ist der summary.power.Power_TS

                                    Du kannst also jeden zweite Zeile löschen.
                                    VG

                                    on({id: [].concat(['0_userdata.0.influxdb.pvforecast.0.Steuerung.Zeitstempel_Skript']), change: "ne"}, async function (obj) {
                                    function getDatum(iSTD){
                                        let time = new Date();
                                        time.setHours(iSTD);
                                        time.setMinutes(0);
                                        time.setSeconds(0);
                                        time.setMilliseconds(0);
                                        return time.getTime()
                                    }
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(5), val: getState("pvforecast.0.summary.power.hoursToday.05:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(5), val: getState("pvforecast.0.summary.power.hoursToday.05:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(6), val: getState("pvforecast.0.summary.power.hoursToday.06:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(6), val: getState("pvforecast.0.summary.power.hoursToday.06:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(7), val: getState("pvforecast.0.summary.power.hoursToday.07:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(7), val: getState("pvforecast.0.summary.power.hoursToday.07:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(8), val: getState("pvforecast.0.summary.power.hoursToday.08:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(8), val: getState("pvforecast.0.summary.power.hoursToday.08:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(9), val: getState("pvforecast.0.summary.power.hoursToday.09:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(9), val: getState("pvforecast.0.summary.power.hoursToday.09:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(10), val: getState("pvforecast.0.summary.power.hoursToday.10:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(10), val: getState("pvforecast.0.summary.power.hoursToday.10:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(11), val: getState("pvforecast.0.summary.power.hoursToday.11:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(11), val: getState("pvforecast.0.summary.power.hoursToday.11:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(12), val: getState("pvforecast.0.summary.power.hoursToday.12:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(12), val: getState("pvforecast.0.summary.power.hoursToday.12:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(13), val: getState("pvforecast.0.summary.power.hoursToday.13:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(13), val: getState("pvforecast.0.summary.power.hoursToday.13:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(14), val: getState("pvforecast.0.summary.power.hoursToday.14:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(14), val: getState("pvforecast.0.summary.power.hoursToday.14:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(15), val: getState("pvforecast.0.summary.power.hoursToday.15:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(15), val: getState("pvforecast.0.summary.power.hoursToday.15:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(16), val: getState("pvforecast.0.summary.power.hoursToday.16:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(16), val: getState("pvforecast.0.summary.power.hoursToday.16:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(17), val: getState("pvforecast.0.summary.power.hoursToday.17:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(17), val: getState("pvforecast.0.summary.power.hoursToday.17:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(18), val: getState("pvforecast.0.summary.power.hoursToday.18:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(18), val: getState("pvforecast.0.summary.power.hoursToday.18:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(19), val: getState("pvforecast.0.summary.power.hoursToday.19:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(19), val: getState("pvforecast.0.summary.power.hoursToday.19:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(20), val: getState("pvforecast.0.summary.power.hoursToday.20:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(20), val: getState("pvforecast.0.summary.power.hoursToday.20:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(21), val: getState("pvforecast.0.summary.power.hoursToday.21:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursToday.05:00:00-21:00:00_TS', state: {ts: getDatum(21), val: getState("pvforecast.0.summary.power.hoursToday.21:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(5) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.05:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(5) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.05:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(6) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.06:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(6) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.06:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(7) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.07:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(7) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.07:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(8) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.08:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(8) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.08:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(9) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.09:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(9) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.09:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(10) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.10:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(10) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.10:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(11) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.11:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(11) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.11:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(12) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.12:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(12) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.12:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(13) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.13:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(13) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.13:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(14) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.14:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(14) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.14:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(15) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.15:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(15) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.15:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(16) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.16:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(16) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.16:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(17) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.17:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(17) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.17:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(18) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.18:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(18) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.18:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(19) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.19:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(19) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.19:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(20) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.20:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(20) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.20:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.Power_TS', state: {ts: getDatum(21) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.21:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    sendTo('influxdb.0', 'storeState', {id: 'summary.power.hoursTomorrow.05:00:00-21:00:00_TS', state: {ts: getDatum(21) + 86400000, val: getState("pvforecast.0.summary.power.hoursTomorrow.21:00:00").val, ack: true, from: "javascript.0", q: 0}});
                                    });
                                    
                                    GlasfaserG Offline
                                    GlasfaserG Offline
                                    Glasfaser
                                    schrieb am zuletzt editiert von
                                    #612

                                    @theloh

                                    kannst du bitte die zu Codes , in Code-Tags </> einfügen
                                    ...

                                    dp2.gif

                                    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                    1 Antwort Letzte Antwort
                                    1
                                    • B Offline
                                      B Offline
                                      bastian-m
                                      schrieb am zuletzt editiert von
                                      #613

                                      @haus-automatisierung Vielen Dank für deine Entwicklungs- und Pflegearbeit für den Adapter.

                                      Ich habe ein kleines Feature-Request:
                                      Mir ist die Eigenheit von Solcast bekannt, dass wenn man tagsüber eine Aktualisierung der Vorhersage abrufen würde, die bis dahin schon vergangenen Stunden seit Sonnenaufgang nicht mehr Teil der aktualisierten Prognose sind und deswegen der Adapter die Solcast-Daten nur einmal in der Nacht abruft. Für meinen Anwendungsfall wäre es klasse, wenn ich trotzdem eine Aktualisierung triggern könnte - mein Vorschlag wäre über einen Datenpunkt. Ich arbeite im Moment an der Implementierung einer "echten" prognosebasierten Verbrauchersteuerung über ioBroker auf Basis dieses Adapters. Beispiel: Ich räume um 11 Uhr die Spülmaschine ein, die ungefähre Leistungsaufnahme der Maschine im Betrieb und die Programmdauer sind eingepflegt, der ioBroker startet die Spülmaschine zu dem Zeitpunkt, wenn der höchste PV-Eigenverbrauch zu erwarten ist. Dafür wird die Ertragsprognose für den Rest des Tages frisch aktualisiert. Die Prognosegüte steigt teils erheblich dadurch.

                                      Liebe Grüße und allen einen guten Rutsch!

                                      B 1 Antwort Letzte Antwort
                                      0
                                      • B bastian-m

                                        @haus-automatisierung Vielen Dank für deine Entwicklungs- und Pflegearbeit für den Adapter.

                                        Ich habe ein kleines Feature-Request:
                                        Mir ist die Eigenheit von Solcast bekannt, dass wenn man tagsüber eine Aktualisierung der Vorhersage abrufen würde, die bis dahin schon vergangenen Stunden seit Sonnenaufgang nicht mehr Teil der aktualisierten Prognose sind und deswegen der Adapter die Solcast-Daten nur einmal in der Nacht abruft. Für meinen Anwendungsfall wäre es klasse, wenn ich trotzdem eine Aktualisierung triggern könnte - mein Vorschlag wäre über einen Datenpunkt. Ich arbeite im Moment an der Implementierung einer "echten" prognosebasierten Verbrauchersteuerung über ioBroker auf Basis dieses Adapters. Beispiel: Ich räume um 11 Uhr die Spülmaschine ein, die ungefähre Leistungsaufnahme der Maschine im Betrieb und die Programmdauer sind eingepflegt, der ioBroker startet die Spülmaschine zu dem Zeitpunkt, wenn der höchste PV-Eigenverbrauch zu erwarten ist. Dafür wird die Ertragsprognose für den Rest des Tages frisch aktualisiert. Die Prognosegüte steigt teils erheblich dadurch.

                                        Liebe Grüße und allen einen guten Rutsch!

                                        B Offline
                                        B Offline
                                        bastian-m
                                        schrieb am zuletzt editiert von
                                        #614

                                        Ich sehe gerade, ein Neustart der Instanz tut offenbar genau das...

                                        1 Antwort Letzte Antwort
                                        0
                                        • R Offline
                                          R Offline
                                          RichardDgn
                                          schrieb am zuletzt editiert von
                                          #615

                                          Guten Abend,
                                          ich bin absoluter Neuling was ioBroker, influxDB, Raspberry, usw. angeht, versuche aber aktuell mein Glück mit allem was ich in die Finger bekomme.

                                          Soweit funktioniert die Abfrage über ioBroker mit PV-Prognose wunderbar, das einzige was ich aktuell noch vermisse ist die prognostizierte Wattstundensumme je voller Stunde über "forecast". (ist der dritte Responseblock über die Beispiel-API: 'https://api.forecast.solar/estimate/50/10/25/45/13')
                                          Hiermit könnte man beispielsweise, je nach Ausstattung, einen Batteriespeicher bis zu einer Grenze entladen, da man ja im Vorfeld "weiß", wieviel Ertrag in kWh generiert werden sollte.

                                          Ist die Implementierung dieser Werte in Zukunft geplant?

                                          Ich traue mir ganz ungern zu das Script zu zerlegen.

                                          Herzlichen Dank für eure enormen Leistungen und viele Grüße!

                                          haus-automatisierungH 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          673

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe