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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    SONOFF NSPanel mit Lovelace UI

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lustig29 last edited by

      Hat schon jemand einen Merros Garagentoröffner eingebunden?

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

        @lustig29 said in SONOFF NSPanel mit Lovelace UI:

        Hat schon jemand einen Merros Garagentoröffner eingebunden?

        Ja Ich.

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

          @icebear Würdest du mir zeigen wie du es auf dem NsPanel steuerst, bzw. die Card mit mir teilen?😊

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

            @lustig29 said in SONOFF NSPanel mit Lovelace UI:

            Würdest du mir zeigen wie du es auf dem NsPanel steuerst, bzw. die Card mit mir teilen?

            Ich hab die Garage auf zwei Card's, einmal auf einer Übersicht und einmal alleine, außerdem wird es noch als ScreensaverEntity angezeigt.

            Hier die Alias die ich dafür habe:

            garage.png

            Und hier die Card's:

            let Grundstueck: PageType = {
                'type': 'cardGrid',
                'heading': 'Grundstück',
                'useColor': true,
                'subPage': false,
                'next': 'Alarm', 
                'items': [
                    { navigate: true, id: null, targetPage: 'Nuki', name: 'Haus', icon: 'home-roof', offColor: Blue, onColor: Blue},
            		{ id: 'alias.0.Home.Garage.Garagentor', targetPage: 'Garage', name: 'Garage', icon: 'garage-variant', icon2: 'garage-open-variant', offColor: Red, onColor: White},
                    { id: 'alias.0.Home.NewMail', icon: 'mailbox-open-up-outline', icon2: 'mailbox-outline', offColor: White, onColor: Red, name: 'Mail'},
            		{ navigate: true, id: null, targetPage: 'Erdgeschoss', name: 'Erdgeschoss', icon: 'home-floor-0', offColor: White, onColor: Blue},
            		{ navigate: true, id: null, targetPage: 'Obergeschoss', name: 'Obergeschoss', icon: 'home-floor-1', offColor: White, onColor: Blue}
                ]
            };
            
            let Garage: PageType =
            {
                'type': 'cardEntities',
                'heading': 'Garage',
                'useColor': true,
                'subPage': true,
            	'prev': 'Nuki',
            	'next': 'Abfall',
                'items': [
                    { id: 'alias.0.Home.Garage.Garagentor', icon: 'garage', icon2: 'garage-open', offColor: MSRed, onColor: MSGreen, name: 'Garagentor'},
                ]
            };
            
            L 1 Reply Last reply Reply Quote 0
            • L
              lustig29 @icebear last edited by lustig29

              @icebear

              Danke. Hab es jetzt ein bisschen abgeändert. Aber es funktioniert leider nicht.

              let Garage: PageType =
              {
                  'type': 'cardEntities',
                  'heading': 'Garage',
                  'subPage': false,
                  'items': [
                      { id: 'alias.0.NSPanel.1.Garagentor', icon: 'garage', icon2: 'garage-open', offColor: MSRed, onColor: MSGreen, name: 'Garagentor'},
                  ]
              
              javascript.0 (94354) script.js.NSPanelTs: TypeScript compilation failed: let Garage: PageType = { ^ ERROR: Type '{ type: "cardEntities"; heading: string; subPage: false; items: [{ id: string; icon: string; icon2: string; offColor: NSPanel.RGB; onColor: NSPanel.RGB; name: string; }]; }' is not assignable to type 'PageType'. Type '{ type: "cardEntities"; heading: string; subPage: false; items: [{ id: string; icon: string; icon2: string; offColor: NSPanel.RGB; onColor: NSPanel.RGB; name: string; }]; }' is not assignable to type 'PageEntities'. Property 'useColor' is missing in type '{ type: "cardEntities"; heading: string; subPage: false; items: [{ id: string; icon: string; icon2: string; offColor: NSPanel.RGB; onColor: NSPanel.RGB; name: string; }]; }' but required in type 'PageBaseType'.
              
              icebear 1 Reply Last reply Reply Quote 0
              • icebear
                icebear @lustig29 last edited by

                @lustig29

                Hast du denn, wenn du das subPage auf 'False setzt' die Card auch bei dir bei Pages eingetragen?

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

                  @icebear Ja, hab ich. Oder soll ich mal die Subpages mal wieder aktivieren?

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

                    @lustig29

                    trag mal das 'useColor': true, wieder ein

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

                      @icebear
                      Jetzt sieht es besser aus. Leider wird mir nur Garage "geschlossen" angezeigt.
                      Hab die andere Card jetzt auch mal eingefügt. Sieht optisch sehr gut aus. Was muss ich einstellen, damit ich mein Garagentor in groß angezeigt bekomme? Will nicht wieder zu viel löschen.😁

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

                        @lustig29 nimm mal die cardGrid. Größer gehen die Icon nicht.

                        Wenn das Icon nur zu anzeigt, wird es an dem Alias liegen. Wie sieht den der Channel und die darunter liegende Datenpunkte aus.

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

                          @tt-tom IMG_4317.png IMG_4316.png

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

                            @lustig29

                            setze mal bei ACTUAL den gleichen DP ein, wie bei SET. Welchen DP hast du genommen bei SET, ist auf dem Foto nicht zu erkennen.

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

                              @tt-tom 0-garageDoor. Hab den selben jetzt bei Actual auch eingetragen. Geht aber leider nicht.

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

                                @lustig29
                                zeige mal bitte diese Daten vom Chanel und vom Datenpunkt ACTUAL

                                19ad13a6-75f1-475e-b75f-e09f4e4832fb-image.png

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

                                  @lustig29 said in SONOFF NSPanel mit Lovelace UI:

                                  0-garageDoor. Hab den selben jetzt bei Actual auch eingetragen. Geht aber leider nicht.

                                  Ich misch mich nochmal ein. Welchen Meross Garagentoröffner hast du ?

                                  Bei den Alias von mir ist es ein MSG100 und damit funktioniert es bei mir einwandfrei.

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

                                    @icebear
                                    Den hier habe ich.

                                    https://amzn.eu/d/4I9o3pO

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

                                      @lustig29

                                      mal so gefragt, ändert sich der Status von false auf true, wenn das Tor offen ist. Beobachte mal die Datenpunkte, wie sie sich verhalten beim Bewegen des Tors.

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

                                        @tt-tom
                                        Ja, 0Garagedoor Datenpunkt geht auf True wenn geöffnet und false wenn geschlossen.
                                        Der Fehler muss irgendwie im Alias liegen.
                                        Aber ich weiß nicht, was ich flasch gemacht habe.
                                        Habe unter Geräte einen Alias „Tor“ angelegt und mit den 2 Datenpunkten gefüttert. Keine Ahnung warum es nicht geht.🤷🏼‍♂️

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

                                          @lustig29

                                          Nochmal von vorne.

                                          Ich benötige die Daten aus dem Bild was ich dir gezeigt habe. Einmal vom Datenpunkt ACTUAL und einmal vom Channel darüber.
                                          Und die Config der Seite aus dem Script. Sonst drehen wir uns im Kreis.

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

                                            @lustig29 said in SONOFF NSPanel mit Lovelace UI:

                                            Der Fehler muss irgendwie im Alias liegen.

                                            Mach mal bitte den Alias vom Gerät auf, so wie hier:

                                            meross.png

                                            und dann bei ACTUAL hinten auf das 'fx' und da trägst du folgendes ein:

                                            val === true ? false : true

                                            Marc Berg T L 3 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            lovelace ui nspanel sonoff
                                            261
                                            7161
                                            4832985
                                            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