Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Sonoff NSPanel

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

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

      K 1 Reply Last reply Reply Quote 0
      • K
        Kuckuckmann @TT-Tom last edited by 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?

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

          @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 😬 . 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

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

            @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 1 Reply Last reply Reply Quote 0
            • K
              Kuckuckmann @TT-Tom last edited by

              @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.

              1 Reply Last reply Reply Quote 0
              • N
                nevermind last edited by

                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

                Armilar K J 3 Replies Last reply Reply Quote 0
                • Armilar
                  Armilar Most Active Forum Testing @nevermind last edited by

                  @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.

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

                    @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

                    N 1 Reply Last reply Reply Quote 0
                    • J
                      joBr99 @nevermind last edited by joBr99

                      @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 Reply Quote 0
                      • P
                        Peet_b last edited by

                        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 Armilar 2 Replies Last reply Reply Quote 0
                        • T
                          TT-Tom @Peet_b last edited by TT-Tom

                          @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.

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

                            @peet_b sagte in Sonoff NSPanel:

                            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 P 2 Replies Last reply Reply Quote 0
                            • T
                              TT-Tom @Armilar last edited by 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.

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

                                @tt-tom sagte in Sonoff NSPanel:

                                @armilar

                                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 1 Reply Last reply Reply Quote 0
                                • T
                                  TT-Tom @Armilar last edited by TT-Tom

                                  @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

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

                                    @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 Reply Quote 0
                                    • K
                                      Kuckuckmann last edited by Kuckuckmann

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

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

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

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

                                      @Peet_b

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

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

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

                                        @kuckuckmann

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

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

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

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

                                          @kuckuckmann sagte in Sonoff NSPanel:

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

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

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

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

                                          @Peet_b

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

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

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

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

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

                                            @armilar sagte in Sonoff NSPanel:

                                            iobroker install javascript@5.7.0

                                            iobroker upgrade javascript@5.7.0
                                            
                                            Armilar 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            625
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            78
                                            1548
                                            466906
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo