Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Hardware
  4. Sonoff NSPanel

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    16
    1
    224

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.5k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.3k

Sonoff NSPanel

Scheduled Pinned Locked Moved Hardware
1.5k Posts 78 Posters 681.0k Views 80 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T TT-Tom

    @kuckuckmann

    Probiere mal 1. ich musste bei mir auf 14 erhöhen um den Straßennamen aus zu blenden.

    K Offline
    K Offline
    Kuckuckmann
    wrote on last edited by
    #1115

    @tt-tom
    Ich hab nu alle Werte von 0-20 durch, da verändert sich nix.

    NSPanel Dokumentation im GitHub Wiki:

    https://github.com/joBr99/nspanel-lovelace-ui/wiki

    T 1 Reply Last reply
    0
    • K Kuckuckmann

      @tt-tom
      Ich hab nu alle Werte von 0-20 durch, da verändert sich nix.

      T Offline
      T Offline
      TT-Tom
      wrote on last edited by
      #1116

      @kuckuckmann
      Bleib die Fehlermeldung?

      Gruß Tom
      https://github.com/tt-tom17
      Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

      NSPanel Script Wiki
      https://github.com/joBr99/nspanel-lovelace-ui/wiki

      NSPanel Adapter Wiki
      https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

      K 1 Reply Last reply
      0
      • T TT-Tom

        @kuckuckmann
        Bleib die Fehlermeldung?

        K Offline
        K Offline
        Kuckuckmann
        wrote on last edited by Kuckuckmann
        #1117

        @tt-tom said in Sonoff NSPanel:

        @kuckuckmann
        Bleib die Fehlermeldung?

        Ja

        Update: Ich habe die DP mal manuell angelegt, jetzt wird da was rein geschrieben.
        Allerdings werden die Werte noch abgehackt:

        f1872bbb-d7f4-428f-b3be-8719392eb34b-image.png

        Update Update: Wenn ich 0 eintrage, dann gehts.

        Fazit: man muss die DP manuell erzeugen und bei Verwendung des Trashadapters den Wert von 8 auf 0 setzen.
        Soweit so gut, jetzt teste ich das in richtug NSPanel, das fehlt ja auch noch ;-)

        NSPanel Dokumentation im GitHub Wiki:

        https://github.com/joBr99/nspanel-lovelace-ui/wiki

        T 2 Replies Last reply
        0
        • K Kuckuckmann

          @tt-tom said in Sonoff NSPanel:

          @kuckuckmann
          Bleib die Fehlermeldung?

          Ja

          Update: Ich habe die DP mal manuell angelegt, jetzt wird da was rein geschrieben.
          Allerdings werden die Werte noch abgehackt:

          f1872bbb-d7f4-428f-b3be-8719392eb34b-image.png

          Update Update: Wenn ich 0 eintrage, dann gehts.

          Fazit: man muss die DP manuell erzeugen und bei Verwendung des Trashadapters den Wert von 8 auf 0 setzen.
          Soweit so gut, jetzt teste ich das in richtug NSPanel, das fehlt ja auch noch ;-)

          T Offline
          T Offline
          TT-Tom
          wrote on last edited by
          #1118

          @kuckuckmann
          Jetzt musst du mit der Zahl nochmal probieren 0 oder 1

          Gruß Tom
          https://github.com/tt-tom17
          Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

          NSPanel Script Wiki
          https://github.com/joBr99/nspanel-lovelace-ui/wiki

          NSPanel Adapter Wiki
          https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

          K 1 Reply Last reply
          0
          • T TT-Tom

            @kuckuckmann
            Jetzt musst du mit der Zahl nochmal probieren 0 oder 1

            K Offline
            K Offline
            Kuckuckmann
            wrote on last edited by Kuckuckmann
            #1119

            @tt-tom said in Sonoff NSPanel:

            Jetzt musst du mit der Zahl nochmal probieren 0 oder 1

            Also 0 geht, warum 1?
            Nachtrag: geht nur mit 0!

            Auf dem NSPanel auch soweit alles schick.

            HURRAAAAA !!!

            @Armilar
            Kannst Du mir mal die Hex Farbcodes zu Deinen dezimalen

              Color = 33840;
              Color = 2016;
              Color = 31;
              Color = 65504;
            

            bitte geben?

            NSPanel Dokumentation im GitHub Wiki:

            https://github.com/joBr99/nspanel-lovelace-ui/wiki

            ArmilarA 1 Reply Last reply
            0
            • K Kuckuckmann

              @tt-tom said in Sonoff NSPanel:

              Jetzt musst du mit der Zahl nochmal probieren 0 oder 1

              Also 0 geht, warum 1?
              Nachtrag: geht nur mit 0!

              Auf dem NSPanel auch soweit alles schick.

              HURRAAAAA !!!

              @Armilar
              Kannst Du mir mal die Hex Farbcodes zu Deinen dezimalen

                Color = 33840;
                Color = 2016;
                Color = 31;
                Color = 65504;
              

              bitte geben?

              ArmilarA Offline
              ArmilarA Offline
              Armilar
              Most Active Forum Testing
              wrote on last edited by Armilar
              #1120

              @kuckuckmann sagte in Sonoff NSPanel:

              @tt-tom said in Sonoff NSPanel:

              Jetzt musst du mit der Zahl nochmal probieren 0 oder 1

              Also 0 geht, warum 1?
              Nachtrag: geht nur mit 0!

              Auf dem NSPanel auch soweit alles schick.

              HURRAAAAA !!!

              @Armilar
              Kannst Du mir mal die Hex Farbcodes zu Deinen dezimalen

                Color = 33840;
                Color = 2016;
                Color = 31;
                Color = 65504;
              

              bitte geben?

              Ich habe nicht die leiseste Ahnung was das für HEX-Werte sind :grimacing: . Steuerst du eine Lampe an oder wofür wäre das interessant? Vielleicht hilft dir das?
              https://www.boecker-systemelektronik.de/Seite-/-Kategorie-1/NextionTutorials/Das-Farbsystem

              Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
              https://github.com/joBr99/nspanel-lovelace-ui/wiki

              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

              1 Reply Last reply
              0
              • K Kuckuckmann

                @tt-tom said in Sonoff NSPanel:

                @kuckuckmann
                Bleib die Fehlermeldung?

                Ja

                Update: Ich habe die DP mal manuell angelegt, jetzt wird da was rein geschrieben.
                Allerdings werden die Werte noch abgehackt:

                f1872bbb-d7f4-428f-b3be-8719392eb34b-image.png

                Update Update: Wenn ich 0 eintrage, dann gehts.

                Fazit: man muss die DP manuell erzeugen und bei Verwendung des Trashadapters den Wert von 8 auf 0 setzen.
                Soweit so gut, jetzt teste ich das in richtug NSPanel, das fehlt ja auch noch ;-)

                T Offline
                T Offline
                TT-Tom
                wrote on last edited by
                #1121

                @kuckuckmann sagte in Sonoff NSPanel:

                Soweit so gut, jetzt teste ich das in richtug NSPanel, das fehlt ja auch noch ;-)

                Dafür musst du mit dem Geräte Adapter die alias anlegen vom Typ Warnung

                Gruß Tom
                https://github.com/tt-tom17
                Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

                NSPanel Script Wiki
                https://github.com/joBr99/nspanel-lovelace-ui/wiki

                NSPanel Adapter Wiki
                https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

                K 1 Reply Last reply
                0
                • T TT-Tom

                  @kuckuckmann sagte in Sonoff NSPanel:

                  Soweit so gut, jetzt teste ich das in richtug NSPanel, das fehlt ja auch noch ;-)

                  Dafür musst du mit dem Geräte Adapter die alias anlegen vom Typ Warnung

                  K Offline
                  K Offline
                  Kuckuckmann
                  wrote on last edited by
                  #1122

                  @tt-tom said in Sonoff NSPanel:

                  @kuckuckmann sagte in Sonoff NSPanel:

                  Soweit so gut, jetzt teste ich das in richtug NSPanel, das fehlt ja auch noch ;-)

                  Dafür musst du mit dem Geräte Adapter die alias anlegen vom Typ Warnung

                  Ja, hab ich gemacht. Alles erledigt, es funktioniert. ich werde es alles mal zusammenfassen.

                  NSPanel Dokumentation im GitHub Wiki:

                  https://github.com/joBr99/nspanel-lovelace-ui/wiki

                  1 Reply Last reply
                  0
                  • N Offline
                    N Offline
                    nevermind
                    wrote on last edited by
                    #1123

                    Hallo Zusammen

                    Ich hätte gerne auf der der ersten Seite statt dem Screensaver eine "normale" Seite mit Buttons etc.

                    Geht das und wenn ja, wie? Im Optimalfall sollte die Dimm-Funktion dabei erhalten bleiben.

                    Vg

                    Jens

                    ArmilarA K J 3 Replies Last reply
                    0
                    • N nevermind

                      Hallo Zusammen

                      Ich hätte gerne auf der der ersten Seite statt dem Screensaver eine "normale" Seite mit Buttons etc.

                      Geht das und wenn ja, wie? Im Optimalfall sollte die Dimm-Funktion dabei erhalten bleiben.

                      Vg

                      Jens

                      ArmilarA Offline
                      ArmilarA Offline
                      Armilar
                      Most Active Forum Testing
                      wrote on last edited by
                      #1124

                      @nevermind sagte in Sonoff NSPanel:

                      Hallo Zusammen

                      Ich hätte gerne auf der der ersten Seite statt dem Screensaver eine "normale" Seite mit Buttons etc.

                      Geht das und wenn ja, wie? Im Optimalfall sollte die Dimm-Funktion dabei erhalten bleiben.

                      Vg

                      Jens

                      Nein, das ist per TFT und Type-Skript nicht vorgesehen. Die erste Seite, ist die Seite, nach dem Screensaver.

                      Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
                      https://github.com/joBr99/nspanel-lovelace-ui/wiki

                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                      1 Reply Last reply
                      0
                      • N nevermind

                        Hallo Zusammen

                        Ich hätte gerne auf der der ersten Seite statt dem Screensaver eine "normale" Seite mit Buttons etc.

                        Geht das und wenn ja, wie? Im Optimalfall sollte die Dimm-Funktion dabei erhalten bleiben.

                        Vg

                        Jens

                        K Offline
                        K Offline
                        Kuckuckmann
                        wrote on last edited by
                        #1125

                        @nevermind said in Sonoff NSPanel:

                        Hallo Zusammen

                        Ich hätte gerne auf der der ersten Seite statt dem Screensaver eine "normale" Seite mit Buttons etc.

                        Geht das und wenn ja, wie? Im Optimalfall sollte die Dimm-Funktion dabei erhalten bleiben.

                        Vg

                        Jens

                        Du kannst ja hingehen und den Timeout für den Screensaver utopisch hoch stellen und damit die erste Seite zu Deinem "Screensaver machen". Leider hast Du aber dann kein Dimm zur Verfügung.
                        Was spricht denn gegen den Screensaver in seiner jetzigen Form?

                        LG

                        NSPanel Dokumentation im GitHub Wiki:

                        https://github.com/joBr99/nspanel-lovelace-ui/wiki

                        N 1 Reply Last reply
                        0
                        • N nevermind

                          Hallo Zusammen

                          Ich hätte gerne auf der der ersten Seite statt dem Screensaver eine "normale" Seite mit Buttons etc.

                          Geht das und wenn ja, wie? Im Optimalfall sollte die Dimm-Funktion dabei erhalten bleiben.

                          Vg

                          Jens

                          J Offline
                          J Offline
                          joBr99
                          wrote on last edited by joBr99
                          #1126

                          @nevermind

                          oder die helligkeit vom screensaver auf 0 stellen, dann bleibt die dimm funktion zwar nicht, aber den screensaver sieht man auch nicht und das panel geht nach dem timeout aus

                          alternativ wie den timeout auf 0 stellen, dann bleibt es immer an

                          1 Reply Last reply
                          0
                          • P Offline
                            P Offline
                            Peet_b
                            wrote on last edited by
                            #1127

                            Hallo,

                            ersteinmal vielen Dank für das coole Projekt. Leider habe ich ein Problem bei der Umsetzung. Wenn ich die icon_mapping.ts starte, stürzt immer der JavaScript-Adpter ab. Hat jemand eine Idee?

                            log:

                            2022-08-29 14:18:31.285 - info: javascript.0 (1591) starting. Version 6.0.0 in /opt/iobroker/node_modules/iobroker.javascript, node: v16.17.0, js-controller: 4.0.23
                            2022-08-29 14:18:32.619 - info: javascript.0 (1591) requesting all states
                            2022-08-29 14:18:32.621 - info: javascript.0 (1591) requesting all objects
                            2022-08-29 14:18:33.752 - info: javascript.0 (1591) received all objects
                            2022-08-29 14:18:33.985 - info: javascript.0 (1591) received all states
                            2022-08-29 14:18:34.050 - info: javascript.0 (1591) script.js.global.icon_mapping: compiling TypeScript source...
                            2022-08-29 14:18:40.228 - info: javascript.0 (1591) script.js.global.icon_mapping: TypeScript compilation successful
                            2022-08-29 14:18:40.368 - error: javascript.0 (1591) 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().
                            2022-08-29 14:18:40.369 - error: javascript.0 (1591) unhandled promise rejection: Debug Failure. Unhandled SyntaxKind: Unknown.
                            2022-08-29 14:18:40.369 - error: javascript.0 (1591) 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:1078:64)
                            at processImmediate (node:internal/timers:468:21)
                            2022-08-29 14:18:40.370 - error: javascript.0 (1591) Debug Failure. Unhandled SyntaxKind: Unknown.
                            2022-08-29 14:18:40.438 - info: javascript.0 (1591) terminating
                            

                            Das System läuft auf einem NUC, mit Proxmox, in einem Debian 11 LXC

                            Danke und Gruß
                            Peet

                            T ArmilarA 2 Replies Last reply
                            0
                            • P Peet_b

                              Hallo,

                              ersteinmal vielen Dank für das coole Projekt. Leider habe ich ein Problem bei der Umsetzung. Wenn ich die icon_mapping.ts starte, stürzt immer der JavaScript-Adpter ab. Hat jemand eine Idee?

                              log:

                              2022-08-29 14:18:31.285 - info: javascript.0 (1591) starting. Version 6.0.0 in /opt/iobroker/node_modules/iobroker.javascript, node: v16.17.0, js-controller: 4.0.23
                              2022-08-29 14:18:32.619 - info: javascript.0 (1591) requesting all states
                              2022-08-29 14:18:32.621 - info: javascript.0 (1591) requesting all objects
                              2022-08-29 14:18:33.752 - info: javascript.0 (1591) received all objects
                              2022-08-29 14:18:33.985 - info: javascript.0 (1591) received all states
                              2022-08-29 14:18:34.050 - info: javascript.0 (1591) script.js.global.icon_mapping: compiling TypeScript source...
                              2022-08-29 14:18:40.228 - info: javascript.0 (1591) script.js.global.icon_mapping: TypeScript compilation successful
                              2022-08-29 14:18:40.368 - error: javascript.0 (1591) 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().
                              2022-08-29 14:18:40.369 - error: javascript.0 (1591) unhandled promise rejection: Debug Failure. Unhandled SyntaxKind: Unknown.
                              2022-08-29 14:18:40.369 - error: javascript.0 (1591) 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:1078:64)
                              at processImmediate (node:internal/timers:468:21)
                              2022-08-29 14:18:40.370 - error: javascript.0 (1591) Debug Failure. Unhandled SyntaxKind: Unknown.
                              2022-08-29 14:18:40.438 - info: javascript.0 (1591) terminating
                              

                              Das System läuft auf einem NUC, mit Proxmox, in einem Debian 11 LXC

                              Danke und Gruß
                              Peet

                              T Offline
                              T Offline
                              TT-Tom
                              wrote on last edited by TT-Tom
                              #1128

                              @peet_b sagte in Sonoff NSPanel:

                              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().

                              Edit: habe das selbe Problem, das der JS Adapter neu startet.

                              Gruß Tom
                              https://github.com/tt-tom17
                              Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

                              NSPanel Script Wiki
                              https://github.com/joBr99/nspanel-lovelace-ui/wiki

                              NSPanel Adapter Wiki
                              https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

                              1 Reply Last reply
                              0
                              • P Peet_b

                                Hallo,

                                ersteinmal vielen Dank für das coole Projekt. Leider habe ich ein Problem bei der Umsetzung. Wenn ich die icon_mapping.ts starte, stürzt immer der JavaScript-Adpter ab. Hat jemand eine Idee?

                                log:

                                2022-08-29 14:18:31.285 - info: javascript.0 (1591) starting. Version 6.0.0 in /opt/iobroker/node_modules/iobroker.javascript, node: v16.17.0, js-controller: 4.0.23
                                2022-08-29 14:18:32.619 - info: javascript.0 (1591) requesting all states
                                2022-08-29 14:18:32.621 - info: javascript.0 (1591) requesting all objects
                                2022-08-29 14:18:33.752 - info: javascript.0 (1591) received all objects
                                2022-08-29 14:18:33.985 - info: javascript.0 (1591) received all states
                                2022-08-29 14:18:34.050 - info: javascript.0 (1591) script.js.global.icon_mapping: compiling TypeScript source...
                                2022-08-29 14:18:40.228 - info: javascript.0 (1591) script.js.global.icon_mapping: TypeScript compilation successful
                                2022-08-29 14:18:40.368 - error: javascript.0 (1591) 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().
                                2022-08-29 14:18:40.369 - error: javascript.0 (1591) unhandled promise rejection: Debug Failure. Unhandled SyntaxKind: Unknown.
                                2022-08-29 14:18:40.369 - error: javascript.0 (1591) 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:1078:64)
                                at processImmediate (node:internal/timers:468:21)
                                2022-08-29 14:18:40.370 - error: javascript.0 (1591) Debug Failure. Unhandled SyntaxKind: Unknown.
                                2022-08-29 14:18:40.438 - info: javascript.0 (1591) terminating
                                

                                Das System läuft auf einem NUC, mit Proxmox, in einem Debian 11 LXC

                                Danke und Gruß
                                Peet

                                ArmilarA Offline
                                ArmilarA Offline
                                Armilar
                                Most Active Forum Testing
                                wrote on last edited by Armilar
                                #1129

                                @peet_b sagte in Sonoff NSPanel:

                                Hallo,

                                ersteinmal vielen Dank für das coole Projekt. Leider habe ich ein Problem bei der Umsetzung. Wenn ich die icon_mapping.ts starte, stürzt immer der JavaScript-Adpter ab. Hat jemand eine Idee?

                                log:

                                2022-08-29 14:18:31.285 - info: javascript.0 (1591) starting. Version 6.0.0 in /opt/iobroker/node_modules/iobroker.javascript, node: v16.17.0, js-controller: 4.0.23
                                2022-08-29 14:18:32.619 - info: javascript.0 (1591) requesting all states
                                2022-08-29 14:18:32.621 - info: javascript.0 (1591) requesting all objects
                                2022-08-29 14:18:33.752 - info: javascript.0 (1591) received all objects
                                2022-08-29 14:18:33.985 - info: javascript.0 (1591) received all states
                                2022-08-29 14:18:34.050 - info: javascript.0 (1591) script.js.global.icon_mapping: compiling TypeScript source...
                                2022-08-29 14:18:40.228 - info: javascript.0 (1591) script.js.global.icon_mapping: TypeScript compilation successful
                                2022-08-29 14:18:40.368 - error: javascript.0 (1591) 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().
                                2022-08-29 14:18:40.369 - error: javascript.0 (1591) unhandled promise rejection: Debug Failure. Unhandled SyntaxKind: Unknown.
                                2022-08-29 14:18:40.369 - error: javascript.0 (1591) 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:1078:64)
                                at processImmediate (node:internal/timers:468:21)
                                2022-08-29 14:18:40.370 - error: javascript.0 (1591) Debug Failure. Unhandled SyntaxKind: Unknown.
                                2022-08-29 14:18:40.438 - info: javascript.0 (1591) terminating
                                

                                Das System läuft auf einem NUC, mit Proxmox, in einem Debian 11 LXC

                                Danke und Gruß
                                Peet

                                Welche Version vom JavaScript hast du laufen? Unter 6.0.1 macht meiner ebenfalls Stress. Ah sehe es ist der 6.0.0. Mal versuchen auf einen früheren Release-Stand zu wechseln?

                                Eigentlich ist im icon_selector keine async Funktion (so wie in der Fehlermeldung). Sicher, dass da der richtige Inhalt drin ist?

                                https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/ioBroker/icon_mapping.ts

                                Der Inhalt hat sich die letzten 4 Monate nicht verändert

                                Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
                                https://github.com/joBr99/nspanel-lovelace-ui/wiki

                                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                T P 2 Replies Last reply
                                0
                                • ArmilarA Armilar

                                  @peet_b sagte in Sonoff NSPanel:

                                  Hallo,

                                  ersteinmal vielen Dank für das coole Projekt. Leider habe ich ein Problem bei der Umsetzung. Wenn ich die icon_mapping.ts starte, stürzt immer der JavaScript-Adpter ab. Hat jemand eine Idee?

                                  log:

                                  2022-08-29 14:18:31.285 - info: javascript.0 (1591) starting. Version 6.0.0 in /opt/iobroker/node_modules/iobroker.javascript, node: v16.17.0, js-controller: 4.0.23
                                  2022-08-29 14:18:32.619 - info: javascript.0 (1591) requesting all states
                                  2022-08-29 14:18:32.621 - info: javascript.0 (1591) requesting all objects
                                  2022-08-29 14:18:33.752 - info: javascript.0 (1591) received all objects
                                  2022-08-29 14:18:33.985 - info: javascript.0 (1591) received all states
                                  2022-08-29 14:18:34.050 - info: javascript.0 (1591) script.js.global.icon_mapping: compiling TypeScript source...
                                  2022-08-29 14:18:40.228 - info: javascript.0 (1591) script.js.global.icon_mapping: TypeScript compilation successful
                                  2022-08-29 14:18:40.368 - error: javascript.0 (1591) 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().
                                  2022-08-29 14:18:40.369 - error: javascript.0 (1591) unhandled promise rejection: Debug Failure. Unhandled SyntaxKind: Unknown.
                                  2022-08-29 14:18:40.369 - error: javascript.0 (1591) 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:1078:64)
                                  at processImmediate (node:internal/timers:468:21)
                                  2022-08-29 14:18:40.370 - error: javascript.0 (1591) Debug Failure. Unhandled SyntaxKind: Unknown.
                                  2022-08-29 14:18:40.438 - info: javascript.0 (1591) terminating
                                  

                                  Das System läuft auf einem NUC, mit Proxmox, in einem Debian 11 LXC

                                  Danke und Gruß
                                  Peet

                                  Welche Version vom JavaScript hast du laufen? Unter 6.0.1 macht meiner ebenfalls Stress. Ah sehe es ist der 6.0.0. Mal versuchen auf einen früheren Release-Stand zu wechseln?

                                  Eigentlich ist im icon_selector keine async Funktion (so wie in der Fehlermeldung). Sicher, dass da der richtige Inhalt drin ist?

                                  https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/ioBroker/icon_mapping.ts

                                  Der Inhalt hat sich die letzten 4 Monate nicht verändert

                                  T Offline
                                  T Offline
                                  TT-Tom
                                  wrote on last edited by TT-Tom
                                  #1130

                                  @armilar

                                  bei mir lief das Script ohne Probleme. Jetzt mit der 6.0.0 habe ich das selbe Problem. Die letzte Version JS war bei mir 5.7.0, damit lief es noch.

                                  Nur die Fehlermeldung habe ich noch nicht gesehen, muss mal das Log durchsuchen.

                                  Gruß Tom
                                  https://github.com/tt-tom17
                                  Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

                                  NSPanel Script Wiki
                                  https://github.com/joBr99/nspanel-lovelace-ui/wiki

                                  NSPanel Adapter Wiki
                                  https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

                                  ArmilarA 1 Reply Last reply
                                  0
                                  • T TT-Tom

                                    @armilar

                                    bei mir lief das Script ohne Probleme. Jetzt mit der 6.0.0 habe ich das selbe Problem. Die letzte Version JS war bei mir 5.7.0, damit lief es noch.

                                    Nur die Fehlermeldung habe ich noch nicht gesehen, muss mal das Log durchsuchen.

                                    ArmilarA Offline
                                    ArmilarA Offline
                                    Armilar
                                    Most Active Forum Testing
                                    wrote on last edited by Armilar
                                    #1131

                                    @tt-tom sagte in Sonoff NSPanel:

                                    @armilar

                                    bei mir lief das Script ohne Probleme. Jetzt mit der 6.0.0 habe ich das selbe Problem. Die letzte Version JS war bei mir 5.7.0, damit lief es noch.

                                    Nur die Fehlermeldung habe ich noch nicht gesehen, muss mal das Log durchsuchen.

                                    Wie schon erwähnt, das letzte Update hat bei mir auch nur Exceptions geworfen. Rebootet sich halbwegs tot.
                                    5.8.10 sollte aber funktionieren

                                    Stable sollte in der tat laut Issue noch 5.7.0 sein

                                    Version: stable=5.7.0 (86 days old) => latest=6.0.0 (15 days old)

                                    Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
                                    https://github.com/joBr99/nspanel-lovelace-ui/wiki

                                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                    T 1 Reply Last reply
                                    0
                                    • ArmilarA Armilar

                                      @tt-tom sagte in Sonoff NSPanel:

                                      @armilar

                                      bei mir lief das Script ohne Probleme. Jetzt mit der 6.0.0 habe ich das selbe Problem. Die letzte Version JS war bei mir 5.7.0, damit lief es noch.

                                      Nur die Fehlermeldung habe ich noch nicht gesehen, muss mal das Log durchsuchen.

                                      Wie schon erwähnt, das letzte Update hat bei mir auch nur Exceptions geworfen. Rebootet sich halbwegs tot.
                                      5.8.10 sollte aber funktionieren

                                      Stable sollte in der tat laut Issue noch 5.7.0 sein

                                      Version: stable=5.7.0 (86 days old) => latest=6.0.0 (15 days old)

                                      T Offline
                                      T Offline
                                      TT-Tom
                                      wrote on last edited by TT-Tom
                                      #1132

                                      @armilar sagte in Sonoff NSPanel:

                                      Wie schon erwähnt, das letzte Update hat bei mir auch nur Exceptions geworfen. Rebootet sich halbwegs tot.
                                      5.8.10 sollte aber funktionieren

                                      5.8.10 bringt bei mir folgenden Fehler

                                      2022-08-29 18:49:58.826 - error: javascript.0 (4049524) npm
                                      2022-08-29 18:49:58.828 - error: javascript.0 (4049524) WARN config production Use `--omit=dev` instead.
                                      

                                      läuft aber wie es aussieht

                                      Edit: läuft doch nicht, fängt wieder an neu zu starten. werde auf 5.7.0 gehen und testen

                                      Gruß Tom
                                      https://github.com/tt-tom17
                                      Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

                                      NSPanel Script Wiki
                                      https://github.com/joBr99/nspanel-lovelace-ui/wiki

                                      NSPanel Adapter Wiki
                                      https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

                                      1 Reply Last reply
                                      0
                                      • ArmilarA Armilar

                                        @peet_b sagte in Sonoff NSPanel:

                                        Hallo,

                                        ersteinmal vielen Dank für das coole Projekt. Leider habe ich ein Problem bei der Umsetzung. Wenn ich die icon_mapping.ts starte, stürzt immer der JavaScript-Adpter ab. Hat jemand eine Idee?

                                        log:

                                        2022-08-29 14:18:31.285 - info: javascript.0 (1591) starting. Version 6.0.0 in /opt/iobroker/node_modules/iobroker.javascript, node: v16.17.0, js-controller: 4.0.23
                                        2022-08-29 14:18:32.619 - info: javascript.0 (1591) requesting all states
                                        2022-08-29 14:18:32.621 - info: javascript.0 (1591) requesting all objects
                                        2022-08-29 14:18:33.752 - info: javascript.0 (1591) received all objects
                                        2022-08-29 14:18:33.985 - info: javascript.0 (1591) received all states
                                        2022-08-29 14:18:34.050 - info: javascript.0 (1591) script.js.global.icon_mapping: compiling TypeScript source...
                                        2022-08-29 14:18:40.228 - info: javascript.0 (1591) script.js.global.icon_mapping: TypeScript compilation successful
                                        2022-08-29 14:18:40.368 - error: javascript.0 (1591) 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().
                                        2022-08-29 14:18:40.369 - error: javascript.0 (1591) unhandled promise rejection: Debug Failure. Unhandled SyntaxKind: Unknown.
                                        2022-08-29 14:18:40.369 - error: javascript.0 (1591) 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:1078:64)
                                        at processImmediate (node:internal/timers:468:21)
                                        2022-08-29 14:18:40.370 - error: javascript.0 (1591) Debug Failure. Unhandled SyntaxKind: Unknown.
                                        2022-08-29 14:18:40.438 - info: javascript.0 (1591) terminating
                                        

                                        Das System läuft auf einem NUC, mit Proxmox, in einem Debian 11 LXC

                                        Danke und Gruß
                                        Peet

                                        Welche Version vom JavaScript hast du laufen? Unter 6.0.1 macht meiner ebenfalls Stress. Ah sehe es ist der 6.0.0. Mal versuchen auf einen früheren Release-Stand zu wechseln?

                                        Eigentlich ist im icon_selector keine async Funktion (so wie in der Fehlermeldung). Sicher, dass da der richtige Inhalt drin ist?

                                        https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/ioBroker/icon_mapping.ts

                                        Der Inhalt hat sich die letzten 4 Monate nicht verändert

                                        P Offline
                                        P Offline
                                        Peet_b
                                        wrote on last edited by
                                        #1133

                                        @armilar
                                        Der Inhalt ist identisch, habe auch schon das Skript mehrfach neu erstellt und habe auch schon eine andere Instanz oder ein anderen Host getestet. Keine Änderung

                                        Wie komme ich auf die V5.7.0 zurück? IoB bietet mir nur an auf die V5.8.3 zurück zu gehen.

                                        Gruß
                                        Peet

                                        1 Reply Last reply
                                        0
                                        • K Offline
                                          K Offline
                                          Kuckuckmann
                                          wrote on last edited by Kuckuckmann
                                          #1134

                                          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.

                                          NSPanel Dokumentation im GitHub Wiki:

                                          https://github.com/joBr99/nspanel-lovelace-ui/wiki

                                          P ArmilarA 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          565

                                          Online

                                          32.7k

                                          Users

                                          82.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe