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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    SONOFF NSPanel mit Lovelace UI

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

      @superdad

      in dem Script musst die Parameter anpassen.

      panelRecvTopic, panelSendTopic sind die mqtt Datenpunkte

      mrIcon1ScreensaverEntity, mrIcon2ScreensaverEntity hier als Datenpunkt none

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

        @australien

        habe heute auf 8.3.1 hoch gezogen ohne Probleme. schau dir nach dem Update deine Instanz Einstellungen nochmal genau an, speziell die npm-Module

        A 1 Reply Last reply Reply Quote 0
        • S
          Superdad @TT-Tom last edited by Superdad

          @tt-tom
          Danke für die Antwort.
          So steht es ja im WIKI.
          Wie sieht dann aber die Codezeile aus?
          Für die none.
          Das ist mein Problem.

          1 Reply Last reply Reply Quote 0
          • S
            Superdad @TT-Tom last edited by

            @tt-tom
            Hat sich erledigt.
            Habe es heraus gefunden.

            1 Reply Last reply Reply Quote 0
            • icebear
              icebear last edited by

              Kurze Frage: Seit zwei Tagen hab ich bei einem Panel das Problem das Einstellungen, im speziellen bei mir für die DP für popupnotifyLayout und popupnotifySleepTime, sich einfach ändern.
              Das Panel bzw die Einstellungen liefen die ganze Zeit (ca 3 Monaten) mit den eingestellten Werten ohne Probleme.
              Jetzt ändert sich andauernd der DP für das Layout selbständig von 2 auf 1 und die SleepTime von 300 auf 0.

              Woran kann das liegen?

              (Script und alles anderen ist auf der letzten Version und wurde nicht verändert, Tasmota ist auf v14.0)

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

                @icebear
                Hast du mehrere Panels? Und es ist nur bei einem? Hast du bei diesem die Updatemeldungen ausgeschaltet? Wann wurde der Wert geändert, der Zeitstempel und von wem wurde geändert (JavaScript)?

                1 Reply Last reply Reply Quote 1
                • icebear
                  icebear last edited by

                  @tt-tom

                  1. Ja, zwei Panels, die aber unterschiedlich sind (also das verhalten ist nur bei einem, weil das nur darauf läuft)

                  2. Updatemeldung ist eingeschaltet

                  3. Werte wurden durch javascript.0 geändert

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

                    @icebear
                    Kannst du bitte mal nach dem Zeitstempel schauen.

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

                      @tt-tom said in SONOFF NSPanel mit Lovelace UI:

                      Kannst du bitte mal nach dem Zeitstempel schauen.

                      Ja, kann ich machen, da ich das aber grad erst wieder von Hand auf die richtigen Werte eingestellt hab, muß ich mal abwarten bis das wieder geändert wurde.

                      icebear 1 Reply Last reply Reply Quote 1
                      • MichaelF
                        MichaelF last edited by

                        Hi,

                        so ich habe grade mal auf die neuste Version des Script aktualisiert. Bein einem Display ohne Probleme bei dem zweiten bekomm ich leider ein Fehlermeldung:

                        script.js.common.NSPANEL_1_3_1_0: 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: number[] = []; ^ ERROR: Cannot redeclare block-scoped variable 'vwIconColor'. let weatherForecast: boolean; ^ ERROR: Cannot redeclare block-scoped variable 'weatherForecast'. const NSPanelStatTopic = NSPanelSendTopic.replace('.cmnd.', '.stat.').replace(/\.CustomSend$/g, '.'); ^ ERROR: Cannot find name 'NSPanelSendTopic'. Did you mean 'NSPanelStatTopic'?
                        

                        hat jemand ein Tipp wo ich suchen muss.

                        Grüße

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

                          @michaelf

                          Hast du den unteren Teil ersetzt oder hast du es nur reinkopiert und hast jetzt beide Skripte untereinander?

                          Sieht für mich so aus, als wären Teile des alten unteren Skript-Teils noch vorhanden.

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

                            @armilar

                            Hi, Ich habe eigentlich nur den unteren Teil ersetzt. Ich mache es gleich nochmal nicht das da wirklich beim einfügen was schief gegangen ist.

                            Grüsse

                            1 Reply Last reply Reply Quote 0
                            • MichaelF
                              MichaelF last edited by MichaelF

                              Hi, grade nochmal versucht aller dings leider der gleiche Fehler :

                              cript.js.common.NSPANEL_1_3_1_0: 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: number[] = []; ^ERROR: Cannot redeclare block-scoped variable 'vwIconColor'.let weatherForecast: boolean; ^ERROR: Cannot redeclare block-scoped variable 'weatherForecast'.const NSPanelStatTopic = NSPanelSendTopic.replace('.cmnd.', '.stat.').replace(/\.CustomSend$/g, '.'); ^ERROR: Cannot find name 'NSPanelSendTopic'. Did you mean 'NSPanelStatTopic'?
                              

                              der alte Script funktioniert weiterhin:

                              javascript.0
                              2024-06-08 21:17:36.499	info	script.js.common.NSPANEL_1_3_1_0: Debugmodus deaktiviert
                              
                              javascript.0
                              2024-06-08 21:17:36.035	info	script.js.common.NSPANEL_1_3_1_0: Installed TFT Firmware: 53 / v4.3.1
                              
                              javascript.0
                              2024-06-08 21:17:36.034	info	script.js.common.NSPANEL_1_3_1_0: Desired TFT Firmware: 53 / v4.3.1
                              
                              javascript.0
                              2024-06-08 21:17:35.408	info	script.js.common.NSPANEL_1_3_1_0: registered 27 subscriptions, 7 schedules, 0 messages, 0 logs and 0 file subscriptions
                              
                              javascript.0
                              2024-06-08 21:17:35.329	info	script.js.common.NSPANEL_1_3_1_0: weather alias for accuweather.0. already exists
                              
                              javascript.0
                              2024-06-08 21:17:35.315	info	script.js.common.NSPANEL_1_3_1_0: setObjects enabled - create Alias Channels possible
                              
                              javascript.0
                              2024-06-08 21:17:35.260	warn	script.js.common.NSPANEL_1_3_1_0: request package is deprecated - please use httpGet (or a stable lib like axios) instead!
                              
                              javascript.0
                              2024-06-08 21:17:35.149	info	script.js.common.NSPANEL_1_3_1_0: source code did not change, using cached compilation result...
                              
                              javascript.0
                              2024-06-08 21:17:34.055	info	Compiling TypeScript source script.js.common.NSPANEL_1_3_1_0
                              
                              javascript.0
                              2024-06-08 21:17:32.252	info	Stopping script script.js.common.NSPANEL_1_3_1_0
                              
                              T 1 Reply Last reply Reply Quote 0
                              • T
                                TT-Tom @MichaelF last edited by TT-Tom

                                @michaelf welche Script Version nutzt du aktuell?? request nutzen wir nicht mehr. Lese dir bitte diese Seite durch

                                Rene55 1 Reply Last reply Reply Quote 0
                                • MichaelF
                                  MichaelF last edited by

                                  Ja deshalb wollte ich ja aktualisieren.

                                  Ich habe im Moment :

                                  TypeScript v4.2.1.5 zur Steuerung des SONOFF NSPanel mit dem ioBroker by @Armilar / @TT-Tom / @Sternmiere / @Britzelpuf / @ravenS0ne
                                  - abgestimmt auf TFT 52 / v4.2.1 / BerryDriver 8 / Tasmota 13.1.0
                                  

                                  Der TFT ist schon aktuell also v4.3.3

                                  T 1 Reply Last reply Reply Quote 0
                                  • icebear
                                    icebear @icebear last edited by

                                    @icebear said in SONOFF NSPanel mit Lovelace UI:

                                    @tt-tom

                                    Ja, kann ich machen, da ich das aber grad erst wieder von Hand auf die richtigen Werte eingestellt hab, muß ich mal abwarten bis das wieder geändert wurde.

                                    Sorry das ich mich jetzt erst melde.
                                    Das Problem hat sich gelöst, war wohl die Einstellung 'Updatemeldung eingeschaltet', nachdem ich das Update von v14.0 auf v14.1 gemacht habe, ist der Fehler nicht mehr aufgetreten.
                                    Ich hab dann auch gesehen das in den DP meine Einstellung immer mit dem Text der Updatemeldung überschrieben war.
                                    Naja, jetzt läufts ja und ich weiß woran es lag, Danke trotzdem für die Hinweise

                                    1 Reply Last reply Reply Quote 1
                                    • Rene55
                                      Rene55 @TT-Tom last edited by Rene55

                                      @tt-tom Ich habe eben auf die neueste Scriptversion 4.4.0 upgedatet. Daraufhin bekam ich den Logeintrag, dass die TFT Firmware 54 gewünscht werde. Also auch das upgedatet - jetzt steht im Display System Data ERROR. Was nun?

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

                                        @rene55

                                        Kann wohl mal hängen bleiben. Dann nochmals in der Tasmota-Konsole

                                        FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.4.0.tft
                                        

                                        ausführen.

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

                                          @michaelf

                                          wenn die jetzt auf die Aktuelle Script Version gehst, es gab ein Break-Change bei Version 4.3.3.10 und bei 4.3.3.30 hat sich die Config geändert. Der Berrytreiber ist auch schon bei Version 9.

                                          Darum habe ich dir mal die Update - Seite verlinkt. Arbeite sie Punkt für Punkt ab, dann sollte der Umzug funktionieren. Wenn etwas unklar ist hier posten mit den Codezeilen, was nicht klar ist.

                                          MichaelF 1 Reply Last reply Reply Quote 1
                                          • Rene55
                                            Rene55 @Armilar last edited by

                                            @armilar Danke, das hat geholfen. Der vorige Updateversuch ist wohl bei 85% hängen geblieben. Jetzt läufts wieder 😊

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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