Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. Sonoff NSPanel

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Sonoff NSPanel

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      TT-Tom @Armilar last edited by

      @armilar sagte in Sonoff NSPanel:

      Downgrade:
      cd /opt/iobroker
      iobroker install javascript@5.7.0

      läuft mit 5.7.0 bei mir auch nicht.

      1 Reply Last reply Reply Quote 0
      • T
        TT-Tom @Armilar last edited by

        @armilar sagte in Sonoff NSPanel:

        Glückwunsch... mit dem letzten Raw bist du dann auf TFT 40 - v.3.3.0

        im Script steht deine Alexa Nummer noch drin.

        Armilar 1 Reply Last reply Reply Quote 0
        • Armilar
          Armilar Most Active Forum Testing @TT-Tom last edited by Armilar

          @tt-tom sagte in Sonoff NSPanel:

          @armilar sagte in Sonoff NSPanel:

          Glückwunsch... mit dem letzten Raw bist du dann auf TFT 40 - v.3.3.0

          im Script steht deine Alexa Nummer noch drin.

          Verstehe ich nicht. Lief doch alles bei dir. Funktioniert bei mir perfekt.

          Was funktioniert denn nicht? Die IconSelector oder das Skript?

          P.S: Alexa-Device steht wieder auf XXXX

          Nachtrag: Änderungen siehe https://forum.iobroker.net/post/849554
          Die ganzen Init's und createState's sind in der neuen Version in den unteren Teil gewandert...

          T 1 Reply Last reply Reply Quote 0
          • P
            Peet_b @Kuckuckmann last edited by

            @kuckuckmann
            Das Skript ist Global und ich habe es auch mit den Namen "IconsSelector" und "icon_mapping" getestet, beides bringt das selbe Ergebnis. Auch die Version 5.7.0 hilft bei mir nicht, es passiert genau das gleiche wie mit der V6.0.0

            Kann vielleicht einfach ein Paket oder ein Programm fehlen? Wie gesagt, ich betreibe IoB per Proxmox auf einem Debian 11.

            Armilar 1 Reply Last reply Reply Quote 0
            • Armilar
              Armilar Most Active Forum Testing @Peet_b last edited by Armilar

              @peet_b sagte in Sonoff NSPanel:

              @kuckuckmann
              Das Skript ist Global und ich habe es auch mit den Namen "IconsSelector" und "icon_mapping" getestet, beides bringt das selbe Ergebnis. Auch die Version 5.7.0 hilft bei mir nicht, es passiert genau das gleiche wie mit der V6.0.0

              Kann vielleicht einfach ein Paket oder ein Programm fehlen? Wie gesagt, ich betreibe IoB per Proxmox auf einem Debian 11.

              Eigentlich sollte der Adapter alles mitbringen. Mit Promox kenne ich mich nicht aus. Wüsste auch nicht, was im Code so besonders anders wäre als vorher oder das es zu Problemen führen würde. Wie bereits erwähnt ist die icon_mapping.ts 4 Monate alt. Sollte also auch weiterhin laufen...

              H P 2 Replies Last reply Reply Quote 0
              • K
                Kuckuckmann @Armilar last edited by

                @armilar said in Sonoff NSPanel:

                Glückwunsch... mit dem letzten Raw bist du dann auf TFT 40 - v.3.3.0
                Wer das Upgrade von der 3.1.1 kommend macht, der sollte das komplette TS-Script ersetzen und dann die Variablen für Alexa, pageItems und den Config-Block wieder reinkopieren. Hat sich durch das Code-Refactoring auch etliches im oberen Teil verändert.

                Gibt es denn ein Changelog eine Vgl. Möglichkeit was sich zwischen den Versionen ändert?

                Armilar 1 Reply Last reply Reply Quote 0
                • H
                  holgerwolf @Armilar last edited by

                  @armilar sagte in Sonoff NSPanel:

                  @peet_b sagte in Sonoff NSPanel:

                  @kuckuckmann
                  Das Skript ist Global und ich habe es auch mit den Namen "IconsSelector" und "icon_mapping" getestet, beides bringt das selbe Ergebnis. Auch die Version 5.7.0 hilft bei mir nicht, es passiert genau das gleiche wie mit der V6.0.0

                  Kann vielleicht einfach ein Paket oder ein Programm fehlen? Wie gesagt, ich betreibe IoB per Proxmox auf einem Debian 11.

                  Eigentlich sollte der Adapter alles mitbringen. Mit Promox kenne ich mich nicht aus.

                  Bei mir läuft der Adapter und das Icon Script auch in einer Proxmox Umgebung ohne Probleme.

                  1 Reply Last reply Reply Quote 0
                  • Armilar
                    Armilar Most Active Forum Testing @Kuckuckmann last edited by Armilar

                    @kuckuckmann sagte in Sonoff NSPanel:

                    @armilar said in Sonoff NSPanel:

                    Glückwunsch... mit dem letzten Raw bist du dann auf TFT 40 - v.3.3.0
                    Wer das Upgrade von der 3.1.1 kommend macht, der sollte das komplette TS-Script ersetzen und dann die Variablen für Alexa, pageItems und den Config-Block wieder reinkopieren. Hat sich durch das Code-Refactoring auch etliches im oberen Teil verändert.

                    Gibt es denn ein Changelog eine Vgl. Möglichkeit was sich zwischen den Versionen ändert?

                    28a7cfb5-8f99-441a-b861-29350162e818-image.png

                    https://github.com/joBr99/nspanel-lovelace-ui/tree/main/ioBroker
                    History

                    1 Reply Last reply Reply Quote 0
                    • P
                      Peet_b @Armilar last edited by

                      @armilar

                      ich habe jetzt alle Varianten nochmal probiert mit der V5.7.0 und der V6.0.0, es kommen immer diese Fehler:

                      2022-08-29 20:41:50.257 - info: javascript.0 (1510) starting. Version 5.7.0 in /opt/iobroker/node_modules/iobroker.javascript, node: v16.17.0, js-controller: 4.0.23
                      2022-08-29 20:41:51.587 - info: javascript.0 (1510) requesting all states
                      2022-08-29 20:41:51.588 - info: javascript.0 (1510) requesting all objects
                      2022-08-29 20:41:52.721 - info: javascript.0 (1510) received all objects
                      2022-08-29 20:41:53.012 - info: javascript.0 (1510) received all states
                      2022-08-29 20:41:53.091 - info: javascript.0 (1510) script.js.global.IconsSelector: compiling TypeScript source...
                      2022-08-29 20:42:01.868 - info: javascript.0 (1510) script.js.global.IconsSelector: TypeScript compilation successful
                      2022-08-29 20:42:02.030 - error: javascript.0 (1510) uncaught exception: Debug Failure. Unhandled SyntaxKind: Unknown.
                      2022-08-29 20:42:02.032 - error: javascript.0 (1510) Error: Debug Failure. Unhandled SyntaxKind: Unknown.
                      at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:113075:22)
                      at pipelineEmitWithHint (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112608:17)
                      at pipelineEmitWithComments (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116249:13)
                      at pipelineEmit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112548:13)
                      at emit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112521:13)
                      at emitModuleDeclaration (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:114436:13)
                      at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112799:32)
                      at pipelineEmitWithHint (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112608:17)
                      at pipelineEmitWithComments (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116249:13)
                      at pipelineEmit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112548:13)
                      at emit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112521:13)
                      at emitListItemWithParenthesizerRule (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116742:9)
                      at emitNodeListItems (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115493:17)
                      at emitNodeList (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115411:17)
                      at emitList (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115376:13)
                      at emitSourceFileWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115062:13)
                      at emitBodyWithDetachedComments (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116369:17)
                      at emitSourceFile (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:114981:17)
                      at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112623:24)
                      at pipelineEmitWithHint (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112608:17)
                      at pipelineEmit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112548:13)
                      at print (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112484:13)
                      at writeFile (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112468:13)
                      at printFile (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112329:13)
                      at Object.printNode (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112313:62)
                      at transformGlobalDeclarations (/opt/iobroker/node_modules/iobroker.javascript/lib/typescriptTools.js:496:31)
                      at Immediate. (/opt/iobroker/node_modules/iobroker.javascript/main.js:1061:60)
                      at processImmediate (node:internal/timers:468:21)
                      2022-08-29 20:42:02.033 - error: javascript.0 (1510) Debug Failure. Unhandled SyntaxKind: Unknown.
                      2022-08-29 20:42:02.217 - info: javascript.0 (1510) terminating
                      2022-08-29 20:42:02.227 - warn: javascript.0 (1510) Terminated (UNCAUGHT_EXCEPTION): Without reason
                      2022-08-29 20:42:04.262 - error: host.ioBroker Caught by controller[0]: DeprecationWarning: 'createNodeArray' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
                      2022-08-29 20:42:04.264 - error: host.ioBroker Caught by controller[1]: DeprecationWarning: 'createNamedExports' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
                      2022-08-29 20:42:04.264 - error: host.ioBroker Caught by controller[2]: DeprecationWarning: 'createExportDeclaration' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
                      2022-08-29 20:42:04.264 - error: host.ioBroker Caught by controller[3]: DeprecationWarning: 'updateSourceFile' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
                      2022-08-29 20:42:04.264 - error: host.ioBroker Caught by controller[4]: DeprecationWarning: 'updateClassDeclaration' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
                      2022-08-29 20:42:04.265 - error: host.ioBroker Caught by controller[4]: DeprecationWarning: 'createModifier' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
                      2022-08-29 20:42:04.265 - error: host.ioBroker Caught by controller[4]: DeprecationWarning: 'createIdentifier' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
                      2022-08-29 20:42:04.265 - error: host.ioBroker Caught by controller[4]: DeprecationWarning: 'createModuleBlock' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
                      2022-08-29 20:42:04.265 - error: host.ioBroker Caught by controller[4]: DeprecationWarning: 'createModuleDeclaration' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
                      2022-08-29 20:42:04.265 - error: host.ioBroker Caught by controller[5]: Error: Debug Failure. Unhandled SyntaxKind: Unknown.
                      2022-08-29 20:42:04.265 - error: host.ioBroker Caught by controller[5]: at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:113075:22)
                      2022-08-29 20:42:04.265 - error: host.ioBroker Caught by controller[5]: at pipelineEmitWithHint (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112608:17)
                      2022-08-29 20:42:04.266 - error: host.ioBroker Caught by controller[5]: at pipelineEmitWithComments (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116249:13)
                      2022-08-29 20:42:04.266 - error: host.ioBroker Caught by controller[5]: at pipelineEmit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112548:13)
                      2022-08-29 20:42:04.266 - error: host.ioBroker Caught by controller[5]: at emit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112521:13)
                      2022-08-29 20:42:04.266 - error: host.ioBroker Caught by controller[5]: at emitModuleDeclaration (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:114436:13)
                      2022-08-29 20:42:04.266 - error: host.ioBroker Caught by controller[5]: at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112799:32)
                      2022-08-29 20:42:04.266 - error: host.ioBroker Caught by controller[5]: at pipelineEmitWithHint (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112608:17)
                      2022-08-29 20:42:04.266 - error: host.ioBroker Caught by controller[5]: at pipelineEmitWithComments (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116249:13)
                      2022-08-29 20:42:04.267 - error: host.ioBroker Caught by controller[5]: at pipelineEmit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112548:13)
                      2022-08-29 20:42:04.267 - error: host.ioBroker Caught by controller[5]: at emit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112521:13)
                      2022-08-29 20:42:04.267 - error: host.ioBroker Caught by controller[5]: at emitListItemWithParenthesizerRule (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116742:9)
                      2022-08-29 20:42:04.267 - error: host.ioBroker Caught by controller[5]: at emitNodeListItems (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115493:17)
                      2022-08-29 20:42:04.267 - error: host.ioBroker Caught by controller[5]: at emitNodeList (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115411:17)
                      2022-08-29 20:42:04.267 - error: host.ioBroker Caught by controller[5]: at emitList (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115376:13)
                      2022-08-29 20:42:04.267 - error: host.ioBroker Caught by controller[5]: at emitSourceFileWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115062:13)
                      2022-08-29 20:42:04.268 - error: host.ioBroker Caught by controller[5]: at emitBodyWithDetachedComments (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116369:17)
                      2022-08-29 20:42:04.268 - error: host.ioBroker Caught by controller[5]: at emitSourceFile (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:114981:17)
                      2022-08-29 20:42:04.268 - error: host.ioBroker Caught by controller[5]: at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112623:24)
                      2022-08-29 20:42:04.268 - error: host.ioBroker Caught by controller[5]: at pipelineEmitWithHint (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112608:17)
                      2022-08-29 20:42:04.268 - error: host.ioBroker Caught by controller[5]: at pipelineEmit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112548:13)
                      2022-08-29 20:42:04.268 - error: host.ioBroker Caught by controller[5]: at print (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112484:13)
                      2022-08-29 20:42:04.268 - error: host.ioBroker Caught by controller[5]: at writeFile (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112468:13)
                      2022-08-29 20:42:04.269 - error: host.ioBroker Caught by controller[5]: at printFile (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112329:13)
                      2022-08-29 20:42:04.269 - error: host.ioBroker Caught by controller[5]: at Object.printNode (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112313:62)
                      2022-08-29 20:42:04.269 - error: host.ioBroker Caught by controller[5]: at transformGlobalDeclarations (/opt/iobroker/node_modules/iobroker.javascript/lib/typescriptTools.js:496:31)
                      2022-08-29 20:42:04.269 - error: host.ioBroker Caught by controller[5]: at Immediate. (/opt/iobroker/node_modules/iobroker.javascript/main.js:1061:60)
                      2022-08-29 20:42:04.269 - error: host.ioBroker Caught by controller[5]: at processImmediate (node:internal/timers:468:21)
                      2022-08-29 20:42:04.269 - error: host.ioBroker instance system.adapter.javascript.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                      2022-08-29 20:42:04.270 - info: host.ioBroker Restart adapter system.adapter.javascript.0 because enabled
                      

                      ich habe gesehen der Host gibt anschließend auch immer fehler aus.

                      H 1 Reply Last reply Reply Quote 0
                      • T
                        TT-Tom @Armilar last edited by TT-Tom

                        @armilar sagte in Sonoff NSPanel:

                        Verstehe ich nicht. Lief doch alles bei dir. Funktioniert bei mir perfekt.
                        Was funktioniert denn nicht? Die IconSelector oder das Skript?

                        es ist das Icon Mapping Script, was die Fehler verursacht.

                        ich kann @Peet_b Fehlermeldungen bestätigen.

                        Armilar 1 Reply Last reply Reply Quote 0
                        • Armilar
                          Armilar Most Active Forum Testing @TT-Tom last edited by Armilar

                          @tt-tom sagte in Sonoff NSPanel:

                          @armilar sagte in Sonoff NSPanel:

                          Verstehe ich nicht. Lief doch alles bei dir. Funktioniert bei mir perfekt.
                          Was funktioniert denn nicht? Die IconSelector oder das Skript?

                          es ist das Icon Mapping Script, was die Fehler verursacht.

                          ich kann @Peet_b Fehlermeldungen bestätigen.

                          Schwer zu sagen: In Zeile 7 sagt er:

                          2022-08-29 20:42:01.868 - info: javascript.0 (1510) script.js.global.IconsSelector: TypeScript compilation successful
                          

                          Also hat er das IconSelector doch kompiliert.
                          Und das wenn das TS-Skript Fehler hätte, dann würde es zumindest seitlich in rot die Fehler anzeigen...

                          Ist jetzt sehr schwer da den Fehler zu lokalisieren, da es bei mir super funktioniert - egal mit welcher Version
                          des JavaSript-Adapters
                          Sieht für mich aus, als hätte er vergessen wo die TypeSkript-Libraries sind.

                          kann das am iobroker js-controller liegen? Keine Ahnung - den vielleicht noch mal drüber bügeln?

                          npm hat aber von euch keiner verwendet?

                          1 Reply Last reply Reply Quote 0
                          • K
                            Kuckuckmann last edited by

                            Ich würde mal ein "iob fix" versuchen und wenn das nicht hilft den JS-Adapter via Commmandline deinstallieren und neu installieren. Ggf. mal noch npm/node noch updaten.
                            Auf jeden Fall mal via iob update schauen, ob da noch kritische Updates in der Pipe stehen.

                            Armilar 1 Reply Last reply Reply Quote 0
                            • Armilar
                              Armilar Most Active Forum Testing @Kuckuckmann last edited by Armilar

                              @kuckuckmann sagte in Sonoff NSPanel:

                              Ich würde mal ein "iob fix" versuchen und wenn das nicht hilft den JS-Adapter via Commmandline deinstallieren und neu installieren. Ggf. mal noch npm/node noch updaten.
                              Auf jeden Fall mal via iob update schauen, ob da noch kritische Updates in der Pipe stehen.

                              siehe auch einen POST oben drüber - evtl. wäre das eine Lösung und klar iob fix (wahrscheinlich Rechte)

                              iob stop
                              iob update
                              iob upgrade self
                              iob fix
                              iob start

                              T P 2 Replies Last reply Reply Quote 0
                              • T
                                TT-Tom @Armilar last edited by

                                @armilar sagte in Sonoff NSPanel:

                                siehe auch einen POST oben drüber - evtl. wäre das eine Lösung und klar iob fix (wahrscheinlich Rechte)
                                iob stop
                                iob update
                                iob upgrade self
                                iob fix
                                iob start

                                habe ich gemacht und danach Javascript auf 6.0.0 wieder angehoben, bis jetzt ohne Probleme.

                                danke für die Unterstützung.

                                Armilar 1 Reply Last reply Reply Quote 0
                                • Armilar
                                  Armilar Most Active Forum Testing @TT-Tom last edited by Armilar

                                  @tt-tom sagte in Sonoff NSPanel:

                                  @armilar sagte in Sonoff NSPanel:

                                  siehe auch einen POST oben drüber - evtl. wäre das eine Lösung und klar iob fix (wahrscheinlich Rechte)
                                  iob stop
                                  iob update
                                  iob upgrade self
                                  iob fix
                                  iob start

                                  habe ich gemacht und danach Javascript auf 6.0.0 wieder angehoben, bis jetzt ohne Probleme.

                                  danke für die Unterstützung.

                                  Cool -

                                  habe soeben das Skript nochmals auf die TFT41 v3.3.1 geupdatet - Ist aber bis auf die neuen Versionsnummern und einem Beispiel PageItem nicht wirklich viel hinzugekommen.

                                  Für den einen oder anderen vielleicht interessant. Wer den DeConz-Adapter in Verbindung mit farbigen Lampen benutzt, stand evtl auch schon vor dem Problem, das HUE (im Gegensatz zum HUE-Adapter) da nicht viel an der Farbe dreht. Die Farben können jetzt jedoch auch über XY (CIE) verändert werden, wenn colormode: "xy" als Parameter angegeben wird. --> Alias "RGB-Licht"

                                  1 Reply Last reply Reply Quote 0
                                  • O
                                    oOchrisOo last edited by

                                    Guten Abend zusammen,
                                    versuche seit einiger Zeit eine funktionierende Medien Seite für meinen Echo zu erstellen, ohne Erfolg.
                                    habe wie angegeben mit dem Alias Manager einen Datenpunkt über das Verzeichnis Player meines Echos angelegt, hier wurden auch datenpunkte im Objektbaum angelegt , die auch daten ausgeben wenn ich auf dem Echo Musik höre.


                                    objplayer.jpg

                                    meine zeilen im skript sehen wie folgt aus

                                    var Alexa: PageMedia = 
                                    {
                                        "type": "cardMedia",
                                        "heading": "Alexa",
                                        "useColor": true,
                                        "subPage": false,
                                        "parent": undefined,
                                        "items": [<PageItem>{ id: "alias.0.Player" }]
                                    };
                                    

                                    und so sieht das Ganze auf dem Panel aus


                                    IMG_5336.jpg

                                    danke im voraus 😬

                                    Armilar 1 Reply Last reply Reply Quote 0
                                    • H
                                      Hagbard235 @Peet_b last edited by

                                      @peet_b Hast du eine Lösung gefunden, meine Situation ist genauso.
                                      Erst mit meinem "Prod-System" probiert, dann ein neuer "nackter" Container, dann eine Handinstallation im Debian... aber sobald ich die beiden NSPanel-Scripte "anschalte" läuft die Javascript-Instanz in eine bootloop, weil sie sofort wieder abbricht. Beim Container hab ich alles von V5 bis V7 durchprobiert, ohne Veränderung. Jemand ne Idee?

                                      Hier mein Protokoll:

                                      host.debian
                                      2022-08-29 21:52:53.025	error	instance system.adapter.javascript.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                      host.debian
                                      2022-08-29 21:52:53.024	error	Caught by controller[3]: at processImmediate (internal/timers.js:463:21)
                                      host.debian
                                      2022-08-29 21:52:53.024	error	Caught by controller[3]: at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:1078:64)
                                      host.debian
                                      2022-08-29 21:52:53.023	error	Caught by controller[3]: at transformGlobalDeclarations (/opt/iobroker/node_modules/iobroker.javascript/lib/typescriptTools.js:496:31)
                                      host.debian
                                      2022-08-29 21:52:53.023	error	Caught by controller[3]: at Object.printNode (/opt/iobroker/node_modules/typescript/lib/typescript.js:112313:62)
                                      host.debian
                                      2022-08-29 21:52:53.022	error	Caught by controller[3]: at printFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:112329:13)
                                      host.debian
                                      2022-08-29 21:52:53.022	error	Caught by controller[3]: at writeFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:112468:13)
                                      host.debian
                                      2022-08-29 21:52:53.021	error	Caught by controller[3]: at print (/opt/iobroker/node_modules/typescript/lib/typescript.js:112484:13)
                                      host.debian
                                      2022-08-29 21:52:53.020	error	Caught by controller[3]: at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13)
                                      host.debian
                                      2022-08-29 21:52:53.020	error	Caught by controller[3]: at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17)
                                      host.debian
                                      2022-08-29 21:52:53.019	error	Caught by controller[3]: at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:112623:24)
                                      host.debian
                                      2022-08-29 21:52:53.019	error	Caught by controller[3]: at emitSourceFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:114981:17)
                                      host.debian
                                      2022-08-29 21:52:53.018	error	Caught by controller[3]: at emitBodyWithDetachedComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116369:17)
                                      host.debian
                                      2022-08-29 21:52:53.017	error	Caught by controller[3]: at emitSourceFileWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:115062:13)
                                      host.debian
                                      2022-08-29 21:52:53.017	error	Caught by controller[3]: at emitList (/opt/iobroker/node_modules/typescript/lib/typescript.js:115376:13)
                                      host.debian
                                      2022-08-29 21:52:53.016	error	Caught by controller[3]: at emitNodeList (/opt/iobroker/node_modules/typescript/lib/typescript.js:115411:17)
                                      host.debian
                                      2022-08-29 21:52:53.015	error	Caught by controller[3]: at emitNodeListItems (/opt/iobroker/node_modules/typescript/lib/typescript.js:115493:17)
                                      host.debian
                                      2022-08-29 21:52:53.015	error	Caught by controller[3]: at emitListItemWithParenthesizerRule (/opt/iobroker/node_modules/typescript/lib/typescript.js:116742:9)
                                      host.debian
                                      2022-08-29 21:52:53.014	error	Caught by controller[3]: at emit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112521:13)
                                      host.debian
                                      2022-08-29 21:52:53.014	error	Caught by controller[3]: at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13)
                                      host.debian
                                      2022-08-29 21:52:53.013	error	Caught by controller[3]: at pipelineEmitWithComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116249:13)
                                      host.debian
                                      2022-08-29 21:52:53.012	error	Caught by controller[3]: at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17)
                                      host.debian
                                      2022-08-29 21:52:53.012	error	Caught by controller[3]: at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:112799:32)
                                      host.debian
                                      2022-08-29 21:52:53.011	error	Caught by controller[3]: at emitModuleDeclaration (/opt/iobroker/node_modules/typescript/lib/typescript.js:114436:13)
                                      host.debian
                                      2022-08-29 21:52:53.010	error	Caught by controller[3]: at emit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112521:13)
                                      host.debian
                                      2022-08-29 21:52:53.009	error	Caught by controller[3]: at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13)
                                      host.debian
                                      2022-08-29 21:52:53.004	error	Caught by controller[3]: at pipelineEmitWithComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116249:13)
                                      host.debian
                                      2022-08-29 21:52:53.004	error	Caught by controller[3]: at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17)
                                      host.debian
                                      2022-08-29 21:52:53.003	error	Caught by controller[3]: at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:113075:22)
                                      host.debian
                                      2022-08-29 21:52:53.003	error	Caught by controller[3]: Error: Debug Failure. Unhandled SyntaxKind: Unknown.
                                      host.debian
                                      2022-08-29 21:52:53.002	error	Caught by controller[2]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
                                      host.debian
                                      2022-08-29 21:52:53.001	error	Caught by controller[1]: DeprecationWarning: 'createModuleDeclaration' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
                                      host.debian
                                      2022-08-29 21:52:53.001	error	Caught by controller[1]: DeprecationWarning: 'createModuleBlock' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
                                      host.debian
                                      2022-08-29 21:52:53.000	error	Caught by controller[1]: DeprecationWarning: 'createIdentifier' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
                                      host.debian
                                      2022-08-29 21:52:52.999	error	Caught by controller[1]: DeprecationWarning: 'createModifier' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
                                      host.debian
                                      2022-08-29 21:52:52.997	error	Caught by controller[1]: DeprecationWarning: 'updateClassDeclaration' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
                                      
                                      javascript.0
                                      2022-08-29 21:52:41.301	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                      
                                      javascript.0
                                      2022-08-29 21:52:41.266	info	terminating
                                      
                                      javascript.0
                                      2022-08-29 21:52:40.623	error	Debug Failure. Unhandled SyntaxKind: Unknown.
                                      
                                      javascript.0
                                      2022-08-29 21:52:40.622	error	Error: Debug Failure. Unhandled SyntaxKind: Unknown. at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:113075:22) at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17) at pipelineEmitWithComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116249:13) at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13) at emit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112521:13) at emitModuleDeclaration (/opt/iobroker/node_modules/typescript/lib/typescript.js:114436:13) at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:112799:32) at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17) at pipelineEmitWithComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116249:13) at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13) at emit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112521:13) at emitListItemWithParenthesizerRule (/opt/iobroker/node_modules/typescript/lib/typescript.js:116742:9) at emitNodeListItems (/opt/iobroker/node_modules/typescript/lib/typescript.js:115493:17) at emitNodeList (/opt/iobroker/node_modules/typescript/lib/typescript.js:115411:17) at emitList (/opt/iobroker/node_modules/typescript/lib/typescript.js:115376:13) at emitSourceFileWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:115062:13) at emitBodyWithDetachedComments (/opt/iobroker/node_modules/typescript/lib/typescript.js:116369:17) at emitSourceFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:114981:17) at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/typescript/lib/typescript.js:112623:24) at pipelineEmitWithHint (/opt/iobroker/node_modules/typescript/lib/typescript.js:112608:17) at pipelineEmit (/opt/iobroker/node_modules/typescript/lib/typescript.js:112548:13) at print (/opt/iobroker/node_modules/typescript/lib/typescript.js:112484:13) at writeFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:112468:13) at printFile (/opt/iobroker/node_modules/typescript/lib/typescript.js:112329:13) at Object.printNode (/opt/iobroker/node_modules/typescript/lib/typescript.js:112313:62) at transformGlobalDeclarations (/opt/iobroker/node_modules/iobroker.javascript/lib/typescriptTools.js:496:31) at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:1078:64) at processImmediate (internal/timers.js:463:21)
                                      
                                      javascript.0
                                      2022-08-29 21:52:40.620	error	unhandled promise rejection: Debug Failure. Unhandled SyntaxKind: Unknown.
                                      
                                      javascript.0
                                      2022-08-29 21:52:40.619	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                      
                                      javascript.0
                                      2022-08-29 21:52:39.693	info	script.js.global.IconSelector: TypeScript compilation successful
                                      
                                      javascript.0
                                      2022-08-29 21:52:04.477	info	script.js.global.IconSelector: compiling TypeScript source...
                                      
                                      javascript.0
                                      2022-08-29 21:52:04.358	info	received all states
                                      
                                      javascript.0
                                      2022-08-29 21:52:04.303	info	received all objects
                                      
                                      javascript.0
                                      2022-08-29 21:52:02.468	info	requesting all objects
                                      
                                      javascript.0
                                      2022-08-29 21:52:02.463	info	requesting all states
                                      
                                      javascript.0
                                      2022-08-29 21:52:01.460	info	starting. Version 6.0.0 in /opt/iobroker/node_modules/iobroker.javascript, node: v12.22.12, js-controller: 4.0.23
                                      
                                      H Armilar 2 Replies Last reply Reply Quote 0
                                      • Armilar
                                        Armilar Most Active Forum Testing @oOchrisOo last edited by Armilar

                                        @oochrisoo sagte in Sonoff NSPanel:

                                        Guten Abend zusammen,
                                        versuche seit einiger Zeit eine funktionierende Medien Seite für meinen Echo zu erstellen, ohne Erfolg.
                                        habe wie angegeben mit dem Alias Manager einen Datenpunkt über das Verzeichnis Player meines Echos angelegt, hier wurden auch datenpunkte im Objektbaum angelegt , die auch daten ausgeben wenn ich auf dem Echo Musik höre.


                                        objplayer.jpg

                                        meine zeilen im skript sehen wie folgt aus

                                        var Alexa: PageMedia = 
                                        {
                                            "type": "cardMedia",
                                            "heading": "Alexa",
                                            "useColor": true,
                                            "subPage": false,
                                            "parent": undefined,
                                            "items": [<PageItem>{ id: "alias.0.Player" }]
                                        };
                                        

                                        und so sieht das Ganze auf dem Panel aus


                                        IMG_5336.jpg

                                        danke im voraus 😬

                                        Sieht aber gut aus. Beim Media braucht der Alias ein wenig. Am Besten mit der Tante aus dem Online-Kaufhaus sprechen. Wünsche dir mal eine Playlist auf dem Gerät oder beschleunige den Vorgang über den Alexa-Adapter (true/false)

                                        Und unter Objekte gibt es aber den alias.0.Player?

                                        O 1 Reply Last reply Reply Quote 0
                                        • H
                                          Hagbard235 @Hagbard235 last edited by

                                          @hagbard235
                                          btw.

                                          iob stop
                                          iob update
                                          iob upgrade self
                                          iob fix
                                          iob start
                                          

                                          gemacht aber hat nix geändert

                                          Armilar 1 Reply Last reply Reply Quote 0
                                          • Armilar
                                            Armilar Most Active Forum Testing @Hagbard235 last edited by

                                            @hagbard235 sagte in Sonoff NSPanel:

                                            @hagbard235
                                            btw.

                                            iob stop
                                            iob update
                                            iob upgrade self
                                            iob fix
                                            iob start
                                            

                                            gemacht aber hat nix geändert

                                            nur das weiße fix oder alles? Wichtig ist, dass der ioBroker auf stop geht.

                                            H Armilar 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            515
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            78
                                            1548
                                            390208
                                            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