Navigation

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

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    SONOFF NSPanel mit Lovelace UI

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

      @armilar said in SONOFF NSPanel mit Lovelace UI:

      Kann es sein dass du dein NSPanel im Tasmota mit einem Passwort (http) gesichert hast?

      Schädelklatsch 🤦‍♂️ - das war es!
      Vielen Dank euch beiden!!!!

      Ich dachte, dass alles über MQTT läuft.

      PS: Das Wechseln der Pages klappt übrigens auch!

      1 Reply Last reply Reply Quote 2
      • P
        Pit99 last edited by Pit99

        Hallo,

        habe das NSPanel und Lovelace UI.

        möchte es abgeben, so das ich das NSPanel auf die Werkseinstellung zurück setzten möchte.

        Wie mach ich das???
        Bitte um Hilfe.

        Hello

        have the NSPanel and Lovelace UI.

        I would like to hand it over so that I want to reset the NSPanel to the factory setting.

        How do I do that???
        Ask for help.

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

          @pit99

          Grundsätzlich gibt es da mind. 4 Möglichkeiten:

          1. Versuche es nicht zu ändern - sondern verkaufe es geflashed. Gibt da einige die sich freuen würden, wenn das Teil schon fertig ist und per "DHCP" eingebunden werden kann

          2. Stelle es hier rein: https://forum.iobroker.net/category/15/marktplatz

          3. Suche in den 4400 Beiträgen oder in dem Vorgängerpost nach der Lösung. Es gab bereits jemanden, der es wieder in den Stock-Zustand gebracht hat.

          4. Frage Blakadder - Ich denke er hatte eine Lösung

          1 Reply Last reply Reply Quote 0
          • P
            Pit99 last edited by

            Dank dir.
            muss halt in den Werkszustand.
            Gefunden hab ich noch nichts, oder habe es übersehen....
            Also wenn jemand eine Lösung hat, gerne melden.

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

              @pit99

              Handelt alles vom Originalzustand... Habe nur mal so gesucht... Ab da würde ich die Verläufe mal jeweils weiterlesen, oder die User fragen...
              https://forum.iobroker.net/post/906187
              https://forum.iobroker.net/post/907040
              https://forum.iobroker.net/post/829086

              1 Reply Last reply Reply Quote 0
              • D
                docf @Armilar last edited by

                @armilar

                Hi leider bekomme beim Austauschen unterhalb von der Zeile -- Ab hier keine Konfiguration mehr -- folgende Fehler

                Muss ich da noch etwas beim Update von 4.3.3.5 beachten.

                Danke

                18:43:44.126	error	javascript.0 (30620) script.js.NS_Panels.NS_Panel_Wohnzimmer: TypeScript compilation failed: let Icons = new IconsSelector(); ^ ERROR: Cannot redeclare block-scoped variable 'Icons'. let timeoutSlider: any; ^ ERROR: Cannot redeclare block-scoped variable 'timeoutSlider'. let vwIconColor = []; ^ ERROR: Cannot redeclare block-scoped variable 'vwIconColor'. let weatherForecast: boolean; ^ ERROR: Cannot redeclare block-scoped variable 'weatherForecast'. const Icons = new IconsSelector(); ^ ERROR: Cannot redeclare block-scoped variable 'Icons'. let timeoutSlider: any; ^ ERROR: Cannot redeclare block-scoped variable 'timeoutSlider'. let vwIconColor = []; ^ ERROR: Cannot redeclare block-scoped variable 'vwIconColor'. let weatherForecast: boolean; ^ ERROR: Cannot redeclare block-scoped variable 'weatherForecast'.
                
                Sven Wagner 1 Reply Last reply Reply Quote 0
                • Sven Wagner
                  Sven Wagner @docf last edited by

                  @docf said in SONOFF NSPanel mit Lovelace UI:

                  @armilar

                  Hi leider bekomme beim Austauschen unterhalb von der Zeile -- Ab hier keine Konfiguration mehr -- folgende Fehler

                  Muss ich da noch etwas beim Update von 4.3.3.5 beachten.

                  Danke

                  18:43:44.126	error	javascript.0 (30620) script.js.NS_Panels.NS_Panel_Wohnzimmer: TypeScript compilation failed: let Icons = new IconsSelector(); ^ ERROR: Cannot redeclare block-scoped variable 'Icons'. let timeoutSlider: any; ^ ERROR: Cannot redeclare block-scoped variable 'timeoutSlider'. let vwIconColor = []; ^ ERROR: Cannot redeclare block-scoped variable 'vwIconColor'. let weatherForecast: boolean; ^ ERROR: Cannot redeclare block-scoped variable 'weatherForecast'. const Icons = new IconsSelector(); ^ ERROR: Cannot redeclare block-scoped variable 'Icons'. let timeoutSlider: any; ^ ERROR: Cannot redeclare block-scoped variable 'timeoutSlider'. let vwIconColor = []; ^ ERROR: Cannot redeclare block-scoped variable 'vwIconColor'. let weatherForecast: boolean; ^ ERROR: Cannot redeclare block-scoped variable 'weatherForecast'.
                  
                  Armilar 1 Reply Last reply Reply Quote 0
                  • Armilar
                    Armilar Most Active Forum Testing last edited by Armilar

                    @docf

                    nur den unteren Teil ausgetauscht? oder auch die Konstante mit der Farbe... Sieht für mich im ersten Moment aus, als würde da noch ein Semikolon fehlen...

                    Kannst du mir die Stellen sonst mal kurz zeigen?

                    EDIT:
                    Ja du musst da noch mehr ändern:

                    Die Struktur des Scriptes hat sich geändert. Das ist mit der v4.3.3.10 passiert und irgendwie habe ich die ReleaseNotes im Punkt 10 nicht aktualisiert...

                    Die einfachste Vorgehensweise ist von @TT-Tom hier beschrieben:
                    https://github.com/joBr99/nspanel-lovelace-ui/wiki/NSPanel-Starthilfe-FAQ#hilfe-bei-update--upgrade

                    Es ist für die meisten jetzt einfacher mit der Neuinstallation/Updates, da sich vieles im oberen Bereich abspielt. Hatte aber auch zur Folge, dass wir Konstanten aus dem oberen Config-Bereich in den unteren Teil verschoben haben. Diese Konstanten versucht dein "Mix"-Script jetzt erneut zu laden, daher die Fehler...

                    Die Update-Anleitung von @TT-Tom bringt das wieder in Ordnung...

                    Siehe auch https://forum.iobroker.net/post/1085163

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

                      @sven-wagner

                      Hast du das gleiche Problem oder bist du nur noch nicht zur Frage/Antwort gekommen?

                      J 1 Reply Last reply Reply Quote 1
                      • J
                        Josh303 @Armilar last edited by Josh303

                        Hallo zusammen,
                        Ich habe jetzt 3 NSPanels laufen. Funktioniert soweit auch alles. Sehr schönes Projekt dafür erst mal ein Dank an die Entwickler. Ich habe allerdings noch ein Problem und hier leider noch nicht die Lösung gefunden. Ich bekomme immer folgende Fehlermeldung:

                        	script.js.NSPanel.NSPanel_3: error at function HandleScreensaverUpdate: parseFormat is not a function
                        

                        In der JS-Instanz habe ich "moment-parseformat" und "moment" eingetragen. Ich weiß nicht mehr weiter.
                        Ich nutze die Script Version: v4.3.3.5
                        Jemand eine Idee?
                        VG

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

                          @josh303

                          Jo 🙄

                          Trage auch schon mal dayjs ein. Wenn du dabei bist, mache mal einen Screenshot von der JS-Instanz

                          EDIT:
                          Ich vermute mal, dass da nicht "moment-" vor dem parseformat steht oder das irgendein Dreher in den Buchstaben ist...

                          86345861-ea9b-484e-b777-60411d0af9cf-image.png

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            Josh303 @Armilar last edited by Josh303

                            @armilar
                            cf8f8858-e3c8-4652-8391-57fd8f0d8ce6-image.png
                            habe gerade die Reihenfolge geändert, so wie bei dir. js neu gestartet. Script neu gestartet.

                            20:26:15.575	error	javascript.0 (152658) script.js.NSPanel.NSPanel_1: Error: Cannot find module 'moment-parseformat'
                            20:26:15.576	error	javascript.0 (152658) at script.js.NSPanel.NSPanel_1:850:19
                            
                            Armilar 1 Reply Last reply Reply Quote 0
                            • Armilar
                              Armilar Most Active Forum Testing @Josh303 last edited by Armilar

                              @josh303

                              Ein Träumchen...

                              Hast du diese Zeilen in deinem Script?

                              Musste gerade mal in die History von der v4.3.3.5
                              a2fedf41-8881-4782-aa9c-073c67981f20-image.png

                              Und nachdem ich den Fehler sehe...

                              • Du hast auch nur die eine JS-Instanz?
                              • Den ioBroker mal komplett neu gestartet? Denn irgendwie will die Instanz das Modul ja nicht laden...
                              • Zufällig ne funktionierende Internetverbindung am ioBroker?
                              J 1 Reply Last reply Reply Quote 0
                              • J
                                Josh303 @Armilar last edited by

                                @armilar
                                yep, die Zeilen sind drin und ich habe nur eine JS-Instanz laufen. Mache jetzt mal einen reboot.

                                // _________________________________ Ab hier keine Konfiguration mehr _____________________________________
                                
                                const request = require('request');
                                const moment  = require('moment');
                                const parseFormat = require('moment-parseformat');
                                moment.locale(getState(NSPanel_Path + 'Config.locale').val);
                                
                                //Desired Firmware
                                const tft_version: string = 'v4.3.3';
                                const desired_display_firmware_version = 53;
                                const berry_driver_version = 9;
                                
                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  Josh303 @Josh303 last edited by

                                  @josh303
                                  Neustart iob =>

                                  20:41:26.947	error	javascript.0 (419) script.js.NSPanel.NSPanel_1: Error: Cannot find module 'moment-parseformat'
                                  20:41:26.949	error	javascript.0 (419) at script.js.NSPanel.NSPanel_1:850:19
                                  
                                  Armilar 1 Reply Last reply Reply Quote 0
                                  • Armilar
                                    Armilar Most Active Forum Testing @Josh303 last edited by Armilar

                                    @josh303

                                    Merkwürdig...

                                    • nodeJS-Version? --> node -v
                                    • JS-Controller Version?

                                    gerne auch mal ein "iob diag"

                                    J 1 Reply Last reply Reply Quote 0
                                    • J
                                      Josh303 @Armilar last edited by

                                      @armilar
                                      habe gerade die JS-Instanz deinstalliert und neu installiert und jetzt funzt es 🙂 Was auch immer es war, es war jedenfalls kein Fehler im Script. Habe die ganze Zeit gedacht, ich mache irgendetwas falsch.
                                      Danke!

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

                                        @josh303

                                        Hatte eben erst den Fehler gefunden...

                                        ef81dcdb-205e-43ec-8f57-35f8b7d35dfc-image.png

                                        Das war in der Syntaxhilfe... statt einer Zeile höher 😉

                                        Passiert - Hauptsache ist, jetzt steht es unter mpn-Module 😊

                                        Weiterhin viel Spaß

                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          Josh303 @Armilar last edited by

                                          @armilar Doch mein Fehler. Manchmal sieht man vor lauter Wald die Bäume nicht. Egal, danke für die Hilfe und es funzt. Das ist die Hauptsache!😊 👍

                                          G 1 Reply Last reply Reply Quote 1
                                          • G
                                            Gartenrosenzuechter @Josh303 last edited by

                                            Hallo,

                                            eine Frage - das neue Typescript 4.3.3.14 ist auf TFT 53 / v4.3.3 abgestimmt.
                                            Ich scheitere jedoch dabei auf diese Version up zu daten.

                                            Funktioniert dies bei euch?

                                            Danke

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            461
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            lovelace ui nspanel sonoff
                                            260
                                            7128
                                            4367949
                                            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