Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. [Vorlage] MDCSS v2: Adapter-Instanzen in vis anzeigen

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Vorlage] MDCSS v2: Adapter-Instanzen in vis anzeigen

    This topic has been deleted. Only users with topic management privileges can see it.
    • Dominik F.
      Dominik F. @Uhula last edited by

      @Uhula

      Ich nutze nur die beiden von dir vorgesehenen Icon-Schriften, sonst keine andere.

      Unbenannt.PNG

      meine selbsterstellten Tabellen wo du mir mit den Symbolen geholfen hast haben sich nicht verändert. Im Demoprojekt ehe ich die Symbole nicht

      1 Reply Last reply Reply Quote 0
      • Dominik F.
        Dominik F. @Uhula last edited by Dominik F.

        @Uhula

        Hast du mittlerweile eine Idee woran es liegen könnte?

        Edit: Falls es hilft, bei deinem Update mit dem TR 064 Adapter wird alles richtig angezeigt.

        Uhula 1 Reply Last reply Reply Quote 0
        • Uhula
          Uhula @Dominik F. last edited by

          @Dominik-F Ersetz mal im Script in Zeile 698 (o.ä.) das check_circle_outline durch ein check_circle - ich vermute das mit _outline wird bei dir nicht gefunden. Wenn das auch nicht geht, dann einfach check.

          S Dominik F. 2 Replies Last reply Reply Quote 0
          • S
            Saschag @Uhula last edited by

            @Uhula sagte in [Vorlage] MDCSS v2: Adapter-Instanzen in vis anzeigen:

            @Dominik-F Ersetz mal im Script in Zeile 698 (o.ä.) das check_circle_outline durch ein check_circle - ich vermute das mit _outline wird bei dir nicht gefunden. Wenn das auch nicht geht, dann einfach check.

            Hatte das gleich Problem, aber mit check_circle funktioniert es bei mir. (auch im BackitupView bzw. Skript)

            Danke👍

            1 Reply Last reply Reply Quote 0
            • Dominik F.
              Dominik F. @Uhula last edited by

              @Uhula

              check_circle funktioniert. Was mich nur wundert ist, dass das check_circle_outline beim TR064 Script von dir funktioniert, bei den Instanzen und beim Backup nicht.

              Uhula 1 Reply Last reply Reply Quote 0
              • Uhula
                Uhula @Dominik F. last edited by

                @Dominik-F Wundert mich auch, kann ich auch nicht erklären. Ich werden das -outline in allen Scripten entfernen. Die -outline Icons sollten lt. Google ohnehin gar nicht im Font drin sein.

                Dominik F. 1 Reply Last reply Reply Quote 0
                • Dominik F.
                  Dominik F. @Uhula last edited by

                  @Uhula

                  das klingt gut. Mir ist beim MessageHandler aufgefallen, das das Symbol "how_to_reg" den gleichen Fehler verursacht. Das Problem taucht auch erst seit der Version 2.5 auf. Hoffe es gibt nicht noch mehr symbole die nicht funktionieren

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tirador last edited by

                    Ich habe kontinuierliche Warnings durch das Skript. Ich glaube das Verhalten tauchte erst nach einem Update von ioBroker auf:

                    2020-05-09 12_02_57-logs - ioBroker.png

                    1 Reply Last reply Reply Quote 0
                    • H
                      HoffmannOs @Uhula last edited by HoffmannOs

                      @Uhula Ich erhalte nach dem Update des Scripts immer einen Mdui-Base fehler ,,javascript.0 (7527) script.js.Log.LOG1 compile failed: at script.js.Log.LOG1:63" wie kann ich den beheben?

                      Edit : Kann mir keiner dazu Helfen?

                      javascript.0	2020-09-04 12:28:55.923	error	(17678) at processTicksAndRejections (internal/process/task_queues.js:97:5)
                      javascript.0	2020-09-04 12:28:55.923	error	(17678) at runMicrotasks (<anonymous>)
                      javascript.0	2020-09-04 12:28:55.923	error	(17678) at /opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49
                      javascript.0	2020-09-04 12:28:55.923	error	(17678) at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                      javascript.0	2020-09-04 12:28:55.923	error	(17678) at /opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:616:17
                      javascript.0	2020-09-04 12:28:55.923	error	(17678) at /opt/iobroker/node_modules/iobroker.javascript/main.js:1139:17
                      javascript.0	2020-09-04 12:28:55.923	error	(17678) at /opt/iobroker/node_modules/iobroker.javascript/main.js:1555:17
                      javascript.0	2020-09-04 12:28:55.923	error	(17678) at prepareScript (/opt/iobroker/node_modules/iobroker.javascript/main.js:1502:37)
                      javascript.0	2020-09-04 12:28:55.923	error	(17678) at compile (/opt/iobroker/node_modules/iobroker.javascript/main.js:1279:28)
                      javascript.0	2020-09-04 12:28:55.923	error	(17678) at Object.createScript (vm.js:261:10)
                      javascript.0	2020-09-04 12:28:55.923	error	(17678) at new Script (vm.js:88:7)
                      javascript.0	2020-09-04 12:28:55.923	error	(17678) SyntaxError: Identifier 'MduiBase' has already been declared
                      javascript.0	2020-09-04 12:28:55.923	error	(17678) ^^^^^^^^^^^^^^^^
                      javascript.0	2020-09-04 12:28:55.923	error	(17678) class MduiBase {
                      javascript.0	2020-09-04 12:28:55.923	error	at script.js.Log.MduiLogInstances:58
                      javascript.0	2020-09-04 12:28:55.923	error	(17678) script.js.Log.MduiLogInstances compile failed: 
                      
                      Dominik F. 1 Reply Last reply Reply Quote 0
                      • Dominik F.
                        Dominik F. @HoffmannOs last edited by

                        @Uhula

                        Ich bekomme folgenden Fehler:

                        javascript.0	2021-01-30 20:59:58.114	error	(22655) script.js.MduiLog.MduiLogInstanzen: setForeignState: Error: The state property "ack" has the wrong type "number" (should be "boolean")!
                        
                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Saschag @Dominik F. last edited by

                          @dominik-f

                          Ich habe den Fehler inzwischen auch, hast du schon eine Lösung?

                          Dominik F. 1 Reply Last reply Reply Quote 0
                          • Dominik F.
                            Dominik F. @Saschag last edited by

                            @saschag

                            Hab dafür auch schon n issue angelegt auf git, aber keine Reaktion. Daher leider auch keine Lösung 😕

                            F 1 Reply Last reply Reply Quote 2
                            • F
                              FrenkyIO @Dominik F. last edited by

                              @dominik-f Hast du den Fehler beheben können?

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                ak1 @FrenkyIO last edited by

                                @Dominik-F
                                Ich denke der Block ab Zeile 212 sollte so aussehen:

                                   // like setStateDelayed(), but adds statepath to state_ID and checks if state exists, when not, creates it
                                    setStateDelayed(id,value,delay) {
                                        if ( !this.existState(id) ) this.createState(id,value,undefined);
                                        else setStateDelayed( this.STATE_PATH + id, value, delay);
                                    }
                                

                                Nicht wie im Original:

                                   // like setStateDelayed(), but adds statepath to state_ID and checks if state exists, when not, creates it
                                    setStateDelayed(id,value,delay) {
                                        if ( !this.existState(id) ) this.createState(id,value,undefined);
                                        else setState( this.STATE_PATH + id, value, delay);
                                    }
                                

                                Bei mir funktioniert das so.

                                Übrigens war @Uhula bereits seit Oktober 2020 hier im Forum nicht mehr aktiv. Das entnehme ich zumindest seinem Profil hier. Ist wohl davon auszugehen, dass von ihm hier kein Feedback mehr kommt.

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

                                  Guten Abend zusammen,

                                  irgendwie sehe ich den Wald vor lauter Bäumen nicht. Ich bin zufälliger Weise auf diese Vorlage von Uhula gestoßen und habe es mal gleich installiert und ausprobiert. Hierfür habe ich ein Test-View genommen. Leider sieht bei mir der Header nicht so aus wie bei euch, siehe Screenshot. Was habe ich vergessen bzw. was mache ich falsch? Ich bin in dieser Hinsicht noch ein blutiger Anfänger, daher bitte etwas Nachsicht. 😉

                                  Ich hoffe ihr könnt mir hierbei helfen bzw. eine Anleitung dazu geben.

                                  d9fef292-bd92-4717-a5a8-05a997060146-grafik.png

                                  Dominik F. 1 Reply Last reply Reply Quote 0
                                  • Dominik F.
                                    Dominik F. @Dillio last edited by Dominik F.

                                    @dillio

                                    Ich würde dir raten, als alles erstes die Demo von Uhula zu nutzen, um dich mit dem grundsätzlichem Aufbau des MDCSS vertraut zu machen.

                                    Hier der Link zur richtigen Installation :
                                    https://github.com/Uhula/ioBroker-Material-Design-Style#3-installation

                                    Hier findest du die Demo:
                                    https://github.com/Uhula/ioBroker-Material-Design-Style/tree/master/ioBroker projects

                                    Ansonsten ist es meist schwer zu sagen, was genau falsch gelaufen ist. Hast du das Script und das CSS eingefügt? Hast du deine View richtig aufgebaut? In card, cont und page? Hast du die CSS Datei angepasst wenn dein Projekt nicht MD-Demo heisst? Hast du den Pfad zum Web font richtig angepasst?

                                    Dillio 1 Reply Last reply Reply Quote 0
                                    • Dillio
                                      Dillio @Dominik F. last edited by

                                      @dominik-f
                                      Hat sich erledigt. Habe die Datei "MduiLogInstances_Listview.json" als View nicht importiert. 🙄
                                      Das war das Problem.

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

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      779
                                      Online

                                      31.7k
                                      Users

                                      79.8k
                                      Topics

                                      1.3m
                                      Posts

                                      material css material ui vis
                                      9
                                      36
                                      3658
                                      Loading More Posts
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      Community
                                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                      The ioBroker Community 2014-2023
                                      logo