Navigation

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

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Sonoff NSPanel

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

      Also ich habe v6.0.1 des JS Adapter am laufen und da stürzt nix ab.

      @TT-Tom @Peet_b
      habt Ihr das Skript im Ordner Global?
      Könnt Ihr mal den Inhalt Eures Skripts in einem Spoiler hier komplett posten?

      Hattet ihr neulich ein JS Adapter Update gemacht welches hängen blieb?
      Ggf. müsst Ihr in den Adaptern beim JS Adapter mal einen Dateiupload anstoßen.

      d93fef26-7a67-4dce-9b87-89365302de74-image.png

      @Peet_b

      Hier findest Du eine Anleitung, wie man via Commandline eine bestimmte Adapterversion installieren kannst.

      Aber Vorsicht: Auf Commandline Ebene ist das eigenes Risiko - quasi ohne Netz und doppelten Boden.

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

        @kuckuckmann

        Ich habe die Vorlage Eins zu Eins übernommen und sie in "Global" angelegt.

        Den Inhalt kann ich leider nicht posten, das sind zu viele Zeichen. Aber wenn ich bei Github "copy Raw Contents" benutze, sollte doch alles dabei sein.

        Ich hatte vor dem Anlegen ein Update des Adapters gemacht, das lief auch problemlos durch.

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

          @kuckuckmann sagte in Sonoff NSPanel:

          Also ich habe v6.0.1 des JS Adapter am laufen und da stürzt nix ab.

          @TT-Tom @Peet_b
          habt Ihr das Skript im Ordner Global?
          Könnt Ihr mal den Inhalt Eures Skripts in einem Spoiler hier komplett posten?

          Hattet ihr neulich ein JS Adapter Update gemacht welches hängen blieb?
          Ggf. müsst Ihr in den Adaptern beim JS Adapter mal einen Dateiupload anstoßen.

          d93fef26-7a67-4dce-9b87-89365302de74-image.png

          @Peet_b

          Hier findest Du eine Anleitung, wie man via Commandline eine bestimmte Adapterversion installieren kannst.

          Aber Vorsicht: Auf Commandline Ebene ist das eigenes Risiko - quasi ohne Netz und doppelten Boden.

          Wie schon erwähnt. Die 6.0.1 schreibt mir mein Log komplett voll

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

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

            @armilar sagte in Sonoff NSPanel:

            iobroker install javascript@5.7.0

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

              @tt-tom sagte in Sonoff NSPanel:

              @armilar sagte in Sonoff NSPanel:

              iobroker install javascript@5.7.0

              iobroker upgrade javascript@5.7.0
              

              👍

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

                @peet_b said in Sonoff NSPanel:

                @kuckuckmann

                Ich habe die Vorlage Eins zu Eins übernommen und sie in "Global" angelegt.

                Den Inhalt kann ich leider nicht posten, das sind zu viele Zeichen. Aber wenn ich bei Github "copy Raw Contents" benutze, sollte doch alles dabei sein.

                Ich hatte vor dem Anlegen ein Update des Adapters gemacht, das lief auch problemlos durch.

                Ich habe das Skript ebenfalls über CopyRaw gearde neu kopiert und eingefügt --> startet ohne Probleme.
                Wenn ich mich recht erinnere war es noch wichtig, dass es in Global sein muss (was Du ja hast) und "IconsSelector" heißen muss (Key sensitiv). Hast Du das beachtet?
                Zur Kontrolle: Check mal dass Dein Skript 6907 Zeilen hat und vergleich auch mal Anfang und Ende bei Dir mit dem Skript auf GitHub.

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

                  @kuckuckmann sagte in Sonoff NSPanel:

                  @peet_b said in Sonoff NSPanel:

                  @kuckuckmann

                  Ich habe die Vorlage Eins zu Eins übernommen und sie in "Global" angelegt.

                  Den Inhalt kann ich leider nicht posten, das sind zu viele Zeichen. Aber wenn ich bei Github "copy Raw Contents" benutze, sollte doch alles dabei sein.

                  Ich hatte vor dem Anlegen ein Update des Adapters gemacht, das lief auch problemlos durch.

                  Ich habe das Skript ebenfalls über CopyRaw gearde neu kopiert und eingefügt --> startet ohne Probleme.
                  Wenn ich mich recht erinnere war es noch wichtig, dass es in Global sein muss (was Du ja hast) und "IconsSelector" heißen muss (Key sensitiv). Hast Du das beachtet?
                  Zur Kontrolle: Check mal dass Dein Skript 6907 Zeilen hat und vergleich auch mal Anfang und Ende bei Dir mit dem Skript auf GitHub.

                  Nee, ist nur einfacher wenn man über das gleiche spricht. Kannst die Datei auch Schneewittchen nennen.

                  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.

                  T K 2 Replies Last reply Reply Quote 0
                  • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            990
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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