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

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • 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.
    • JohGre
      JohGre last edited by

      wollte auch gerade updaten, aber bei mir kommt der Fehler

      script.js.wellness.NSPanelInfrarotkabine_ts: Config-Parameter: << config.panelRecvTopic - mqtt.0.ioBroker.NSPanel_Infrarotkabine.RESULT >> does not refer to the prefix .tele. Please Check Parameters!
      

      Natürlich habe ich den Parameter .tele.nicht, wie kann ich das beheben

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

        @johgre
        zeige mal die MQTT Einstellungen von Tasmota und den mqtt.0. Objektbaum

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

          @tt-tom hat sich erledigt, war die MQTT Konfig am Panel

          1 Reply Last reply Reply Quote 1
          • arteck
            arteck Developer Most Active @Armilar last edited by

            @armilar @ticaki Adapter anpassung nicht notwendig ? hab kein bock wieder auf ne flashorgie..wie letztens

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

              @arteck

              Beim Adapter bringt es aktuell keinen Mehrwert, da die cardThermo2 im Gegensatz zum Skript noch nicht implementiert ist...

              Für Pirate-Weather (falls gewünscht) kannst du auch auf einer kleineren TFT-Version im Adapter arbeiten.

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

                @arteck

                Ich hab aktuell nicht soviel freie Zeit um die cardThermo2 im Adapter einzubauen - Mal gucken.

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

                  @armilar said in SONOFF NSPanel mit Lovelace UI:

                  @bhenyamin

                  Darf ich hier nochmal Pingen?

                  natürlich und jederzeit... dafür ist der Thread ja da 😊

                  Hast du noch einen Lösungsansatz für mich?

                  Ich dachte nach der Konversation mit @TT-Tom (ACTUAL/SET) wäre das erledigt.

                  Ich bekomme den Slider weiter nicht auf Spur. Er springt weiter...

                  Und genau das kann ich nicht reproduzieren. Der Slider arbeitet auf den Punkt exakt und kommt auch wieder nach einem Seitenwechsel zum eingestellten Wert zurück...

                  EDIT: siehe
                  989f50b3-e9d6-444a-9db2-bab54524cf50-Nextion_Editor_gGYdzzzBvQ.gif

                  EDIT2: was du nochmal machen könntest, wäre in der Tasmota Konsole "weblog 3" eingeben und den Part (Tasmota Log) mit dem Sliderspiel mal senden...

                  Danke Dir. Ich habe gerade keine Zeit, da wirklich tief rein zu gehen, aber gestern während einer kleinen Feier hier löste sich das Problem quasi von selbst. Dan Panel hing plötzlich mit Blackscreen. Also mit Bier in der Hand vom Handy aus Neustart und zum bestimmt 7. Mal wieder die v. 4.9.4. TFT geflasht, was nach 2. Anläufen glückte.
                  Irgendwie hing hier aber doch alles und die Log war voller Fehler (fehlende Kommunikation mit allen MQTT devices) Also mal alles hier gereebootet:
                  Plötzlich läuft der Slider perfekt. 😲.
                  Keine Ahnung, wo da der Zusammenhang war. Aber ich bin Happy!

                  D 1 Reply Last reply Reply Quote 1
                  • D
                    drloksoft @Bhenyamin last edited by

                    Hi,
                    kann mir bitte kurz jemand helfen?

                    Ich habe mein SONOFF Panel so konfiguriert, dass ich mit dem Hadware Buttons mein Licht ein und ausschalten kann. Allerdings finde ich nun nicht mehr, wie ich das konfiguriert habe 😧 Kann mir kurz jemand einen Hinweis geben? Es wird ein WLED Lichtstrip (Button 1) und eine Nanoleaf Leuchte (Button 2 gesteuert). War das irgendwo außerhalb des Scriptes? Sorry, aber ich finde es nicht mehr ... peinlich ...

                    ilovegym arteck 2 Replies Last reply Reply Quote 0
                    • ilovegym
                      ilovegym @drloksoft last edited by

                      @drloksoft

                      nutz doch einfach die Suchfunktion im Script-Adapter nach Datenpunkten

                      1 Reply Last reply Reply Quote 2
                      • arteck
                        arteck Developer Most Active @drloksoft last edited by

                        @drloksoft https://github.com/joBr99/nspanel-lovelace-ui/blob/fb841abf45124ee88d1008b63ee458a70b58a4d4/ioBroker/NsPanelTs.ts#L938

                        D 1 Reply Last reply Reply Quote 2
                        • D
                          drloksoft @arteck last edited by

                          @arteck @ilovegym - danke für die schnelle Antwort!
                          Hier genau ist meinProblem 🙂

                          Dummerweise finde ich die Datenpunkte nicht im Script ...

                          //-------DE: Anfang Einstellungen für Hardware Button, wenn Sie softwareseitig genutzt werden (Rule2) -------------
                          //-------EN: Start Settings for Hardware Button, if used in software (Rule2) --------------------------------------
                          // DE: Konfiguration des linken Schalters des NSPanels
                          // EN: Configuration of the left switch of the NSPanel
                          button1: {
                              // DE: Mögliche Werte wenn Rule2 definiert: 'page', 'toggle', 'set' - Wenn nicht definiert --> mode: null
                              // EN: Possible values if Rule2 defined: 'page', 'toggle', 'set' - If not defined --> mode: null
                              mode: null,
                              // DE: Zielpage - Verwendet wenn mode = page
                              // EN: Target page - Used if mode = page
                              page: null,
                              // DE: Zielentity - Verwendet wenn mode = set oder toggle
                              // EN: Target entity - Used if mode = set or toggle
                              entity: null,
                              // DE: Zielwert - Verwendet wenn mode = set
                              // EN: Target value - Used if mode = set
                              setValue: null
                          },
                          
                          // DE: Konfiguration des rechten Schalters des NSPanels
                          // EN: Configuration of the right switch of the NSPanel
                          button2: {
                              mode: null,
                              page: null,
                              entity: null,
                              setValue: null
                          },
                          D 1 Reply Last reply Reply Quote 0
                          • D
                            drloksoft @drloksoft last edited by

                            AH!
                            Ich glaube ich habs!
                            Ich lausche den MQTT Events in einem anderen Script:

                            on({ id: 'mqtt.0.NSPANEL_REY.tele.RESULT', change: 'any' }, (obj) => {
                            const val = obj?.state?.val;
                            if (typeof val !== 'string' || !val.includes('CustomRecv')) return;

                            try {
                                const payload = JSON.parse(val);
                                const event = payload?.CustomRecv;
                            
                                // === BUTTON 1 ===
                                if (event === 'event,button1') {
                                    const dp = 'alias.0.NSPanel.wohnzimmer.WledRey.ON';
                                    const current = getState(dp)?.val;
                                    const newVal = !current;
                                    setState(dp, newVal);
                            
                                    if (newVal === true) {
                                        setState('wled.0.781c3ca4b32c.seg.0.bri', 128);
                                        setState('wled.0.781c3ca4b32c.seg.0.col.0', [255, 255, 255, 0]);
                                        setState('wled.0.781c3ca4b32c.seg.0.cct', 50);
                                    }
                                }
                            
                                // === BUTTON 2 ===
                                else if (event === 'event,button2') {
                                    const dp = 'nanoleaf-lightpanels.1.LightPanels.state';
                                    const current = getState(dp)?.val;
                                    const newVal = !current;
                                    setState(dp, newVal);
                            
                                    if (newVal === true) {
                                        setState('nanoleaf-lightpanels.1.LightPanels.brightness', 100);
                                    }
                                }
                            
                            } catch (err) {
                                log('Fehler beim Parsen von CustomRecv: ' + err.message, 'warn');
                            }
                            

                            });

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              drloksoft @drloksoft last edited by

                              Eine Frage habe ich noch ...
                              Gibt es ein "best practice", um das Script mit wenig Aufwand auf seine aktuelle Version zu bringen? Ich würde gerne die cartThermo2 nutzen. Einfach den Bereich " DE: Ab hier keine Konfiguration mehr" austauschen?

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

                                @drloksoft
                                Jo - ich hab das so oft gemach das ich nach no more suche und alles ab da tausche.

                                D 1 Reply Last reply Reply Quote 1
                                • D
                                  drloksoft @ticaki last edited by

                                  @ticaki top, danke!

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

                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  760
                                  Online

                                  32.0k
                                  Users

                                  80.4k
                                  Topics

                                  1.3m
                                  Posts

                                  lovelace ui nspanel sonoff
                                  267
                                  7476
                                  5311981
                                  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