Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. VIS-2 : Widget für json chart ?

    NEWS

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

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

    • Wir empfehlen: Node.js 22.x

    VIS-2 : Widget für json chart ?

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

      Kurze Frage, wie oder mit welchem Widget kann ich denn jetzt ein json-chart (z.b. Drops Adapter) in VIS-2 einfügen ?

      icebear 1 Reply Last reply Reply Quote 0
      • icebear
        icebear @icebear last edited by

        @icebear

        Ok. Ich hab dann dochmal das 'materialdesign-Bar Chart' Widget probiert.

        In der Editor Ansicht scheint es auch zu funktionieren, siehe hier:

        drops1.png

        Warum wird dann in der Runtime (nicht im Editor) sondern 'In neuem Fenster öffnen' folgendes angezeigt?

        drops2.png

        icebear 1 Reply Last reply Reply Quote 0
        • icebear
          icebear @icebear last edited by

          @icebear

          Hat sich erledigt, hab grad den Post gefunden, das das Widget doch nicht wirklich funktioniert.
          (Mal zeigt es was an und mal nicht) schade eigentlich.

          Bleibt die Frage, wie kann ich dann ein Bar Chart in VIS-2 anzeigen lassen, außer ich mach es über Grafana oder ähnliches?

          sigi234 1 Reply Last reply Reply Quote 0
          • sigi234
            sigi234 Forum Testing Most Active @icebear last edited by

            @icebear
            E-Charts?

            icebear 1 Reply Last reply Reply Quote 1
            • icebear
              icebear @sigi234 last edited by

              @sigi234 said in VIS-2 : Widget für json chart ?:

              E-Charts?

              Ja hatte ich auch schonmal, nur ich weiß nicht wie ich das json chart vom drops adapter in e-charts bekomme.

              Funktioniert das?

              [{"label":"Sa 19:00","value":"4.3"},{"label":"Sa 20:00","value":"1.1"},{"label":"Sa 21:00","value":"1.8"},{"label":"Sa 22:00","value":"0.5"},{"label":"Sa 23:00","value":"0.1"},{"label":"So 00:00","value":"0"},{"label":"So 01:00","value":"0"},{"label":"So 02:00","value":"0"},{"label":"So 03:00","value":"0"},{"label":"So 04:00","value":"0"},{"label":"So 05:00","value":"0"},{"label":"So 06:00","value":"0"},{"label":"So 07:00","value":"0"},{"label":"So 08:00","value":"0"},{"label":"So 09:00","value":"0"},{"label":"So 10:00","value":"0"},{"label":"So 11:00","value":"0"},{"label":"So 12:00","value":"0"},{"label":"So 13:00","value":"0"},{"label":"So 14:00","value":"0"},{"label":"So 15:00","value":"0"},{"label":"So 16:00","value":"0.1"},{"label":"So 17:00","value":"0"},{"label":"So 18:00","value":"0"}]
              
              sigi234 1 Reply Last reply Reply Quote 1
              • sigi234
                sigi234 Forum Testing Most Active @icebear last edited by sigi234

                @icebear sagte in VIS-2 : Widget für json chart ?:

                Funktioniert das?

                https://github.com/ioBroker/ioBroker.echarts

                Data from JSON
                You can define the data source from JSON. In this case you can create some custom state of type json and store the value like this:
                
                [
                  {"ts": 1675887847000, "val": 45},
                  {"ts": 1675887848000, "val": 77},
                  {"ts": 1675887849000, "val": 180}
                ]
                
                icebear 1 Reply Last reply Reply Quote 0
                • icebear
                  icebear @sigi234 last edited by

                  @sigi234

                  ja, das hab ich auch gelesen, aber ich hab ehrlich gesagt null Ahnung wie ich jetzt das json von drops konvertieren kann, das es e-chart kompatibel wird.

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

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  824
                  Online

                  32.1k
                  Users

                  80.7k
                  Topics

                  1.3m
                  Posts

                  2
                  7
                  384
                  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