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.
    • Armilar
      Armilar Most Active Forum Testing @carlos last edited by

      @carlos

      Habe den Fehler auch. Denke aber nicht, dass es mit den Entitäten der cardEntities zusammenhängt, sondern eher mit der cardThermo. Werde mich heute noch auf die Suche machen...

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

        @armilar
        Ein anderes Problem, das ich noch habe ist, wenn ich auf eine Lample gehe kann ich zwar einstellungen vornehmen, komme aber mit dem x oben rechts nicht mehr zurück.

        Armilar 1 Reply Last reply Reply Quote 0
        • Markus S.
          Markus S. last edited by Markus S.

          Hallo,

          ich bin neu in dem Thema und habe bereits gesucht, aber nichts gefunden.
          Ich habe am Wochenende die Installation durchgeführt.
          Tasmota für das NSPanel 12.2 drauf, das Berry Script autoexec.be drauf.
          Dann das FlashNextion durchgeführt - das Display wird blau und zeigt "Write 0% 4096".
          Blieb doirt hängen und nach knapp 2 Minuten machte das Display ein Reboot.
          Nun zeigt das Display "System Data ERROR!"

          Ich versuche es erneut mit Flashen - die Anzeige in der Console ist:

          15:48:26.855 CMD: FlashNextion http://nspanel.pky.eu/lui-release.tft
          15:48:26.865 RSL: RESULT = {"FlashNextion":"Done"}
          15:48:26.899 FLH: host: nspanel.pky.eu, port: 80, get: /lui-release.tft

          Danach kommt nichts mehr - der Bildschirm auf dem Display wird auch nicht mehr "blau". Der Tasmota Teil läuft weiter - sieht man, denn das Log zeigt weitere Nachrichten an, z.B. wenn man schaltet, oder die Temperatur an dem Teil ändert sich.

          Sollte ich was übersehen habe - ich bin für jeden Tipp dankbar! Ich hoffe ich habe nun keinen Schalter mit schwarzem Display.

          Vielen, vielen Dank,
          Markus

          Armilar W 2 Replies Last reply Reply Quote 0
          • Armilar
            Armilar Most Active Forum Testing @carlos last edited by

            @carlos

            guter Hinweis. Das schränkt die Suche ein. Konnte ich mir allerdings noch nicht ansehen

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

              @markus-s

              Ich würde nochmals den Schritt mit dem Berry-Treiber wiederholen. Zuvor "alle" Dateien die im Tasmota zu sehen (.be, .bec, etc... wirklich alles) sind entfernen.

              Danach einmal rebooten und dann die autoexec.be mit diesem Inhalt anlegen:

              https://github.com/joBr99/nspanel-lovelace-ui/blob/main/tasmota/autoexec.be

              Danach erneut rebooten ...

              und in der Console:

              FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v3.6.0.tft
              

              ausführen.

              Danach nochmal melden...

              Markus S. 1 Reply Last reply Reply Quote 0
              • Markus S.
                Markus S. @Armilar last edited by Markus S.

                @armilar said in SONOFF NSPanel mit Lovelace UI:

                FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v3.6.0.tft

                Gerade gemacht. Alles Dateien gelöscht, Reboot, neue autoexec.be angelegt mit dem aktuellen Inhalt der Seite und erneut reboot.

                Der FlashNextion macht nach wie vor leider nichts...

                f81bf73a-fbbe-4bb3-9f31-38abe7bff822-image.png

                Wie gesagt, nach dem Flash Befehl kommen die beiden Zeilen und nichts anderes passiert.

                Danke für den ersten Tipp....

                Grüße, Markus

                Markus S. 1 Reply Last reply Reply Quote 0
                • Markus S.
                  Markus S. @Markus S. last edited by

                  @markus-s Irgendwann geht es einfach so weiter...

                  7cce0b18-9baa-4d86-8e3f-5e7be7e5c554-image.png

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

                    @markus-s

                    @joBr99 hast du da einen Tipp?

                    Markus S. 1 Reply Last reply Reply Quote 0
                    • Markus S.
                      Markus S. @Armilar last edited by

                      @armilar @joBr99

                      Noch eine Zusatzinfo: Ich habe es auch lokal probiert. Also die Datei auf einen lokalen web Server gelegt und dann mit einer lokalen Adresse das flashen probiert. Ging aber auch nicht.

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

                        @carlos

                        Habe den Fehler gefunden und bereits im github ein Bugfix angelegt.

                        War ein - "ich sag es mal so" - selten dämlicher Fehler von mir in der bExit... 😰

                        Einfach den Code im unteren Teil ab:

                        // _________________________________ Ab hier keine Konfiguration mehr ________
                        

                        komplett austauschen. Dann sollte es wieder laufen.

                        C 1 Reply Last reply Reply Quote 0
                        • Armilar
                          Armilar Most Active Forum Testing @Markus S. last edited by

                          @markus-s

                          Leg mal das komplette Tasmota-Log (ab Neustart und FlashNextion...) vom in Code-Tags fb0975df-5309-49c2-990b-8c27f66e891d-image.png . Nur der Screenshot hilft hier nicht viel...

                          Markus S. 1 Reply Last reply Reply Quote 0
                          • Markus S.
                            Markus S. @Armilar last edited by

                            @armilar

                            00:00:00.003 HDW: ESP32-D0WD-V3 
                            00:00:00.106 UFS: FlashFS mounted with 280 kB free
                            00:00:00.189 CFG: Loaded from File, Count 27
                            00:00:00.205 QPC: Count 1
                            00:00:00.473 BRY: Berry initialized, RAM used=4041 bytes
                            00:00:00.504 Project tasmota - Tasmota Version 12.2.0(nspanel)-2_0_5(2022-10-17T08:40:00)
                            00:00:00.016 NXP: Initializing Driver
                            00:00:00.023 BRY: Successfully loaded 'autoexec.be'
                            00:00:01.616 WIF: Connecting to AP1 DeepSpaceNine Channel 1 BSSId B4:FB:E4:11:92:60 in mode 11n as tasmota-D3CE24-3620...
                            00:00:06.332 WIF: Connected
                            00:00:06.594 HTP: Web server active on tasmota-D3CE24-3620 with IP address 10.1.1.185
                            16:51:52.585 RSL: INFO1 = {"Info1":{"Module":"NSPanel","Version":"12.2.0(nspanel)","FallbackTopic":"cmnd/DVES_D3CE24_fb/","GroupTopic":"cmnd/tasmotas/"}}
                            16:51:52.600 RSL: INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"tasmota-D3CE24-3620","IPAddress":"10.1.1.185"}}
                            16:51:52.604 RSL: INFO3 = {"Info3":{"RestartReason":"Software reset CPU","BootCount":10}}
                            16:51:52.618 RSL: RESULT = {"POWER1":"OFF"}
                            16:51:52.620 RSL: POWER1 = OFF
                            16:51:52.623 RSL: RESULT = {"POWER2":"OFF"}
                            16:51:52.625 RSL: POWER2 = OFF
                            16:51:52.769 QPC: Reset
                            16:51:56.765 RSL: STATE = {"Time":"2022-11-28T16:51:56","Uptime":"0T00:00:12","UptimeSec":12,"Heap":137,"SleepMode":"Dynamic","Sleep":0,"LoadAvg":313,"MqttCount":0,"Berry":{"HeapUsed":14,"Objects":223},"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"DeepSpaceNine","BSSId":"B4:FB:E4:11:92:60","Channel":1,"Mode":"11n","RSSI":82,"Signal":-59,"LinkCount":1,"Downtime":"0T00:00:06"}}
                            16:51:56.806 RSL: SENSOR = {"Time":"2022-11-28T16:51:56","ANALOG":{"Temperature1":29.2},"TempUnit":"C"}
                            16:53:00.551 CMD: FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v3.6.0.tft
                            16:53:00.562 RSL: RESULT = {"FlashNextion":"Done"}
                            16:53:00.603 FLH: host: nspanel.pky.eu, port: 80, get: /lovelace-ui/github/nspanel-v3.6.0.tft
                            
                            Armilar 1 Reply Last reply Reply Quote 0
                            • Armilar
                              Armilar Most Active Forum Testing @Markus S. last edited by

                              @markus-s

                              bist du sicher, dass das Subnetz 10.1.1. in das Internet darf oder kommt?

                              Markus S. 1 Reply Last reply Reply Quote 0
                              • Markus S.
                                Markus S. @Armilar last edited by

                                @armilar

                                Ja - sehr sicher!

                                Armilar J 2 Replies Last reply Reply Quote 0
                                • Armilar
                                  Armilar Most Active Forum Testing @Markus S. last edited by

                                  @markus-s

                                  Lass uns auf @joBr99 warten. Bei den Unwegsamkeiten beim Flashen kennt er sich besser aus. Ich transportiere nur die Daten zum Tasmota.

                                  Ist aber dennoch, merkwürdig, dass nicht einmal das Flashen startet. Geht bei korrekter Installation des Berry-Driver eigentlich sehr schnell und kann auch wiederholt werden. Auch wenn es nervt, es ist "keine" Komponente im Router an, die der IP 10.1.1.185 untersagt, sich mit der Außenwelt zu verbinden?

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    joBr99 @Markus S. last edited by

                                    @markus-s

                                    Mit weblog 3 in der tasmota konsole kannst du etwas mehr log output bekommen.

                                    17:53:33.461 CMD: weblog 3
                                    17:53:33.472 MQT: stat/tasmota_nspwohn/RESULT = {"WebLog":3}
                                    17:53:49.603 CMD: FlashNextion http://nspanel.pky.eu/lui.tft
                                    17:53:49.606 SRC: WebConsole from 192.168.62.152
                                    17:53:49.609 CMD: Grp 0, Cmd 'FLASHNEXTION', Idx 1, Len 29, Pld -99, Data 'http://nspanel.pky.eu/lui.tft'
                                    17:53:49.623 MQT: stat/tasmota_nspwohn/RESULT = {"FlashNextion":"Done"}
                                    17:53:49.670 FLH: host: nspanel.pky.eu, port: 80, get: /lui.tft
                                    17:53:49.732 FLH: Connected:true
                                    17:53:49.840 FLH: Retry 2
                                    17:53:50.871 FLH: HTTP Respose is 200 OK or 206 Partial Content
                                    17:53:50.882 FLH: Flash file size: 7957460
                                    17:53:50.887 NXP: Nextion command sent = bytes('4452414B4A485355594447424E434A48474A4B534842444EFFFFFF')
                                    17:53:50.892 NXP: Nextion command sent = bytes('7265636D6F643D30FFFFFF')
                                    17:53:50.897 NXP: Nextion command sent = bytes('7265636D6F643D30FFFFFF')
                                    17:53:50.904 NXP: Nextion command sent = bytes('636F6E6E656374FFFFFF')
                                    17:53:50.917 NXP: Received Raw = bytes('23FFFFFF636F6D6F6B20322C33303631342D302C4E5834383332463033355F30...')
                                    17:53:50.924 FLH: Send (High Speed) flash start
                                    17:53:50.932 NXP: Nextion command sent = bytes('77686D692D7772697320373935373436302C3932313630302C72657330FFFFFF')
                                    17:53:51.318 NXP: Received Raw = bytes('05')
                                    17:53:51.323 FLH: Read block
                                    17:53:51.326 FLH: Buff size 4990
                                    17:53:51.333 FLH: Writing 4096
                                    17:53:51.344 MQT: tele/tasmota_nspwohn/RESULT = {"Flashing":{"complete": 0, "time_elapsed": 0}}
                                    17:53:51.457 FLH: Total 4096
                                    17:53:51.614 NXP: Received Raw = bytes('08')
                                    17:53:51.618 FLH: Waiting offset...
                                    17:53:54.916 NXP: Received Raw = bytes('00000000')
                                    17:53:54.920 FLH: Flash offset marker 0
                                    17:53:54.924 FLH: Read block
                                    17:53:54.957 FLH: Buff size 6638
                                    17:53:54.964 FLH: Writing 4096
                                    17:53:55.074 FLH: Total 8192
                                    17:53:55.096 NXP: Received Raw = bytes('05')
                                    17:53:55.101 FLH: Read block
                                    17:53:55.121 FLH: Buff size 8286
                                    17:53:55.130 FLH: Writing 4096
                                    17:53:55.240 FLH: Total 12288
                                    
                                    Markus S. 1 Reply Last reply Reply Quote 0
                                    • Markus S.
                                      Markus S. @joBr99 last edited by Markus S.

                                      @jobr99

                                      Bei mir hört der da einfach auf...

                                      00:00:00.002 HDW: ESP32-D0WD-V3 
                                      00:00:00.003 HDW: FoundPSRAM=0 CanUsePSRAM=0
                                      00:00:00.137 UFS: FlashFS mounted with 280 kB free
                                      00:00:00.248 CFG: Loaded from File, Count 42
                                      00:00:00.263 QPC: Count 1
                                      00:00:00.265 CFG: CR 427/699, Busy 0
                                      00:00:00.275 CFG: CR 427/699, Busy 0
                                      00:00:00.278 ROT: Mode 1
                                      00:00:00.597 CFG: No '*.autoconf' file found
                                      00:00:00.604 BRY: Berry initialized, RAM used=4041 bytes
                                      00:00:00.628 BRY: No 'preinit.be'
                                      00:00:00.633 SRC: Restart
                                      00:00:00.640 Project tasmota - NSPanel Version 12.2.0(nspanel)-2_0_5(2022-10-17T08:40:00)
                                      00:00:00.641 ETH: No ETH MDC and/or ETH MDIO GPIO defined
                                      00:00:01.051 NXP: Initializing Driver
                                      00:00:01.059 BRY: Successfully loaded 'autoexec.be'
                                      00:00:01.447 WIF: Attempting connection...
                                      00:00:01.943 WIF: Connecting to AP1 DeepSpaceNine Channel 1 BSSId F0:9F:C2:F1:5F:C2 in mode 11n as tasmota-D3CE24-3620...
                                      00:00:01.974 WIF: Attempting connection...
                                      00:00:03.638 WIF: Connected
                                      00:00:04.240 HTP: Web server active on tasmota-D3CE24-3620 with IP address 10.1.1.185
                                      00:00:04.921 RTC: UTC 2022-11-28T16:59:26, DST 2022-03-27T02:00:00, STD 2022-10-30T03:00:00
                                      17:59:26.000 RTC: Synced by NTP
                                      17:59:27.227 RSL: INFO1 = {"Info1":{"Module":"NSPanel","Version":"12.2.0(nspanel)","FallbackTopic":"cmnd/DVES_D3CE24_fb/","GroupTopic":"cmnd/tasmotas/"}}
                                      17:59:27.243 RSL: INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"tasmota-D3CE24-3620","IPAddress":"10.1.1.185"}}
                                      17:59:27.247 RSL: INFO3 = {"Info3":{"RestartReason":"Software reset CPU","BootCount":15}}
                                      17:59:27.261 RSL: RESULT = {"POWER1":"OFF"}
                                      17:59:27.263 RSL: POWER1 = OFF
                                      17:59:27.265 RSL: RESULT = {"POWER2":"OFF"}
                                      17:59:27.268 RSL: POWER2 = OFF
                                      17:59:27.280 TFS: File 'autoexec.bat' not found
                                      17:59:29.711 QPC: Reset
                                      17:59:30.286 HTP: Main Menu
                                      17:59:31.703 APP: Boot Count 15
                                      17:59:31.711 RSL: STATE = {"Time":"2022-11-28T17:59:31","Uptime":"0T00:00:10","UptimeSec":10,"Heap":136,"SleepMode":"Dynamic","Sleep":0,"LoadAvg":210,"MqttCount":0,"Berry":{"HeapUsed":14,"Objects":223},"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"DeepSpaceNine","BSSId":"F0:9F:C2:F1:5F:C2","Channel":1,"Mode":"11n","RSSI":58,"Signal":-71,"LinkCount":1,"Downtime":"0T00:00:04"}}
                                      17:59:31.753 RSL: SENSOR = {"Time":"2022-11-28T17:59:31","ANALOG":{"Temperature1":28.5},"TempUnit":"C"}
                                      17:59:32.021 CFG: Saved, Count 43, Bytes 4096
                                      17:59:32.211 HTP: Consoles
                                      17:59:34.107 HTP: Console
                                      18:00:31.329 CMD: FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v3.6.0.tft
                                      18:00:31.332 SRC: WebConsole from 10.1.1.101
                                      18:00:31.334 CMD: Grp 0, Cmd 'FLASHNEXTION', Idx 1, Len 59, Pld -99, Data 'http://nspanel.pky.eu/lovelace-ui/github/nspanel-v3.6.0.tft'
                                      18:00:31.345 RSL: RESULT = {"FlashNextion":"Done"}
                                      18:00:31.396 FLH: host: nspanel.pky.eu, port: 80, get: /lovelace-ui/github/nspanel-v3.6.0.tft
                                      18:00:31.482 FLH: Connected:true
                                      18:00:31.591 FLH: Retry 2
                                      18:00:31.792 FLH: Retry 3
                                      18:00:32.819 FLH: HTTP Respose is 200 OK or 206 Partial Content
                                      18:00:32.830 FLH: Flash file size: 7925436
                                      18:00:32.835 NXP: Nextion command sent = bytes('4452414B4A485355594447424E434A48474A4B534842444EFFFFFF')
                                      18:00:32.839 NXP: Nextion command sent = bytes('7265636D6F643D30FFFFFF')
                                      18:00:32.843 NXP: Nextion command sent = bytes('7265636D6F643D30FFFFFF')
                                      18:00:32.847 NXP: Nextion command sent = bytes('636F6E6E656374FFFFFF')
                                      1 Reply Last reply Reply Quote 0
                                      • Armilar
                                        Armilar Most Active Forum Testing last edited by Armilar

                                        @markus-s

                                        @joBr99 was ist denn das für eine Datei? Von der habe ich bislang in der NSPanel-Welt noch nichts gehört?

                                        17:59:27.280 TFS: File 'autoexec.bat' not found
                                        

                                        von einer

                                        00:00:00.628 BRY: No 'preinit.be'
                                        

                                        auch noch nicht

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          Matze_HH last edited by

                                          @Armilar
                                          Sorry das ich nochmal hier rein schreibe 🙂
                                          Da du ja jetzt die Hintergrundfarben implementiert hast, wollte ich gleich ans Werk gehen, aber das updaten der .ts...
                                          Gibt es eine Anleitung fürs Updaten? Habe in der Wiki nichts gefunden...

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

                                            @matze_hh

                                            In diesem Fall ist es leicht...

                                            Den unteren Teil ab

                                            // _________________________________ Ab hier keine Konfiguration mehr ____________
                                            ....
                                            

                                            einfach ersetzten und die 3 Farbkonstanten (nachfolgend Zeile 3 - 5) hinzufügen.

                                            //Screensaver Default Theme Colors
                                            const scbackground:     RGB = { red:   0, green:    0, blue:   0};
                                            const scbackgroundInd1: RGB = { red: 255, green:   0,  blue:   0};
                                            const scbackgroundInd2: RGB = { red: 121, green: 222,  blue: 121};
                                            const scbackgroundInd3: RGB = { red: 255, green: 255,  blue:   0};
                                            

                                            Den Rest macht das TS-Script mit dem ersten Start selbst.

                                            Ach ja und

                                            FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v3.6.0.tft
                                            

                                            in der Tasmota-Console ausführen.

                                            Das wäre dann schon alles...

                                            Armilar M M 3 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            946
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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