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

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    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 @Wuschl last edited by Armilar

      @wuschl

      Was ist die 1. Seite für eine? Also wenn die in der Config mal auskommentiert wird?

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

        @armilar

        //-- Anfang der Beispiele für Seitengestaltung -- Selbstdefinierte Aliase erforderlich ----------------
        
        var Flur: PageEntities =
        {
            "type": "cardEntities",
            "heading": "Flur",
            "useColor": true,
            "subPage": false,
            "parent": undefined,
            "items": [
                <PageItem>{ id: "alias.0.NsPanelGarage.Fernsehen", name: "Fernsehen", interpolateColor: true},
                <PageItem>{ id: "alias.0.NsPanelGarage.Garage-Bernd", offColor: MSGreen, onColor: MSRed, name: "Garagentor", icon: "garage-variant", icon2: "garage-open-variant"},
                <PageItem>{ id: "alias.0.NsPanelGarage.Radio_ein", name: "Radio", interpolateColor: true},
                <PageItem>{ id: "alias.0.NsPanelGarage.Deko-Flur", name: "Flur-Deko", minValueBrightness: 0, maxValueBrightness: 100, interpolateColor: true},
            ] 
        };
        
        var Luftfeuchte: PageEntities =
        {
            "type": "cardEntities",
            "heading": "Luftfeuchte",
            "useColor": true,
            "subPage": false,
            "parent": undefined,
            "items": [
                <PageItem>{ id: "alias.0.Luftfeuchte.Wohnzimmer", name: "Wohnzimmer", icon: "water-percent", unit: "%H", onColor: White },
                <PageItem>{ id: "alias.0.Luftfeuchte.Bad", name: "Badezimmer", icon: "water-percent", unit: "%H", onColor: White },
                <PageItem>{ id: "alias.0.Luftfeuchte.Schlafzimmer", name: "Schlafzimmer", icon: "water-percent", unit: "%H", onColor: White },
                <PageItem>{ id: "alias.0.Luftfeuchte.Küche", name: "Küche", icon: "water-percent", unit: "%H", onColor: White },
        };
        
        var Küche: PageEntities =
        {
            "type": "cardEntities",
            "heading": "Küche",
            "useColor": true,
            "subPage": false,
            "parent": undefined,
            "items": [
                <PageItem>{ id: "alias.0.NsPanelGarage.Küche", name: "Küche", interpolateColor: true},
                <PageItem>{ id: "alias.0.NsPanelGarage.Spüle", name: "Spüle", interpolateColor: true},
                <PageItem>{ id: "alias.0.NsPanelGarage.Rollo", onColor: White, name: "Rollo Küche"},
                <PageItem>{ id: "alias.0.NsPanelGarage.Deko-Küche", name: "Küche-Deko", minValueBrightness: 0, maxValueBrightness: 100, interpolateColor: true},
            ]
        };
        
        var Garagen: PageEntities =
        {
            "type": "cardEntities",
            "heading": "Garagen",
            "useColor": true,
            "subPage": false,
            "parent": undefined,
            "items": [
                <PageItem>{ id: "alias.0.Garagen-Papa.Garage-Audi", offColor: MSGreen, onColor: MSRed, name: "Garage Audi", icon: "garage-variant", icon2: "garage-open-variant"},
                <PageItem>{ id: "alias.0.Garagen-Papa.Garage-Polo", offColor: MSGreen, onColor: MSRed, name: "Garage Polo", icon: "garage-variant", icon2: "garage-open-variant"},
                <PageItem>{ id: "alias.0.Garagen-Papa.Garage-Fahrräder", offColor: MSGreen, onColor: MSRed, name: "Garage Fahrräder", icon: "garage-variant", icon2: "garage-open-variant"},
        };      
        
        var WLAN: PageQR = 
        {
            "type": "cardQR",
            "heading": "Gäste WLAN",
            "useColor": true,
            "subPage": false,
            "parent": undefined,
            "items": [<PageItem>{ id: "alias.0.NsPanelGarage.WLAN" }]
        };
        
        
        Armilar 1 Reply Last reply Reply Quote 0
        • Armilar
          Armilar Most Active Forum Testing @Wuschl last edited by

          @wuschl

          Und die erreichst du alle nicht mehr?

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

            @armilar nein keine Reaktion mehr, aber auf allen 3 Panels die aktiv sind

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

              @wuschl

              werf mal von einem Panel die 0_userdata weg (komplett)

              Dann anlegen lassen durch das Script

              Wobei das schon interessant ist, dass alle nicht laufen...

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

                @armilar schon probiert gestern, ändert nichts.

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

                  @wuschl

                  Was sagt das Tasmota-Log wenn du es rebootest?

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

                    @armilar

                    Spannend ist wirklich das alle betroffen sind. Das spricht doch eigentlich mehr für ein globaleres Problem. Der erste Aufbau funktioniert und danach keine Aktualisierung mehr...

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

                      @armilar Wie meinst du das Tasmota Log, aus der Konsole?

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

                        @wuschl

                        Ja die Console, kurz nach dem Reboot eines Panels

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

                          @armilar

                          20:28:53.253 MQT: Attempting connection...
                          20:28:53.279 MQT: Connected
                          20:28:53.284 MQT: tele/NS-Panel-Vroni_0BEC90/LWT = Online (retained)
                          20:28:53.287 MQT: cmnd/NS-Panel-Vroni_0BEC90/POWER = 
                          20:28:53.293 MQT: tele/NS-Panel-Vroni_0BEC90/INFO1 = {"Info1":{"Module":"NSPanel","Version":"12.3.1(nspanel)","FallbackTopic":"cmnd/DVES_0BEC90_fb/","GroupTopic":"cmnd/tasmotas/"}}
                          20:28:53.308 MQT: tele/NS-Panel-Vroni_0BEC90/INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"NS-Panel-Vroni-0BEC90-3216","IPAddress":"192.168.178.199"}}
                          20:28:53.322 MQT: tele/NS-Panel-Vroni_0BEC90/INFO3 = {"Info3":{"RestartReason":"Software reset CPU","BootCount":37}}
                          20:28:53.336 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"POWER1":"OFF"}
                          20:28:53.338 MQT: stat/NS-Panel-Vroni_0BEC90/POWER1 = OFF
                          20:28:53.345 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"POWER2":"OFF"}
                          20:28:53.348 MQT: stat/NS-Panel-Vroni_0BEC90/POWER2 = OFF
                          20:28:53.484 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"POWER1":"OFF"}
                          20:28:53.487 MQT: stat/NS-Panel-Vroni_0BEC90/POWER1 = OFF
                          20:28:53.606 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"CustomSend":"Done"}
                          20:28:53.630 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"POWER1":"OFF"}
                          20:28:53.632 MQT: stat/NS-Panel-Vroni_0BEC90/POWER1 = OFF
                          20:28:53.751 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"CustomSend":"Done"}
                          20:28:53.789 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"POWER1":"OFF"}
                          20:28:53.799 MQT: stat/NS-Panel-Vroni_0BEC90/POWER1 = OFF
                          20:28:53.905 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"CustomSend":"Done"}
                          20:28:53.942 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"POWER1":"OFF"}
                          20:28:53.950 MQT: stat/NS-Panel-Vroni_0BEC90/POWER1 = OFF
                          20:28:54.050 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"CustomSend":"Done"}
                          20:28:55.538 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"POWER1":"OFF"}
                          20:28:55.546 MQT: stat/NS-Panel-Vroni_0BEC90/POWER1 = OFF
                          20:28:55.902 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"CustomSend":"Done"}
                          20:28:56.100 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"CustomSend":"Done"}
                          20:28:56.128 MQT: tele/NS-Panel-Vroni_0BEC90/RESULT = {"CustomRecv":"event,startup,46,eu"}
                          20:28:56.209 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"CustomSend":"Done"}
                          20:28:56.249 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"CustomSend":"Done"}
                          20:28:56.298 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"CustomSend":"Done"}
                          20:28:56.359 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"CustomSend":"Done"}
                          20:28:56.485 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"CustomSend":"Done"}
                          20:28:56.908 QPC: Reset
                          

                          aber das Problem ist ja nicht nach dem Neustart des Panels, sondern nach dem Neustart des IOBrokers

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

                            @wuschl

                            Wie sieht das Problem denn aus? Also mit dem Start des ioBrokers?

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

                              @armilar

                              20:35:06.080 MQT: Attempting connection...
                              20:35:06.209 MQT: Connected
                              20:35:06.216 MQT: tele/NS-Panel-Vroni_0BEC90/LWT = Online (retained)
                              20:35:06.219 MQT: cmnd/NS-Panel-Vroni_0BEC90/POWER = 
                              20:35:06.806 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"POWER1":"OFF"}
                              20:35:06.810 MQT: stat/NS-Panel-Vroni_0BEC90/POWER1 = OFF
                              20:35:06.865 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"CustomSend":"Done"}
                              20:35:06.904 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"POWER1":"OFF"}
                              20:35:06.910 MQT: stat/NS-Panel-Vroni_0BEC90/POWER1 = OFF
                              20:35:06.998 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"CustomSend":"Done"}
                              20:35:07.027 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"POWER1":"OFF"}
                              20:35:07.038 MQT: stat/NS-Panel-Vroni_0BEC90/POWER1 = OFF
                              20:35:07.080 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"CustomSend":"Done"}
                              20:35:07.356 MQT: stat/NS-Panel-Vroni_0BEC90/RESULT = {"POWER1":"OFF"}
                              20:35:07.365 MQT: stat/NS-Panel-Vroni_0BEC90/POWER1 = OFF
                              

                              das ist nach dem Neustart des IOBrokers, Panel zeigt Screensaver, beim Tippen auf das Panel wird nur der Bildschirm hell.

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

                                @wuschl

                                hmm - bei mir sieht ein Neustart des ioBrokers so aus:

                                20:43:57.411 MQT: SmartHome/NSPanel_1/stat/RESULT = {"CustomSend":"Done"}
                                20:43:57.469 MQT: SmartHome/NSPanel_1/stat/RESULT = {"CustomSend":"Done"}
                                20:43:57.635 MQT: SmartHome/NSPanel_1/tele/RESULT = {"CustomRecv":"event,startup,46,eu"}
                                20:43:59.255 MQT: SmartHome/NSPanel_1/stat/RESULT = {"CustomSend":"Done"}
                                20:43:59.298 MQT: SmartHome/NSPanel_1/stat/RESULT = {"CustomSend":"Done"}
                                20:43:59.352 MQT: SmartHome/NSPanel_1/stat/RESULT = {"CustomSend":"Done"}
                                20:43:59.413 MQT: SmartHome/NSPanel_1/stat/RESULT = {"CustomSend":"Done"}
                                20:43:59.449 MQT: SmartHome/NSPanel_1/tele/RESULT = {"nlui_driver_version":"8"}
                                20:43:59.634 MQT: SmartHome/NSPanel_1/stat/RESULT = {"CustomSend":"Done"}
                                20:44:02.850 MQT: SmartHome/NSPanel_1/stat/RESULT = {"CustomSend":"Done"}
                                20:44:03.033 MQT: SmartHome/NSPanel_1/stat/RESULT = {"CustomSend":"Done"}
                                20:44:03.224 MQT: SmartHome/NSPanel_1/stat/RESULT = {"CustomSend":"Done"}
                                20:44:03.405 MQT: SmartHome/NSPanel_1/stat/RESULT = {"CustomSend":"Done"}
                                20:44:06.796 MQT: SmartHome/NSPanel_1/stat/RESULT = {"CustomSend":"Done"}
                                20:44:19.708 MQT: SmartHome/NSPanel_1/tele/RESULT = {"CustomRecv":"event,sleepReached,cardEntities"}
                                

                                Beginnt auch mit der ersten Seite (ebenfalls eine cardEntities). Nach dem SleepReached wird in den Screensaver gewechselt und alles ist okay...

                                Und nach einem normalen Tasmota reboot läuft dann wieder alles? Oder ebenfalls eingefroren?

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

                                  @armilar nach einem Tasmota reset läuft alles, da taucht auch diese Zeile auf in der Konsole

                                  20:53:11.161 MQT: tele/NS-Panel-Garage_0E3BFC/RESULT = {"CustomRecv":"event,startup,46,eu"}
                                  
                                  Armilar 1 Reply Last reply Reply Quote 0
                                  • Armilar
                                    Armilar Most Active Forum Testing @Wuschl last edited by

                                    @wuschl

                                    Seit wann gibt es das Problem? Evtl. noch von Version auf Version? Ist ja wie die Suche nach der Stecknadel im Heuhaufen...

                                    Hat sonst noch jemand das Problem, dass das Panel eingefroren ist nach einem ioBroker Neustart?

                                    W T 2 Replies Last reply Reply Quote 0
                                    • W
                                      Wuschl @Armilar last edited by

                                      @armilar also ich hab es gerade mit der 3.6.0.4 probiert, da ist es dasselbe, frühere habe ich leider nicht mehr zum testen. Aber mit ist gerade das noch aufgefallen nach dem ich das Display angetippt habe.

                                      21:06:25.944 MQT: tele/NS-Panel-Garage_0E3BFC/RESULT = {"CustomRecv":"event,buttonPress2,screensaver,bExit,1"}
                                      21:06:26.344 MQT: tele/NS-Panel-Garage_0E3BFC/RESULT = {"CustomRecv":"event,buttonPress2,screensaver,swipeUp"}
                                      21:06:26.647 MQT: tele/NS-Panel-Garage_0E3BFC/RESULT = {"CustomRecv":"event,buttonPress2,screensaver,bExit,3"}
                                      21:06:26.945 MQT: tele/NS-Panel-Garage_0E3BFC/RESULT = {"CustomRecv":"event,buttonPress2,screensaver,bExit,4"}
                                      
                                      K Armilar 2 Replies Last reply Reply Quote 0
                                      • K
                                        Kuckuckmann @Wuschl last edited by Kuckuckmann

                                        @wuschl @Armilar
                                        Ich hab noch die v3.5.0.4 und damit fängt sich das Panel nach einer guten Minute wieder und funktioniert nach ioBroker Neustart ganz normal.

                                        Ich werde mal die aktuelle Version aufziehen und testen.

                                        W 1 Reply Last reply Reply Quote 0
                                        • W
                                          Wuschl @Kuckuckmann last edited by

                                          @kuckuckmann kann ich eine ältere mal haben zum testen?

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

                                            @wuschl

                                            Ich überlege gerade was denn so anders an einem Neustart des ioBrokers sein könnte...

                                            Teste mal bitte folgendes:

                                            Bei ca. Zeile 1300 ist der Start zur Initialisierung des Panels...

                                            sieht so aus:

                                            // Mit Start auf Updates checken
                                            get_locales();
                                            setState(config.panelSendTopic, 'pageType~pageStartup');
                                            get_tasmota_status0();
                                            get_panel_update_data();
                                            check_updates();
                                            
                                            //------------------Begin Update Functions
                                            

                                            Den mal suchen und

                                            HandleStartupProcess();
                                            

                                            anhängen

                                            Also so:

                                            // Mit Start auf Updates checken
                                            get_locales();
                                            setState(config.panelSendTopic, 'pageType~pageStartup');
                                            get_tasmota_status0();
                                            get_panel_update_data();
                                            check_updates();
                                            HandleStartupProcess();
                                            

                                            Also mehr wie ein Starthilfekabel...

                                            Danach mal den ioBroker durchstarten

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            986
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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