Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. HowTo: Zusatz-Programme fuer jarvis v3

    NEWS

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    HowTo: Zusatz-Programme fuer jarvis v3

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MCU @Mabbi last edited by MCU

      @mabbi ok

      • Jetzt erstmal unter 0_userdata das Verzeichnis 0_userdata.0.echarts löschen.
      • dann Verzeichnis für echartDP im Programm wieder auf Standard zurücksetzen und Programm speichern -> DPs werden wieder angelegt
      let echartDP                = '0_userdata.0.echarts';
      
      • Im Verzeichnis 0_userdata.0.echarts gibt es nun den DP echartsDP, da kommt nun Dein echarts.0.D_Energie_copyals Wert eingetragen.

      dde2158e-9920-4fcd-ae13-ea704c9df5ef-image.png

      M mickemup 2 Replies Last reply Reply Quote 0
      • M
        Mabbi @MCU last edited by

        @mcu Cool, jetzt gehts.

        efabe78b-fa01-4422-aad2-ea024b722851-grafik.png

        Mein Fehler war die Änderung des javascripts, dadurch wurden die 0_userdata.0.echarts mehrfach angelegt.
        Hatte mich schon gewundert, warum die 2x vorhanden waren.

        Vielen Dank für Deine Hilfe.

        1 Reply Last reply Reply Quote 0
        • mickemup
          mickemup @MCU last edited by

          @mcu

          Salü

          Ich habe versucht mit folgenden Skript zu arbeiten:
          Widgets aus- / einblenden
          Scripts "widgetsDisplay.js" kopieren und in Scripts (jarvis) einfügen.

          was eigentlich auch funktioniert hat.

          Meine Idee ist mittels Selektion (klick auf Objekt im Eflussadapter) links unten dann das entsprechende Widget einzublenden (und die anderen auszublenden).
          Dies kriege ich auch hin, allerdings würde ich die alle gerne am "gleichen" Ort haben und nicht ein Lücke haben dort wo das ausgeblendete ist:

          b9fe815f-3fed-4983-9ee1-727367eb67cd-image.png

          Ist das irgendwie möglich?

          Alternativ-Elegant wäre natürlich auch, wenn man bei "Assign Widget to Box" die ID "relativ" setzen könnte z.B zu einem eigenen DP, dann bleibt die Position natürlich 🙂 .

          Grüsse

          Jarvis V3.1.8

          M 1 Reply Last reply Reply Quote 0
          • M
            MCU @mickemup last edited by

            @mickemup
            Bin noch dabei
            https://mcuiobroker.gitbook.io/jarvis-infos/jarvis-v3/besonderheiten-v3/scripts-3.2.x-pro/widgets/widgetshiding

            Die "Alternative" schau ich mir auch mal an.

            mickemup 1 Reply Last reply Reply Quote 1
            • mickemup
              mickemup @MCU last edited by

              @mcu
              Super Danke.

              Für meinen Fall wäre die Alternative wohl fast einfacher (für mich) dann muss ich nur einen Werte ändern.
              Ansonsten muss ich immer eins: einschalten und das alte ausschalten.

              Analog mache ich dies bei mir schon mit StateHTML, wo der jeweilige "Grafana-Iframe" in einem DP steht, welcher dann angepasst wird.

              M 1 Reply Last reply Reply Quote 0
              • M
                MCU @mickemup last edited by

                @mickemup In Deinem Fall müsste man die Ordernumber von diesem Widget ändern, richtig?.
                3d6e0f61-1b6f-475f-86af-d1801ec0f643-image.png

                mickemup 1 Reply Last reply Reply Quote 0
                • mickemup
                  mickemup @MCU last edited by

                  @mcu

                  Genau: das Widget oberhalb ist ausgeblendet und das von dir gezeigte sollte eigentlich dann dort sein.

                  Ich hätte wohl am Ende so um die 10 Widgets, aber will nur immer 1 zeigen am selben Ort.

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    MCU @mickemup last edited by

                    @mickemup Sind diese 10 alle eCharts als iFrame?

                    mickemup 1 Reply Last reply Reply Quote 0
                    • mickemup
                      mickemup @MCU last edited by

                      @mcu
                      Also oben links habe ich es so StateHTML gelöst.
                      Diese verweisen auf einen Datenpunkt und dort drin passe ich bei einem Klick z.B auf die Produktionsleistung den DP vom StateHTML an:

                      <iframe src="http://192.168.1.203:3000/d-solo/b3395744-04be-4f4d-83ca-358dd5afe53b/energie-live?orgId=1&refresh=30s&theme=light&panelId=27&__feature.dashboardSceneSolo=false" width="100%"  height="325"  frameborder="0"></iframe>
                      
                      

                      Wenn ich analog die ID in "Assign Widget to Box" Widget ID anpassen könnte, wäre es für mich ideal:
                      Unten links sind alles "State Lists" die ich gerne anzeigen würde:

                      cd27e808-ce57-4de3-857a-da1afdc32d8a-image.png

                      Also Anstatt die beiden (oder eben am Ende ca. 10) soll dort nur ein Widget (State List) dargestellt werden.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        MCU @mickemup last edited by

                        @mickemup Grafana?

                        mickemup 1 Reply Last reply Reply Quote 0
                        • mickemup
                          mickemup @MCU last edited by mickemup

                          @mcu Oben links kann ich meine Grafana-Plots durchswitchen ja.

                          Unten Links würde ich das gleiche gerne mit "StateLists" machen.
                          Ober eben halt nur die ausgewählte/rechts angeklickte anzeigen.

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            MCU @mickemup last edited by

                            @mickemup Also jede "Kurve" hat dazu eine eigene StateList, die dann, direkt darunter, angezeigt werden soll?

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

                              @mcu
                              Sry nein das ist unabhängig.

                              Mit Klicks auf die grün markiertern Leistungswerte Toggle ich oben links durch die Grafiken.
                              Das funktioniert bereits 1A.

                              Mit Klicks auf die orange markierten Kreise (werden evtl. noch mehr) würde ich gerne durch StateLists "togglen" welche dann unten Links stehen sollen.
                              Ich hoff ,ich konnte mich verständlich ausdrücken.

                              33eb94c0-8737-402f-b961-24f6b54d9610-image.png

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                MCU @mickemup last edited by

                                @mickemup
                                Order number ändern zieht nur auf dem Handy. Wäre schneller, da man nur die Reihenfolge ändern müsste.
                                Aber für PC und Tablet muss man alle nachfolgenden bzw. darunter liegenden Widgets neu berechnen, in Abhängigkeit von der Anzeige (einige sind ja ausgeblendet) und den Werten vom aktuellen Widget, welches man an die neue Position setzen will.

                                1 Reply Last reply Reply Quote 0
                                • M
                                  Mabbi last edited by

                                  Also man kann mit dem echarts schon richtig coole Dinge bauen:

                                  489ccf0b-051f-4682-804e-ed3052e26db0-grafik.png

                                  Vielen Dank für die Arbeit, die Ihr da reinsteckt.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    MCU last edited by

                                    @mabbi Stell bitte die JSON der Modul-Konfiguration hinein, damit man sich daran orientieren kann, wenn man es nachbauen möchte. Danke.

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      Mabbi @MCU last edited by Mabbi

                                      @mcu

                                      Würde ich grne machen, aber wo finde ich die ?
                                      Ich habe die beiden Anzeigen komplett mit dem Diagramme-Editor gebaut und dann in vis eingfügt.
                                      Finde dort aber keine Möglichkeit, ein json anzuzeigen oder zu exportieren.

                                      In Dateien/echart liegen zwar json Dateien drin, die haben aber imho nichts direkt mit den Diagrammen zu tun ?

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        MCU @Mabbi last edited by

                                        @mabbi Aus dem zugehörigen eCharts-Objekt die Daten von native.data als </> code.
                                        2dd9fde0-4ec9-4ade-ac03-233e78db9e23-image.png

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          Mabbi @MCU last edited by Mabbi

                                          @mcu: Mir hätte der Hinweis gereicht, dass ich dazu Expertenmodus brauche 🙂

                                          Das wäre z.B. der untere chart für die Akku-Visualisierung:

                                          • die XXX repräsentieren Platzhalter für persönliche Daten
                                          • die Skalierung bei der Energiefluss-Visualisierung ist auf 20 KW begrenzt obwohl die Anlage in der Spitze knapp 23 KW-Peak kann, mich interessieren die seltenen Spitzen einfach nicht und so ist es optisch besser dargestellt
                                          {
                                            "common": {
                                              "name": "D_Akku"
                                            },
                                            "native": {
                                              "url": "",
                                              "data": {
                                                "lines": [
                                                  {
                                                    "name": "SOC",
                                                    "id": "zendure-solarflow.0.XXX.XXX.electricLevel",
                                                    "instance": "system.adapter.history.0",
                                                    "thickness": "1",
                                                    "chartType": "spline",
                                                    "aggregate": "minmax",
                                                    "isBoolean": null,
                                                    "symbolSize": 3,
                                                    "validTime": "",
                                                    "unit": "  %",
                                                    "color": "#0052ff",
                                                    "fill": 0.4,
                                                    "shadowsize": "",
                                                    "min": "-100",
                                                    "max": "100",
                                                    "ignoreNull": "0",
                                                    "noFuture": false,
                                                    "percentile": 50,
                                                    "integralUnit": 60,
                                                    "integralInterpolation": "none",
                                                    "yticks": "2",
                                                    "xaxe": "",
                                                    "xticks": "6",
                                                    "yOffset": "0",
                                                    "points": false,
                                                    "hide": false,
                                                    "yaxe": "off"
                                                  },
                                                  {
                                                    "name": "Laden",
                                                    "id": "zendure-solarflow.0.XXX.XXX.gridInputPower",
                                                    "instance": "system.adapter.history.0",
                                                    "thickness": "1",
                                                    "chartType": "steps",
                                                    "aggregate": "minmax",
                                                    "symbolSize": 3,
                                                    "validTime": "",
                                                    "xaxe": "off",
                                                    "unit": "  kw",
                                                    "min": "-2.300",
                                                    "max": "2.300",
                                                    "color": "#147e4b",
                                                    "fill": 0.2,
                                                    "commonYAxis": "",
                                                    "yticks": "-1",
                                                    "ignoreNull": "0",
                                                    "noFuture": false,
                                                    "yaxe": "left",
                                                    "convert": "val / 1000"
                                                  },
                                                  {
                                                    "name": "Entladen",
                                                    "id": "zendure-solarflow.0.XXX.XXX.outputHomePower",
                                                    "instance": "system.adapter.history.0",
                                                    "thickness": "1",
                                                    "chartType": "steps",
                                                    "aggregate": "minmax",
                                                    "symbolSize": 3,
                                                    "validTime": "",
                                                    "xaxe": "off",
                                                    "unit": "W",
                                                    "color": "#901d1e",
                                                    "convert": "val * -1 / 1000",
                                                    "max": "2.300",
                                                    "min": "-2.300",
                                                    "fill": 0.2,
                                                    "yOffset": "",
                                                    "ignoreNull": "0",
                                                    "noFuture": false,
                                                    "yticks": "1",
                                                    "yaxe": "off",
                                                    "commonYAxis": "1"
                                                  },
                                                  {
                                                    "name": "Leistung gesamt",
                                                    "id": "0_userdata.0.Datenpunkte.PV.Leistung_gesamt",
                                                    "instance": "system.adapter.sql.0",
                                                    "thickness": "1",
                                                    "chartType": "line",
                                                    "aggregate": "onchange",
                                                    "isBoolean": null,
                                                    "symbolSize": 3,
                                                    "validTime": 35,
                                                    "fill": 0.1,
                                                    "min": "-8",
                                                    "max": "22",
                                                    "convert": "val / 1000",
                                                    "color": "#b89021",
                                                    "xticks": "4",
                                                    "commonYAxis": "1",
                                                    "ignoreNull": "0"
                                                  }
                                                ],
                                                "marks": [
                                                  {
                                                    "color": "#0051ff",
                                                    "lineId": "0",
                                                    "upperValueOrId": "10",
                                                    "lowerValueOrId": "",
                                                    "lineStyle": "dashed",
                                                    "text": "10 % ",
                                                    "textColor": "#0051ff"
                                                  },
                                                  {
                                                    "color": "#5c1011",
                                                    "lineId": "2",
                                                    "upperValueOrId": "-0.5",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "500 W ",
                                                    "textSize": "10",
                                                    "textColor": "#9b2e2f"
                                                  },
                                                  {
                                                    "color": "#5c1011",
                                                    "lineId": "2",
                                                    "upperValueOrId": "-1",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "1000 W ",
                                                    "textSize": "10",
                                                    "textColor": "#9b2e2f"
                                                  },
                                                  {
                                                    "color": "#5c1011",
                                                    "lineId": "2",
                                                    "upperValueOrId": "-1.5",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "1500 W ",
                                                    "textSize": "10",
                                                    "textColor": "#9b2e2f"
                                                  },
                                                  {
                                                    "color": "#1d6923",
                                                    "lineId": "1",
                                                    "upperValueOrId": "2",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "2000 W ",
                                                    "textSize": "10",
                                                    "textColor": "#1d6923"
                                                  },
                                                  {
                                                    "color": "#1d6923",
                                                    "lineId": "1",
                                                    "upperValueOrId": "1.5",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "1500 W ",
                                                    "textSize": "10",
                                                    "textColor": "#1d6923"
                                                  },
                                                  {
                                                    "color": "#1d6923",
                                                    "lineId": "1",
                                                    "upperValueOrId": "1",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "1000 W ",
                                                    "textSize": "10",
                                                    "textColor": "#1d6923"
                                                  },
                                                  {
                                                    "color": "#1d6923",
                                                    "lineId": "1",
                                                    "upperValueOrId": "0.5",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "500 W ",
                                                    "textSize": "10",
                                                    "textColor": "#1d6923"
                                                  },
                                                  {
                                                    "color": "#5c1011",
                                                    "lineId": "2",
                                                    "upperValueOrId": "-2",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "2000 W ",
                                                    "textSize": "10",
                                                    "textColor": "#9b2e2f"
                                                  }
                                                ],
                                                "timeType": "relative",
                                                "relativeEnd": "now",
                                                "range": "1440",
                                                "aggregateType": "step",
                                                "aggregateSpan": "1",
                                                "legend": "",
                                                "hoverDetail": true,
                                                "zoom": true,
                                                "animation": 0,
                                                "live": "300",
                                                "ticks": "",
                                                "width": "",
                                                "height": "",
                                                "noBorder": "",
                                                "window_bg": "#000000",
                                                "bg_custom": "",
                                                "x_labels_color": "",
                                                "y_labels_color": "",
                                                "border_color": "#343434",
                                                "grid_color": "",
                                                "grid_hideX": true,
                                                "grid_hideY": true,
                                                "border_width": "5",
                                                "barColor": "",
                                                "barLabels": "topover",
                                                "barWidth": "",
                                                "barFontSize": "",
                                                "barFontColor": "",
                                                "title": "",
                                                "titlePos": "",
                                                "titleColor": "",
                                                "titleSize": "",
                                                "legColumns": "",
                                                "legBgOpacity": "",
                                                "legBg": "",
                                                "timeFormat": "",
                                                "export": false,
                                                "legendDirection": "",
                                                "useComma": false,
                                                "noBackground": true,
                                                "legActual": false,
                                                "legFontSize": "",
                                                "legendHeight": "",
                                                "resetZoom": "600",
                                                "autoGridPadding": false,
                                                "theme": "default",
                                                "hoverNoInterpolate": false,
                                                "hoverNoNulls": false,
                                                "timeFormatCustom": false,
                                                "border_style": "ridge",
                                                "border_padding": "5"
                                              }
                                            },
                                            "type": "chart",
                                            "_id": "echarts.0.D_Akku",
                                            "acl": {
                                              "object": XXX,
                                              "owner": "XXX.XXX.XXX",
                                              "ownerGroup": "XXX.XXX.XXX"
                                            },
                                            "from": "XXX.XXX.XXX.0",
                                            "user": "XXX.XXX.XXX",
                                            "ts": XXX
                                          }
                                          

                                          Und der obere Energiefluss-Visualisierung:

                                          {
                                            "common": {
                                              "name": "D_Energie"
                                            },
                                            "native": {
                                              "url": "",
                                              "data": {
                                                "lines": [
                                                  {
                                                    "name": "PV-Leistung",
                                                    "id": "0_userdata.0.Datenpunkte.PV.Leistung_gesamt",
                                                    "instance": "system.adapter.sql.0",
                                                    "thickness": "1",
                                                    "chartType": "auto",
                                                    "aggregate": "max",
                                                    "isBoolean": null,
                                                    "symbolSize": 3,
                                                    "validTime": "",
                                                    "unit": "  kW",
                                                    "color": "#1a98a6",
                                                    "fill": 0.2,
                                                    "shadowsize": "",
                                                    "min": "-14",
                                                    "max": "20",
                                                    "ignoreNull": "0",
                                                    "noFuture": false,
                                                    "percentile": 50,
                                                    "integralUnit": 60,
                                                    "integralInterpolation": "none",
                                                    "yticks": "-1",
                                                    "xaxe": "",
                                                    "xticks": "6",
                                                    "yOffset": "0",
                                                    "points": false,
                                                    "hide": false,
                                                    "yaxe": "left",
                                                    "convert": "val / 1000",
                                                    "afterComma": "3"
                                                  },
                                                  {
                                                    "name": "EV-Ladestrom",
                                                    "id": "0_userdata.0.Datenpunkte.EV_Wallbox.EV-Ladestrom",
                                                    "instance": "system.adapter.history.0",
                                                    "thickness": "1",
                                                    "chartType": "auto",
                                                    "aggregate": "max",
                                                    "isBoolean": null,
                                                    "symbolSize": 3,
                                                    "validTime": "",
                                                    "fill": 0.2,
                                                    "min": "-8",
                                                    "max": "22",
                                                    "convert": "val / 1000 * -1",
                                                    "color": "#702ce6",
                                                    "xticks": "4",
                                                    "commonYAxis": "0",
                                                    "ignoreNull": "0",
                                                    "afterComma": "3"
                                                  },
                                                  {
                                                    "name": "Eigenverbrauch",
                                                    "id": "0_userdata.0.Datenpunkte.Strom.Eigenverbrauch",
                                                    "instance": "system.adapter.sql.0",
                                                    "thickness": "1",
                                                    "chartType": "auto",
                                                    "aggregate": "onchange",
                                                    "isBoolean": null,
                                                    "symbolSize": 3,
                                                    "validTime": 35,
                                                    "fill": 0.2,
                                                    "min": "-8",
                                                    "max": "22",
                                                    "convert": "val / 1000 * -1",
                                                    "color": "#00687d",
                                                    "xticks": "4",
                                                    "commonYAxis": "0",
                                                    "ignoreNull": "0",
                                                    "afterComma": "3"
                                                  },
                                                  {
                                                    "name": "Netzbezug",
                                                    "id": "0_userdata.0.Datenpunkte.Strom.Netzbezug",
                                                    "instance": "system.adapter.sql.0",
                                                    "thickness": "1",
                                                    "chartType": "auto",
                                                    "aggregate": "onchange",
                                                    "isBoolean": null,
                                                    "symbolSize": 3,
                                                    "validTime": 35,
                                                    "fill": 0.3,
                                                    "min": "-8",
                                                    "max": "22",
                                                    "convert": "val / 1000 * -1",
                                                    "color": "#b82124",
                                                    "xticks": "4",
                                                    "commonYAxis": "0",
                                                    "ignoreNull": "0",
                                                    "afterComma": "3"
                                                  },
                                                  {
                                                    "name": "Einspeisung",
                                                    "id": "0_userdata.0.Datenpunkte.Strom.Einspeisung",
                                                    "instance": "system.adapter.sql.0",
                                                    "thickness": "1",
                                                    "chartType": "auto",
                                                    "aggregate": "onchange",
                                                    "isBoolean": null,
                                                    "symbolSize": 3,
                                                    "validTime": 35,
                                                    "fill": 0.4,
                                                    "min": "-8",
                                                    "max": "22",
                                                    "convert": "val / 1000",
                                                    "color": "#10952f",
                                                    "xticks": "4",
                                                    "commonYAxis": "0",
                                                    "ignoreNull": "0",
                                                    "afterComma": "3"
                                                  },
                                                  {
                                                    "name": "Klima Buero OG Betrieb",
                                                    "id": "0_userdata.0.Datenpunkte.Temperatur-Steuerung.Klima_Buero_OG_Betrieb",
                                                    "instance": "system.adapter.sql.0",
                                                    "thickness": "1",
                                                    "chartType": "line",
                                                    "aggregate": "minmax",
                                                    "isBoolean": null,
                                                    "symbolSize": 3,
                                                    "validTime": "",
                                                    "fill": 1,
                                                    "min": "0",
                                                    "max": "10",
                                                    "convert": "val * 0.25",
                                                    "color": "#008b47",
                                                    "xticks": "4",
                                                    "commonYAxis": "",
                                                    "ignoreNull": "false",
                                                    "yOffset": "0",
                                                    "percentile": 50,
                                                    "integralUnit": 60,
                                                    "integralInterpolation": "none",
                                                    "yticks": "-1"
                                                  },
                                                  {
                                                    "name": "Klima Buero Betrieb",
                                                    "id": "0_userdata.0.Datenpunkte.Temperatur-Steuerung.Klima_Buero_Betrieb",
                                                    "instance": "system.adapter.sql.0",
                                                    "thickness": "1",
                                                    "chartType": "line",
                                                    "aggregate": "minmax",
                                                    "isBoolean": null,
                                                    "symbolSize": 3,
                                                    "validTime": "",
                                                    "fill": 1,
                                                    "min": "0",
                                                    "max": "10",
                                                    "convert": "(val * 0.125)",
                                                    "color": "#007583",
                                                    "xticks": "4",
                                                    "commonYAxis": "",
                                                    "ignoreNull": "false",
                                                    "yOffset": "0",
                                                    "yticks": "-1"
                                                  }
                                                ],
                                                "marks": [
                                                  {
                                                    "color": "#5c1011",
                                                    "lineId": "0",
                                                    "upperValueOrId": "-2",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "2 KW ",
                                                    "textSize": "10",
                                                    "textColor": "#9b2e2f"
                                                  },
                                                  {
                                                    "color": "#5c1011",
                                                    "lineId": "0",
                                                    "upperValueOrId": "-4",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "4 KW ",
                                                    "textSize": "10",
                                                    "textColor": "#9b2e2f"
                                                  },
                                                  {
                                                    "color": "#5c1011",
                                                    "lineId": "0",
                                                    "upperValueOrId": "-6",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "6 KW ",
                                                    "textSize": "10",
                                                    "textColor": "#9b2e2f"
                                                  },
                                                  {
                                                    "color": "#1d6923",
                                                    "lineId": "0",
                                                    "upperValueOrId": "2",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "2 KW ",
                                                    "textSize": "10",
                                                    "textColor": "#1d6923"
                                                  },
                                                  {
                                                    "color": "#1d6923",
                                                    "lineId": "0",
                                                    "upperValueOrId": "4",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "4 KW ",
                                                    "textSize": "10",
                                                    "textColor": "#1d6923"
                                                  },
                                                  {
                                                    "color": "#1d6923",
                                                    "lineId": "0",
                                                    "upperValueOrId": "6",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "6 KW ",
                                                    "textSize": "10",
                                                    "textColor": "#1d6923"
                                                  },
                                                  {
                                                    "color": "#1d6923",
                                                    "lineId": "0",
                                                    "upperValueOrId": "8",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "8 KW ",
                                                    "textSize": "10",
                                                    "textColor": "#1d6923"
                                                  },
                                                  {
                                                    "color": "#1d6923",
                                                    "lineId": "0",
                                                    "upperValueOrId": "10",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "10 KW ",
                                                    "textSize": "10",
                                                    "textColor": "#1d6923"
                                                  },
                                                  {
                                                    "color": "#1d6923",
                                                    "lineId": "0",
                                                    "upperValueOrId": "12",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "12 KW ",
                                                    "textSize": "10",
                                                    "textColor": "#1d6923"
                                                  },
                                                  {
                                                    "color": "#1d6923",
                                                    "lineId": "0",
                                                    "upperValueOrId": "14",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "14 KW ",
                                                    "textSize": "10",
                                                    "textColor": "#1d6923"
                                                  },
                                                  {
                                                    "color": "#1d6923",
                                                    "lineId": "0",
                                                    "upperValueOrId": "16",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "16 KW ",
                                                    "textSize": "10",
                                                    "textColor": "#1d6923"
                                                  },
                                                  {
                                                    "color": "#1d6923",
                                                    "lineId": "0",
                                                    "upperValueOrId": "18",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "18 KW ",
                                                    "textSize": "10",
                                                    "textColor": "#1d6923"
                                                  },
                                                  {
                                                    "color": "#5c1011",
                                                    "lineId": "0",
                                                    "upperValueOrId": "-8",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "8 KW ",
                                                    "textSize": "10",
                                                    "textColor": "#9b2e2f"
                                                  },
                                                  {
                                                    "color": "#5c1011",
                                                    "lineId": "0",
                                                    "upperValueOrId": "-10",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "10 KW ",
                                                    "textSize": "10",
                                                    "textColor": "#9b2e2f"
                                                  },
                                                  {
                                                    "color": "#5c1011",
                                                    "lineId": "0",
                                                    "upperValueOrId": "-12",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "12 KW ",
                                                    "textSize": "10",
                                                    "textColor": "#9b2e2f"
                                                  },
                                                  {
                                                    "color": "#5c1011",
                                                    "lineId": "0",
                                                    "upperValueOrId": "-14",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "14 KW ",
                                                    "textSize": "10",
                                                    "textColor": "#9b2e2f"
                                                  },
                                                  {
                                                    "color": "#1d6923",
                                                    "lineId": "0",
                                                    "upperValueOrId": "20",
                                                    "lowerValueOrId": "",
                                                    "fill": 0,
                                                    "lineStyle": "dotted",
                                                    "text": "20 KW ",
                                                    "textSize": "10",
                                                    "textColor": "#1d6923"
                                                  }
                                                ],
                                                "timeType": "relative",
                                                "relativeEnd": "now",
                                                "range": "1440",
                                                "aggregateType": "step",
                                                "aggregateSpan": "1",
                                                "legend": "",
                                                "hoverDetail": true,
                                                "zoom": true,
                                                "animation": 0,
                                                "live": "300",
                                                "ticks": "",
                                                "width": "",
                                                "height": "",
                                                "noBorder": "",
                                                "window_bg": "#000000",
                                                "bg_custom": "",
                                                "x_labels_color": "",
                                                "y_labels_color": "",
                                                "border_color": "#343434",
                                                "grid_color": "",
                                                "grid_hideX": true,
                                                "grid_hideY": true,
                                                "border_width": "5",
                                                "barColor": "",
                                                "barLabels": "topover",
                                                "barWidth": "",
                                                "barFontSize": "",
                                                "barFontColor": "",
                                                "title": "",
                                                "titlePos": "",
                                                "titleColor": "",
                                                "titleSize": "",
                                                "legColumns": "",
                                                "legBgOpacity": "",
                                                "legBg": "",
                                                "timeFormat": "",
                                                "export": false,
                                                "legendDirection": "",
                                                "useComma": false,
                                                "noBackground": true,
                                                "legActual": false,
                                                "legFontSize": "",
                                                "legendHeight": "",
                                                "resetZoom": "600",
                                                "autoGridPadding": false,
                                                "theme": "default",
                                                "hoverNoInterpolate": false,
                                                "hoverNoNulls": false,
                                                "timeFormatCustom": false,
                                                "border_style": "ridge",
                                                "border_padding": "5"
                                              }
                                            },
                                            "type": "chart",
                                            "_id": "echarts.0.D_Energie",
                                            "acl": {
                                              "object": XXX,
                                              "owner": "XXX.XXX.XXX",
                                              "ownerGroup": "XXX.XXX.XXX"
                                            },
                                            "from": "XXX.XXX.XXX.XXX",
                                            "user": "XXX.XXX.XXX",
                                            "ts": XXX
                                          }
                                          

                                          Ich weiss aber nicht, ob das wirklich als Vorlage taugt, ich benutze ja viele eigene Datenpunkte die in scripts errechnet/geschrieben werden. Deren Bezeichnung ist allerdings imho ziemlich eindeutig.

                                          Ich hoffe es hilft anderen User weiter.

                                          So sieht dann ein guter Tag aus:

                                          59a9af95-3dab-4bb3-a843-bb7cf90b5d2f-grafik.png

                                          Viel Sonne, keine Wolken aber etwas dunstig...

                                          Das sollte grob das ober Diagramm erklären:

                                          • grün nach oben ist PV-Einspeisung, rot nach unten Netzbezug
                                          • die fast transparenten Flächen mit Outlines nach oben und unten Gesamt-PV-Ertrag bzw. eigener Energiebedarf
                                          • die beiden Balken unten repräsentieren die Verwendung der Klmaanlagen im EG und OG
                                          • Morgens liegen wir leider bis ca. 10:30 im Baumschatten von hohen Eichen - wenig PC-Ertrag und 'nur' 10 Module auf der Ostseite
                                          • zuerst wurde der Haus-Akku geladen (letzte Nacht völlig leer gefahren bis in die Abschaltung bei SOC 15% )
                                          • als genug PV Überschuss da war kamen dann nacheinander die 4x Klimas dazu, repräsentiert durch die Balken unten im oberen Diagramm für EG und OG und heizten das Haus
                                          • danach hat sich dann das PV-Überschussladen des EV mit ca. 4 kW Minimum zugeschaltet
                                          • als der Hausakku voll war hat das EV bis zu 10.7 KW Ladeleistung erhalten, man sieht schön wie ich ab einem Level über 5 KW Ladeleistung anfange, einen 1 KW Einspeisepuffer aufzubauen, damit ich die Wallbox nicht zu oft ansteuern muss
                                          • gegen 15:00 Uhr hatte sich das EV seine benötigten ca. 22 KWh gesichert und die Wallbox wurde runtergefahren
                                          • gegen 18:45 Uhr gingen dann die Klimaanlagen mangels PV-Überschuss automatisch aus
                                          • zwischendurch habe ich manuell die Klimaanlagen im EG aus und später wieder eingeschaltet, mir war nachmittags einfach gefühlt zu warm im Büro

                                          Das untere Akku-Diagramm ist glaube ich selbsterklärend, SOC ist blau, grün ist Akku laden, rot Akku entladen und die gelbe Linie ist die PV-Gesamtleistung

                                          ...und ja, es ist noch ein weiterer 3kwh Akkupack(dann knappe 9 kwh gesamt) unterwegs, habe mich bei unserem regulären nächtlichen Energiebedarf nach einem sonnigen Tag etwas verkalkuliert, der Sonnenschein wird halt täglich zeitlich kürzer aktuell 🙂

                                          Fragen? Fragen!

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          723
                                          Online

                                          32.2k
                                          Users

                                          80.8k
                                          Topics

                                          1.3m
                                          Posts

                                          javascript
                                          33
                                          888
                                          202483
                                          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