Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Jarvis v3.1.8, Datenpunkte in Diagramm ohne history möglich?

    NEWS

    • Monatsrückblick – September 2025

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

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

    Jarvis v3.1.8, Datenpunkte in Diagramm ohne history möglich?

    This topic has been deleted. Only users with topic management privileges can see it.
    • flkontakt
      flkontakt last edited by flkontakt

      Hallo zusammen, vielleicht kann jemand meinen Knoten im Kopf lösen:

      Der YR-Wetteradapter bietet eine Vielzahl an Forecast-Datenpunkte, siehe Bild als Beispiel. Kann ich aus diesen Werten ein Diagramm erstellen, ohne diese in history zu aktivieren?

      Mir fehlt hier der Schubs in die richtige Richtung, bin für jeden Tipp dankbar. Habe auch schon in Richtung echarts geschaut, mit diesem Tool habe ich mich aber noch nicht operativ auseinandergesetzt.

      Danke!

      01.JPG

      02.JPG

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

        @flkontakt Das Bild kommt von Grafana?
        Also eChart ist eine Möglichkeit zur Darstellung, für die man auch einen history-DP benötigt.
        Ohne DP mit history, sql, influxdb-Logging geht es nicht.
        Muss evtl angepasst werden?
        https://mcuiobroker.gitbook.io/jarvis-infos/tipps/scripte-blockly-javascript/javascript/history-adapter/daswetter-futurehistory

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

          @mcu hallo, Bild Diagramm ist aus Jarvis (historygraph), hier nur ein Datenpunkt. Meine Idee bzw. Wunsch war ist ein Diagramm am Beispiel der Bewölkung der nächsten 48 Stunden aus z.B. dem YR-Wetteradapter, Dann müsste ich aber eine Vielzahl von Datenpunkten in history packen.

          Oder könnte man die vielen Datenpunkte in einem anderen Format sammeln und dann grafisch darstellen? JSON, HTML-Tabelle oder ähnliches?

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

            @flkontakt Ja kann man , muss man aber halt programmieren. Für den dasWetter-Adapter habe ich das ja schon gemacht siehe Link.
            Was soll man da nehmen?
            0dc498ec-08e5-48f6-8c02-62e53db9141b-image.png

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

              gelöscht

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

                @mcu Hallo, sorry für die doofen Fragen: Wo füge ich dein Script ein, wie sieht dann das Ergebnis aus, welches Widget wird benutzt? Ich sehe in deinem Script die Datenpunkte des YR-Adapters, ist das bereits auf diesen Adapter angepasst?

                Danke!

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

                  @flkontakt
                  https://mcuiobroker.gitbook.io/jarvis-infos/tipps/scripte-blockly-javascript/javascript/history-adapter/daswetter-futurehistory#todo
                  Wo siehst du DPs vom YR?

                  22ff667d-52a1-416e-807e-067fabbceacd-image.png

                  38da9d47-1c8d-4c9c-b730-a5818298393c-image.png
                  Der Wert soll als Future angezeigt werden?

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

                    @mcu habe das Script getestet, Ergebnis sieht gut aus, tolles Script!!! Könntest du noch 2 Datenpunkte ergänzen? clouds_value und windgust_value?

                    Vielen Dank!

                    01.JPG

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

                      @flkontakt Versuch mal das neue v1.0.7.
                      Zunächst als Extra Script
                      https://mcuiobroker.gitbook.io/jarvis-infos/tipps/scripte-blockly-javascript/javascript/history-adapter/daswetter-futurehistory/javascript-setfuturehistory-v1.0.7

                      Bitte die Einstellungen vom HistoryGraph reinstellen. Danke.

                      Gibt es gravierende Unterschiede zum yr? Muss man yr als Alternative anbieten?

                      flkontakt 2 Replies Last reply Reply Quote 0
                      • flkontakt
                        flkontakt @MCU last edited by

                        @mcu Hallo, Test durchgeführt, Werte stehen in eCharts auch zur Verfügung. Habe ein Preset in Jarvis integriert (iframe), Ergebnis passt auch soweit, werde noch optische Anpassungen vornehmen. Eine Nutzung direkt im Jarvis-Widget wäre super, dann hat man einen einheitlichen Look, Preset per iframe hat kurze Ladezeiten, dass Jarvis-Widget ist etwas schneller.

                        Mir ist aufgefallen, dass in den aus dem Script angelegten Datenpunkten keine Werte stehen.

                        Welche Einstellungen von HistoryGraph benötigst du? Ich stelle hier ein paar Screenshots meiner Lux-Messung ein, bitte melden wenn etwas fehlen sollte.

                        Vielen Dank für die Unterstützung!

                        01.JPG

                        02.JPG

                        06.JPG

                        03.JPG

                        04.JPG

                        05.JPG

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

                          @flkontakt sagte in Jarvis v3.1.8, Datenpunkte in Diagramm ohne history möglich?:

                          Mir ist aufgefallen, dass in den aus dem Script angelegten Datenpunkten keine Werte stehen

                          Die Werte sollen ja auch nur in der History vom DP stehen.
                          Bewölkung ist jetzt ein iFrame? eCharts?

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

                            @mcu ja, Bewölkung ist Preset in iframe

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

                              @flkontakt Und das hättest du gerne als HistoryGraph?

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

                                @mcu ja, wenn möglich

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

                                  @flkontakt Du hast Pro?

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

                                    @mcu ja, Version v3.1.8

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

                                      @flkontakt Ok dann nimm mal ein HistoryGraph mit dem furtureDP und setze dies in die x-Achse.
                                      1375fc60-895f-425e-9b12-fa450aaae828-image.png

                                      { 
                                        "type": "time",
                                        "min": "(value,ts,index) => { const now = new Date(new Date().getTime()); return new Date(now.getFullYear(), now.getMonth(), now.getDate()).getTime()}",
                                        "max": "(value,ts,index) => { const now = new Date(new Date().getTime()); return new Date(now.getFullYear(), now.getMonth(), now.getDate()+6).getTime()}"
                                      }
                                      

                                      Bitte Ergebnis posten.

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

                                        @mcu Hallo, siehe Bilder, bleibt leider leer. In den Widgeteinstellungen kann ich zwischen Modus Rückblick und Zeitleiste wählen, in beiden Fällen werden keine Werte angezeigt. Anwenderfehler?

                                        01.JPG

                                        02.JPG

                                        03.JPG

                                        04.JPG

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

                                          @flkontakt Nee, dann ist es doch noch intern nur für die Vergangenheit eingestellt. Tja, dann muss beim eChart bleiben.

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

                                            @mcu okay, kein Problem! Vielen Dank für den Support!!!

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            771
                                            Online

                                            32.1k
                                            Users

                                            80.7k
                                            Topics

                                            1.3m
                                            Posts

                                            2
                                            41
                                            3012
                                            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