Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

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

Community Forum

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

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.5k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.6k

Sonoff NSPanel

Geplant Angeheftet Gesperrt Verschoben Hardware
1.5k Beiträge 78 Kommentatoren 639.8k Aufrufe 80 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • K Kuckuckmann

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

    T Offline
    T Offline
    TT-Tom
    schrieb am zuletzt editiert von
    #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 Antwort Letzte Antwort
    0
    • T TT-Tom

      @kuckuckmann
      Bleib die Fehlermeldung?

      K Offline
      K Offline
      Kuckuckmann
      schrieb am zuletzt editiert von 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 Antworten Letzte Antwort
      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
        schrieb am zuletzt editiert von
        #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 Antwort Letzte Antwort
        0
        • T TT-Tom

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

          K Offline
          K Offline
          Kuckuckmann
          schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
          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
            schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
            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
              schrieb am zuletzt editiert von
              #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 Antwort Letzte Antwort
              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
                schrieb am zuletzt editiert von
                #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 Antwort Letzte Antwort
                0
                • N Offline
                  N Offline
                  nevermind
                  schrieb am zuletzt editiert von
                  #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 Antworten Letzte Antwort
                  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
                    schrieb am zuletzt editiert von
                    #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 Antwort Letzte Antwort
                    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
                      schrieb am zuletzt editiert von
                      #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 Antwort Letzte Antwort
                      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
                        schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                        0
                        • P Offline
                          P Offline
                          Peet_b
                          schrieb am zuletzt editiert von
                          #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 Antworten Letzte Antwort
                          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
                            schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                            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
                              schrieb am zuletzt editiert von 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 Antworten Letzte Antwort
                              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
                                schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                                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
                                  schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                                  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
                                    schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                                    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
                                      schrieb am zuletzt editiert von
                                      #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 Antwort Letzte Antwort
                                      0
                                      • K Offline
                                        K Offline
                                        Kuckuckmann
                                        schrieb am zuletzt editiert von 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 Antworten Letzte Antwort
                                        0
                                        • K 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 Offline
                                          P Offline
                                          Peet_b
                                          schrieb am zuletzt editiert von
                                          #1135

                                          @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 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          592

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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