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 goes Matter ... Matter Adapter in Stable

    • 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
      TT-Tom @AlfredTetzlaff last edited by

      @alfredtetzlaff

      Hier ein Beispiel für eine Page mit Werten. Ist auch im Script vorgestellt.

      let SensorGrid = <PageGrid>
      {
          'type': 'cardGrid',
          'heading': 'Sensor Werte',
          'useColor': true,
          'items': [
              <PageItem>{ id: 'alias.0.NSPanel_1.TestTemperatur', name: 'Außentemp. °C', offColor: MSRed, onColor: MSGreen, useValue: true, colorScale: {'val_min': -20, 'val_max': 40, 'val_best': 20} },
              <PageItem>{ id: 'alias.0.NSPanel_1.TestFeuchtigkeit', name: 'Luftfeuchte %', offColor: MSYellow, onColor: MSYellow , useValue: true, colorScale: {'val_min': 0, 'val_max': 100, 'val_best': 65} },
              <PageItem>{ id: 'alias.0.NSPanel_1.Taupunkt', name: 'Taupunkt °C', offColor: MSRed, onColor: MSGreen, useValue: true, colorScale: {'val_min': -20, 'val_max': 40, 'val_best': 20} },
              <PageItem>{ id: 'alias.0.NSPanel_1.UV_Index', name: 'UV Index', offColor: White , onColor: White, useValue: true, colorScale: {'val_min': 0, 'val_max': 12} },
              <PageItem>{ id: 'alias.0.NSPanel_1.Windstaerke', name: 'Windstärke bft', offColor: White , onColor: White, useValue: true, colorScale: {'val_min': 0, 'val_max': 9} },
              <PageItem>{ id: 'alias.0.NSPanel_1.Luftdruck', name: 'Luftdruck hPa', offColor: White , onColor: White, useValue: true, colorScale: {'val_min': 950, 'val_max': 1050, 'val_best': 1013} },
          ]
      };
      
      A 1 Reply Last reply Reply Quote 0
      • A
        AlfredTetzlaff @TT-Tom last edited by

        @tt-tom
        Danke, ich schmeiss das gleich rein....

        A 1 Reply Last reply Reply Quote 0
        • A
          AlfredTetzlaff @AlfredTetzlaff last edited by

          @alfredtetzlaff
          Habs reinkopiert aus dem Beispiel-Script und gleich noch eine zweite Seite generiert. Die zweite ist da, kann auch navigieren, aber auf beiden Seiten keine Werte. Es kann also nur der alias fehlerhaft sein.
          Ist vielleich das Minuszeichen im Alias-wort der fehler? Ich korrigiere das gleich...

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

            @alfredtetzlaff zeige mal bitte deine Alias.

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

              @tt-tom
              20230308_153328.jpg

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

                @alfredtetzlaff aus dem Objekte Tab und wenn möglich keine Fotos. Bitte Screenshots posten.

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

                  @tt-tom
                  ScreenShot ist schwierig zZ...

                  Ich lege die Aliasse neu an ohne Minuszeichen....Ich denke, daran liegt es...
                  Melde mich wieder ....Danke...

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    AlfredTetzlaff @AlfredTetzlaff last edited by

                    @alfredtetzlaff
                    5a613cee-50e6-45cb-a02a-3ac4767655af-grafik.png
                    Neue Aliase sind angelegt worden. Kompiler bringt auch keine Fehler.

                    //-- Anfang der Beispiele für Seitengestaltung -- Selbstdefinierte Aliase erforderlich ----------------
                    let SensorGrid = <PageGrid>
                    {
                        'type': 'cardGrid',
                        'heading': 'Sensor Werte',
                        'useColor': true,
                        'items': [
                            <PageItem>{ id: 'alias.0.GrowattSolar.EnergieGesamt.ACTUAL', name: 'Außentemp. °C', offColor: MSRed, onColor: MSGreen, useValue: true, colorScale: {'val_min': -20, 'val_max': 40, 'val_best': 20} },
                            <PageItem>{ id: 'alias.0.GrowattSolar.EnergieGesamt.ACTUAL', name: 'Luftfeuchte %', offColor: MSYellow, onColor: MSYellow , useValue: true, colorScale: {'val_min': 0, 'val_max': 100, 'val_best': 65} },
                            <PageItem>{ id: 'alias.0.GrowattSolar.EnergieGesamt.ACTUAL', name: 'Taupunkt °C', offColor: MSRed, onColor: MSGreen, useValue: true, colorScale: {'val_min': -20, 'val_max': 40, 'val_best': 20} },
                            <PageItem>{ id: 'alias.0.GrowattSolar.EnergieGesamt.ACTUALL', name: 'UV Index', offColor: White , onColor: White, useValue: true, colorScale: {'val_min': 0, 'val_max': 12} },
                            <PageItem>{ id: 'alias.0.GrowattSolar.EnergieGesamt.ACTUAL', name: 'Windstärke bft', offColor: White , onColor: White, useValue: true, colorScale: {'val_min': 0, 'val_max': 9} },
                            <PageItem>{ id: 'alias.0.GrowattSolar.EnergieGesamt.ACTUAL', name: 'Luftdruck hPa', offColor: White , onColor: White, useValue: true, colorScale: {'val_min': 950, 'val_max': 1050, 'val_best': 1013} },
                        ]
                    };
                    let PV = <PageGrid>
                    {
                        'type': 'cardGrid',
                        'heading': 'Growatt',
                        'useColor': true,
                        'items': [
                            
                            <PageItem>{ id: 'alias.0.GrowattSolar.EnergieGesamt.ACTUAL', icon: 'radio', name: 'Radio BOB', onColor: colorRadio},
                            <PageItem>{ id: 'alias.0.GrowattSolar.EnergieHeute.ACTUAL', icon: 'timer-outline', name: 'Timer', onColor: White}
                        ]
                    };
                    //-- ENDE der Beispiele für Seitengestaltung -- Selbstdefinierte Aliase erforderlich ------------------
                    

                    Die beiden Seite sind da, aber keine Werte und Icons. Komisch.

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

                      @alfredtetzlaff

                      LASS das ACTUAL weg.

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

                        UPDATE: hat geklappt

                        @tt-tom said in SONOFF NSPanel mit Lovelace UI:

                        Backlog UpdateDriverVersion https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/tasmota/autoexec.be; Restart 1

                        thx, wo gebe ch das an/ein? auch in der Tasmota Console?

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

                          @tt-tom
                          Prima, danke....Fortschritt ist zu verzeichnen.....
                          Growatt-Seite zeigt jetzt zumindest zwei Icons an: Radio BOB & Timer.
                          Sensor-Werte-Seite zeigt 2 x 3 große Zahlenwerten an, aus dem Adapter "3200"...
                          Die Schrift bei den Zahlenwerten st SEHR groß, aber immerhin ein Groooosser Erfolg..

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

                            @alfredtetzlaff

                            Da darf kein .ACTUAL in der id stehen

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

                              @tklein Okay, wo stehst du jetzt??

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

                                @armilar
                                Jo, hatte den falschen Zweig im Alias stehen,,ohne ACTUAL geht es jetzt erstmal.
                                In der Seite mit 2x3 anzeigen ist die Schriftgröße der angezeigten Werte einfach zu groß. Kann man die ändern.????

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

                                  @alfredtetzlaff
                                  Was möchtest du eigentlich darstellen. Du könntest auch eine CardEntiries erstellen, hast dann aber nur 4 Werte pro Seite.

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

                                    @tt-tom
                                    Ja, 4 Werte würden mir schon ausreichen.
                                    Brauche aus der PV nur 4 Werte:
                                    Gesamt in kWh
                                    Heute in kWh
                                    Strom in A
                                    akt. Leistung in W

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

                                      @alfredtetzlaff
                                      dann ändere den oberen teil der Page Definition in

                                      let PV = <PageEntities>
                                      {
                                          'type': 'cardEntities',
                                      
                                      1 Reply Last reply Reply Quote 1
                                      • A
                                        AlfredTetzlaff @AlfredTetzlaff last edited by

                                        @alfredtetzlaff

                                        Wo werden denn eigentlich die Likes im Forum vergeben???

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

                                          @alfredtetzlaff Bildschirmfoto 2023-03-08 um 16.46.37.png

                                          Du kannst den Post like

                                          A 1 Reply Last reply Reply Quote 2
                                          • T
                                            tklein @TT-Tom last edited by

                                            @tt-tom habe geupdated und die entsprechenden objekte gelöscht. wurde auch wieder neu angelegt 🙂

                                            3ee05e80-efc5-4ae0-acdd-7a997173ae88-grafik.png

                                            Aber irgendie scheinen noch alte Daten im Display angezeigt zu werden. Auch nach dem Neustart. Sprich Räume/Views von der alten Version, die ich deaktivert habe

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            756
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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