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

      @tt-tom oh wieso ist der nicht dafür geeignet? Er soll mir doch nur die Ist Temperatur vom Raum senden.

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

        @timowald

        https://github.com/joBr99/nspanel-lovelace-ui/wiki/NSPanel-Tasmota-FAQ#21--interner-raum-temperatursensor

        Ist kein Präzisionssensor. Man kann ihn aber schon in die richtige Richtung bekommen... Der verbaute NTC muss zunächst kalibriert werden. Ich finde das Ergebnis aber gar nicht so schlecht...

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

          Hallo wie muß das aussehen mit den Links, bzw. welche Links sollen da genau rein?

          let Abfall: PageType =
          {
              "type": "cardEntities",
              "heading": "Abfallkalender",
              "useColor": true,
              "subPage": false,
              "parent": undefined,
              "items": [
                  { id: AliasPath + 'Abfall.event1',icon: 'trash-can'},  
                  { id: AliasPath + 'Abfall.event2',icon: 'trash-can'},  
                  { id: AliasPath + 'Abfall.event3',icon: 'trash-can'},  
                  { id: AliasPath + 'Abfall.event4',icon: 'trash-can'}  
              ]
          }
          

          Bei mir steht auf der Seite nur die Überschrift "Abfallkalender".

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

            @timowald

            Wie füllst du den die Datenpunkte, nutzt du das Script aus dem Wiki oder von meinem Github.

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

              @tt-tom von hier: https://github.com/joBr99/nspanel-lovelace-ui/wiki/ioBroker---FAQ-&-Anleitungen#4-abfallkalender

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

                @timowald

                dann zeig mal die Einstellungen vom Script

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

                  @tt-tom Naja habe da noch keine Path eingegeben weil ich nicht weiß welchen.

                  7d396910-0fea-4fc4-82ef-af55012d7285-grafik.png

                  770c7411-1ff6-4974-b6ea-d113d2e17a07-grafik.png

                  9a8e81bc-7cdc-4d04-8281-0f98a9c531ea-grafik.png

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

                    @timowald
                    Hast du in den Datenpunkten denn schon Daten??

                    Kann sein das dein Alias Pfad nicht stimmt. Die Variable aliaspath hat bestimmt einen anderen Pfad als das Script.

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

                      @tt-tom Ja habe ich

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

                        @timowald
                        Bin am Handy sorry. Habe mein Post noch angepasst

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

                          @tt-tom Soll das dann so aussehen?

                          let Abfall: PageType =
                          {
                          "type": "cardEntities",
                          "heading": "Abfallkalender",
                          "useColor": true,
                          "subPage": false,
                          "parent": undefined,
                          "items": [
                          { id: alias.0.NSPanel.allgemein.Abfall.event1 + '0_userdata.0.Abfallkalender.1',icon: 'trash-can'},
                          { id: AliasPath + 'Abfall.event2',icon: 'trash-can'},
                          { id: AliasPath + 'Abfall.event3',icon: 'trash-can'},
                          { id: AliasPath + 'Abfall.event4',icon: 'trash-can'}
                          ]
                          }

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

                            @timowald
                            Nein, ohne userdata. Dann passt es.

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

                              @tt-tom Also so?

                              let Abfall: PageType =
                              {
                              "type": "cardEntities",
                              "heading": "Abfallkalender",
                              "useColor": true,
                              "subPage": false,
                              "parent": undefined,
                              "items": [
                              { id: alias.0.NSPanel.allgemein.Abfall.event1 + '0.Abfallkalender.1',icon: 'trash-can'},
                              { id: AliasPath + 'Abfall.event2',icon: 'trash-can'},
                              { id: AliasPath + 'Abfall.event3',icon: 'trash-can'},
                              { id: AliasPath + 'Abfall.event4',icon: 'trash-can'}
                              ]
                              }

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

                                @timowald
                                So um das Ganze richtig zu erklären fangen wir bei den beiden Variablen für die Pfade an.

                                im NSPanel Script zeigt die Alias Variable auf diesen Pfad.

                                /***** 5. Script - Parameters *****/
                                
                                    // DE: Verzeichnis für Auto-Aliase (wird per Default aus dem NSPanel-Verzeichnis gebildet und muss nicht verändert werden)
                                    // EN: Directory for auto aliases (is created by default from the NSPanel directory and does not need to be changed)
                                    const AliasPath: string = 'alias.0.' + NSPanel_Path.substring(13, NSPanel_Path.length);
                                

                                in deinem Fall ist das alias.0.NSPanel.1.

                                im "Abfall" Script zeigt die Alias Variable auf einen anderen Pfad

                                const idAliasPanelVerzeichnis: string = 'alias.0.NSPanel.allgemein'; //Name PanelVerzeichnis unter alias.0.  => Standard = alias.0.NSPanel.1
                                

                                darum können sie sich nicht finden.

                                lösche die Datenpunkte unter 0_userdata und alias vom Abfallscript. passe die Alias Variable im Abfall Script auf alias.0.NSPanel.1 an und starte es neu.

                                Deine Seite sollte dann so aussehen, wenn sie als Mainpage genutzt werden soll.

                                let Abfall: PageType =
                                {
                                    "type": "cardEntities",
                                    "heading": "Abfallkalender",
                                    "useColor": true,
                                    "items": [
                                        { id: AliasPath + 'Abfall.event1',icon: 'trash-can'},  
                                        { id: AliasPath + 'Abfall.event2',icon: 'trash-can'},  
                                        { id: AliasPath + 'Abfall.event3',icon: 'trash-can'},  
                                        { id: AliasPath + 'Abfall.event4',icon: 'trash-can'}  
                                    ]
                                }
                                
                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  TimoWald @TT-Tom last edited by

                                  @tt-tom Verstehe es irgendwie nicht. So funktioniert es auch nicht.

                                  7919a459-7a9e-4f4d-90b1-ee0e13ce05ba-grafik.png

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

                                    @timowald
                                    Hast du das so gemacht wie ich es geschrieben habe, sprich die Variable angepasst?? Dann sollte auch die Config passen, wie ich sie geschrieben habe. Siehe letzen Post.

                                    Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
                                    Hier gehts zur Hilfe.

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

                                      @tt-tom Hallo, habe es jetzt an dieser Skript Stelle so stehen aber ohne Verbesserung.

                                        // DE: Verzeichnis für Auto-Aliase (wird per Default aus dem NSPanel-Verzeichnis gebildet und muss nicht verändert werden)
                                          // EN: Directory for auto aliases (is created by default from the NSPanel directory and does not need to be changed)
                                          const AliasPath: string = 'alias.0.NSPanel.1' + NSPanel_Path.substring(13, NSPanel_Path.length);
                                      
                                      let Abfall: PageType =
                                      {
                                          "type": "cardEntities",
                                          "heading": "Abfallkalender",
                                          "useColor": true,
                                          "subPage": false,
                                          "parent": undefined,
                                          "items": [
                                              { id: AliasPath + 'Abfall.event1',icon: 'trash-can'},  
                                              { id: AliasPath + 'Abfall.event2',icon: 'trash-can'},  
                                              { id: AliasPath + 'Abfall.event3',icon: 'trash-can'},  
                                              { id: AliasPath + 'Abfall.event4',icon: 'trash-can'}, 
                                      
                                      T 1 Reply Last reply Reply Quote 0
                                      • T
                                        TT-Tom @TimoWald last edited by

                                        @timowald

                                        Wie besprochen sollte die Variable so bleiben wie sie war.
                                        alias.0.

                                        1 Reply Last reply Reply Quote 1
                                        • S
                                          StefanW last edited by

                                          Hallo,
                                          ich versuche gerade meine Rolladensteuerung in das NSPanel zu integrieren.
                                          Meine Rollos werden aus IOBroker mit dem HmIP-FROLL betrieben.

                                          Die Steuerung mit dem Schieberegler funktioniert, was ich nicht hinbekomme, ist "CLOSE" & "OPEN"

                                          Da erwartet HomeMatic einen Prozentwert, das Panel liefert aber "true" & "false"

                                          So sieht es in HM aus, was ich zur Verfügung habe:

                                          93aac4c9-25a6-4074-8f1f-1b305d7956f3-image.png

                                          und so im IOBroker:

                                          261aa583-8dd7-47a3-8524-2acd79ac3135-image.png

                                          Geht es, dass ich mit dem Open & Close Button einen Wert übergebe, als 0% und 100% ?

                                          Danke schon mal
                                          Stefan

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

                                            @stefanw
                                            Ja geht über ein kleinen Umweg. Im alias die Konvertierung nutzen und bei „schreiben“ val=0 (close) bzw. val=100 (Open).

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            935
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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