Navigation

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

    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

    This topic has been deleted. Only users with topic management privileges can see it.
    • Armilar
      Armilar Most Active Forum Testing @holgerwolf last edited by

      @holgerwolf sagte in Sonoff NSPanel:

      @armilar Jepp.
      Allerdings hab ich nen Bug gefunden. Wenn man bei einer Entity auf die Detail-Seite geht, kommt man nicht wieder zurück. Screensaver kommt auch nicht.

      763404dc-35fa-42d8-bec3-d70f44a73422-grafik.png

      Drücke mal das x - damit komme ich raus

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

        @armilar Der Befehl steht auch in der Tasmota Console:

        12:23:28.187 MQT: stat/tasmota_7BC490/RESULT = {"CustomSend":"Done"}
        12:23:30.564 MQT: tele/tasmota_7BC490/RESULT = {"CustomRecv":"event,buttonPress2,popupLight,bExit"}
        12:23:32.775 MQT: stat/tasmota_7BC490/RESULT = {"CustomSend":"Done"}
        12:23:33.989 MQT: stat/tasmota_7BC490/RESULT = {"CustomSend":"Done"}
        12:23:36.290 MQT: stat/tasmota_7BC490/RESULT = {"CustomSend":"Done"}
        

        Kommt auch per mqtt im iobroker an, aber wohl nicht im Script.

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

          @holgerwolf

          Was hast du für einen ALIAS Typen gewählt?

          Gem. Script funktionieren aktuell nur

          light (Lampe an/aus)
          dimmer (Lampe mit Dimmer und an/aus)
          blind (Hoch/Stop/Runter)
          info (Werte, wie Batteriestand, etc.)
          value.temperature (Temperatur)
          thermostat
          button (Push Button --> Press) auch für Szene geeignet

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

            @armilar Licht

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

              @holgerwolf

              Versuch mal die cardGrid Variante - ob die besser läuft. Obwohl der Luftreiniger im Prinzip auch nur eine Lampe ist und bei mir auch aus dem Untermenü rauskommt. ????

              6d174e3d-c89c-473c-bf1e-a02ca3f0dace-image.png

              ada1be03-4992-4c5c-b26a-598ce6c534fa-image.png
              Die Textlänge muss noch angepasst werden "buttonText" scheint er aktuell nicht zu nutzen

              P.S.: Ich habe Strom in Wohnen2 umbenannt

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

                @armilar Geht auch prima:

                dace023a-fbfe-457e-8f8f-1736686cd266-grafik.png

                ba927263-b6ca-47d0-a2cb-d2b1dbb12c5e-grafik.png

                Schöne Spielerei 🙂

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

                  @holgerwolf

                  Top - keine Ahnung warum du aus den Untermenüs nicht rauskommst.

                  Im Übrigen ist buttonText nur als Übergabe für den Button interessant, da der den Text "Press" ersetzt.

                  Für die Kürzung der Namen kann man z.B. soetwas einbauen:

                  a433bc32-ac48-48e1-9dfa-97154d463d74-image.png

                  oder ein Zusätzlichen Parameter in

                  5f598392-8940-47f5-b339-a80d4604f02d-image.png

                  z.B. entityText

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

                    @holgerwolf

                    Jetzt noch Spotify und Radio integrieren - ich sehe mir das mal am WE an

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

                      @armilar Ich habe gerade das Anpassen von speziellen Seiten bei Bedienung von Button1 und Button2 getestet:

                      Hardware buttons
                      If you like you can add special pages for the buttons.
                      First you need to add this rule to Tasmota:

                      Laut Anleitung muss man hierfür Rules ind Tasmota definieren:

                      Rule2 on Button1#state do Publish tele/%topic%/RESULT {"CustomRecv":"event,button1"} endon on Button2#state do Publish tele/%topic%/RESULT {"CustomRecv":"event,button2"} endon
                      Rule2
                      

                      Aber nach Anlegen diesee Rules erscheinen immer noch Power1 bzw Power2 in der Console.

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

                        @holgerwolf

                        mach mal "Rule2 1", da die sonst deaktiviert ist

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

                          @holgerwolf

                          @holgerwolf sagte in Sonoff NSPanel:

                          @armilar Ich habe gerade das Anpassen von speziellen Seiten bei Bedienung von Button1 und Button2 getestet:

                          Hardware buttons
                          If you like you can add special pages for the buttons.
                          First you need to add this rule to Tasmota:

                          Laut Anleitung muss man hierfür Rules ind Tasmota definieren:

                          Rule2 on Button1#state do Publish tele/%topic%/RESULT {"CustomRecv":"event,button1"} endon on Button2#state do Publish tele/%topic%/RESULT {"CustomRecv":"event,button2"} endon
                          Rule2
                          

                          Aber nach Anlegen diesee Rules erscheinen immer noch Power1 bzw Power2 in der Console.

                          15:32:31.013 RUL: BUTTON2#STATE performs "Publish tele/NSPanel_1/RESULT {"CustomRecv":"event,button2"}"

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

                            @armilar sagte in Sonoff NSPanel:

                            RUL: BUTTON2#STATE performs "Publish tele/NSPanel_1/RESULT {"CustomRecv":"event,button2"}"

                            Geht 🙂

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

                              @holgerwolf

                              Rule2 on Button1#state do Publish tele/%topic%/RESULT {"CustomRecv":"event,button1"} endon on Button2#state do Publish tele/%topic%/RESULT {"CustomRecv":"event,button2"} endon
                              Rule2

                              "tele/%topic%/RESULT" muss evtl. ausgetauscht werden durch z.B. "SmartHome.NSPanel_1.tele.RESULT" wie in meinem Fall

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

                                @holgerwolf

                                ok

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

                                  @holgerwolf

                                  Habe mich für eine Codeänderung entschieden, da mir die Namen in der cardGrid zu lang waren... 😉

                                  jetzt wird auch entityText übergeben, damit kann ich speziell in dieser Ansicht vom Alias-Namen abweichen.

                                  dbe0c2b1-4f83-49ed-acff-6fa7afec28ff-image.png

                                  Zusätzlich eingefügt:
                                  f3e45246-07f2-44dc-945d-6e88e4cf05b0-image.png

                                  36df253e-74a2-4f2e-b21f-65eb0adfb852-image.png

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

                                    @holgerwolf sagte in Sonoff NSPanel:

                                    @armilar Geht auch prima:

                                    dace023a-fbfe-457e-8f8f-1736686cd266-grafik.png

                                    ba927263-b6ca-47d0-a2cb-d2b1dbb12c5e-grafik.png

                                    Schöne Spielerei 🙂

                                    Für geschlossenen Fenster kannst du auch icon 38 verwenden

                                    58472c68-724a-40c5-920d-3a5f266d34cd-image.png

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

                                      Ist das nu das lovelace-ui was ihr da zeigt und probiert?

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

                                        @kuckuckmann sagte in Sonoff NSPanel:

                                        Ist das nu das lovelace-ui was ihr da zeigt und probiert?

                                        Ja, seit 30. März 2022, 14:48 sind wir umgestiegen. Alle Posts ab da beziehen sich ausschließlich auf lovelace-ui

                                        a274cba9-35ad-46c6-8998-2947cb64d85d-image.png

                                        https://github.com/joBr99/nspanel-lovelace-ui#upload-berry-driver-to-tasmota

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

                                          @armilar
                                          In wieweit benötigt man programmierkenntnisse?

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

                                            @kuckuckmann sagte in Sonoff NSPanel:

                                            @armilar
                                            In wieweit benötigt man programmierkenntnisse?

                                            nicht wirklich viele - Die Basis ist ein TypeScript (an dem aktuell noch gearbeitet wird, obwohl schon vieles realisiert ist) . In diesem werden die einzelnen Seiten ebenfalls definiert und angelegt. Diese holen sich die Daten aus einem Alias-Datenpunkt (Objekt unter ioBroker Gerätemanager) ab. Also mehr Customizing als Coding.

                                            Dennoch mussten wir etwas tiefer in das TypeScript abtauchen, um zu verstehen, wie das Ding funktioniert. Daher auch der Austausch. Ich denke, wenn man dem Verlauf folgt, dann ist es jetzt schon eine gute Anleitung für einen Umstieg.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            78
                                            1548
                                            388678
                                            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