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.
    • L
      lustig29 @Armilar last edited by

      @armilar
      Habe das Ding jetzt direkt unter Acesspoint liegen. Wlan dürfte kein Problem mehr sein. Aber das flashen geht leider immer noch nicht.

      338c087c-4d3b-43bb-af9c-c8d4ca592bb7-image.png

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

        @lustig29

        Passiert das nur mit diesem NSPanel oder mit allen?

        21d2139f-94a5-466c-812e-2cdbec2083f1-image.png

        Ist die Verbindung ordentlich?

        L 2 Replies Last reply Reply Quote 0
        • L
          lustig29 @Armilar last edited by

          @armilar
          Werde ich nachher mal prüfen. Muss eh nochmal neu flashen, weil ich jetzt keine Wlanverbindung zum Panel habe. Wollte das mit Hotspot probieren, ging leider schief.🤭

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

            @armilar
            Steckverbindung habe ich nochmal überprüft. Beide Panels mit Web Flasher nochmal neu geflasht mit der Tasmota DE. Bei beiden Panels dann dasselbe Problem. Läuft beim Display flashen bis 99 %, dann ist Feierabend. Da muss ich doch irgendeinen Fehler machen. Kann das an dem Berry Driver liegen?

            L 1 Reply Last reply Reply Quote 0
            • L
              lustig29 @lustig29 last edited by

              Ich kann es kaum glauben, aber ich habe es wirklich hinbekommen. 😊

              Ich habe die Tasmota 12.0.2 geflasht und schon ging es. Danach per Panel upgedatet. Jetzt geht es ans Seiten erstellen. Hierzu werde ich mich bestimmt zeitnah nochmal melden.😆

              L 1 Reply Last reply Reply Quote 1
              • L
                lustig29 @lustig29 last edited by

                Da ja das eine Panel ins Bad soll, würde ich hierdrauf gerne Radiosender ansteuern, die auf der Sonosbox abgespielt werden.
                Im Moment ist es so, dass ein Echo Show mit der Sonosbox verknüpft ist. Ich rufe die Radiosender per Alexa auf und sie werden dann auf der Sonosbox abgespielt.
                Also ich würde ganz gern eine normale Playeransicht haben und dann nochmal ein View mit den verschiedenen Radiosendern.

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

                  @lustig29

                  Damit steuere ich meine SONOS One
                  https://github.com/joBr99/nspanel-lovelace-ui/wiki/NSPanel-‐-cardMedia-‐-Der-SONOS-Player

                  Hier ein Beispiel für den ersten Radiosender in einer cardGrid
                  https://github.com/joBr99/nspanel-lovelace-ui/wiki/ioBroker---FAQ-&-Anleitungen#9-alias-taste-für-auswahl-eines-radiosenders

                  Weitere 5 Sender analog anlegen:

                  let Radiosender: PageType =
                  {
                      'type': 'cardGrid',
                      'heading': 'Radio',
                      'useColor': true,
                      'items': [
                          { id: 'alias.0.NSPanel_1.Radio.FFN', icon: 'radio', name: 'FFN', onColor: colorRadio},
                          { id: 'alias.0.NSPanel_1.Radio.Antenne' , icon: 'radio', name: 'Antenne Nds.', onColor: colorRadio},
                          { id: 'alias.0.NSPanel_1.Radio.NDR2', icon: 'radio', name: 'NDR2', onColor: colorRadio},
                          { id: 'alias.0.NSPanel_1.Radio.Bob', icon: 'radio', name: 'Radio BOB', onColor: colorRadio},
                          { id: 'alias.0.NSPanel_1.Radio.Spotify', icon: 'spotify', name: 'Party Playlist', onColor: colorSpotify},
                          { id: 'alias.0.NSPanel_1.Radio.Alexa', icon: 'playlist-music', name: 'Playlist 2021', onColor: colorAlexa},
                  
                      ]
                  };
                  
                  1 Reply Last reply Reply Quote 0
                  • L
                    lustig29 last edited by lustig29

                    @armilar
                    Habe jetzt die Sonos Card mal angelegt. Bekomme jetzt aber diesen Fehler und das Panel hängt bei Waiting for content.

                    javascript.0	12:18:01.406	error	script.js.NSPanelTs_Bad: TypeScript compilation failed: 'useColor': true, ^ ERROR: Object literal may only specify known properties, and ''useColor'' does not exist in type 'PageMedia'.
                    
                    let Sonos: PageType =
                    {
                        'type': 'cardMedia',
                        'heading': 'Sonos Bad',
                        'useColor': true,
                        'items': [{   
                                    id: AliasPath + 'Media.PlayerSonos', 
                                    adapterPlayerInstance: 'sonos.0.',
                                    mediaDevice: '192_168_1_180',
                                    speakerList: ['Bad', 'Büro'],
                                    playList: [''],
                                    colorMediaIcon: colorSonos,
                                    colorMediaArtist: Yellow,
                                    colorMediaTitle: Yellow,
                                    autoCreateALias: true
                                 }]
                    
                    Armilar 1 Reply Last reply Reply Quote 0
                    • Armilar
                      Armilar Most Active Forum Testing @lustig29 last edited by Armilar

                      @lustig29

                      die Zeile:

                      'useColor': true,
                      

                      Werde es die Tage im Wiki aktualisieren

                      So ist es aktuell bei mir:

                      let Sonos: PageType =
                      {
                          'type': 'cardMedia',
                          'heading': 'Sonos Player',
                          'items': [{   
                                      id: AliasPath + 'Media.PlayerSonos', 
                                      adapterPlayerInstance: 'sonos.0.',
                                      mediaDevice: '192_168_1_212',
                                      speakerList: ['Terrasse'],
                                      playList: ['Hartmann','Armilars Playlist'],
                                      colorMediaIcon: colorSonos,
                                      colorMediaArtist: Yellow,
                                      colorMediaTitle: Yellow,
                                      //crossfade: true,
                                      alwaysOnDisplay: true,
                                      autoCreateALias: true
                                   }]
                      };
                      

                      EDIT: Habe die "useColor" Zeilen noch schnell im Wiki an allen 4 Stellen entfernt. Das Typing enthält useColor nicht mehr, da es für die cardMedia nicht erforderlich ist.

                      L 1 Reply Last reply Reply Quote 1
                      • L
                        lustig29 @Armilar last edited by

                        @armilar
                        Super, danke. Aber mir wird die Seite angezeigt auf dem Display. Wenn ich durchswipe fehlt sie.

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

                          @lustig29

                          ist sie auch im Page-Array eingetragen?

                          7253f837-36a5-44fb-b4f2-0fc731d7962c-image.png

                          Da müsste in "pages: ["

                          Sonos,
                          NSPanel_Service
                          

                          über NSPanel_Service stehen.

                          L 1 Reply Last reply Reply Quote 1
                          • L
                            lustig29 @Armilar last edited by

                            @armilar
                            0e568de5-ac69-4faa-b594-cefa45c8fba6-image.png

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

                              @lustig29

                              nach nochmaligem Start immer noch nicht da?

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

                                @armilar Nee, leider nicht.

                                39bb1b35-cccf-49ff-8364-755470f43eab-image.png

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

                                  @lustig29

                                  Ist setObjects in der Javascript-Instanz aktiv?

                                  https://github.com/joBr99/nspanel-lovelace-ui/wiki/ioBroker---Basisinstallation#8--einstellungen-in-js-adapter-instanz

                                  Sorry bin für 2-3 Stunden AFK

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

                                    @lustig29

                                    Kurze Frage damit ich es richtig verstehe. Beim Neustart wird sie direkt angezeigt und wenn du nach rechts gehst und wieder zurück ist sie weg??

                                    L 2 Replies Last reply Reply Quote 0
                                    • L
                                      lustig29 @TT-Tom last edited by

                                      @tt-tom Nein, sie taucht gar nicht auf. Sorry, bisschen blöd ausgedrückt

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

                                        @tt-tom
                                        Kurze zwischen Frage. Ich habe ja jetzt 3 Panels am laufen seit heute. Vorher war es nur NsPanel_1.

                                        Unter Mqtt sind sie ja alle drin. Aber wieso nicht unter userdata. Oder muss das nicht sein?

                                        4400f2f3-a9f0-43d1-8779-5be0ee2b7db6-image.png

                                        0d12362c-c071-434c-8bea-f7f17a336142-image.png

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

                                          @lustig29

                                          du musst in dem Script für die einzelnen Panels folgende Zeile anpassen.

                                          /***** 2. Directories in 0_userdata.0... *****/
                                          
                                              // DE: Anpassen an das jeweilige NSPanel
                                              // EN: Adapt to the respective NSPanel
                                              const NSPanel_Path = '0_userdata.0.NSPanel.1.';
                                          
                                          L 1 Reply Last reply Reply Quote 0
                                          • L
                                            lustig29 @TT-Tom last edited by lustig29

                                            @tt-tom AH, ok. Und dann werden die Dateien im userdata automatisch angelegt?

                                            Kann ich da meine Namen Bad + Schlafzimmer verwenden?

                                            T GregorS 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            826
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            lovelace ui nspanel sonoff
                                            265
                                            7266
                                            4994037
                                            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