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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    SONOFF NSPanel mit Lovelace UI

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

      @ticaki

      In meinem Script ?

      let Multimedia: PageType =
      {
          'type': 'cardGrid',
          'heading': 'Game Room',
          'useColor': true,
          'items': [
              { id: 'alias.0.NSPanel.Klima_On/Off.SET', name: 'Klima'},
          ]
      };
      

      Auf meinem NSPanel ist nur die Service Page ersichtlich.

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

        @eny sagte in SONOFF NSPanel mit Lovelace UI:

        Multimedia

        Das .SET ist ja immer noch im pageItem id:
        so:

        let Multimedia: PageType =
        {
            'type': 'cardGrid',
            'heading': 'Game Room',
            'useColor': true,
            'items': [
                { id: 'alias.0.NSPanel.Klima_On/Off', name: 'Klima'},
            ]
        };
        

        Multimedia muss auch in das Page-Array eingetragen werden:

        und so:
        ebd7ed36-c7cf-4506-a175-e023d4a53dff-image.png

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

          @armilar

          Sorry war mein Fehler habe das obere nochmal kopiert.

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

            @eny

            also jetzt noch die Seiten-Variable in das "pages" eintragen, dann sollte auch was angezeigt werden

            PS.: Da es sich ja wahrscheinlich um eine neue Installation ohne Backup handelt, auch noch die MQTT-Adapter Instanz auf

            Nur bei Änderungen publizieren

            überprüfen.

            Dieser (Spielverderber)-Haken darf auf keinen Fall gesetzt sein...

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

              @armilar

              Habe ich gerade eingestellt und es zeigt meine Seite an .
              Dies war mir nicht mehr bewusst.

              Allen vielen vielen dank !!

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

                @eny

                Offtopic:

                nur um Vorzubeugen. Der Backitup-Adapter kann auch Skripte sichern...

                08985093-3c92-461e-ae3d-995bef6e3f22-image.png

                Eny 1 Reply Last reply Reply Quote 0
                • T
                  ticaki Developer @Eny last edited by

                  @eny sagte in SONOFF NSPanel mit Lovelace UI:

                  @ticaki

                  In meinem Script ?

                  let Multimedia: PageType =
                  {
                      'type': 'cardGrid',
                      'heading': 'Game Room',
                      'useColor': true,
                      'items': [
                          { id: 'alias.0.NSPanel.Klima_On/Off.SET', name: 'Klima'},
                      ]
                  };
                  

                  Auf meinem NSPanel ist nur die Service Page ersichtlich.

                  Das war das falsche, ich meine die config.pages, aber hat sich ja geklärt 🙂

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

                    @armilar

                    Danke für die Info.

                    An diesem bin ich auch noch dran, da er mir nur defekte Backups speichert 🙂
                    Wurde erst bemerkt als ich versuchte das Backup auf dem PI zu laden.

                    Aktuell läuft IO auf meinem Unraid Server.

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

                      @armilar said in SONOFF NSPanel mit Lovelace UI:

                      Wenn du jetzt noch den Teil des Blockly's senden würdest in dem der Datenpunkt:

                      OK, sorry ich dachte ich hätte den relevanten Teil drauf. Neuer Versuch

                      notify_alarm.png

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

                        @icebear

                        Dann ist es auch kein Wunder

                        6ea218c8-f3d4-46cf-b763-10aed6920aff-image.png

                        Ist zwar etwas verschwommen in deinem Bild, aber in der Mitte verwendest du Zufallszahl mit Komma...

                        Das ist der Fehler...

                        Verwende mal bitte irgendetwas anderes z.B. b05b524b-8dbd-4b1d-b292-4232bb36c43f-image.png als Wert

                        "i" aus der Schleife.... Sollte ebenfalls eindeutig sein...

                        Kannst da auch "Hallo Oma" reinschreiben. Das Kind braucht nur einen Namen. 😉

                        @Kuckuckmann : Wenn das ein Beispiel im Wiki ist, dann bitte ändern... Fließkomma ist da nicht wirklich gut für die Texttrennung im Nextion... und im Datenpunkt mit einem String

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

                          @icebear

                          Hi @icebaer,

                          kannst Du bitte in dem Block:

                          cc004d6a-21fd-47a6-9fe9-4bee9694bc41-image.png

                          Den db0423b9-ab79-4a10-8406-b824e061ea76-image.png durch folgendes ersetzen:
                          acf18449-7ffd-47e8-96b2-e63a5bacf791-image.png

                          Danach Skript neu starten und nochmal testen.

                          LG

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

                            @kuckuckmann said in SONOFF NSPanel mit Lovelace UI:

                            Danach Skript neu starten und nochmal testen.

                            O.K. hab ich gemacht, jetzt bleibt nur noch eine Fehlermeldung übrig.

                            
                            javascript.0
                            2024-01-07 15:24:30.696	warn	script.js.NSPanel.NSPanelTS_1_v4_3_3_30: error at function HandleButtonEvent: Cannot read properties of undefined (reading 'id')
                            
                            javascript.0
                            2024-01-07 15:24:29.679	warn	script.js.NSPanel.NSPanelTS_1_v4_3_3_30: error at function HandleButtonEvent: Cannot read properties of undefined (reading 'id')
                            
                            K Armilar 2 Replies Last reply Reply Quote 0
                            • K
                              Kuckuckmann @icebear last edited by

                              @icebear
                              Kannst Du sehen, bei welcher Aktion das geschrieben wird?

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

                                @icebear

                                Zeige nochmal, was du da eingebaut hast...

                                Der Parameter 0_userdata.0.NSPanel.1.popupNotify.popupNotifyInternalName um den es da geht ist die Id und die scheint "nichts" zu enthalten

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

                                  @kuckuckmann

                                  Der Fehler wird genau dann geschrieben wenn ich das PopUpNotify Fenster mit O.K. bestätigen will. Sowohl beim aktivieren als auch beim deaktivieren.

                                  @Armilar

                                  notify3.png

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

                                    @icebear

                                    mache mal die Tasmota-Konsole auf und poste den String aus dem Log der beim Drücken von OK kommt

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

                                      @armilar

                                      notify4.png

                                      Dabei hab ich aber auch festgestellt das das PopUp Fenster nach ca. 30sec dann von alleine geschlossen wird ohne das ich auf das 'X' klicke.

                                      Die Fehlermeldung bleibt aber trotzdem

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

                                        @icebear

                                        okay die id ist 75 - müssen wir testen, warum das nicht als id, sondern "undefined" erkannt wird

                                        0_userdata.0.NSPanel.1.popupNotify.popupNotifySleepTimeout stellt die Zeit ein. 30 bedeutet 30 Sekunden... 0 bedeutet es schließt nicht

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

                                          @icebear

                                          Setze da mal bitte noch "ID" vor:
                                          0e7e3151-c534-4d49-b1ea-e76645955147-image.png

                                          Dann nochmal testen

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

                                            @armilar said in SONOFF NSPanel mit Lovelace UI:

                                            Setze da mal bitte noch "ID" vor:

                                            O.K. habs jetzt so wie im anschließenden Screenshot geändert und jetzt funktioniert es wieder perfekt! Es kommt keine Fehlermeldung mehr und das Fenster geht auch wieder von alleine zu (hatte vorher schon die Einstellung unter .popupNotifySleepTimeout auf 10 geändert)

                                            notify5.png

                                            Vielen Dank für eure Hilfe

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            890
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            lovelace ui nspanel sonoff
                                            265
                                            7280
                                            4995201
                                            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