Weiter zum Inhalt
  • Home
  • Aktuell
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Widget vis-jsontemplate (vis1 und vis2 widget)

NEWS

  • iobroker.click: Visualisierungen und Vorlagen für ioBroker
    BluefoxB
    Bluefox
    16
    2
    1.0k

  • Monatsrückblick Oktober 2026 ist online!
    BluefoxB
    Bluefox
    11
    1
    527

  • Mitmachen: Sprich „ioBroker“ ein – für ein lokales Aktivierungswort
    BluefoxB
    Bluefox
    6
    1
    659

Test Widget vis-jsontemplate (vis1 und vis2 widget)

Geplant Angeheftet Gesperrt Verschoben Tester
adapterjson widgetrssfeedviswidget
121 Beiträge 9 Kommentatoren 19.0k Aufrufe 15 Beobachtet
  • Ä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.
  • OliverIOO OliverIO

    @bahnuhr

    hier mein vis1 projekt export
    2026-07-31-main (1).zip

    vis2 projekt export
    2026-07-31-main (2).zip

    wie es auch sei. das aktivieren des template scripts liegt nicht in meiner Macht.
    das kommt vom vis

    bahnuhrB
    bahnuhrB
    bahnuhr
    Forum Testing Most Active
    schrieb am zuletzt editiert von
    #91

    @OliverIO
    Habs jetzt per js gelöst.
    Beim Wechsel der View werden die entsprechenden DP gesetzt.
    Dies klappt jetzt einwandfrei.

    // View wird wieder gewechselt
        on({id: "vis.0.control.data", change: "ne"}, function(obj) {  
            if (obj.state.val != "main/Telefon3" && obj.oldState.val == "main/Telefon3") {
                setState("javascript.0.Sonstige.Google.Kontakte.Photo.ausgewählt", ""); setState("javascript.0.Sonstige.Google.Kontakte.Photo.Link", ""); 
            } else if (obj.state.val == "main/Telefon3" && obj.oldState.val != "main/Telefon3") {
                setState("javascript.0.Sonstige.Google.Kontakte.Photo.ausgewählt", "Dieter"); setState("javascript.0.Sonstige.Google.Kontakte.Photo.Link", "https://lh3.googleusercontent.com/contacts/AG6t00"); 
            }
        });
    
    

    Danke nochmal für die Infos.

    mfg
    Dieter


    Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
    Danke.
    gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge
    ScreenToGif :https://www.screentogif.com/downloads.html

    1 Antwort Letzte Antwort
    0
    • OliverIOO
      OliverIOO
      OliverIO
      schrieb am zuletzt editiert von
      #92

      Neue Version 4.6.1

      • die Fehlerausgabe des widgets wird noch zusätzlich auf der browser Konsole (F12) ausgegeben, das es in der Anwendung mit der KI einfacher zu kopieren ist.

      Meine Adapter und Widgets
      TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
      Links im Profil

      1 Antwort Letzte Antwort
      1
      • OliverIOO
        OliverIOO
        OliverIO
        schrieb am zuletzt editiert von OliverIO
        #93

        widgets aus jsontemplate in vis-2 >=2.20.x

        vis-2 wurde mit react19 aktualisiert (ältere Versionen basieren auf react18) und befindet sich aktuell im beta repository.
        diese Phase ist dazu gedacht, das alle widgets-Adapter geprüft und ggfs angepasst werden.

        Aktuell funktionieren die widgets aus jsontemplate nicht.
        Wer sie weiterhin nutzen möchte muss aktuell bei der letzten Version von vis-2 2.15.x bleiben.

        Wer noch das widget aus vis-2-widgets-ovarious nutzt, bitte auf das vis-2 widget aus dem adapter jsontemplate umstellen. Die Entwicklung von vis-2-widgets-ovarious wurde eingestellt und wird auch nicht umgestellt. Das widget aus jsontemplate ist mittlerweile auch bereits weiter und hat mehr Funktionalität

        Eine Anpassung und Überprüfung wird im laufe des Novembers erfolgen.
        Weitere Informationen dann hier im Support Thread.

        Meine Adapter und Widgets
        TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
        Links im Profil

        1 Antwort Letzte Antwort
        1
        • OliverIOO
          OliverIOO
          OliverIO
          schrieb am zuletzt editiert von
          #94

          Neue Version 5.0.0

          • vis2-widget: Das widget funktioniert nun auch mit react19 in vis-2 ab Version 2.20.0
          • Das Farbschema des ejs Editors wurde in der dunklen Ansicht optimiert.
          • vis1: Das widget funktioniert weiterhin unverändert.

          Das widget jsontemplate im Adapter vis-2-widgets-ovarious wird nicht mehr weiterentwickelt. Mittlerweile hat sich das widget aus dem vis-jsontemplate auch schon weiterentwickelt.
          Es wird empfohlen auf den Adapter vis-jsontemplate zu wechseln.

          Es ist geplant demnächst den Adapter vis-2-widgets-ovarious aus dem beta repository und später auch aus dem stable repository zu entfernen.

          Meine Adapter und Widgets
          TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
          Links im Profil

          OliverIOO 1 Antwort Letzte Antwort
          0
          • OliverIOO OliverIO

            Neue Version 5.0.0

            • vis2-widget: Das widget funktioniert nun auch mit react19 in vis-2 ab Version 2.20.0
            • Das Farbschema des ejs Editors wurde in der dunklen Ansicht optimiert.
            • vis1: Das widget funktioniert weiterhin unverändert.

            Das widget jsontemplate im Adapter vis-2-widgets-ovarious wird nicht mehr weiterentwickelt. Mittlerweile hat sich das widget aus dem vis-jsontemplate auch schon weiterentwickelt.
            Es wird empfohlen auf den Adapter vis-jsontemplate zu wechseln.

            Es ist geplant demnächst den Adapter vis-2-widgets-ovarious aus dem beta repository und später auch aus dem stable repository zu entfernen.

            OliverIOO
            OliverIOO
            OliverIO
            schrieb am zuletzt editiert von
            #95

            OliverIO sagte:

            Neue Version 5.0.0

            • vis2-widget: Das widget funktioniert nun auch mit react19 in vis-2 ab Version 2.20.0
            • Das Farbschema des ejs Editors wurde in der dunklen Ansicht optimiert.
            • vis1: Das widget funktioniert weiterhin unverändert.

            Das widget jsontemplate im Adapter vis-2-widgets-ovarious wird nicht mehr weiterentwickelt. Mittlerweile hat sich das widget aus dem vis-jsontemplate auch schon weiterentwickelt.
            Es wird empfohlen auf den Adapter vis-jsontemplate zu wechseln.

            Es ist geplant demnächst den Adapter vis-2-widgets-ovarious aus dem beta repository und später auch aus dem stable repository zu entfernen.

            Das Release befindet sich nun im stable repository

            Meine Adapter und Widgets
            TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
            Links im Profil

            1 Antwort Letzte Antwort
            0
            • CyberraphC
              CyberraphC
              Cyberraph
              schrieb am zuletzt editiert von Cyberraph
              #96

              Hallo OliverIO!

              Ich muss hier mal meine riesen Bewunderung hier zum Ausdruck bringen.

              Jetzt hab ich endlich mal Zeit gefunden mich mit deinem JSON Template Widget zu beschäftigen.

              Nachdem ich mich in letzter Zeit doch mehr und mehr etwas erweichen lies und ich dann doch mal mit ChatGPT und Co. herumprobiert hab.

              Zuerst dreht man sich sehr im Kreis - Try und Error aber gibt man mehr und mehr Input, dann bin ich durchaus beeindruckt was man nicht tolles machen kann.
              Vor allem als Laie, der nur einen Krümel im Ansatz versteht wie HTML, CSS, JS aufgebaut ist und grob funktioniert.

              Hatte soeben meine ersten Gehversuche.
              Hab mir ein "Akkordeon" Menü gebaut, das sich aufklappt per Klick und den Rest zuklappt, wenn man wechselt.
              Mit Indikatoren zur schnellen Übersicht. Darunter in größer die States zum Aus- und Einschalten.

              Was mich begeistert hat (hab das mit ChatGPT gemacht), nachdem ich mehr und mehr Input gegeben habe:

              1. Er hat mir eine "Verbindung" gemacht zu den Objekt-IDs und dessen Namen, den man separat im Objektbaum bei den DPs eingeben kann
                Damit generiert er automatisch beim Öffnen der Visualisierung die Namen aus dem ioBroker Objektbaum.
                Dann muss ich nicht mühsam alle Namen händisch in alle 20+ Menüs im JSON Widget einstellen und pflegen.

              2. Zuerst war es teils träge und langsam. Aber nach ein paar Runden und Erklären, dass es gerade so und so träge ist...
                Hat er sogar das Template so anpassen können, dass es flüssig und ohne Hackeln bedienbar ist.

              Einfach toll.

              VIELE GRÜßE.
              VIELEN DANK FÜR DEN TOLLEN ADAPTER.


              grafik.jpeg


              [EDIT Cyberraph 2026-11-15]
              Nochmal verfeinert.
              Etwas schöner gemacht inkl. Countdown-Datenpunkte eingefügt
              (meiner Tuya Plugs), mit Eingabefunktion und Indikator (Sanduhr, ob aktiv oder nicht).


              WhatsApp Image 2026-11-15 at 16.40.17.jpeg

              Beste Grüße!

              io-Broker Neuling 2024 :-)

              Bislang jedoch einiges an Beiträgen und Grundlagen eingeflößt, um etwas besser empor zu irren.

              OliverIOO 1 Antwort Letzte Antwort
              0
              • CyberraphC Cyberraph

                Hallo OliverIO!

                Ich muss hier mal meine riesen Bewunderung hier zum Ausdruck bringen.

                Jetzt hab ich endlich mal Zeit gefunden mich mit deinem JSON Template Widget zu beschäftigen.

                Nachdem ich mich in letzter Zeit doch mehr und mehr etwas erweichen lies und ich dann doch mal mit ChatGPT und Co. herumprobiert hab.

                Zuerst dreht man sich sehr im Kreis - Try und Error aber gibt man mehr und mehr Input, dann bin ich durchaus beeindruckt was man nicht tolles machen kann.
                Vor allem als Laie, der nur einen Krümel im Ansatz versteht wie HTML, CSS, JS aufgebaut ist und grob funktioniert.

                Hatte soeben meine ersten Gehversuche.
                Hab mir ein "Akkordeon" Menü gebaut, das sich aufklappt per Klick und den Rest zuklappt, wenn man wechselt.
                Mit Indikatoren zur schnellen Übersicht. Darunter in größer die States zum Aus- und Einschalten.

                Was mich begeistert hat (hab das mit ChatGPT gemacht), nachdem ich mehr und mehr Input gegeben habe:

                1. Er hat mir eine "Verbindung" gemacht zu den Objekt-IDs und dessen Namen, den man separat im Objektbaum bei den DPs eingeben kann
                  Damit generiert er automatisch beim Öffnen der Visualisierung die Namen aus dem ioBroker Objektbaum.
                  Dann muss ich nicht mühsam alle Namen händisch in alle 20+ Menüs im JSON Widget einstellen und pflegen.

                2. Zuerst war es teils träge und langsam. Aber nach ein paar Runden und Erklären, dass es gerade so und so träge ist...
                  Hat er sogar das Template so anpassen können, dass es flüssig und ohne Hackeln bedienbar ist.

                Einfach toll.

                VIELE GRÜßE.
                VIELEN DANK FÜR DEN TOLLEN ADAPTER.


                grafik.jpeg


                [EDIT Cyberraph 2026-11-15]
                Nochmal verfeinert.
                Etwas schöner gemacht inkl. Countdown-Datenpunkte eingefügt
                (meiner Tuya Plugs), mit Eingabefunktion und Indikator (Sanduhr, ob aktiv oder nicht).


                WhatsApp Image 2026-11-15 at 16.40.17.jpeg

                OliverIOO
                OliverIOO
                OliverIO
                schrieb am zuletzt editiert von
                #97

                @Cyberraph

                Danke.
                Super, freut mich wenn es funktioniert.
                Ich finde es auch schön, wenn hier Beispiele gepostet werden.

                Ich denke dieses Widget füllt eine Lücke, bei der jeder sein eigenes designtes widget erzeugen kann, was in seine Umgebung passt, ohne sich gleich mit der kompletten Adapterentwicklung und auch der vis-2 widget Entwicklung beschäftigen müssen..
                Klar hat es auch Grenzen, aber ich poste ja selbst immer wieder mal Beispiele, wie individuelle Anforderungen umgesetzt werden.

                Meine Adapter und Widgets
                TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                Links im Profil

                CyberraphC 1 Antwort Letzte Antwort
                1
                • OliverIOO OliverIO

                  @Cyberraph

                  Danke.
                  Super, freut mich wenn es funktioniert.
                  Ich finde es auch schön, wenn hier Beispiele gepostet werden.

                  Ich denke dieses Widget füllt eine Lücke, bei der jeder sein eigenes designtes widget erzeugen kann, was in seine Umgebung passt, ohne sich gleich mit der kompletten Adapterentwicklung und auch der vis-2 widget Entwicklung beschäftigen müssen..
                  Klar hat es auch Grenzen, aber ich poste ja selbst immer wieder mal Beispiele, wie individuelle Anforderungen umgesetzt werden.

                  CyberraphC
                  CyberraphC
                  Cyberraph
                  schrieb am zuletzt editiert von
                  #98

                  @OliverIO
                  Muss ich sonst nochmal suchen, aber
                  ---> Gibt es schon einen Sammel-Thread für JSON Template, wo man seine Kreationen zeigt? (ähnlich AURA oder anderer Adapter)?

                  Sonst hätte ich vorgeschlagen, ich mache mal einen auf.
                  (weil ich grad so begeistert bin und es zeigen werde was ich schaffe in kommender Zeit)

                  Beste Grüße!

                  io-Broker Neuling 2024 :-)

                  Bislang jedoch einiges an Beiträgen und Grundlagen eingeflößt, um etwas besser empor zu irren.

                  OliverIOO 1 Antwort Letzte Antwort
                  0
                  • CyberraphC Cyberraph

                    @OliverIO
                    Muss ich sonst nochmal suchen, aber
                    ---> Gibt es schon einen Sammel-Thread für JSON Template, wo man seine Kreationen zeigt? (ähnlich AURA oder anderer Adapter)?

                    Sonst hätte ich vorgeschlagen, ich mache mal einen auf.
                    (weil ich grad so begeistert bin und es zeigen werde was ich schaffe in kommender Zeit)

                    OliverIOO
                    OliverIOO
                    OliverIO
                    schrieb am zuletzt editiert von OliverIO
                    #99

                    @Cyberraph

                    Einfach hier posten

                    generische Beispiele, bei denen ich denke das es mehrere wiederverwenden oder bei der bestimmte Techniken angewendet werden nehme ich uU auch mit in diese Liste hier mit auf

                    https://github.com/oweitman/ioBroker.vis-jsontemplate#advanced-use-case

                    Meine Adapter und Widgets
                    TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                    Links im Profil

                    1 Antwort Letzte Antwort
                    1
                    • mcm1957M
                      mcm1957M
                      mcm1957
                      Developer Most Active
                      schrieb am zuletzt editiert von mcm1957
                      #100

                      Das widget jsontemplate im Adapter vis-2-widgets-ovarious wird nicht mehr weiterentwickelt.

                      Ist das Widget mit der aktuellen Stable vis-2 2.20.x noch kompatibel?
                      Wenn nein dann sollte m.E. aus dem Repo fliegen. (Installierte Versionen werden dadurch ja nicht gelöscht und funktionieren weiter - solange VIS nicht aktualisisert wird,)

                      Bitte um Rückmeldung

                      Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
                      Support Repositoryverwaltung.

                      Wer 'nen Kaffee spendieren will: https://paypal.me

                      LESEN - gute Forenbeitrage

                      OliverIOO 1 Antwort Letzte Antwort
                      0
                      • mcm1957M mcm1957

                        Das widget jsontemplate im Adapter vis-2-widgets-ovarious wird nicht mehr weiterentwickelt.

                        Ist das Widget mit der aktuellen Stable vis-2 2.20.x noch kompatibel?
                        Wenn nein dann sollte m.E. aus dem Repo fliegen. (Installierte Versionen werden dadurch ja nicht gelöscht und funktionieren weiter - solange VIS nicht aktualisisert wird,)

                        Bitte um Rückmeldung

                        OliverIOO
                        OliverIOO
                        OliverIO
                        schrieb am zuletzt editiert von OliverIO
                        #101

                        @mcm1957

                        nein vis-2-widgets-ovarious ist nicht mehr kompatibel und wird auch nicht mehr angepasst.
                        Was muss ich tun?

                        Meine Adapter und Widgets
                        TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                        Links im Profil

                        1 Antwort Letzte Antwort
                        0
                        • mcm1957M
                          mcm1957M
                          mcm1957
                          Developer Most Active
                          schrieb am zuletzt editiert von mcm1957
                          #102

                          Ich habs schon mal aus dem STABLE rausgenommen.

                          Pers. würd ich's auch aus latest entfernen. Ebenso das rssfeed (oder so ähnlich) widget das ja auch deprecated ist.
                          Wenn's für dich ok ist, kann ich das jederzeit machen.

                          Wichtig für Mitleser:
                          Das Entfernen aus dem Repo DEINSTALLIERT nichts auf euren Systemen. Die Adapter scheinen nu nicht mehr in der Repo Liste auf. Ob / wielange die Widgets mit welcher Umgebung laufen ist davon unabhängig. Aktualisisert und an vis-2 react 19 (>= 2.20.x) werden sie - nach meinem Kenntnisstand -. nicht mehr.

                          EDIT:
                          Ev. kannst die Repos auch auf Github archivieren wenn du dort nichts mehr planst zu tun. Dann sollte es für jedermann klar sein auch wenn er das Repo im Netz findet

                          Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
                          Support Repositoryverwaltung.

                          Wer 'nen Kaffee spendieren will: https://paypal.me

                          LESEN - gute Forenbeitrage

                          OliverIOO 1 Antwort Letzte Antwort
                          0
                          • mcm1957M mcm1957

                            Ich habs schon mal aus dem STABLE rausgenommen.

                            Pers. würd ich's auch aus latest entfernen. Ebenso das rssfeed (oder so ähnlich) widget das ja auch deprecated ist.
                            Wenn's für dich ok ist, kann ich das jederzeit machen.

                            Wichtig für Mitleser:
                            Das Entfernen aus dem Repo DEINSTALLIERT nichts auf euren Systemen. Die Adapter scheinen nu nicht mehr in der Repo Liste auf. Ob / wielange die Widgets mit welcher Umgebung laufen ist davon unabhängig. Aktualisisert und an vis-2 react 19 (>= 2.20.x) werden sie - nach meinem Kenntnisstand -. nicht mehr.

                            EDIT:
                            Ev. kannst die Repos auch auf Github archivieren wenn du dort nichts mehr planst zu tun. Dann sollte es für jedermann klar sein auch wenn er das Repo im Netz findet

                            OliverIOO
                            OliverIOO
                            OliverIO
                            schrieb am zuletzt editiert von OliverIO
                            #103

                            @mcm1957

                            ok,
                            der aktive adapter mit den angepassten vis-2 widgets
                            ist der adapter rssfeed. in diesem sind vis1 UND Vis2 widgets zusammen drin.

                            was man rausnehmen kann wäre der adapter

                            vis-2-widgets-rssfeed

                            archivieren mach ich

                            Meine Adapter und Widgets
                            TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                            Links im Profil

                            1 Antwort Letzte Antwort
                            0
                            • mcm1957M
                              mcm1957M
                              mcm1957
                              Developer Most Active
                              schrieb am zuletzt editiert von
                              #104

                              Ja dachte eh an widgets-rssfeed nicht den aktiven :-) code

                              Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
                              Support Repositoryverwaltung.

                              Wer 'nen Kaffee spendieren will: https://paypal.me

                              LESEN - gute Forenbeitrage

                              1 Antwort Letzte Antwort
                              0
                              • CyberraphC
                                CyberraphC
                                Cyberraph
                                schrieb am zuletzt editiert von Cyberraph
                                #105

                                Hallo Zusammen!

                                Nachfolgend ein paar Beispiele, wie ich nun meine VIS-2 am Handy komplettiert habe.

                                Das ganze aufgebaut nur mit:

                                • Navigation mit aufklappbarer Seitenleiste + Buttons (rot) mit vis2-materialdesign
                                  -> "Top App Bar"
                                  -> "Advanced View in Widget 8"
                                  -> lokalem DP = local_..., damit man lokal via Browser einen DP hat, der nur bei sich die Navigation die Ansicht steuert
                                  -> zzgl. "Icon Button State" der zzgl. zur Top App Bar den local_... DP beschreibt und eine ergänzende Navigation erlaubt

                                • Rest zur gänze mit dem hier diskutierten JSON-Template Widget

                                Ich habe im JSON-Template Widget nur mit
                                "Allgemein" -> "Vorlage" (den gesamten, generierten Code dort reinkopiert)
                                und
                                "Datenpunkte: [##]" (darin die DPs hinterlegt, mit denen gearbeitet wird)
                                gearbeitet.

                                KI habe ich genommen: ChatGPT mit dem kostenlosen Probemonat vom "Plus" Abo.
                                (das "Pro" hatte zumindest den Vorteil, dass man unbegrenzt Fotos, Dateien ect. anhängen durfte)

                                Wichtig war immer die laut Doku beschriebenen "Regeln" der KI vorzugeben.
                                (Dies am besten immer wieder explizit zu schreiben, damit sie es auch immer wieder einhält und nicht vergisst)
                                Danach konnte ich durch mehrere Durchläufe und nur Andeutung
                                von dem was nicht gefällt oder nicht sauber dargestellt wird / funktioniert, eine Korrektur bewirken bis zur finalen Lösung.
                                (Natürlich ohne mein Detailwissen, ob es 100% im Hintergrund / im Code sauber ist
                                -> aber solange alles flüssig läuft und im ioBroker Protokoll keine Fehlermeldungen ausgibt, war ich soweit zufrieden)

                                Sehr hilfreich war auch immer der KI den Objekt-Baum (z.B. speziell die Alias-Objekte) zu geben.
                                So konnte sie sauber alles analysieren und mir die DPs, die ich im JSON-Widget einpflegen soll, mitteilen.

                                Nachfolgend meine Handy-Visualisierung per visu-App via VIS-2 und zuvor genannten Widgets:

                                Alles was eine schwarze "Card" im Hintergrund hat ist jeweils ein JSON-Template Widget.

                                1.jpeg 2.jpeg 3.jpeg 4.jpeg
                                5.jpeg 6.jpeg 7.jpeg 8.jpeg
                                9.jpeg

                                ... Fortsetzung nachfolgender Post:

                                Beste Grüße!

                                io-Broker Neuling 2024 :-)

                                Bislang jedoch einiges an Beiträgen und Grundlagen eingeflößt, um etwas besser empor zu irren.

                                1 Antwort Letzte Antwort
                                0
                                • CyberraphC
                                  CyberraphC
                                  Cyberraph
                                  schrieb am zuletzt editiert von
                                  #106

                                  Fortsetzung Post#105

                                  10.jpeg 11.jpeg 12.jpeg 13.jpeg
                                  14.jpeg 15.jpeg 16.jpeg 17.jpeg
                                  18.jpeg 19.jpeg

                                  Fortsetzung nachfolgender Post:

                                  Beste Grüße!

                                  io-Broker Neuling 2024 :-)

                                  Bislang jedoch einiges an Beiträgen und Grundlagen eingeflößt, um etwas besser empor zu irren.

                                  1 Antwort Letzte Antwort
                                  0
                                  • CyberraphC
                                    CyberraphC
                                    Cyberraph
                                    schrieb am zuletzt editiert von
                                    #107

                                    Fortsetzung Post#106
                                    20.jpeg 21.jpeg 22.jpeg 23.jpeg
                                    24.jpeg

                                    Beste Grüße!

                                    io-Broker Neuling 2024 :-)

                                    Bislang jedoch einiges an Beiträgen und Grundlagen eingeflößt, um etwas besser empor zu irren.

                                    OliverIOO 1 Antwort Letzte Antwort
                                    1
                                    • CyberraphC Cyberraph

                                      Fortsetzung Post#106
                                      20.jpeg 21.jpeg 22.jpeg 23.jpeg
                                      24.jpeg

                                      OliverIOO
                                      OliverIOO
                                      OliverIO
                                      schrieb am zuletzt editiert von OliverIO
                                      #108

                                      @Cyberraph

                                      Sieht gut aus.
                                      Wie ist es mit der Aktualisierung von widgets wen dort mehrere Datenpunkte enthalten sind? Flackert da was?
                                      Ein Nachteil ist es ja, das wenn sich ein Datenpunkt ändert, das komplette widget neu aufgebaut wird. Bei häufigen Änderungen oder aufwändigerem Aufbau, kann das zu flackern führen. Ist aber beim html widget genauso.
                                      Aber bei den meisten Anwendungsfällen sieht man da nix, weil der browser schnell genug ist.

                                      Sind weitere javascript bibliotheken in den widgets mit referenziert, gerade bei den grafischen widgets? oder wird alles nativ gebaut?

                                      Meine Adapter und Widgets
                                      TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                                      Links im Profil

                                      CyberraphC 1 Antwort Letzte Antwort
                                      0
                                      • OliverIOO OliverIO

                                        @Cyberraph

                                        Sieht gut aus.
                                        Wie ist es mit der Aktualisierung von widgets wen dort mehrere Datenpunkte enthalten sind? Flackert da was?
                                        Ein Nachteil ist es ja, das wenn sich ein Datenpunkt ändert, das komplette widget neu aufgebaut wird. Bei häufigen Änderungen oder aufwändigerem Aufbau, kann das zu flackern führen. Ist aber beim html widget genauso.
                                        Aber bei den meisten Anwendungsfällen sieht man da nix, weil der browser schnell genug ist.

                                        Sind weitere javascript bibliotheken in den widgets mit referenziert, gerade bei den grafischen widgets? oder wird alles nativ gebaut?

                                        CyberraphC
                                        CyberraphC
                                        Cyberraph
                                        schrieb am zuletzt editiert von Cyberraph
                                        #109

                                        @OliverIO
                                        Damit gab es hier und da Probleme, ja.
                                        Das es flackerte und das JSON-Widget eben neu renderte.

                                        Das hatte dann zur Folge,
                                        dass man z.B. ein scrollbares Menü nicht gut bedienen konnte. Es dann z.B. wieder auf den Anfang scrollte.

                                        Oder, dass Scrollbalken flimmerten und nicht flüssig zu bedienen waren.
                                        Z.B. bei dem "Online-Status" Widget, wo ich wirklich viele Datenpunkte hinterlegt hatte.

                                        Oder bei den Linien-Diagrammen, hatte das neue Rendern dann das Problem verursacht,
                                        dass man das Diagramm nicht vernünftig "abstasten" konnte.

                                        Diese "Probleme" konnte ich ChatGPT per kurzem Video zeigen und es konnte mir dann den "Fehler" "ausbügeln".
                                        Soweit ich das als Laie verstehe, lädt er es in den Browser-Cache zwischen und lässt das Widget nicht ständig neu rendern.

                                        Und nein, ich habe nicht extra mit zusätzlichen Eingaben der Felder "Javascripts:[#"] und "CCS: [#] gearbeitet.
                                        Den kompetten Code habe ich in "Allgemein" -> "Vorlage:" reinkopiert und fertig.

                                        Nachfolgend das "Online-Status" JSON-Template Widget von mir herausgezogen:

                                        [
                                         {
                                           "tpl": "tplJSONTemplate4",
                                           "data": {
                                             "bindings": [],
                                             "oid": "nothing_selected",
                                             "dpcount": 86,
                                             "g_common": true,
                                             "scriptcount": 1,
                                             "csscount": 1,
                                             "json_dp2": "alias.0.0-Haus.Aussen.NW.Aussensensor.Temp-Feucht.Ping-alive",
                                             "json_dp_variable2": null,
                                             "g_datapoints-2": true,
                                             "json_dp3": "alias.0.0-Haus.Aussen.SW.Aussensensor.Temp-Feucht.Ping-alive",
                                             "json_dp_variable3": null,
                                             "g_datapoints-3": true,
                                             "template": "<%\nconst devices = [\n[\"Aussensensor\", \"Aussen\", \"Nordost\", [[\"Zigbee\", \"alias.0.0-Haus.Aussen.NO.Aussensensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Aussensensor\", \"Aussen\", \"Nordwest\", [[\"Homematic\", \"alias.0.0-Haus.Aussen.NW.Aussensensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Aussensensor\", \"Aussen\", \"Südwest\", [[\"Zigbee\", \"alias.0.0-Haus.Aussen.SW.Aussensensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"PV\", \"DG\", \"Dachboden\", [[\"LAN / WLAN\", \"alias.0.0-Haus.DG.DB.PV.Wechselrichter.Ping-alive\"]], null, false, null],\n[\"Raumsensor\", \"DG\", \"Dachboden\", [[\"Zigbee\", \"alias.0.0-Haus.DG.DB.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Raumsensor\", \"EG\", \"Abstellzimmer\", [[\"Zigbee\", \"alias.0.0-Haus.EG.ABZ.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Hama LED-Leuchte\", \"EG\", \"Arbeitszimmer\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.ARZ.Licht-01.Aktor.UNREACH\"]], null, false, null],\n[\"Raumsensor\", \"EG\", \"Arbeitszimmer\", [[\"Zigbee\", \"alias.0.0-Haus.EG.ARZ.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Surface Angela\", \"EG\", \"Arbeitszimmer\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.ARZ.Surface-Angela.Zusatz.Ping-alive\"]], null, true, null],\n[\"Licht 01\", \"EG\", \"Bad\", [[\"Homematic\", \"alias.0.0-Haus.EG.Bad.Licht-01.Aktor.UNREACH\"]], null, false, null],\n[\"Raumsensor\", \"EG\", \"Bad\", [[\"Zigbee\", \"alias.0.0-Haus.EG.Bad.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Licht 01\", \"EG\", \"Küche\", [[\"Zigbee\", \"alias.0.0-Haus.EG.KUE.Licht-01.Aktor.UNREACH\"]], null, false, null],\n[\"Plug 01 (Küche / Lagerraum)\", \"EG\", \"Küche\", [[\"Zigbee\", \"alias.0.0-Haus.EG.KUE.Plug-01.Switch.UNREACH\"]], null, false, null],\n[\"Raumsensor\", \"EG\", \"Küche\", [[\"Zigbee\", \"alias.0.0-Haus.EG.KUE.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Schalter 01\", \"EG\", \"Küche\", [[\"Homematic\", \"alias.0.0-Haus.EG.KUE.Schalter-01.Zusatz.Ping-alive\"]], null, false, null],\n[\"Raumsensor\", \"EG\", \"WC\", [[\"Zigbee\", \"alias.0.0-Haus.EG.Klo.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"DLAN Verteiler\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.DLAN-Verteiler.Zusatz.Ping-alive\"]], null, false, null],\n[\"Handy Corinna\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.Handy-Corinna.Zusatz.Ping-alive\"]], null, true, null],\n[\"Handy Mutti\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.Handy-Mutti.Zusatz.Ping-alive\"]], null, true, null],\n[\"Handy Raphael\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.Handy-Raphael.Zusatz.Ping-alive\"]], null, true, null],\n[\"Homematic Zentrale\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.Homematic-Zentrale.Zusatz.Ping-alive\"]], null, false, null],\n[\"FRITZ!Box 7530\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.Modem.Zusatz.Ping-alive\"]], null, false, null],\n[\"Raumsensor\", \"EG\", \"Vorhaus\", [[\"Zigbee\", \"alias.0.0-Haus.EG.VH.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Easylog Sensor\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.Raumsensor.Zusatz.Ping-alive-1\"]], null, false, null],\n[\"Smarthomeserver\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.Smarthomeserver.Zusatz.Ping-alive\"]], null, false, null],\n[\"Zigbee Coordinator\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.Zigbee-Coordinator.Zusatz.Ping-alive\"]], null, false, null],\n[\"DLAN Wohnzimmer\", \"EG\", \"Wohnzimmer\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.WZ.DLAN-Wohnzimmer.Zusatz.Ping-alive\"]], null, false, null],\n[\"Laptop Corinna\", \"EG\", \"Wohnzimmer\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.WZ.Laptop-Corinna.Zusatz.Ping-alive\"]], null, true, null],\n[\"Plug 01\", \"EG\", \"Wohnzimmer\", [[\"Homematic\", \"alias.0.0-Haus.EG.WZ.Plug-01.Switch.UNREACH\"]], null, false, null],\n[\"Raumsensor\", \"EG\", \"Wohnzimmer\", [[\"Zigbee\", \"alias.0.0-Haus.EG.WZ.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Anlegefuehler D1-Mini-V3-Sensor-01-06\", \"KG\", \"Heizraum\", [[\"LAN / WLAN\", \"alias.0.0-Haus.KG.HZR.Anlegefuehler.D1-Mini-V3-Sensor-01-06.Ping-alive\"]], null, false, null],\n[\"Anlegefuehler D1-Mini-V3-Sensor-07-10\", \"KG\", \"Heizraum\", [[\"LAN / WLAN\", \"alias.0.0-Haus.KG.HZR.Anlegefuehler.D1-Mini-V3-Sensor-07-10.Ping-alive\"]], null, false, null],\n[\"E Heizer Boiler Leistungsdaten\", \"KG\", \"Heizraum\", [[\"LAN / WLAN\", \"alias.0.0-Haus.KG.HZR.E-Heizer-Boiler.Leistungsdaten.UNREACH\"]], null, false, null],\n[\"E Heizer Boiler Thermostat\", \"KG\", \"Heizraum\", [[\"LAN / WLAN\", \"alias.0.0-Haus.KG.HZR.E-Heizer-Boiler.Thermostat.UNREACH\"]], null, false, null],\n[\"Wasserzähler\", \"KG\", \"Heizraum\", [[\"LAN / WLAN\", \"alias.0.0-Haus.KG.HZR.Wasserzaehler-Zuleitung-Bestand.status.alive\"]], null, false, null],\n[\"Raumsensor\", \"KG\", \"Vorhaus\", [[\"Zigbee\", \"alias.0.0-Haus.KG.VH.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Plug 01\", \"KG\", \"Waschraum\", [[\"Homematic\", \"alias.0.0-Haus.KG.WR.Plug-01.Switch.UNREACH\"]], null, false, null],\n[\"Waschmaschine\", \"KG\", \"Waschraum\", [[\"LAN / WLAN\", \"alias.0.0-Haus.KG.WR.Waschmaschine.Zusatz.Ping-alive\"]], null, true, null],\n[\"Raumsensor\", \"OG\", \"WC\", [[\"Zigbee\", \"alias.0.0-Haus.OG.Klo.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"DLAN Zimmer Corinna\", \"OG\", \"Zimmer Corinna\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.SzC.DLAN-Zimmer-Corinna.Zusatz.Ping-alive\"]], null, false, null],\n[\"Raumsensor\", \"OG\", \"Zimmer Corinna\", [[\"Zigbee\", \"alias.0.0-Haus.OG.SzC.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"TV\", \"OG\", \"Zimmer Corinna\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.SzC.TV.Zusatz.Ping-alive\"]], null, true, null],\n[\"Raumsensor\", \"OG\", \"Schlafzimmer\", [[\"Zigbee\", \"alias.0.0-Haus.OG.SzM.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"BWM Wand 01\", \"OG\", \"Vorhaus\", [[\"Homematic\", \"alias.0.0-Haus.OG.VH.BWM-Wand-01.Status.Ping-alive\"]], null, false, null],\n[\"Raumsensor\", \"OG\", \"Vorhaus\", [[\"Zigbee\", \"alias.0.0-Haus.OG.VH.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Schalter 01\", \"OG\", \"Vorhaus\", [[\"Homematic\", \"alias.0.0-Haus.OG.VH.Schalter-01.Zusatz.Ping-alive\"]], null, false, null],\n[\"Denon AV-Receiver\", \"OG\", \"Zimmer Raphael\", [[\"ioBroker-Adapter\", \"alias.0.0-Haus.OG.ZiR.AV-Receiver.Hauptfunktionen.UNREACH\"], [\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.AV-Receiver.Zusatz.Ping-alive\"]], \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Plug-02.Switch.SET\", true, \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.online\"],\n[\"Amazon Echo Dot\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Amazon-Echo-Dot.Zusatz.Ping-alive\"]], null, false, null],\n[\"DLAN Zimmer Raphael\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.DLAN-Zimmer-Raphael.Zusatz.Ping-alive\"]], null, false, null],\n[\"HP Laserdrucker\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Drucker.Zusatz.Ping-alive\"]], \"alias.0.0-Haus.OG.ZiR.Stckleiste-4.Plug-03.Switch.SET\", true, \"alias.0.0-Haus.OG.ZiR.Stckleiste-4.Zusatz.online\"],\n[\"Licht 01\", \"OG\", \"Zimmer Raphael\", [[\"Homematic\", \"alias.0.0-Haus.OG.ZiR.Licht-01.Aktor.UNREACH\"]], null, false, null],\n[\"Nanoleaf LEDs\", \"OG\", \"Zimmer Raphael\", [[\"ioBroker-Adapter\", \"alias.0.0-Haus.OG.ZiR.Licht-03.Aktor.UNREACH\"], [\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Licht-03.Zusatz.Ping-alive\"]], null, false, null],\n[\"Nintendo Switch 2\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Nintendo-Switch-2.Zusatz.Ping-alive\"], [\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Nintendo-Switch-2.Zusatz.Ping-alive-2\"]], \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Plug-04.Switch.SET\", true, \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.online\"],\n[\"Nintendo Switch OLED\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Nintendo-Switch-OLED.Zusatz.Ping-alive\"], [\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Nintendo-Switch-OLED.Zusatz.Ping-alive-2\"]], \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Plug-04.Switch.SET\", true, \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.online\"],\n[\"Stand-PC\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.PC-Standrechner.Zusatz.Ping-alive\"]], \"alias.0.0-Haus.OG.ZiR.Stckleiste-3.Plug-01.Switch.SET\", true, \"alias.0.0-Haus.OG.ZiR.Stckleiste-3.Zusatz.online\"],\n[\"PS5\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.PS5.Zusatz.Ping-alive\"]], \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Plug-04.Switch.SET\", true, \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.online\"],\n[\"Plug 01\", \"OG\", \"Zimmer Raphael\", [[\"Zigbee\", \"alias.0.0-Haus.OG.ZiR.Plug-01.Switch.UNREACH\"]], null, false, null],\n[\"Plug 02\", \"OG\", \"Zimmer Raphael\", [[\"Zigbee\", \"alias.0.0-Haus.OG.ZiR.Plug-02.Switch.UNREACH\"]], null, false, null],\n[\"Plug 03\", \"OG\", \"Zimmer Raphael\", [[\"Zigbee\", \"alias.0.0-Haus.OG.ZiR.Plug-03.Switch.UNREACH\"]], null, false, null],\n[\"Plug 04\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Plug-04.Switch.UNREACH\"], [\"Tuya\", \"alias.0.0-Haus.OG.ZiR.Plug-04.Zusatz.online\"]], null, false, null],\n[\"Raumsensor\", \"OG\", \"Zimmer Raphael\", [[\"Homematic\", \"alias.0.0-Haus.OG.ZiR.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Stckleiste 1\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Stckleiste-1.Zusatz.Ping-alive\"], [\"Tuya\", \"alias.0.0-Haus.OG.ZiR.Stckleiste-1.Zusatz.online\"]], null, false, null],\n[\"Stckleiste 2\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.Ping-alive\"], [\"Tuya\", \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.online\"]], null, false, null],\n[\"Stckleiste 3\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Stckleiste-3.Zusatz.Ping-alive\"], [\"Tuya\", \"alias.0.0-Haus.OG.ZiR.Stckleiste-3.Zusatz.online\"]], null, false, null],\n[\"Stckleiste 4\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Stckleiste-4.Zusatz.Ping-alive\"], [\"Tuya\", \"alias.0.0-Haus.OG.ZiR.Stckleiste-4.Zusatz.online\"]], null, false, null],\n[\"Surface Raphael\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Surface-Raphael.Zusatz.Ping-alive\"]], null, true, null],\n[\"LG TV\", \"OG\", \"Zimmer Raphael\", [[\"ioBroker-Adapter\", \"alias.0.0-Haus.OG.ZiR.TV.Hauptfunktionen.UNREACH\"], [\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.TV.Zusatz.Ping-alive\"]], \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Plug-03.Switch.SET\", true, \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.online\"],\n[\"Tablet Amazon Fire HD 10\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Tablet-Amazon-Fire-HD-10.Zusatz.Ping-alive\"]], null, true, null],\n[\"Ulanzi AWTRIX\", \"OG\", \"Zimmer Raphael\", [[\"ioBroker-Adapter\", \"alias.0.0-Haus.OG.ZiR.ULANZI.Bedienung.UNREACH\"], [\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.ULANZI.Zusatz.Ping-alive\"]], \"alias.0.0-Haus.OG.ZiR.Stckleiste-4.Plug-01.Switch.SET\", false, \"alias.0.0-Haus.OG.ZiR.Stckleiste-4.Zusatz.online\"]];\nfunction read(id)\n{\n    if (!id || typeof dp === 'undefined' || !dp) return null;\n    let v = dp[id];\n    if (v !== null && typeof v === 'object') v = v.val;\n    if (v === true || v === 1 || v === 'true' || v === '1' || v === 'online') return true;\n    if (v === false || v === 0 || v === 'false' || v === '0' || v === 'offline') return false;\n    return null;\n}\nconst systems = ['LAN / WLAN','Zigbee','Homematic','Tuya','ioBroker-Adapter'];\nconst labels = ['Online','Störung','Offline','Ausgeschaltet','Unbekannt'];\nconst colors = ['#4ade80','#ef7777','#f6b55c','#687481','#8996a3'];\nfunction classify(values, power, trusted, optional)\n{\n    if (trusted && power === false && !values.includes(true)) return 3;\n    if (trusted && power === false && values.includes(true)) return 4;\n    if (values.includes(false)) return optional ? 2 : 1;\n    if (values.includes(null)) return 4;\n    return values.length && values.every(v => v === true) ? 0 : 4;\n}\nconst entries = devices.map(function(d)\n{\n    const checks = d[3].map(c => [c[0],read(c[1]),c[1]]);\n    const power = read(d[4]);\n    const trusted = !!d[4] && read(d[6]) === true;\n    const bySystem = systems.filter(s => checks.some(c => c[0] === s)).map(function(s)\n    {\n        let values = checks.filter(c => c[0] === s).map(c => c[1]);\n        if (s === 'LAN / WLAN' && values.length > 1)\n        {\n            values = [values.includes(true) ? true : values.includes(null) ? null : false];\n        }\n        return [s,classify(values,power,trusted,d[5])];\n    });\n    const states = bySystem.map(c => c[1]);\n    const status = [1,4,2,3,0].find(s => states.includes(s));\n    return [d[0],d[1],d[2],checks,power,trusted,bySystem,status,d[4]];\n});\nconst counts = labels.map((l,i) => entries.filter(e => e[7] === i).length);\nconst pct = entries.length ? Math.round(counts[0]*100/entries.length) : 0;\n%>\n<style>\n#net-<%- widgetid %>\n{\n width:382.9px; max-width:100%; height:729.8px; box-sizing:border-box; background:#1c222b; color:#edf2f7; border-radius:16px; padding:14px 10px 10px; font:13px Arial,sans-serif; display:flex; flex-direction:column; gap:8px; overflow:hidden;\n}\n#net-<%- widgetid %> *\n{\n box-sizing:border-box;\n}\n#net-<%- widgetid %> .head, #net-<%- widgetid %> .line\n{\n display:flex; align-items:center; justify-content:space-between; gap:6px;\n}\n#net-<%- widgetid %> .head\n{\n padding:2px 6px; height:24px; flex-shrink:0; font-weight:bold;\n}\n#net-<%- widgetid %> .panel\n{\n background:#26313d; border-radius:12px; padding:10px;\n}\n#net-<%- widgetid %> .tiles\n{\n display:grid; grid-template-columns:1fr 1fr; gap:6px;\n}\n#net-<%- widgetid %> .tiles > button:last-child\n{\n grid-column:1 / -1;\n}\n#net-<%- widgetid %> button\n{\n background:#26313d; color:#edf2f7; border:1px solid #465260; border-radius:7px; padding:7px; font:inherit; min-width:0;\n}\n#net-<%- widgetid %> button\n{\n cursor:pointer; text-align:left;\n}\n#net-<%- widgetid %> button.active\n{\n border-color:#78bde2; background:#34414f;\n}\n#net-<%- widgetid %> .bar\n{\n display:flex; height:4px; overflow:hidden; border-radius:3px; margin-top:5px;\n}\n#net-<%- widgetid %> .filters\n{\n display:flex; flex-wrap:wrap; gap:4px;\n}\n#net-<%- widgetid %> .filters button\n{\n flex:1; font-size:11px; text-align:center;\n}\n#net-<%- widgetid %> .list\n{\n flex:1; min-height:0; overflow-x:hidden; overflow-y:auto; overflow-anchor:none; scrollbar-width:none; overscroll-behavior:contain; background:#26313d; border-radius:10px; padding:7px;\n}\n#net-<%- widgetid %> .list::-webkit-scrollbar\n{\n display:none;\n}\n#net-<%- widgetid %> details\n{\n background:#1c222b; border-radius:6px; margin:4px 0; padding:7px;\n}\n#net-<%- widgetid %> summary\n{\n cursor:pointer; list-style:none;\n}\n#net-<%- widgetid %> .muted\n{\n color:#8996a3; font-size:10px;\n}\n#net-<%- widgetid %> .group\n{\n color:#78bde2; font-weight:bold; padding:7px 2px 2px;\n}\n</style>\n<div id=\"net-<%- widgetid %>\">\n<div class=\"head\"><span style=\"font-size:18px\"> <span style=\"color:<%- counts[4] === entries.length ? '#687481' : '#4ade80' %>\">●</span> Live</span><span>Netzwerkübersicht</span></div>\n<div class=\"panel line\">\n<svg viewBox=\"0 0 110 110\" width=\"105\" height=\"105\" style=\"flex-shrink:0\">\n<circle cx=\"55\" cy=\"55\" r=\"44\" fill=\"none\" stroke=\"#414d5a\" stroke-width=\"9\"/>\n<% let offset=0; for(let i=0;i<5;i++) { %>\n<% const len=entries.length ? counts[i]/entries.length*276.46 : 0; %>\n<circle cx=\"55\" cy=\"55\" r=\"44\" fill=\"none\" stroke=\"<%- colors[i] %>\" stroke-width=\"9\" stroke-dasharray=\"<%- len %> 276.46\" stroke-dashoffset=\"<%- -offset %>\" transform=\"rotate(-90 55 55)\"/>\n<% offset+=len; } %>\n<text x=\"55\" y=\"54\" text-anchor=\"middle\" fill=\"#edf2f7\" font-size=\"25\" font-weight=\"bold\"><%- pct %>%</text><text x=\"55\" y=\"69\" text-anchor=\"middle\" fill=\"#8996a3\" font-size=\"11\">Online</text>\n</svg>\n<div style=\"flex:1\"><div class=\"line\"><b>Geräte / Einheiten</b><b><%- entries.length %></b></div>\n<% for(let i=0;i<5;i++) { %>\n<button type=\"button\" data-status=\"<%- i %>\" class=\"line\" style=\"width:100%;padding:2px 4px;border:0\"><span style=\"color:<%- colors[i] %>\">● <%- labels[i] %></span><b><%- counts[i] %></b></button>\n<% } %>\n</div></div>\n<div class=\"tiles\">\n<% for(const s of systems) { %>\n<% const list=entries.flatMap(e=>e[6].filter(c=>c[0]===s)); const n=list.length; const cc=labels.map((l,i)=>list.filter(c=>c[1]===i).length); %>\n<button type=\"button\" data-system=\"<%- s %>\"><div class=\"line\"><b><%- s %></b><span class=\"muted\"><%- n %></span></div><div class=\"line\"><b style=\"color:#4ade80;font-size:17px\"><%- cc[0] %> / <%- n %></b><span style=\"color:<%- cc[1] ? '#ef7777' : '#8996a3' %>;font-size:10px\"><%- cc[1] %> Störung</span></div><div class=\"bar\">\n<% for(let i=0;i<5;i++) { %>\n<span style=\"width:<%- n ? cc[i]*100/n : 0 %>%;background:<%- colors[i] %>\"></span>\n<% } %>\n</div></button>\n<% } %>\n</div>\n<div class=\"filters\"><button type=\"button\" data-group=\"system\">Nach System</button><button type=\"button\" data-group=\"floor\">Nach Geschoss</button><button type=\"button\" data-reset>Alle / Reset</button></div>\n<div class=\"filters\"><button type=\"button\" data-status=\"1\">Störungen</button><button type=\"button\" data-status=\"2\">Offline</button><button type=\"button\" data-status=\"3\">Aus</button><button type=\"button\" data-status=\"4\">Unbekannt</button></div>\n<div class=\"muted\" data-caption></div>\n<div class=\"list\" data-list></div>\n<div class=\"muted\">Nur lesend · Status gemäß Alias-Datenpunkten</div>\n</div>\n<script>\n(function()\n{\n const key='net-<%- widgetid %>';\n const incoming=document.getElementById(key);\n if(!incoming) return;\n let root=incoming;\n if(!root) return;\n let entries=<%- JSON.stringify(entries).replace(/</g,'\\\\u003c') %>;\n const labels=<%- JSON.stringify(labels) %>;\n const colors=<%- JSON.stringify(colors) %>;\n const systems=<%- JSON.stringify(systems) %>;\n const stateKey=key+'-filters-v2';\n if(!window[stateKey])\n {\n  window[stateKey]=\n  {\n   system:'',status:-1,group:'system',scroll:0,open:[]\n  };\n }\n const st=window[stateKey];\n if(st.system==='Adapter') st.system='ioBroker-Adapter';\n if(st.system==='MQTT') st.system='LAN / WLAN';\n if(st.system && !systems.includes(st.system)) st.system='';\n const signature=JSON.stringify(entries);\n if(st.root && st.root!==incoming && typeof st.update==='function' && !st.root.isConnected && st.root.querySelectorAll('[data-system]').length===systems.length)\n {\n  const savedScroll=st.scroll;\n  incoming.replaceWith(st.root);\n  st.scroll=savedScroll;\n  st.update(entries, incoming, signature);\n  return;\n }\n st.root=root;\n const list=root.querySelector('[data-list]');\n function el(tag,text,cls)\n {\n  const node=document.createElement(tag);\n  if(text!==null) node.textContent=text;\n  if(cls) node.className=cls;\n  return node;\n }\n function restoreScroll()\n {\n  if(!root.isConnected || list.clientHeight===0) return;\n  list.scrollTop=Math.min(st.scroll,Math.max(0,list.scrollHeight-list.clientHeight));\n  st.scroll=list.scrollTop;\n }\n function render()\n {\n  if(!root.isConnected) return;\n  const fragment=document.createDocumentFragment();\n  let count=0;\n  const gs=st.group==='system' ? systems : ['Aussen','DG','OG','EG','KG'];\n  gs.forEach(function(g)\n  {\n   if(st.group==='system' && st.system && st.system!==g) return;\n   const rows=entries.filter(function(e)\n   {\n    if(st.system && !e[6].some(c=>c[0]===st.system)) return false;\n    if(st.group==='system' ? !e[6].some(c=>c[0]===g) : e[1]!==g) return false;\n    const s=st.group==='system' ? e[6].find(c=>c[0]===g)[1] : st.system ? e[6].find(c=>c[0]===st.system)[1] : e[7];\n    if(st.status>=0 && s!==st.status) return false;\n    return true;\n   });\n   if(!rows.length) return;\n   fragment.appendChild(el('div',g+' · '+rows.length,'group'));\n   rows.forEach(function(e)\n   {\n    count++;\n    const s=st.group==='system' ? e[6].find(c=>c[0]===g)[1] : st.system ? e[6].find(c=>c[0]===st.system)[1] : e[7];\n    const id=g+'|'+e[3][0][2];\n    const detail=el('details',null);\n    detail.open=st.open.includes(id);\n    const summary=el('summary',null,'line');\n    const name=el('div',null);\n    name.appendChild(el('b',e[0]));\n    name.appendChild(el('div',e[1]+' · '+e[2],'muted'));\n    summary.appendChild(name);\n    const status=el('span','● '+labels[s]); status.style.color=colors[s]; status.style.fontSize='11px';\n    summary.appendChild(status); detail.appendChild(summary);\n    e[3].forEach(function(c)\n    {\n     let connectionName=c[0];\n     if(c[0]==='ioBroker-Adapter')\n     {\n      if(e[0]==='Denon AV-Receiver') connectionName='Denon-Adapter';\n      if(e[0]==='LG TV') connectionName='LG-TV-Adapter';\n      if(e[0]==='Ulanzi AWTRIX') connectionName='AWTRIX-Adapter';\n      if(e[0]==='Nanoleaf LEDs') connectionName='Nanoleaf-Adapter';\n     }\n     if(c[2].endsWith('Wasserzaehler-Zuleitung-Bestand.status.alive')) connectionName='LAN / WLAN (MQTT-Status)';\n     const line=el('div',connectionName+': '+(c[1]===true?'Online':c[1]===false?'Offline':'Unbekannt'),'muted');\n     line.style.marginTop='5px'; detail.appendChild(line);\n    });\n    if(e[8]) detail.appendChild(el('div','Stromversorgung: '+(!e[5]?'Nicht verlässlich':e[4]===true?'EIN':e[4]===false?'AUS':'Unbekannt'),'muted'));\n    detail.ontoggle=function()\n    {\n     if(!detail.isConnected || st.root!==root) return;\n     if(detail.open && !st.open.includes(id)) st.open.push(id);\n     if(!detail.open) st.open=st.open.filter(x=>x!==id);\n    };\n    fragment.appendChild(detail);\n   });\n  });\n  if(!count) fragment.appendChild(el('div','Keine passenden Einträge','muted'));\n  root.querySelector('[data-caption]').textContent=count+' Listeneinträge'+(st.system?' · '+st.system:'');\n  root.querySelectorAll('button').forEach(function(b)\n  {\n   b.classList.toggle('active',b.dataset.system===st.system || b.dataset.group===st.group || (b.dataset.status!==undefined && Number(b.dataset.status)===st.status));\n  });\n  const markup=Array.from(fragment.childNodes).map(node=>node.outerHTML).join('');\n  if(list.innerHTML!==markup)\n  {\n   list.replaceChildren(fragment);\n  }\n  restoreScroll();\n }\n list.onscroll=function()\n {\n  if(st.root===root && root.isConnected && list.clientHeight>0) st.scroll=list.scrollTop;\n };\n root.onclick=function(event)\n {\n  const b=event.target.closest('button');\n  if(!b || !root.contains(b)) return;\n  event.preventDefault(); event.stopPropagation();\n  if(b.dataset.system!==undefined) st.system=st.system===b.dataset.system?'':b.dataset.system;\n  if(b.dataset.status!==undefined)\n  {\n   const s=Number(b.dataset.status); st.status=st.status===s?-1:s;\n  }\n  if(b.dataset.group!==undefined) st.group=b.dataset.group;\n  if(b.dataset.reset!==undefined)\n  {\n   st.system=''; st.status=-1;\n  }\n  st.scroll=0; render();\n };\n let lastSignature=signature;\n st.update=function(nextEntries, nextRoot, nextSignature)\n {\n  if(st.root!==root || !root.isConnected) return;\n  if(lastSignature===nextSignature)\n  {\n   restoreScroll();\n   return;\n  }\n  lastSignature=nextSignature;\n  entries=nextEntries;\n  // Update the fixed overview without replacing its clickable elements.\n  const oldParts=root.querySelectorAll('.head, .panel, .tiles');\n  const newParts=nextRoot.querySelectorAll('.head, .panel, .tiles');\n  function sync(a,b)\n  {\n   if(a.nodeType===3)\n   {\n    if(a.nodeValue!==b.nodeValue) a.nodeValue=b.nodeValue;\n    return;\n   }\n   if(a.nodeType!==1) return;\n   Array.from(b.attributes).forEach(function(attr)\n   {\n    if(attr.name!=='class' && a.getAttribute(attr.name)!==attr.value) a.setAttribute(attr.name,attr.value);\n   });\n   if(a.childNodes.length===b.childNodes.length)\n   {\n    Array.from(a.childNodes).forEach(function(child,i)\n    {\n     sync(child,b.childNodes[i]);\n    });\n   }\n  }\n  oldParts.forEach(function(part,i)\n  {\n   if(newParts[i]) sync(part,newParts[i]);\n  });\n  render();\n };\n render();\n})();\n</script>\n",
                                             "scriptfile1": null,
                                             "g_scriptfiles-1": true,
                                             "cssfile1": null,
                                             "g_cssfiles-1": true,
                                             "json_dp1": "alias.0.0-Haus.Aussen.NO.Aussensensor.Temp-Feucht.Ping-alive",
                                             "json_dp_variable1": null,
                                             "g_datapoints-1": true,
                                             "json_dp4": "alias.0.0-Haus.DG.DB.PV.Wechselrichter.Ping-alive",
                                             "json_dp_variable4": null,
                                             "g_datapoints-4": true,
                                             "json_dp5": "alias.0.0-Haus.DG.DB.Raumsensor.Temp-Feucht.Ping-alive",
                                             "json_dp_variable5": null,
                                             "g_datapoints-5": true,
                                             "json_dp6": "alias.0.0-Haus.EG.ABZ.Raumsensor.Temp-Feucht.Ping-alive",
                                             "json_dp_variable6": null,
                                             "g_datapoints-6": true,
                                             "json_dp7": "alias.0.0-Haus.EG.ARZ.Licht-01.Aktor.UNREACH",
                                             "json_dp_variable7": null,
                                             "g_datapoints-7": true,
                                             "json_dp8": "alias.0.0-Haus.EG.ARZ.Raumsensor.Temp-Feucht.Ping-alive",
                                             "json_dp_variable8": null,
                                             "g_datapoints-8": true,
                                             "json_dp9": "alias.0.0-Haus.EG.ARZ.Surface-Angela.Zusatz.Ping-alive",
                                             "json_dp_variable9": null,
                                             "g_datapoints-9": true,
                                             "json_dp10": "alias.0.0-Haus.EG.Bad.Licht-01.Aktor.UNREACH",
                                             "json_dp_variable10": null,
                                             "g_datapoints-10": true,
                                             "json_dp11": "alias.0.0-Haus.EG.Bad.Raumsensor.Temp-Feucht.Ping-alive",
                                             "json_dp_variable11": null,
                                             "g_datapoints-11": true,
                                             "json_dp12": "alias.0.0-Haus.EG.KUE.Licht-01.Aktor.UNREACH",
                                             "json_dp_variable12": null,
                                             "g_datapoints-12": true,
                                             "json_dp13": "alias.0.0-Haus.EG.KUE.Plug-01.Switch.UNREACH",
                                             "json_dp_variable13": null,
                                             "g_datapoints-13": true,
                                             "json_dp14": "alias.0.0-Haus.EG.KUE.Raumsensor.Temp-Feucht.Ping-alive",
                                             "json_dp_variable14": null,
                                             "g_datapoints-14": true,
                                             "json_dp15": "alias.0.0-Haus.EG.KUE.Schalter-01.Zusatz.Ping-alive",
                                             "json_dp_variable15": null,
                                             "g_datapoints-15": true,
                                             "json_dp16": "alias.0.0-Haus.EG.Klo.Raumsensor.Temp-Feucht.Ping-alive",
                                             "json_dp_variable16": null,
                                             "g_datapoints-16": true,
                                             "json_dp17": "alias.0.0-Haus.EG.VH.DLAN-Verteiler.Zusatz.Ping-alive",
                                             "json_dp_variable17": null,
                                             "g_datapoints-17": true,
                                             "json_dp18": "alias.0.0-Haus.EG.VH.Handy-Corinna.Zusatz.Ping-alive",
                                             "json_dp_variable18": null,
                                             "g_datapoints-18": true,
                                             "json_dp19": "alias.0.0-Haus.EG.VH.Handy-Mutti.Zusatz.Ping-alive",
                                             "json_dp_variable19": null,
                                             "g_datapoints-19": true,
                                             "json_dp20": "alias.0.0-Haus.EG.VH.Handy-Raphael.Zusatz.Ping-alive",
                                             "json_dp_variable20": null,
                                             "g_datapoints-20": true,
                                             "json_dp21": "alias.0.0-Haus.EG.VH.Homematic-Zentrale.Zusatz.Ping-alive",
                                             "json_dp_variable21": null,
                                             "g_datapoints-21": true,
                                             "json_dp22": "alias.0.0-Haus.EG.VH.Modem.Zusatz.Ping-alive",
                                             "json_dp_variable22": null,
                                             "g_datapoints-22": true,
                                             "json_dp23": "alias.0.0-Haus.EG.VH.Raumsensor.Temp-Feucht.Ping-alive",
                                             "json_dp_variable23": null,
                                             "g_datapoints-23": true,
                                             "json_dp24": "alias.0.0-Haus.EG.VH.Raumsensor.Zusatz.Ping-alive-1",
                                             "json_dp_variable24": null,
                                             "g_datapoints-24": true,
                                             "json_dp25": "alias.0.0-Haus.EG.VH.Smarthomeserver.Zusatz.Ping-alive",
                                             "json_dp_variable25": null,
                                             "g_datapoints-25": true,
                                             "json_dp26": "alias.0.0-Haus.EG.VH.Zigbee-Coordinator.Zusatz.Ping-alive",
                                             "json_dp_variable26": null,
                                             "g_datapoints-26": true,
                                             "json_dp27": "alias.0.0-Haus.EG.WZ.DLAN-Wohnzimmer.Zusatz.Ping-alive",
                                             "json_dp_variable27": null,
                                             "g_datapoints-27": true,
                                             "json_dp28": "alias.0.0-Haus.EG.WZ.Laptop-Corinna.Zusatz.Ping-alive",
                                             "json_dp_variable28": null,
                                             "g_datapoints-28": true,
                                             "json_dp29": "alias.0.0-Haus.EG.WZ.Plug-01.Switch.UNREACH",
                                             "json_dp_variable29": null,
                                             "g_datapoints-29": true,
                                             "json_dp30": "alias.0.0-Haus.EG.WZ.Raumsensor.Temp-Feucht.Ping-alive",
                                             "json_dp_variable30": null,
                                             "g_datapoints-30": true,
                                             "json_dp31": "alias.0.0-Haus.KG.HZR.Anlegefuehler.D1-Mini-V3-Sensor-01-06.Ping-alive",
                                             "json_dp_variable31": null,
                                             "g_datapoints-31": true,
                                             "json_dp32": "alias.0.0-Haus.KG.HZR.Anlegefuehler.D1-Mini-V3-Sensor-07-10.Ping-alive",
                                             "json_dp_variable32": null,
                                             "g_datapoints-32": true,
                                             "json_dp33": "alias.0.0-Haus.KG.HZR.E-Heizer-Boiler.Leistungsdaten.UNREACH",
                                             "json_dp_variable33": null,
                                             "g_datapoints-33": true,
                                             "json_dp34": "alias.0.0-Haus.KG.HZR.E-Heizer-Boiler.Thermostat.UNREACH",
                                             "json_dp_variable34": null,
                                             "g_datapoints-34": true,
                                             "json_dp35": "alias.0.0-Haus.KG.HZR.Wasserzaehler-Zuleitung-Bestand.status.alive",
                                             "json_dp_variable35": null,
                                             "g_datapoints-35": true,
                                             "json_dp36": "alias.0.0-Haus.KG.VH.Raumsensor.Temp-Feucht.Ping-alive",
                                             "json_dp_variable36": null,
                                             "g_datapoints-36": true,
                                             "json_dp37": "alias.0.0-Haus.KG.WR.Plug-01.Switch.UNREACH",
                                             "json_dp_variable37": null,
                                             "g_datapoints-37": true,
                                             "json_dp38": "alias.0.0-Haus.KG.WR.Waschmaschine.Zusatz.Ping-alive",
                                             "json_dp_variable38": null,
                                             "g_datapoints-38": true,
                                             "json_dp39": "alias.0.0-Haus.OG.Klo.Raumsensor.Temp-Feucht.Ping-alive",
                                             "json_dp_variable39": null,
                                             "g_datapoints-39": true,
                                             "json_dp40": "alias.0.0-Haus.OG.SzC.DLAN-Zimmer-Corinna.Zusatz.Ping-alive",
                                             "json_dp_variable40": null,
                                             "g_datapoints-40": true,
                                             "json_dp41": "alias.0.0-Haus.OG.SzC.Raumsensor.Temp-Feucht.Ping-alive",
                                             "json_dp_variable41": null,
                                             "g_datapoints-41": true,
                                             "json_dp42": "alias.0.0-Haus.OG.SzC.TV.Zusatz.Ping-alive",
                                             "json_dp_variable42": null,
                                             "g_datapoints-42": true,
                                             "json_dp43": "alias.0.0-Haus.OG.SzM.Raumsensor.Temp-Feucht.Ping-alive",
                                             "json_dp_variable43": null,
                                             "g_datapoints-43": true,
                                             "json_dp44": "alias.0.0-Haus.OG.VH.BWM-Wand-01.Status.Ping-alive",
                                             "json_dp_variable44": null,
                                             "g_datapoints-44": true,
                                             "json_dp45": "alias.0.0-Haus.OG.VH.Raumsensor.Temp-Feucht.Ping-alive",
                                             "json_dp_variable45": null,
                                             "g_datapoints-45": true,
                                             "json_dp46": "alias.0.0-Haus.OG.VH.Schalter-01.Zusatz.Ping-alive",
                                             "json_dp_variable46": null,
                                             "g_datapoints-46": true,
                                             "json_dp47": "alias.0.0-Haus.OG.ZiR.AV-Receiver.Hauptfunktionen.UNREACH",
                                             "json_dp_variable47": null,
                                             "g_datapoints-47": true,
                                             "json_dp48": "alias.0.0-Haus.OG.ZiR.AV-Receiver.Zusatz.Ping-alive",
                                             "json_dp_variable48": null,
                                             "g_datapoints-48": true,
                                             "json_dp49": "alias.0.0-Haus.OG.ZiR.Amazon-Echo-Dot.Zusatz.Ping-alive",
                                             "json_dp_variable49": null,
                                             "g_datapoints-49": true,
                                             "json_dp50": "alias.0.0-Haus.OG.ZiR.DLAN-Zimmer-Raphael.Zusatz.Ping-alive",
                                             "json_dp_variable50": null,
                                             "g_datapoints-50": true,
                                             "json_dp51": "alias.0.0-Haus.OG.ZiR.Drucker.Zusatz.Ping-alive",
                                             "json_dp_variable51": null,
                                             "g_datapoints-51": true,
                                             "json_dp52": "alias.0.0-Haus.OG.ZiR.Licht-01.Aktor.UNREACH",
                                             "json_dp_variable52": null,
                                             "g_datapoints-52": true,
                                             "json_dp53": "alias.0.0-Haus.OG.ZiR.Licht-03.Aktor.UNREACH",
                                             "json_dp_variable53": null,
                                             "g_datapoints-53": true,
                                             "json_dp54": "alias.0.0-Haus.OG.ZiR.Licht-03.Zusatz.Ping-alive",
                                             "json_dp_variable54": null,
                                             "g_datapoints-54": true,
                                             "json_dp55": "alias.0.0-Haus.OG.ZiR.Nintendo-Switch-2.Zusatz.Ping-alive",
                                             "json_dp_variable55": null,
                                             "g_datapoints-55": true,
                                             "json_dp56": "alias.0.0-Haus.OG.ZiR.Nintendo-Switch-2.Zusatz.Ping-alive-2",
                                             "json_dp_variable56": null,
                                             "g_datapoints-56": true,
                                             "json_dp57": "alias.0.0-Haus.OG.ZiR.Nintendo-Switch-OLED.Zusatz.Ping-alive",
                                             "json_dp_variable57": null,
                                             "g_datapoints-57": true,
                                             "json_dp58": "alias.0.0-Haus.OG.ZiR.Nintendo-Switch-OLED.Zusatz.Ping-alive-2",
                                             "json_dp_variable58": null,
                                             "g_datapoints-58": true,
                                             "json_dp59": "alias.0.0-Haus.OG.ZiR.PC-Standrechner.Zusatz.Ping-alive",
                                             "json_dp_variable59": null,
                                             "g_datapoints-59": true,
                                             "json_dp60": "alias.0.0-Haus.OG.ZiR.PS5.Zusatz.Ping-alive",
                                             "json_dp_variable60": null,
                                             "g_datapoints-60": true,
                                             "json_dp61": "alias.0.0-Haus.OG.ZiR.Plug-01.Switch.UNREACH",
                                             "json_dp_variable61": null,
                                             "g_datapoints-61": true,
                                             "json_dp62": "alias.0.0-Haus.OG.ZiR.Plug-02.Switch.UNREACH",
                                             "json_dp_variable62": null,
                                             "g_datapoints-62": true,
                                             "json_dp63": "alias.0.0-Haus.OG.ZiR.Plug-03.Switch.UNREACH",
                                             "json_dp_variable63": null,
                                             "g_datapoints-63": true,
                                             "json_dp64": "alias.0.0-Haus.OG.ZiR.Raumsensor.Temp-Feucht.Ping-alive",
                                             "json_dp_variable64": null,
                                             "g_datapoints-64": true,
                                             "json_dp65": "alias.0.0-Haus.OG.ZiR.Stckleiste-1.Zusatz.Ping-alive",
                                             "json_dp_variable65": null,
                                             "g_datapoints-65": true,
                                             "json_dp66": "alias.0.0-Haus.OG.ZiR.Stckleiste-1.Zusatz.online",
                                             "json_dp_variable66": null,
                                             "g_datapoints-66": true,
                                             "json_dp67": "alias.0.0-Haus.OG.ZiR.Stckleiste-2.Plug-02.Switch.SET",
                                             "json_dp_variable67": null,
                                             "g_datapoints-67": true,
                                             "json_dp68": "alias.0.0-Haus.OG.ZiR.Stckleiste-2.Plug-03.Switch.SET",
                                             "json_dp_variable68": null,
                                             "g_datapoints-68": true,
                                             "json_dp69": "alias.0.0-Haus.OG.ZiR.Stckleiste-2.Plug-04.Switch.SET",
                                             "json_dp_variable69": null,
                                             "g_datapoints-69": true,
                                             "json_dp70": "alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.Ping-alive",
                                             "json_dp_variable70": null,
                                             "g_datapoints-70": true,
                                             "json_dp71": "alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.online",
                                             "json_dp_variable71": null,
                                             "g_datapoints-71": true,
                                             "json_dp72": "alias.0.0-Haus.OG.ZiR.Stckleiste-3.Plug-01.Switch.SET",
                                             "json_dp_variable72": null,
                                             "g_datapoints-72": true,
                                             "json_dp73": "alias.0.0-Haus.OG.ZiR.Stckleiste-3.Zusatz.Ping-alive",
                                             "json_dp_variable73": null,
                                             "g_datapoints-73": true,
                                             "json_dp74": "alias.0.0-Haus.OG.ZiR.Stckleiste-3.Zusatz.online",
                                             "json_dp_variable74": null,
                                             "g_datapoints-74": true,
                                             "json_dp75": "alias.0.0-Haus.OG.ZiR.Stckleiste-4.Plug-01.Switch.SET",
                                             "json_dp_variable75": null,
                                             "g_datapoints-75": true,
                                             "json_dp76": "alias.0.0-Haus.OG.ZiR.Stckleiste-4.Plug-03.Switch.SET",
                                             "json_dp_variable76": null,
                                             "g_datapoints-76": true,
                                             "json_dp77": "alias.0.0-Haus.OG.ZiR.Stckleiste-4.Zusatz.Ping-alive",
                                             "json_dp_variable77": null,
                                             "g_datapoints-77": true,
                                             "json_dp78": "alias.0.0-Haus.OG.ZiR.Stckleiste-4.Zusatz.online",
                                             "json_dp_variable78": null,
                                             "g_datapoints-78": true,
                                             "json_dp79": "alias.0.0-Haus.OG.ZiR.Surface-Raphael.Zusatz.Ping-alive",
                                             "json_dp_variable79": null,
                                             "g_datapoints-79": true,
                                             "json_dp80": "alias.0.0-Haus.OG.ZiR.TV.Hauptfunktionen.UNREACH",
                                             "json_dp_variable80": null,
                                             "g_datapoints-80": true,
                                             "json_dp81": "alias.0.0-Haus.OG.ZiR.TV.Zusatz.Ping-alive",
                                             "json_dp_variable81": null,
                                             "g_datapoints-81": true,
                                             "json_dp82": "alias.0.0-Haus.OG.ZiR.Tablet-Amazon-Fire-HD-10.Zusatz.Ping-alive",
                                             "json_dp_variable82": null,
                                             "g_datapoints-82": true,
                                             "json_dp83": "alias.0.0-Haus.OG.ZiR.ULANZI.Bedienung.UNREACH",
                                             "json_dp_variable83": null,
                                             "g_datapoints-83": true,
                                             "json_dp84": "alias.0.0-Haus.OG.ZiR.ULANZI.Zusatz.Ping-alive",
                                             "json_dp_variable84": null,
                                             "g_datapoints-84": true,
                                             "json_dp85": "alias.0.0-Haus.OG.ZiR.Plug-04.Zusatz.online",
                                             "json_dp_variable85": null,
                                             "g_datapoints-85": true,
                                             "json_dp86": "alias.0.0-Haus.OG.ZiR.Plug-04.Switch.UNREACH",
                                             "json_dp_variable86": null,
                                             "g_datapoints-86": true
                                           },
                                           "style": {
                                             "bindings": [],
                                             "left": "5",
                                             "top": "53px",
                                             "width": "382.9",
                                             "height": "729.8",
                                             "z-index": 20
                                           },
                                           "widgetSet": "vis-jsontemplate",
                                           "_id": "i000001"
                                         }
                                        ]
                                        

                                        Ergänzung - noch zwei Videos zu den "animierten" Widgets:
                                        1.mp4
                                        2.mp4

                                        Beste Grüße!

                                        io-Broker Neuling 2024 :-)

                                        Bislang jedoch einiges an Beiträgen und Grundlagen eingeflößt, um etwas besser empor zu irren.

                                        OliverIOO 2 Antworten Letzte Antwort
                                        0
                                        • CyberraphC Cyberraph

                                          @OliverIO
                                          Damit gab es hier und da Probleme, ja.
                                          Das es flackerte und das JSON-Widget eben neu renderte.

                                          Das hatte dann zur Folge,
                                          dass man z.B. ein scrollbares Menü nicht gut bedienen konnte. Es dann z.B. wieder auf den Anfang scrollte.

                                          Oder, dass Scrollbalken flimmerten und nicht flüssig zu bedienen waren.
                                          Z.B. bei dem "Online-Status" Widget, wo ich wirklich viele Datenpunkte hinterlegt hatte.

                                          Oder bei den Linien-Diagrammen, hatte das neue Rendern dann das Problem verursacht,
                                          dass man das Diagramm nicht vernünftig "abstasten" konnte.

                                          Diese "Probleme" konnte ich ChatGPT per kurzem Video zeigen und es konnte mir dann den "Fehler" "ausbügeln".
                                          Soweit ich das als Laie verstehe, lädt er es in den Browser-Cache zwischen und lässt das Widget nicht ständig neu rendern.

                                          Und nein, ich habe nicht extra mit zusätzlichen Eingaben der Felder "Javascripts:[#"] und "CCS: [#] gearbeitet.
                                          Den kompetten Code habe ich in "Allgemein" -> "Vorlage:" reinkopiert und fertig.

                                          Nachfolgend das "Online-Status" JSON-Template Widget von mir herausgezogen:

                                          [
                                           {
                                             "tpl": "tplJSONTemplate4",
                                             "data": {
                                               "bindings": [],
                                               "oid": "nothing_selected",
                                               "dpcount": 86,
                                               "g_common": true,
                                               "scriptcount": 1,
                                               "csscount": 1,
                                               "json_dp2": "alias.0.0-Haus.Aussen.NW.Aussensensor.Temp-Feucht.Ping-alive",
                                               "json_dp_variable2": null,
                                               "g_datapoints-2": true,
                                               "json_dp3": "alias.0.0-Haus.Aussen.SW.Aussensensor.Temp-Feucht.Ping-alive",
                                               "json_dp_variable3": null,
                                               "g_datapoints-3": true,
                                               "template": "<%\nconst devices = [\n[\"Aussensensor\", \"Aussen\", \"Nordost\", [[\"Zigbee\", \"alias.0.0-Haus.Aussen.NO.Aussensensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Aussensensor\", \"Aussen\", \"Nordwest\", [[\"Homematic\", \"alias.0.0-Haus.Aussen.NW.Aussensensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Aussensensor\", \"Aussen\", \"Südwest\", [[\"Zigbee\", \"alias.0.0-Haus.Aussen.SW.Aussensensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"PV\", \"DG\", \"Dachboden\", [[\"LAN / WLAN\", \"alias.0.0-Haus.DG.DB.PV.Wechselrichter.Ping-alive\"]], null, false, null],\n[\"Raumsensor\", \"DG\", \"Dachboden\", [[\"Zigbee\", \"alias.0.0-Haus.DG.DB.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Raumsensor\", \"EG\", \"Abstellzimmer\", [[\"Zigbee\", \"alias.0.0-Haus.EG.ABZ.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Hama LED-Leuchte\", \"EG\", \"Arbeitszimmer\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.ARZ.Licht-01.Aktor.UNREACH\"]], null, false, null],\n[\"Raumsensor\", \"EG\", \"Arbeitszimmer\", [[\"Zigbee\", \"alias.0.0-Haus.EG.ARZ.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Surface Angela\", \"EG\", \"Arbeitszimmer\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.ARZ.Surface-Angela.Zusatz.Ping-alive\"]], null, true, null],\n[\"Licht 01\", \"EG\", \"Bad\", [[\"Homematic\", \"alias.0.0-Haus.EG.Bad.Licht-01.Aktor.UNREACH\"]], null, false, null],\n[\"Raumsensor\", \"EG\", \"Bad\", [[\"Zigbee\", \"alias.0.0-Haus.EG.Bad.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Licht 01\", \"EG\", \"Küche\", [[\"Zigbee\", \"alias.0.0-Haus.EG.KUE.Licht-01.Aktor.UNREACH\"]], null, false, null],\n[\"Plug 01 (Küche / Lagerraum)\", \"EG\", \"Küche\", [[\"Zigbee\", \"alias.0.0-Haus.EG.KUE.Plug-01.Switch.UNREACH\"]], null, false, null],\n[\"Raumsensor\", \"EG\", \"Küche\", [[\"Zigbee\", \"alias.0.0-Haus.EG.KUE.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Schalter 01\", \"EG\", \"Küche\", [[\"Homematic\", \"alias.0.0-Haus.EG.KUE.Schalter-01.Zusatz.Ping-alive\"]], null, false, null],\n[\"Raumsensor\", \"EG\", \"WC\", [[\"Zigbee\", \"alias.0.0-Haus.EG.Klo.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"DLAN Verteiler\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.DLAN-Verteiler.Zusatz.Ping-alive\"]], null, false, null],\n[\"Handy Corinna\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.Handy-Corinna.Zusatz.Ping-alive\"]], null, true, null],\n[\"Handy Mutti\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.Handy-Mutti.Zusatz.Ping-alive\"]], null, true, null],\n[\"Handy Raphael\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.Handy-Raphael.Zusatz.Ping-alive\"]], null, true, null],\n[\"Homematic Zentrale\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.Homematic-Zentrale.Zusatz.Ping-alive\"]], null, false, null],\n[\"FRITZ!Box 7530\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.Modem.Zusatz.Ping-alive\"]], null, false, null],\n[\"Raumsensor\", \"EG\", \"Vorhaus\", [[\"Zigbee\", \"alias.0.0-Haus.EG.VH.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Easylog Sensor\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.Raumsensor.Zusatz.Ping-alive-1\"]], null, false, null],\n[\"Smarthomeserver\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.Smarthomeserver.Zusatz.Ping-alive\"]], null, false, null],\n[\"Zigbee Coordinator\", \"EG\", \"Vorhaus\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.VH.Zigbee-Coordinator.Zusatz.Ping-alive\"]], null, false, null],\n[\"DLAN Wohnzimmer\", \"EG\", \"Wohnzimmer\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.WZ.DLAN-Wohnzimmer.Zusatz.Ping-alive\"]], null, false, null],\n[\"Laptop Corinna\", \"EG\", \"Wohnzimmer\", [[\"LAN / WLAN\", \"alias.0.0-Haus.EG.WZ.Laptop-Corinna.Zusatz.Ping-alive\"]], null, true, null],\n[\"Plug 01\", \"EG\", \"Wohnzimmer\", [[\"Homematic\", \"alias.0.0-Haus.EG.WZ.Plug-01.Switch.UNREACH\"]], null, false, null],\n[\"Raumsensor\", \"EG\", \"Wohnzimmer\", [[\"Zigbee\", \"alias.0.0-Haus.EG.WZ.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Anlegefuehler D1-Mini-V3-Sensor-01-06\", \"KG\", \"Heizraum\", [[\"LAN / WLAN\", \"alias.0.0-Haus.KG.HZR.Anlegefuehler.D1-Mini-V3-Sensor-01-06.Ping-alive\"]], null, false, null],\n[\"Anlegefuehler D1-Mini-V3-Sensor-07-10\", \"KG\", \"Heizraum\", [[\"LAN / WLAN\", \"alias.0.0-Haus.KG.HZR.Anlegefuehler.D1-Mini-V3-Sensor-07-10.Ping-alive\"]], null, false, null],\n[\"E Heizer Boiler Leistungsdaten\", \"KG\", \"Heizraum\", [[\"LAN / WLAN\", \"alias.0.0-Haus.KG.HZR.E-Heizer-Boiler.Leistungsdaten.UNREACH\"]], null, false, null],\n[\"E Heizer Boiler Thermostat\", \"KG\", \"Heizraum\", [[\"LAN / WLAN\", \"alias.0.0-Haus.KG.HZR.E-Heizer-Boiler.Thermostat.UNREACH\"]], null, false, null],\n[\"Wasserzähler\", \"KG\", \"Heizraum\", [[\"LAN / WLAN\", \"alias.0.0-Haus.KG.HZR.Wasserzaehler-Zuleitung-Bestand.status.alive\"]], null, false, null],\n[\"Raumsensor\", \"KG\", \"Vorhaus\", [[\"Zigbee\", \"alias.0.0-Haus.KG.VH.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Plug 01\", \"KG\", \"Waschraum\", [[\"Homematic\", \"alias.0.0-Haus.KG.WR.Plug-01.Switch.UNREACH\"]], null, false, null],\n[\"Waschmaschine\", \"KG\", \"Waschraum\", [[\"LAN / WLAN\", \"alias.0.0-Haus.KG.WR.Waschmaschine.Zusatz.Ping-alive\"]], null, true, null],\n[\"Raumsensor\", \"OG\", \"WC\", [[\"Zigbee\", \"alias.0.0-Haus.OG.Klo.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"DLAN Zimmer Corinna\", \"OG\", \"Zimmer Corinna\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.SzC.DLAN-Zimmer-Corinna.Zusatz.Ping-alive\"]], null, false, null],\n[\"Raumsensor\", \"OG\", \"Zimmer Corinna\", [[\"Zigbee\", \"alias.0.0-Haus.OG.SzC.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"TV\", \"OG\", \"Zimmer Corinna\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.SzC.TV.Zusatz.Ping-alive\"]], null, true, null],\n[\"Raumsensor\", \"OG\", \"Schlafzimmer\", [[\"Zigbee\", \"alias.0.0-Haus.OG.SzM.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"BWM Wand 01\", \"OG\", \"Vorhaus\", [[\"Homematic\", \"alias.0.0-Haus.OG.VH.BWM-Wand-01.Status.Ping-alive\"]], null, false, null],\n[\"Raumsensor\", \"OG\", \"Vorhaus\", [[\"Zigbee\", \"alias.0.0-Haus.OG.VH.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Schalter 01\", \"OG\", \"Vorhaus\", [[\"Homematic\", \"alias.0.0-Haus.OG.VH.Schalter-01.Zusatz.Ping-alive\"]], null, false, null],\n[\"Denon AV-Receiver\", \"OG\", \"Zimmer Raphael\", [[\"ioBroker-Adapter\", \"alias.0.0-Haus.OG.ZiR.AV-Receiver.Hauptfunktionen.UNREACH\"], [\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.AV-Receiver.Zusatz.Ping-alive\"]], \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Plug-02.Switch.SET\", true, \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.online\"],\n[\"Amazon Echo Dot\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Amazon-Echo-Dot.Zusatz.Ping-alive\"]], null, false, null],\n[\"DLAN Zimmer Raphael\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.DLAN-Zimmer-Raphael.Zusatz.Ping-alive\"]], null, false, null],\n[\"HP Laserdrucker\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Drucker.Zusatz.Ping-alive\"]], \"alias.0.0-Haus.OG.ZiR.Stckleiste-4.Plug-03.Switch.SET\", true, \"alias.0.0-Haus.OG.ZiR.Stckleiste-4.Zusatz.online\"],\n[\"Licht 01\", \"OG\", \"Zimmer Raphael\", [[\"Homematic\", \"alias.0.0-Haus.OG.ZiR.Licht-01.Aktor.UNREACH\"]], null, false, null],\n[\"Nanoleaf LEDs\", \"OG\", \"Zimmer Raphael\", [[\"ioBroker-Adapter\", \"alias.0.0-Haus.OG.ZiR.Licht-03.Aktor.UNREACH\"], [\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Licht-03.Zusatz.Ping-alive\"]], null, false, null],\n[\"Nintendo Switch 2\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Nintendo-Switch-2.Zusatz.Ping-alive\"], [\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Nintendo-Switch-2.Zusatz.Ping-alive-2\"]], \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Plug-04.Switch.SET\", true, \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.online\"],\n[\"Nintendo Switch OLED\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Nintendo-Switch-OLED.Zusatz.Ping-alive\"], [\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Nintendo-Switch-OLED.Zusatz.Ping-alive-2\"]], \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Plug-04.Switch.SET\", true, \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.online\"],\n[\"Stand-PC\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.PC-Standrechner.Zusatz.Ping-alive\"]], \"alias.0.0-Haus.OG.ZiR.Stckleiste-3.Plug-01.Switch.SET\", true, \"alias.0.0-Haus.OG.ZiR.Stckleiste-3.Zusatz.online\"],\n[\"PS5\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.PS5.Zusatz.Ping-alive\"]], \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Plug-04.Switch.SET\", true, \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.online\"],\n[\"Plug 01\", \"OG\", \"Zimmer Raphael\", [[\"Zigbee\", \"alias.0.0-Haus.OG.ZiR.Plug-01.Switch.UNREACH\"]], null, false, null],\n[\"Plug 02\", \"OG\", \"Zimmer Raphael\", [[\"Zigbee\", \"alias.0.0-Haus.OG.ZiR.Plug-02.Switch.UNREACH\"]], null, false, null],\n[\"Plug 03\", \"OG\", \"Zimmer Raphael\", [[\"Zigbee\", \"alias.0.0-Haus.OG.ZiR.Plug-03.Switch.UNREACH\"]], null, false, null],\n[\"Plug 04\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Plug-04.Switch.UNREACH\"], [\"Tuya\", \"alias.0.0-Haus.OG.ZiR.Plug-04.Zusatz.online\"]], null, false, null],\n[\"Raumsensor\", \"OG\", \"Zimmer Raphael\", [[\"Homematic\", \"alias.0.0-Haus.OG.ZiR.Raumsensor.Temp-Feucht.Ping-alive\"]], null, false, null],\n[\"Stckleiste 1\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Stckleiste-1.Zusatz.Ping-alive\"], [\"Tuya\", \"alias.0.0-Haus.OG.ZiR.Stckleiste-1.Zusatz.online\"]], null, false, null],\n[\"Stckleiste 2\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.Ping-alive\"], [\"Tuya\", \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.online\"]], null, false, null],\n[\"Stckleiste 3\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Stckleiste-3.Zusatz.Ping-alive\"], [\"Tuya\", \"alias.0.0-Haus.OG.ZiR.Stckleiste-3.Zusatz.online\"]], null, false, null],\n[\"Stckleiste 4\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Stckleiste-4.Zusatz.Ping-alive\"], [\"Tuya\", \"alias.0.0-Haus.OG.ZiR.Stckleiste-4.Zusatz.online\"]], null, false, null],\n[\"Surface Raphael\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Surface-Raphael.Zusatz.Ping-alive\"]], null, true, null],\n[\"LG TV\", \"OG\", \"Zimmer Raphael\", [[\"ioBroker-Adapter\", \"alias.0.0-Haus.OG.ZiR.TV.Hauptfunktionen.UNREACH\"], [\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.TV.Zusatz.Ping-alive\"]], \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Plug-03.Switch.SET\", true, \"alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.online\"],\n[\"Tablet Amazon Fire HD 10\", \"OG\", \"Zimmer Raphael\", [[\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.Tablet-Amazon-Fire-HD-10.Zusatz.Ping-alive\"]], null, true, null],\n[\"Ulanzi AWTRIX\", \"OG\", \"Zimmer Raphael\", [[\"ioBroker-Adapter\", \"alias.0.0-Haus.OG.ZiR.ULANZI.Bedienung.UNREACH\"], [\"LAN / WLAN\", \"alias.0.0-Haus.OG.ZiR.ULANZI.Zusatz.Ping-alive\"]], \"alias.0.0-Haus.OG.ZiR.Stckleiste-4.Plug-01.Switch.SET\", false, \"alias.0.0-Haus.OG.ZiR.Stckleiste-4.Zusatz.online\"]];\nfunction read(id)\n{\n    if (!id || typeof dp === 'undefined' || !dp) return null;\n    let v = dp[id];\n    if (v !== null && typeof v === 'object') v = v.val;\n    if (v === true || v === 1 || v === 'true' || v === '1' || v === 'online') return true;\n    if (v === false || v === 0 || v === 'false' || v === '0' || v === 'offline') return false;\n    return null;\n}\nconst systems = ['LAN / WLAN','Zigbee','Homematic','Tuya','ioBroker-Adapter'];\nconst labels = ['Online','Störung','Offline','Ausgeschaltet','Unbekannt'];\nconst colors = ['#4ade80','#ef7777','#f6b55c','#687481','#8996a3'];\nfunction classify(values, power, trusted, optional)\n{\n    if (trusted && power === false && !values.includes(true)) return 3;\n    if (trusted && power === false && values.includes(true)) return 4;\n    if (values.includes(false)) return optional ? 2 : 1;\n    if (values.includes(null)) return 4;\n    return values.length && values.every(v => v === true) ? 0 : 4;\n}\nconst entries = devices.map(function(d)\n{\n    const checks = d[3].map(c => [c[0],read(c[1]),c[1]]);\n    const power = read(d[4]);\n    const trusted = !!d[4] && read(d[6]) === true;\n    const bySystem = systems.filter(s => checks.some(c => c[0] === s)).map(function(s)\n    {\n        let values = checks.filter(c => c[0] === s).map(c => c[1]);\n        if (s === 'LAN / WLAN' && values.length > 1)\n        {\n            values = [values.includes(true) ? true : values.includes(null) ? null : false];\n        }\n        return [s,classify(values,power,trusted,d[5])];\n    });\n    const states = bySystem.map(c => c[1]);\n    const status = [1,4,2,3,0].find(s => states.includes(s));\n    return [d[0],d[1],d[2],checks,power,trusted,bySystem,status,d[4]];\n});\nconst counts = labels.map((l,i) => entries.filter(e => e[7] === i).length);\nconst pct = entries.length ? Math.round(counts[0]*100/entries.length) : 0;\n%>\n<style>\n#net-<%- widgetid %>\n{\n width:382.9px; max-width:100%; height:729.8px; box-sizing:border-box; background:#1c222b; color:#edf2f7; border-radius:16px; padding:14px 10px 10px; font:13px Arial,sans-serif; display:flex; flex-direction:column; gap:8px; overflow:hidden;\n}\n#net-<%- widgetid %> *\n{\n box-sizing:border-box;\n}\n#net-<%- widgetid %> .head, #net-<%- widgetid %> .line\n{\n display:flex; align-items:center; justify-content:space-between; gap:6px;\n}\n#net-<%- widgetid %> .head\n{\n padding:2px 6px; height:24px; flex-shrink:0; font-weight:bold;\n}\n#net-<%- widgetid %> .panel\n{\n background:#26313d; border-radius:12px; padding:10px;\n}\n#net-<%- widgetid %> .tiles\n{\n display:grid; grid-template-columns:1fr 1fr; gap:6px;\n}\n#net-<%- widgetid %> .tiles > button:last-child\n{\n grid-column:1 / -1;\n}\n#net-<%- widgetid %> button\n{\n background:#26313d; color:#edf2f7; border:1px solid #465260; border-radius:7px; padding:7px; font:inherit; min-width:0;\n}\n#net-<%- widgetid %> button\n{\n cursor:pointer; text-align:left;\n}\n#net-<%- widgetid %> button.active\n{\n border-color:#78bde2; background:#34414f;\n}\n#net-<%- widgetid %> .bar\n{\n display:flex; height:4px; overflow:hidden; border-radius:3px; margin-top:5px;\n}\n#net-<%- widgetid %> .filters\n{\n display:flex; flex-wrap:wrap; gap:4px;\n}\n#net-<%- widgetid %> .filters button\n{\n flex:1; font-size:11px; text-align:center;\n}\n#net-<%- widgetid %> .list\n{\n flex:1; min-height:0; overflow-x:hidden; overflow-y:auto; overflow-anchor:none; scrollbar-width:none; overscroll-behavior:contain; background:#26313d; border-radius:10px; padding:7px;\n}\n#net-<%- widgetid %> .list::-webkit-scrollbar\n{\n display:none;\n}\n#net-<%- widgetid %> details\n{\n background:#1c222b; border-radius:6px; margin:4px 0; padding:7px;\n}\n#net-<%- widgetid %> summary\n{\n cursor:pointer; list-style:none;\n}\n#net-<%- widgetid %> .muted\n{\n color:#8996a3; font-size:10px;\n}\n#net-<%- widgetid %> .group\n{\n color:#78bde2; font-weight:bold; padding:7px 2px 2px;\n}\n</style>\n<div id=\"net-<%- widgetid %>\">\n<div class=\"head\"><span style=\"font-size:18px\"> <span style=\"color:<%- counts[4] === entries.length ? '#687481' : '#4ade80' %>\">●</span> Live</span><span>Netzwerkübersicht</span></div>\n<div class=\"panel line\">\n<svg viewBox=\"0 0 110 110\" width=\"105\" height=\"105\" style=\"flex-shrink:0\">\n<circle cx=\"55\" cy=\"55\" r=\"44\" fill=\"none\" stroke=\"#414d5a\" stroke-width=\"9\"/>\n<% let offset=0; for(let i=0;i<5;i++) { %>\n<% const len=entries.length ? counts[i]/entries.length*276.46 : 0; %>\n<circle cx=\"55\" cy=\"55\" r=\"44\" fill=\"none\" stroke=\"<%- colors[i] %>\" stroke-width=\"9\" stroke-dasharray=\"<%- len %> 276.46\" stroke-dashoffset=\"<%- -offset %>\" transform=\"rotate(-90 55 55)\"/>\n<% offset+=len; } %>\n<text x=\"55\" y=\"54\" text-anchor=\"middle\" fill=\"#edf2f7\" font-size=\"25\" font-weight=\"bold\"><%- pct %>%</text><text x=\"55\" y=\"69\" text-anchor=\"middle\" fill=\"#8996a3\" font-size=\"11\">Online</text>\n</svg>\n<div style=\"flex:1\"><div class=\"line\"><b>Geräte / Einheiten</b><b><%- entries.length %></b></div>\n<% for(let i=0;i<5;i++) { %>\n<button type=\"button\" data-status=\"<%- i %>\" class=\"line\" style=\"width:100%;padding:2px 4px;border:0\"><span style=\"color:<%- colors[i] %>\">● <%- labels[i] %></span><b><%- counts[i] %></b></button>\n<% } %>\n</div></div>\n<div class=\"tiles\">\n<% for(const s of systems) { %>\n<% const list=entries.flatMap(e=>e[6].filter(c=>c[0]===s)); const n=list.length; const cc=labels.map((l,i)=>list.filter(c=>c[1]===i).length); %>\n<button type=\"button\" data-system=\"<%- s %>\"><div class=\"line\"><b><%- s %></b><span class=\"muted\"><%- n %></span></div><div class=\"line\"><b style=\"color:#4ade80;font-size:17px\"><%- cc[0] %> / <%- n %></b><span style=\"color:<%- cc[1] ? '#ef7777' : '#8996a3' %>;font-size:10px\"><%- cc[1] %> Störung</span></div><div class=\"bar\">\n<% for(let i=0;i<5;i++) { %>\n<span style=\"width:<%- n ? cc[i]*100/n : 0 %>%;background:<%- colors[i] %>\"></span>\n<% } %>\n</div></button>\n<% } %>\n</div>\n<div class=\"filters\"><button type=\"button\" data-group=\"system\">Nach System</button><button type=\"button\" data-group=\"floor\">Nach Geschoss</button><button type=\"button\" data-reset>Alle / Reset</button></div>\n<div class=\"filters\"><button type=\"button\" data-status=\"1\">Störungen</button><button type=\"button\" data-status=\"2\">Offline</button><button type=\"button\" data-status=\"3\">Aus</button><button type=\"button\" data-status=\"4\">Unbekannt</button></div>\n<div class=\"muted\" data-caption></div>\n<div class=\"list\" data-list></div>\n<div class=\"muted\">Nur lesend · Status gemäß Alias-Datenpunkten</div>\n</div>\n<script>\n(function()\n{\n const key='net-<%- widgetid %>';\n const incoming=document.getElementById(key);\n if(!incoming) return;\n let root=incoming;\n if(!root) return;\n let entries=<%- JSON.stringify(entries).replace(/</g,'\\\\u003c') %>;\n const labels=<%- JSON.stringify(labels) %>;\n const colors=<%- JSON.stringify(colors) %>;\n const systems=<%- JSON.stringify(systems) %>;\n const stateKey=key+'-filters-v2';\n if(!window[stateKey])\n {\n  window[stateKey]=\n  {\n   system:'',status:-1,group:'system',scroll:0,open:[]\n  };\n }\n const st=window[stateKey];\n if(st.system==='Adapter') st.system='ioBroker-Adapter';\n if(st.system==='MQTT') st.system='LAN / WLAN';\n if(st.system && !systems.includes(st.system)) st.system='';\n const signature=JSON.stringify(entries);\n if(st.root && st.root!==incoming && typeof st.update==='function' && !st.root.isConnected && st.root.querySelectorAll('[data-system]').length===systems.length)\n {\n  const savedScroll=st.scroll;\n  incoming.replaceWith(st.root);\n  st.scroll=savedScroll;\n  st.update(entries, incoming, signature);\n  return;\n }\n st.root=root;\n const list=root.querySelector('[data-list]');\n function el(tag,text,cls)\n {\n  const node=document.createElement(tag);\n  if(text!==null) node.textContent=text;\n  if(cls) node.className=cls;\n  return node;\n }\n function restoreScroll()\n {\n  if(!root.isConnected || list.clientHeight===0) return;\n  list.scrollTop=Math.min(st.scroll,Math.max(0,list.scrollHeight-list.clientHeight));\n  st.scroll=list.scrollTop;\n }\n function render()\n {\n  if(!root.isConnected) return;\n  const fragment=document.createDocumentFragment();\n  let count=0;\n  const gs=st.group==='system' ? systems : ['Aussen','DG','OG','EG','KG'];\n  gs.forEach(function(g)\n  {\n   if(st.group==='system' && st.system && st.system!==g) return;\n   const rows=entries.filter(function(e)\n   {\n    if(st.system && !e[6].some(c=>c[0]===st.system)) return false;\n    if(st.group==='system' ? !e[6].some(c=>c[0]===g) : e[1]!==g) return false;\n    const s=st.group==='system' ? e[6].find(c=>c[0]===g)[1] : st.system ? e[6].find(c=>c[0]===st.system)[1] : e[7];\n    if(st.status>=0 && s!==st.status) return false;\n    return true;\n   });\n   if(!rows.length) return;\n   fragment.appendChild(el('div',g+' · '+rows.length,'group'));\n   rows.forEach(function(e)\n   {\n    count++;\n    const s=st.group==='system' ? e[6].find(c=>c[0]===g)[1] : st.system ? e[6].find(c=>c[0]===st.system)[1] : e[7];\n    const id=g+'|'+e[3][0][2];\n    const detail=el('details',null);\n    detail.open=st.open.includes(id);\n    const summary=el('summary',null,'line');\n    const name=el('div',null);\n    name.appendChild(el('b',e[0]));\n    name.appendChild(el('div',e[1]+' · '+e[2],'muted'));\n    summary.appendChild(name);\n    const status=el('span','● '+labels[s]); status.style.color=colors[s]; status.style.fontSize='11px';\n    summary.appendChild(status); detail.appendChild(summary);\n    e[3].forEach(function(c)\n    {\n     let connectionName=c[0];\n     if(c[0]==='ioBroker-Adapter')\n     {\n      if(e[0]==='Denon AV-Receiver') connectionName='Denon-Adapter';\n      if(e[0]==='LG TV') connectionName='LG-TV-Adapter';\n      if(e[0]==='Ulanzi AWTRIX') connectionName='AWTRIX-Adapter';\n      if(e[0]==='Nanoleaf LEDs') connectionName='Nanoleaf-Adapter';\n     }\n     if(c[2].endsWith('Wasserzaehler-Zuleitung-Bestand.status.alive')) connectionName='LAN / WLAN (MQTT-Status)';\n     const line=el('div',connectionName+': '+(c[1]===true?'Online':c[1]===false?'Offline':'Unbekannt'),'muted');\n     line.style.marginTop='5px'; detail.appendChild(line);\n    });\n    if(e[8]) detail.appendChild(el('div','Stromversorgung: '+(!e[5]?'Nicht verlässlich':e[4]===true?'EIN':e[4]===false?'AUS':'Unbekannt'),'muted'));\n    detail.ontoggle=function()\n    {\n     if(!detail.isConnected || st.root!==root) return;\n     if(detail.open && !st.open.includes(id)) st.open.push(id);\n     if(!detail.open) st.open=st.open.filter(x=>x!==id);\n    };\n    fragment.appendChild(detail);\n   });\n  });\n  if(!count) fragment.appendChild(el('div','Keine passenden Einträge','muted'));\n  root.querySelector('[data-caption]').textContent=count+' Listeneinträge'+(st.system?' · '+st.system:'');\n  root.querySelectorAll('button').forEach(function(b)\n  {\n   b.classList.toggle('active',b.dataset.system===st.system || b.dataset.group===st.group || (b.dataset.status!==undefined && Number(b.dataset.status)===st.status));\n  });\n  const markup=Array.from(fragment.childNodes).map(node=>node.outerHTML).join('');\n  if(list.innerHTML!==markup)\n  {\n   list.replaceChildren(fragment);\n  }\n  restoreScroll();\n }\n list.onscroll=function()\n {\n  if(st.root===root && root.isConnected && list.clientHeight>0) st.scroll=list.scrollTop;\n };\n root.onclick=function(event)\n {\n  const b=event.target.closest('button');\n  if(!b || !root.contains(b)) return;\n  event.preventDefault(); event.stopPropagation();\n  if(b.dataset.system!==undefined) st.system=st.system===b.dataset.system?'':b.dataset.system;\n  if(b.dataset.status!==undefined)\n  {\n   const s=Number(b.dataset.status); st.status=st.status===s?-1:s;\n  }\n  if(b.dataset.group!==undefined) st.group=b.dataset.group;\n  if(b.dataset.reset!==undefined)\n  {\n   st.system=''; st.status=-1;\n  }\n  st.scroll=0; render();\n };\n let lastSignature=signature;\n st.update=function(nextEntries, nextRoot, nextSignature)\n {\n  if(st.root!==root || !root.isConnected) return;\n  if(lastSignature===nextSignature)\n  {\n   restoreScroll();\n   return;\n  }\n  lastSignature=nextSignature;\n  entries=nextEntries;\n  // Update the fixed overview without replacing its clickable elements.\n  const oldParts=root.querySelectorAll('.head, .panel, .tiles');\n  const newParts=nextRoot.querySelectorAll('.head, .panel, .tiles');\n  function sync(a,b)\n  {\n   if(a.nodeType===3)\n   {\n    if(a.nodeValue!==b.nodeValue) a.nodeValue=b.nodeValue;\n    return;\n   }\n   if(a.nodeType!==1) return;\n   Array.from(b.attributes).forEach(function(attr)\n   {\n    if(attr.name!=='class' && a.getAttribute(attr.name)!==attr.value) a.setAttribute(attr.name,attr.value);\n   });\n   if(a.childNodes.length===b.childNodes.length)\n   {\n    Array.from(a.childNodes).forEach(function(child,i)\n    {\n     sync(child,b.childNodes[i]);\n    });\n   }\n  }\n  oldParts.forEach(function(part,i)\n  {\n   if(newParts[i]) sync(part,newParts[i]);\n  });\n  render();\n };\n render();\n})();\n</script>\n",
                                               "scriptfile1": null,
                                               "g_scriptfiles-1": true,
                                               "cssfile1": null,
                                               "g_cssfiles-1": true,
                                               "json_dp1": "alias.0.0-Haus.Aussen.NO.Aussensensor.Temp-Feucht.Ping-alive",
                                               "json_dp_variable1": null,
                                               "g_datapoints-1": true,
                                               "json_dp4": "alias.0.0-Haus.DG.DB.PV.Wechselrichter.Ping-alive",
                                               "json_dp_variable4": null,
                                               "g_datapoints-4": true,
                                               "json_dp5": "alias.0.0-Haus.DG.DB.Raumsensor.Temp-Feucht.Ping-alive",
                                               "json_dp_variable5": null,
                                               "g_datapoints-5": true,
                                               "json_dp6": "alias.0.0-Haus.EG.ABZ.Raumsensor.Temp-Feucht.Ping-alive",
                                               "json_dp_variable6": null,
                                               "g_datapoints-6": true,
                                               "json_dp7": "alias.0.0-Haus.EG.ARZ.Licht-01.Aktor.UNREACH",
                                               "json_dp_variable7": null,
                                               "g_datapoints-7": true,
                                               "json_dp8": "alias.0.0-Haus.EG.ARZ.Raumsensor.Temp-Feucht.Ping-alive",
                                               "json_dp_variable8": null,
                                               "g_datapoints-8": true,
                                               "json_dp9": "alias.0.0-Haus.EG.ARZ.Surface-Angela.Zusatz.Ping-alive",
                                               "json_dp_variable9": null,
                                               "g_datapoints-9": true,
                                               "json_dp10": "alias.0.0-Haus.EG.Bad.Licht-01.Aktor.UNREACH",
                                               "json_dp_variable10": null,
                                               "g_datapoints-10": true,
                                               "json_dp11": "alias.0.0-Haus.EG.Bad.Raumsensor.Temp-Feucht.Ping-alive",
                                               "json_dp_variable11": null,
                                               "g_datapoints-11": true,
                                               "json_dp12": "alias.0.0-Haus.EG.KUE.Licht-01.Aktor.UNREACH",
                                               "json_dp_variable12": null,
                                               "g_datapoints-12": true,
                                               "json_dp13": "alias.0.0-Haus.EG.KUE.Plug-01.Switch.UNREACH",
                                               "json_dp_variable13": null,
                                               "g_datapoints-13": true,
                                               "json_dp14": "alias.0.0-Haus.EG.KUE.Raumsensor.Temp-Feucht.Ping-alive",
                                               "json_dp_variable14": null,
                                               "g_datapoints-14": true,
                                               "json_dp15": "alias.0.0-Haus.EG.KUE.Schalter-01.Zusatz.Ping-alive",
                                               "json_dp_variable15": null,
                                               "g_datapoints-15": true,
                                               "json_dp16": "alias.0.0-Haus.EG.Klo.Raumsensor.Temp-Feucht.Ping-alive",
                                               "json_dp_variable16": null,
                                               "g_datapoints-16": true,
                                               "json_dp17": "alias.0.0-Haus.EG.VH.DLAN-Verteiler.Zusatz.Ping-alive",
                                               "json_dp_variable17": null,
                                               "g_datapoints-17": true,
                                               "json_dp18": "alias.0.0-Haus.EG.VH.Handy-Corinna.Zusatz.Ping-alive",
                                               "json_dp_variable18": null,
                                               "g_datapoints-18": true,
                                               "json_dp19": "alias.0.0-Haus.EG.VH.Handy-Mutti.Zusatz.Ping-alive",
                                               "json_dp_variable19": null,
                                               "g_datapoints-19": true,
                                               "json_dp20": "alias.0.0-Haus.EG.VH.Handy-Raphael.Zusatz.Ping-alive",
                                               "json_dp_variable20": null,
                                               "g_datapoints-20": true,
                                               "json_dp21": "alias.0.0-Haus.EG.VH.Homematic-Zentrale.Zusatz.Ping-alive",
                                               "json_dp_variable21": null,
                                               "g_datapoints-21": true,
                                               "json_dp22": "alias.0.0-Haus.EG.VH.Modem.Zusatz.Ping-alive",
                                               "json_dp_variable22": null,
                                               "g_datapoints-22": true,
                                               "json_dp23": "alias.0.0-Haus.EG.VH.Raumsensor.Temp-Feucht.Ping-alive",
                                               "json_dp_variable23": null,
                                               "g_datapoints-23": true,
                                               "json_dp24": "alias.0.0-Haus.EG.VH.Raumsensor.Zusatz.Ping-alive-1",
                                               "json_dp_variable24": null,
                                               "g_datapoints-24": true,
                                               "json_dp25": "alias.0.0-Haus.EG.VH.Smarthomeserver.Zusatz.Ping-alive",
                                               "json_dp_variable25": null,
                                               "g_datapoints-25": true,
                                               "json_dp26": "alias.0.0-Haus.EG.VH.Zigbee-Coordinator.Zusatz.Ping-alive",
                                               "json_dp_variable26": null,
                                               "g_datapoints-26": true,
                                               "json_dp27": "alias.0.0-Haus.EG.WZ.DLAN-Wohnzimmer.Zusatz.Ping-alive",
                                               "json_dp_variable27": null,
                                               "g_datapoints-27": true,
                                               "json_dp28": "alias.0.0-Haus.EG.WZ.Laptop-Corinna.Zusatz.Ping-alive",
                                               "json_dp_variable28": null,
                                               "g_datapoints-28": true,
                                               "json_dp29": "alias.0.0-Haus.EG.WZ.Plug-01.Switch.UNREACH",
                                               "json_dp_variable29": null,
                                               "g_datapoints-29": true,
                                               "json_dp30": "alias.0.0-Haus.EG.WZ.Raumsensor.Temp-Feucht.Ping-alive",
                                               "json_dp_variable30": null,
                                               "g_datapoints-30": true,
                                               "json_dp31": "alias.0.0-Haus.KG.HZR.Anlegefuehler.D1-Mini-V3-Sensor-01-06.Ping-alive",
                                               "json_dp_variable31": null,
                                               "g_datapoints-31": true,
                                               "json_dp32": "alias.0.0-Haus.KG.HZR.Anlegefuehler.D1-Mini-V3-Sensor-07-10.Ping-alive",
                                               "json_dp_variable32": null,
                                               "g_datapoints-32": true,
                                               "json_dp33": "alias.0.0-Haus.KG.HZR.E-Heizer-Boiler.Leistungsdaten.UNREACH",
                                               "json_dp_variable33": null,
                                               "g_datapoints-33": true,
                                               "json_dp34": "alias.0.0-Haus.KG.HZR.E-Heizer-Boiler.Thermostat.UNREACH",
                                               "json_dp_variable34": null,
                                               "g_datapoints-34": true,
                                               "json_dp35": "alias.0.0-Haus.KG.HZR.Wasserzaehler-Zuleitung-Bestand.status.alive",
                                               "json_dp_variable35": null,
                                               "g_datapoints-35": true,
                                               "json_dp36": "alias.0.0-Haus.KG.VH.Raumsensor.Temp-Feucht.Ping-alive",
                                               "json_dp_variable36": null,
                                               "g_datapoints-36": true,
                                               "json_dp37": "alias.0.0-Haus.KG.WR.Plug-01.Switch.UNREACH",
                                               "json_dp_variable37": null,
                                               "g_datapoints-37": true,
                                               "json_dp38": "alias.0.0-Haus.KG.WR.Waschmaschine.Zusatz.Ping-alive",
                                               "json_dp_variable38": null,
                                               "g_datapoints-38": true,
                                               "json_dp39": "alias.0.0-Haus.OG.Klo.Raumsensor.Temp-Feucht.Ping-alive",
                                               "json_dp_variable39": null,
                                               "g_datapoints-39": true,
                                               "json_dp40": "alias.0.0-Haus.OG.SzC.DLAN-Zimmer-Corinna.Zusatz.Ping-alive",
                                               "json_dp_variable40": null,
                                               "g_datapoints-40": true,
                                               "json_dp41": "alias.0.0-Haus.OG.SzC.Raumsensor.Temp-Feucht.Ping-alive",
                                               "json_dp_variable41": null,
                                               "g_datapoints-41": true,
                                               "json_dp42": "alias.0.0-Haus.OG.SzC.TV.Zusatz.Ping-alive",
                                               "json_dp_variable42": null,
                                               "g_datapoints-42": true,
                                               "json_dp43": "alias.0.0-Haus.OG.SzM.Raumsensor.Temp-Feucht.Ping-alive",
                                               "json_dp_variable43": null,
                                               "g_datapoints-43": true,
                                               "json_dp44": "alias.0.0-Haus.OG.VH.BWM-Wand-01.Status.Ping-alive",
                                               "json_dp_variable44": null,
                                               "g_datapoints-44": true,
                                               "json_dp45": "alias.0.0-Haus.OG.VH.Raumsensor.Temp-Feucht.Ping-alive",
                                               "json_dp_variable45": null,
                                               "g_datapoints-45": true,
                                               "json_dp46": "alias.0.0-Haus.OG.VH.Schalter-01.Zusatz.Ping-alive",
                                               "json_dp_variable46": null,
                                               "g_datapoints-46": true,
                                               "json_dp47": "alias.0.0-Haus.OG.ZiR.AV-Receiver.Hauptfunktionen.UNREACH",
                                               "json_dp_variable47": null,
                                               "g_datapoints-47": true,
                                               "json_dp48": "alias.0.0-Haus.OG.ZiR.AV-Receiver.Zusatz.Ping-alive",
                                               "json_dp_variable48": null,
                                               "g_datapoints-48": true,
                                               "json_dp49": "alias.0.0-Haus.OG.ZiR.Amazon-Echo-Dot.Zusatz.Ping-alive",
                                               "json_dp_variable49": null,
                                               "g_datapoints-49": true,
                                               "json_dp50": "alias.0.0-Haus.OG.ZiR.DLAN-Zimmer-Raphael.Zusatz.Ping-alive",
                                               "json_dp_variable50": null,
                                               "g_datapoints-50": true,
                                               "json_dp51": "alias.0.0-Haus.OG.ZiR.Drucker.Zusatz.Ping-alive",
                                               "json_dp_variable51": null,
                                               "g_datapoints-51": true,
                                               "json_dp52": "alias.0.0-Haus.OG.ZiR.Licht-01.Aktor.UNREACH",
                                               "json_dp_variable52": null,
                                               "g_datapoints-52": true,
                                               "json_dp53": "alias.0.0-Haus.OG.ZiR.Licht-03.Aktor.UNREACH",
                                               "json_dp_variable53": null,
                                               "g_datapoints-53": true,
                                               "json_dp54": "alias.0.0-Haus.OG.ZiR.Licht-03.Zusatz.Ping-alive",
                                               "json_dp_variable54": null,
                                               "g_datapoints-54": true,
                                               "json_dp55": "alias.0.0-Haus.OG.ZiR.Nintendo-Switch-2.Zusatz.Ping-alive",
                                               "json_dp_variable55": null,
                                               "g_datapoints-55": true,
                                               "json_dp56": "alias.0.0-Haus.OG.ZiR.Nintendo-Switch-2.Zusatz.Ping-alive-2",
                                               "json_dp_variable56": null,
                                               "g_datapoints-56": true,
                                               "json_dp57": "alias.0.0-Haus.OG.ZiR.Nintendo-Switch-OLED.Zusatz.Ping-alive",
                                               "json_dp_variable57": null,
                                               "g_datapoints-57": true,
                                               "json_dp58": "alias.0.0-Haus.OG.ZiR.Nintendo-Switch-OLED.Zusatz.Ping-alive-2",
                                               "json_dp_variable58": null,
                                               "g_datapoints-58": true,
                                               "json_dp59": "alias.0.0-Haus.OG.ZiR.PC-Standrechner.Zusatz.Ping-alive",
                                               "json_dp_variable59": null,
                                               "g_datapoints-59": true,
                                               "json_dp60": "alias.0.0-Haus.OG.ZiR.PS5.Zusatz.Ping-alive",
                                               "json_dp_variable60": null,
                                               "g_datapoints-60": true,
                                               "json_dp61": "alias.0.0-Haus.OG.ZiR.Plug-01.Switch.UNREACH",
                                               "json_dp_variable61": null,
                                               "g_datapoints-61": true,
                                               "json_dp62": "alias.0.0-Haus.OG.ZiR.Plug-02.Switch.UNREACH",
                                               "json_dp_variable62": null,
                                               "g_datapoints-62": true,
                                               "json_dp63": "alias.0.0-Haus.OG.ZiR.Plug-03.Switch.UNREACH",
                                               "json_dp_variable63": null,
                                               "g_datapoints-63": true,
                                               "json_dp64": "alias.0.0-Haus.OG.ZiR.Raumsensor.Temp-Feucht.Ping-alive",
                                               "json_dp_variable64": null,
                                               "g_datapoints-64": true,
                                               "json_dp65": "alias.0.0-Haus.OG.ZiR.Stckleiste-1.Zusatz.Ping-alive",
                                               "json_dp_variable65": null,
                                               "g_datapoints-65": true,
                                               "json_dp66": "alias.0.0-Haus.OG.ZiR.Stckleiste-1.Zusatz.online",
                                               "json_dp_variable66": null,
                                               "g_datapoints-66": true,
                                               "json_dp67": "alias.0.0-Haus.OG.ZiR.Stckleiste-2.Plug-02.Switch.SET",
                                               "json_dp_variable67": null,
                                               "g_datapoints-67": true,
                                               "json_dp68": "alias.0.0-Haus.OG.ZiR.Stckleiste-2.Plug-03.Switch.SET",
                                               "json_dp_variable68": null,
                                               "g_datapoints-68": true,
                                               "json_dp69": "alias.0.0-Haus.OG.ZiR.Stckleiste-2.Plug-04.Switch.SET",
                                               "json_dp_variable69": null,
                                               "g_datapoints-69": true,
                                               "json_dp70": "alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.Ping-alive",
                                               "json_dp_variable70": null,
                                               "g_datapoints-70": true,
                                               "json_dp71": "alias.0.0-Haus.OG.ZiR.Stckleiste-2.Zusatz.online",
                                               "json_dp_variable71": null,
                                               "g_datapoints-71": true,
                                               "json_dp72": "alias.0.0-Haus.OG.ZiR.Stckleiste-3.Plug-01.Switch.SET",
                                               "json_dp_variable72": null,
                                               "g_datapoints-72": true,
                                               "json_dp73": "alias.0.0-Haus.OG.ZiR.Stckleiste-3.Zusatz.Ping-alive",
                                               "json_dp_variable73": null,
                                               "g_datapoints-73": true,
                                               "json_dp74": "alias.0.0-Haus.OG.ZiR.Stckleiste-3.Zusatz.online",
                                               "json_dp_variable74": null,
                                               "g_datapoints-74": true,
                                               "json_dp75": "alias.0.0-Haus.OG.ZiR.Stckleiste-4.Plug-01.Switch.SET",
                                               "json_dp_variable75": null,
                                               "g_datapoints-75": true,
                                               "json_dp76": "alias.0.0-Haus.OG.ZiR.Stckleiste-4.Plug-03.Switch.SET",
                                               "json_dp_variable76": null,
                                               "g_datapoints-76": true,
                                               "json_dp77": "alias.0.0-Haus.OG.ZiR.Stckleiste-4.Zusatz.Ping-alive",
                                               "json_dp_variable77": null,
                                               "g_datapoints-77": true,
                                               "json_dp78": "alias.0.0-Haus.OG.ZiR.Stckleiste-4.Zusatz.online",
                                               "json_dp_variable78": null,
                                               "g_datapoints-78": true,
                                               "json_dp79": "alias.0.0-Haus.OG.ZiR.Surface-Raphael.Zusatz.Ping-alive",
                                               "json_dp_variable79": null,
                                               "g_datapoints-79": true,
                                               "json_dp80": "alias.0.0-Haus.OG.ZiR.TV.Hauptfunktionen.UNREACH",
                                               "json_dp_variable80": null,
                                               "g_datapoints-80": true,
                                               "json_dp81": "alias.0.0-Haus.OG.ZiR.TV.Zusatz.Ping-alive",
                                               "json_dp_variable81": null,
                                               "g_datapoints-81": true,
                                               "json_dp82": "alias.0.0-Haus.OG.ZiR.Tablet-Amazon-Fire-HD-10.Zusatz.Ping-alive",
                                               "json_dp_variable82": null,
                                               "g_datapoints-82": true,
                                               "json_dp83": "alias.0.0-Haus.OG.ZiR.ULANZI.Bedienung.UNREACH",
                                               "json_dp_variable83": null,
                                               "g_datapoints-83": true,
                                               "json_dp84": "alias.0.0-Haus.OG.ZiR.ULANZI.Zusatz.Ping-alive",
                                               "json_dp_variable84": null,
                                               "g_datapoints-84": true,
                                               "json_dp85": "alias.0.0-Haus.OG.ZiR.Plug-04.Zusatz.online",
                                               "json_dp_variable85": null,
                                               "g_datapoints-85": true,
                                               "json_dp86": "alias.0.0-Haus.OG.ZiR.Plug-04.Switch.UNREACH",
                                               "json_dp_variable86": null,
                                               "g_datapoints-86": true
                                             },
                                             "style": {
                                               "bindings": [],
                                               "left": "5",
                                               "top": "53px",
                                               "width": "382.9",
                                               "height": "729.8",
                                               "z-index": 20
                                             },
                                             "widgetSet": "vis-jsontemplate",
                                             "_id": "i000001"
                                           }
                                          ]
                                          

                                          Ergänzung - noch zwei Videos zu den "animierten" Widgets:
                                          1.mp4
                                          2.mp4

                                          OliverIOO
                                          OliverIOO
                                          OliverIO
                                          schrieb am zuletzt editiert von OliverIO
                                          #110

                                          @Cyberraph

                                          Sehr gut.
                                          Wenn man ein Account hat, geht es bei openAI mit codes oder Antrophic mit claude sogar noch besser.
                                          Da kann sich codex bspw direkt mit dem iobroker verbinden und sogar noch besser selbst kontrollieren, da es dann bspw im zweifel playright herunterladen kann (ein scriptbarer browser auf chromium-basis).
                                          Wenn man dann sagt, die Seite ist unter http://..... verfügbarsieht codex alles was im browser ankommt und kann entscheiden was er sich da ansieht. Das kostet dann auch weniger tokens (auch die Abos kosten irgendwie tokens), wie gleich ein ganzes video analysieren zu lassen.
                                          Aber das ist schon etwas für fortgeschrittene.

                                          videos finde ich auch gut
                                          und auch das dezente animieren.

                                          Ist zwar etwas off-topic, aber hier ein Beispiel was claude mit nur minimalen vorgaben machen kann
                                          https://thelastboringslide.com/de/
                                          prompt ist hier, claude hatte freie Hand
                                          Hat dann auch umgerechnet in APi tokens 90$ gekostet
                                          Hier der link zum prompt, welcher aber recht unspektakuläre ist.
                                          https://x.com/fluxxrider/status/2125701190872915996?a=Ech2oLvAIMl6bKCf5Fg&s=61

                                          Meine Adapter und Widgets
                                          TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                                          Links im Profil

                                          1 Antwort Letzte Antwort
                                          1

                                          Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                                          Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                                          Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                                          Registrieren Anmelden
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          365

                                          Online

                                          33.2k

                                          Benutzer

                                          84.4k

                                          Themen

                                          1.4m

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

                                          • Du hast noch kein Konto? Registrieren

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