Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Betatest NSPanel-lovelace-ui v0.7.x

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.6k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.9k

Betatest NSPanel-lovelace-ui v0.7.x

Geplant Angeheftet Gesperrt Verschoben Tester
715 Beiträge 26 Kommentatoren 127.3k Aufrufe 29 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • arteckA arteck

    @ticaki hast du es auf GIT.. dann teste ich imt.. mach ein extra branch dafür

    T Nicht stören
    T Nicht stören
    ticaki
    schrieb am zuletzt editiert von
    #653

    @arteck
    Ja, ist in der Branch subscript

    Weather-Warnings Espresense NSPanel-Lovelace-ui Tagesschau

    Spenden

    teletapiT arteckA 2 Antworten Letzte Antwort
    0
    • T ticaki

      @arteck
      Ja, ist in der Branch subscript

      teletapiT Online
      teletapiT Online
      teletapi
      schrieb am zuletzt editiert von
      #654

      @ticaki Ich hab seid ein paar Tagen die Fehler bzw Warnung in der script Konsole wenn ich das script neu starte. Kann da wer was mit anfangen. Es gibt auch sonst noch ein paar Kleinere Problemchen mit der CardQR.
      [
      'Panel for Topic: SmartHome/NSPanel_Schlafzimmer name: NS_Panel_Schlafzimmer Script version 0.13.5 is correct!',
      'unknown with card type cardQR not implemented yet!..',
      'unknown with card type cardQR not implemented yet!..',
      'done',
      '✅ Panel "NS_Panel_Schlafzimmer" reloaded with updated configuration.'
      ]

      Gruß

      T 1 Antwort Letzte Antwort
      0
      • teletapiT teletapi

        @ticaki Ich hab seid ein paar Tagen die Fehler bzw Warnung in der script Konsole wenn ich das script neu starte. Kann da wer was mit anfangen. Es gibt auch sonst noch ein paar Kleinere Problemchen mit der CardQR.
        [
        'Panel for Topic: SmartHome/NSPanel_Schlafzimmer name: NS_Panel_Schlafzimmer Script version 0.13.5 is correct!',
        'unknown with card type cardQR not implemented yet!..',
        'unknown with card type cardQR not implemented yet!..',
        'done',
        '✅ Panel "NS_Panel_Schlafzimmer" reloaded with updated configuration.'
        ]

        Gruß

        T Offline
        T Offline
        TT-Tom
        schrieb am zuletzt editiert von TT-Tom
        #655

        @teletapi

        Hast du die aktuelle Version von Github?
        Hast du im Script noch die cardQR definiert??
        Wenn ja, dann aus dem Script entfernen. Sie wird jetzt über den Admin neu konfiguriert. Unter pageConfig im Admin musst du dann noch die Navigation einstellen.

        Wenn du Fragen zur Navigation hast muss @ticaki einspringen.

        Gruß Tom
        https://github.com/tt-tom17
        Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

        NSPanel Script Wiki
        https://github.com/joBr99/nspanel-lovelace-ui/wiki

        NSPanel Adapter Wiki
        https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

        T 1 Antwort Letzte Antwort
        0
        • T TT-Tom

          @teletapi

          Hast du die aktuelle Version von Github?
          Hast du im Script noch die cardQR definiert??
          Wenn ja, dann aus dem Script entfernen. Sie wird jetzt über den Admin neu konfiguriert. Unter pageConfig im Admin musst du dann noch die Navigation einstellen.

          Wenn du Fragen zur Navigation hast muss @ticaki einspringen.

          T Nicht stören
          T Nicht stören
          ticaki
          schrieb am zuletzt editiert von ticaki
          #656

          @tt-tom
          bitte net mehr auf github verweisen - die sollte zwar gehen, aber ich mache ab und an releases wenn wir alle der meinung sind dass es gehen sollte :D

          Die QR wurde doch geändert und da muß man jetzt die Navigation im Admin angeben.

          Weather-Warnings Espresense NSPanel-Lovelace-ui Tagesschau

          Spenden

          T 1 Antwort Letzte Antwort
          0
          • T ticaki

            @tt-tom
            bitte net mehr auf github verweisen - die sollte zwar gehen, aber ich mache ab und an releases wenn wir alle der meinung sind dass es gehen sollte :D

            Die QR wurde doch geändert und da muß man jetzt die Navigation im Admin angeben.

            T Offline
            T Offline
            TT-Tom
            schrieb am zuletzt editiert von
            #657

            @ticaki
            ja hast recht, :confounded:

            aber meine Vermutung wird richtig sein :blush:

            Gruß Tom
            https://github.com/tt-tom17
            Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

            NSPanel Script Wiki
            https://github.com/joBr99/nspanel-lovelace-ui/wiki

            NSPanel Adapter Wiki
            https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

            teletapiT 1 Antwort Letzte Antwort
            0
            • T TT-Tom

              @ticaki
              ja hast recht, :confounded:

              aber meine Vermutung wird richtig sein :blush:

              teletapiT Online
              teletapiT Online
              teletapi
              schrieb am zuletzt editiert von
              #658

              @tt-tom Danke, hab jetzt zwar keinen fehler mehr aber das Verhalten ist mir noch nicht klar. Sieht jetzt mal so aus:

                   const main: ScriptConfig.PageGrid = {
                      type: 'cardGrid',
                      uniqueName: 'main',
                      heading: 'Übersicht',
                      useColor: true,
                      items: [
                          { navigate: true, id: null, targetPage: 'Gaeste_Wlan', onColor: Green, name: 'wlandaten'},
                          { navigate: true, id: null, targetPage: 'Abfall', icon: 'trash-can', name: 'Abfall' },
                          { navigate: true, id: null, targetPage: 'Telefon', onColor: Green, name: 'Telefon' },
                  ],
              };
              
                         { id: 'alias.0.Halle.Hallentor', 
                            minValueLevel: 0, 
                            maxValueLevel: 100, 
                            icon: "window-shutter",  
                            onColor: Green,
                            offColor: Red, 
                            name: 'Halle',
                            },
                      ],
                      type: 'cardGrid',
                      useColor: true
              
                  };
              
              /*     const Telefon: ScriptConfig.PageQR = {
                      prev: 'main',
                      home: 'main',
                      type: 'cardQR',
                      uniqueName: 'Telefon'
                  };
              
                   const wlandaten: ScriptConfig.PageQR = {
                      prev: 'main',
                      home: 'main',
                      uniqueName: 'Gaeste_Wlan', // muss mit dem Namen im Admin übereinstimmen
                      type: 'cardQR'
                   };*/
              
                   const PVAnlage: ScriptConfig.PagePower = {
                      uniqueName: 'PVAnlage', // muss mit dem Namen im Admin übereinstimmen
                      type: 'cardPower'
                  };
              
                   const config: ScriptConfig.Config = {
                      panelTopic: 'SmartHome/NSPanel_Schlafzimmer',
                      weatherEntity: 'openweathermap.0.',
                      defaultOffColor: Off,
                      defaultOnColor: On,
                      defaultBackgroundColor: HMIDark,
                      weatherAddDefaultItems: false,
              
                  // Als Gedankenstütze, die Hauptseite muß main heißen!
                      //panelName: 'NSPanel', //unique name for the panel
              
                      // Seiteneinteilung / Page division
                      // Hauptseiten / Mainpages
                      pages: [
                          //Programmseite,
                          main,
                          Alle_Heizkoerper,
                          Licht1,
                          Alle_Steckdosen,
                          Rolladen,
                          PVAnlage,
                          //rgrid1,
                          //qrCode,
                          //chartHeizung,
                      ],
                      // Unterseiten / Subpages
                      subPages: [
                          //fahrplan,
                          //wlandaten,
                          //Telefon,
                          Abfall,
                          Waschkueche,
                          Steckdosen,
                          FlurHue,
                          Kueche,
                          Schlafzimmer,
                          Bad,
                          Treppenlicht,
                          Heizthermostat_Buero,
                          Heizthermostat_Bad,
                          Heizthermostat_Wohnen,
                          Heizthermostat_Schlafzimmer,
                          Heizthermostat_Kueche,
                          Heizthermostat_Gaeste_WC,
                          
                      ],
              
              

              Hauptpage und subpage ebenfalls deaktiviert jetzt ist es in der Hauptseite durch die Navigation nochverhanmden und aufrufbar aber wenn ich von der Hauptseite zur nächsten seite gehe kommt erstmal telefon dann Gäste Wlan als jeweilige hauptseite...? und dann meine restllichen definierten seiten

              T 1 Antwort Letzte Antwort
              0
              • teletapiT teletapi

                @tt-tom Danke, hab jetzt zwar keinen fehler mehr aber das Verhalten ist mir noch nicht klar. Sieht jetzt mal so aus:

                     const main: ScriptConfig.PageGrid = {
                        type: 'cardGrid',
                        uniqueName: 'main',
                        heading: 'Übersicht',
                        useColor: true,
                        items: [
                            { navigate: true, id: null, targetPage: 'Gaeste_Wlan', onColor: Green, name: 'wlandaten'},
                            { navigate: true, id: null, targetPage: 'Abfall', icon: 'trash-can', name: 'Abfall' },
                            { navigate: true, id: null, targetPage: 'Telefon', onColor: Green, name: 'Telefon' },
                    ],
                };
                
                           { id: 'alias.0.Halle.Hallentor', 
                              minValueLevel: 0, 
                              maxValueLevel: 100, 
                              icon: "window-shutter",  
                              onColor: Green,
                              offColor: Red, 
                              name: 'Halle',
                              },
                        ],
                        type: 'cardGrid',
                        useColor: true
                
                    };
                
                /*     const Telefon: ScriptConfig.PageQR = {
                        prev: 'main',
                        home: 'main',
                        type: 'cardQR',
                        uniqueName: 'Telefon'
                    };
                
                     const wlandaten: ScriptConfig.PageQR = {
                        prev: 'main',
                        home: 'main',
                        uniqueName: 'Gaeste_Wlan', // muss mit dem Namen im Admin übereinstimmen
                        type: 'cardQR'
                     };*/
                
                     const PVAnlage: ScriptConfig.PagePower = {
                        uniqueName: 'PVAnlage', // muss mit dem Namen im Admin übereinstimmen
                        type: 'cardPower'
                    };
                
                     const config: ScriptConfig.Config = {
                        panelTopic: 'SmartHome/NSPanel_Schlafzimmer',
                        weatherEntity: 'openweathermap.0.',
                        defaultOffColor: Off,
                        defaultOnColor: On,
                        defaultBackgroundColor: HMIDark,
                        weatherAddDefaultItems: false,
                
                    // Als Gedankenstütze, die Hauptseite muß main heißen!
                        //panelName: 'NSPanel', //unique name for the panel
                
                        // Seiteneinteilung / Page division
                        // Hauptseiten / Mainpages
                        pages: [
                            //Programmseite,
                            main,
                            Alle_Heizkoerper,
                            Licht1,
                            Alle_Steckdosen,
                            Rolladen,
                            PVAnlage,
                            //rgrid1,
                            //qrCode,
                            //chartHeizung,
                        ],
                        // Unterseiten / Subpages
                        subPages: [
                            //fahrplan,
                            //wlandaten,
                            //Telefon,
                            Abfall,
                            Waschkueche,
                            Steckdosen,
                            FlurHue,
                            Kueche,
                            Schlafzimmer,
                            Bad,
                            Treppenlicht,
                            Heizthermostat_Buero,
                            Heizthermostat_Bad,
                            Heizthermostat_Wohnen,
                            Heizthermostat_Schlafzimmer,
                            Heizthermostat_Kueche,
                            Heizthermostat_Gaeste_WC,
                            
                        ],
                
                

                Hauptpage und subpage ebenfalls deaktiviert jetzt ist es in der Hauptseite durch die Navigation nochverhanmden und aufrufbar aber wenn ich von der Hauptseite zur nächsten seite gehe kommt erstmal telefon dann Gäste Wlan als jeweilige hauptseite...? und dann meine restllichen definierten seiten

                T Nicht stören
                T Nicht stören
                ticaki
                schrieb am zuletzt editiert von
                #659

                @teletapi

                Das Verhalten bleibt so wie es jetzt ist, bis alles im Admin ist erst dann kann die Navigationvollständig in den Admin wandern und etwas weniger spezial sein :)

                next ignorieren wir mal - das braucht man i.d.R. nicht.

                Du hast in pages die Seite

                a - b - c

                Neue Seite ist d, dort stellst du bei prev b ein. Dann ist deine Navigation:

                a - b - d- c

                Wenn du bei prev jetzt nix einstellst, aber bei parent oder home ist es wie ein subpage.

                Weather-Warnings Espresense NSPanel-Lovelace-ui Tagesschau

                Spenden

                1 Antwort Letzte Antwort
                2
                • S Offline
                  S Offline
                  Snigga
                  schrieb am zuletzt editiert von
                  #660

                  Kann es sein, das keine Datenpunkte für popupNotify gibt? oder übersehe ich da was

                  T 1 Antwort Letzte Antwort
                  0
                  • S Snigga

                    Kann es sein, das keine Datenpunkte für popupNotify gibt? oder übersehe ich da was

                    T Nicht stören
                    T Nicht stören
                    ticaki
                    schrieb am zuletzt editiert von
                    #661

                    @snigga
                    Die ist zur Zeit noch nicht eingebaut. Wird aber langsam mal Zeit das ich mich darum kümmere. :)

                    Weather-Warnings Espresense NSPanel-Lovelace-ui Tagesschau

                    Spenden

                    S 1 Antwort Letzte Antwort
                    0
                    • T ticaki

                      @snigga
                      Die ist zur Zeit noch nicht eingebaut. Wird aber langsam mal Zeit das ich mich darum kümmere. :)

                      S Offline
                      S Offline
                      Snigga
                      schrieb am zuletzt editiert von
                      #662

                      @ticaki Danke.

                      Würde es aber aktuell nicht per Script irgendwie funktionieren oder habe ich mir was falsches rausgesucht.

                      const Nachricht1: any = {
                          card: 'popupNotify',
                          dpInit: '',
                          alwaysOn: 'none',
                          uniqueID: 'Nachricht1',
                          config: {
                              card: 'popupNotify',
                              data: {
                                  entity1: { value: { type: 'triggered', dp: '0_userdata.0.example_state' } },
                                  headline: { type: 'const', constVal: 'welcomeHToken' },
                                  colorHeadline: { true: { color: { type: 'const', constVal: Green } } },
                                  buttonLeft: { type: 'const', constVal: '' },
                                  colorButtonLeft: { true: { color: { type: 'const', constVal: White } } },
                                  buttonRight: { type: 'const', constVal: '' },
                                  colorButtonRight: { true: { color: { type: 'const', constVal: White } } },
                                  text: { type: 'const', constVal: 'welcomeTToken' }, // text: { type: 'const', constVal: 'Text Test ${pl}' },
                                  colorText: { true: { color: { type: 'const', constVal: White } } },
                                  timeout: { type: 'const', constVal: 3 },
                                  // {placeholder: {text: '' oder dp: ''}} im Text muss dann ${dieserKeyStehtImText} stehen
                                  // optionalValue: { type: 'const', constVal: { dieserKeyStehtImText: { text: 'das ist ein placeholder' } } },
                                  //setValue1: { type: 'const', constVal: true }, // alleine ist es ein switch
                                  //setValue2: { type: 'const', constVal: true }, // mit setValue2 wird 1, bei yes und 2 bei no auf true gesetzt
                                  closingBehaviour: { type: 'const', constVal: 'both' }, // 'both' | 'yes' | 'no' | 'none'
                              },
                          },
                          pageItems: [],
                          items: undefined,
                      };
                      
                      T 3 Antworten Letzte Antwort
                      0
                      • S Snigga

                        @ticaki Danke.

                        Würde es aber aktuell nicht per Script irgendwie funktionieren oder habe ich mir was falsches rausgesucht.

                        const Nachricht1: any = {
                            card: 'popupNotify',
                            dpInit: '',
                            alwaysOn: 'none',
                            uniqueID: 'Nachricht1',
                            config: {
                                card: 'popupNotify',
                                data: {
                                    entity1: { value: { type: 'triggered', dp: '0_userdata.0.example_state' } },
                                    headline: { type: 'const', constVal: 'welcomeHToken' },
                                    colorHeadline: { true: { color: { type: 'const', constVal: Green } } },
                                    buttonLeft: { type: 'const', constVal: '' },
                                    colorButtonLeft: { true: { color: { type: 'const', constVal: White } } },
                                    buttonRight: { type: 'const', constVal: '' },
                                    colorButtonRight: { true: { color: { type: 'const', constVal: White } } },
                                    text: { type: 'const', constVal: 'welcomeTToken' }, // text: { type: 'const', constVal: 'Text Test ${pl}' },
                                    colorText: { true: { color: { type: 'const', constVal: White } } },
                                    timeout: { type: 'const', constVal: 3 },
                                    // {placeholder: {text: '' oder dp: ''}} im Text muss dann ${dieserKeyStehtImText} stehen
                                    // optionalValue: { type: 'const', constVal: { dieserKeyStehtImText: { text: 'das ist ein placeholder' } } },
                                    //setValue1: { type: 'const', constVal: true }, // alleine ist es ein switch
                                    //setValue2: { type: 'const', constVal: true }, // mit setValue2 wird 1, bei yes und 2 bei no auf true gesetzt
                                    closingBehaviour: { type: 'const', constVal: 'both' }, // 'both' | 'yes' | 'no' | 'none'
                                },
                            },
                            pageItems: [],
                            items: undefined,
                        };
                        
                        T Nicht stören
                        T Nicht stören
                        ticaki
                        schrieb am zuletzt editiert von ticaki
                        #663

                        @snigga
                        Es würde wohl als native gehen.

                        Das Problem ist, ich hab den Code dafür vor 1 Jahr und 8 Monaten geschrieben, dann die Service Popups gemacht und dann für längere Zeit krank gewesen - ich hab keinen Plan wie das funktioniert. Gib mir mal bis Sonntag und ich schau mal was ich da hinbekomme.

                        Wenns klick macht ist das in wenigen Stunden funktionial - bisher hats aber noch nicht klick gemacht gehabt... Naja und hat ja keiner nachgefragt. :)

                        Weather-Warnings Espresense NSPanel-Lovelace-ui Tagesschau

                        Spenden

                        1 Antwort Letzte Antwort
                        0
                        • S Snigga

                          @ticaki Danke.

                          Würde es aber aktuell nicht per Script irgendwie funktionieren oder habe ich mir was falsches rausgesucht.

                          const Nachricht1: any = {
                              card: 'popupNotify',
                              dpInit: '',
                              alwaysOn: 'none',
                              uniqueID: 'Nachricht1',
                              config: {
                                  card: 'popupNotify',
                                  data: {
                                      entity1: { value: { type: 'triggered', dp: '0_userdata.0.example_state' } },
                                      headline: { type: 'const', constVal: 'welcomeHToken' },
                                      colorHeadline: { true: { color: { type: 'const', constVal: Green } } },
                                      buttonLeft: { type: 'const', constVal: '' },
                                      colorButtonLeft: { true: { color: { type: 'const', constVal: White } } },
                                      buttonRight: { type: 'const', constVal: '' },
                                      colorButtonRight: { true: { color: { type: 'const', constVal: White } } },
                                      text: { type: 'const', constVal: 'welcomeTToken' }, // text: { type: 'const', constVal: 'Text Test ${pl}' },
                                      colorText: { true: { color: { type: 'const', constVal: White } } },
                                      timeout: { type: 'const', constVal: 3 },
                                      // {placeholder: {text: '' oder dp: ''}} im Text muss dann ${dieserKeyStehtImText} stehen
                                      // optionalValue: { type: 'const', constVal: { dieserKeyStehtImText: { text: 'das ist ein placeholder' } } },
                                      //setValue1: { type: 'const', constVal: true }, // alleine ist es ein switch
                                      //setValue2: { type: 'const', constVal: true }, // mit setValue2 wird 1, bei yes und 2 bei no auf true gesetzt
                                      closingBehaviour: { type: 'const', constVal: 'both' }, // 'both' | 'yes' | 'no' | 'none'
                                  },
                              },
                              pageItems: [],
                              items: undefined,
                          };
                          
                          T Nicht stören
                          T Nicht stören
                          ticaki
                          schrieb am zuletzt editiert von
                          #664

                          @snigga
                          Mache da nix, ich werde das komplett umbauen

                          Weather-Warnings Espresense NSPanel-Lovelace-ui Tagesschau

                          Spenden

                          1 Antwort Letzte Antwort
                          0
                          • T ticaki

                            @arteck
                            Ja, ist in der Branch subscript

                            arteckA Offline
                            arteckA Offline
                            arteck
                            Developer Most Active
                            schrieb am zuletzt editiert von
                            #665

                            @ticaki der branch ist gut... ziemliche Ruhe jetzt hier
                            7b3274d6-eb43-447f-9b85-9ed1fff8e84a-grafik.png

                            zigbee hab ich, zwave auch, nuc's genauso und HA auch

                            T 1 Antwort Letzte Antwort
                            0
                            • arteckA arteck

                              @ticaki der branch ist gut... ziemliche Ruhe jetzt hier
                              7b3274d6-eb43-447f-9b85-9ed1fff8e84a-grafik.png

                              T Nicht stören
                              T Nicht stören
                              ticaki
                              schrieb am zuletzt editiert von
                              #666

                              @arteck
                              Ist in main gemergt - mal beobachten ob irgendwas nicht triggert, was triggern sollte.

                              Weather-Warnings Espresense NSPanel-Lovelace-ui Tagesschau

                              Spenden

                              1 Antwort Letzte Antwort
                              1
                              • S Snigga

                                @ticaki Danke.

                                Würde es aber aktuell nicht per Script irgendwie funktionieren oder habe ich mir was falsches rausgesucht.

                                const Nachricht1: any = {
                                    card: 'popupNotify',
                                    dpInit: '',
                                    alwaysOn: 'none',
                                    uniqueID: 'Nachricht1',
                                    config: {
                                        card: 'popupNotify',
                                        data: {
                                            entity1: { value: { type: 'triggered', dp: '0_userdata.0.example_state' } },
                                            headline: { type: 'const', constVal: 'welcomeHToken' },
                                            colorHeadline: { true: { color: { type: 'const', constVal: Green } } },
                                            buttonLeft: { type: 'const', constVal: '' },
                                            colorButtonLeft: { true: { color: { type: 'const', constVal: White } } },
                                            buttonRight: { type: 'const', constVal: '' },
                                            colorButtonRight: { true: { color: { type: 'const', constVal: White } } },
                                            text: { type: 'const', constVal: 'welcomeTToken' }, // text: { type: 'const', constVal: 'Text Test ${pl}' },
                                            colorText: { true: { color: { type: 'const', constVal: White } } },
                                            timeout: { type: 'const', constVal: 3 },
                                            // {placeholder: {text: '' oder dp: ''}} im Text muss dann ${dieserKeyStehtImText} stehen
                                            // optionalValue: { type: 'const', constVal: { dieserKeyStehtImText: { text: 'das ist ein placeholder' } } },
                                            //setValue1: { type: 'const', constVal: true }, // alleine ist es ein switch
                                            //setValue2: { type: 'const', constVal: true }, // mit setValue2 wird 1, bei yes und 2 bei no auf true gesetzt
                                            closingBehaviour: { type: 'const', constVal: 'both' }, // 'both' | 'yes' | 'no' | 'none'
                                        },
                                    },
                                    pageItems: [],
                                    items: undefined,
                                };
                                
                                T Nicht stören
                                T Nicht stören
                                ticaki
                                schrieb am zuletzt editiert von ticaki
                                #667

                                @snigga

                                Kannst mal testen https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/tree/pagePopup

                                Ist ähnlich wie die Screensaver-Notifications aber kaum getestet.

                                Bildschirmfoto 2025-11-07 um 11.05.45.png

                                activate schaltet das scharf
                                id wird zum wiedererkennen benutz und sollte eindeutig sein. Eine leere ID löscht alle Popups
                                priority bestimmt was vorne ist - <=0 löscht das Popup mit der gleichen id
                                global ob es überall angezeigt werden soll.
                                type information wird beim drücken auf X gelöscht. acknowledge muß einen button haben und drücken auf X startet einen reminder von 120 Sekunden
                                textSize - kein Plan das muß ich mir nochmal erklären lassen :)

                                vorübergehend

                                buttonLeft hat nächstes als Standardfunktion (unendlicher Kreisverkehr)
                                buttonRight hat löschen als Standardfunktion

                                wenn @Armilar und @TT-Tom das getestet haben und ich dann alles behoben habe was die finden mache ich ein release.

                                Der timeout aus dem Skript beißt sich aktuell noch mit der Verwaltung - mal sehen wann das kommt.

                                EDIT:
                                hab jetzt auch globale Buttonsstates hinzugefügt
                                yes - ist der rechte button
                                no - ist der linke
                                id - ist panel + popup id

                                Beim drücken von einem button wird der entsprechende State .id und .yes oder .no mit der popupid aktualisiert - abfragen darauf mit any und '' verwerfen - beim starten des adapters wird das mit leer überschrieben.

                                Weather-Warnings Espresense NSPanel-Lovelace-ui Tagesschau

                                Spenden

                                S 1 Antwort Letzte Antwort
                                0
                                • T ticaki

                                  @snigga

                                  Kannst mal testen https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/tree/pagePopup

                                  Ist ähnlich wie die Screensaver-Notifications aber kaum getestet.

                                  Bildschirmfoto 2025-11-07 um 11.05.45.png

                                  activate schaltet das scharf
                                  id wird zum wiedererkennen benutz und sollte eindeutig sein. Eine leere ID löscht alle Popups
                                  priority bestimmt was vorne ist - <=0 löscht das Popup mit der gleichen id
                                  global ob es überall angezeigt werden soll.
                                  type information wird beim drücken auf X gelöscht. acknowledge muß einen button haben und drücken auf X startet einen reminder von 120 Sekunden
                                  textSize - kein Plan das muß ich mir nochmal erklären lassen :)

                                  vorübergehend

                                  buttonLeft hat nächstes als Standardfunktion (unendlicher Kreisverkehr)
                                  buttonRight hat löschen als Standardfunktion

                                  wenn @Armilar und @TT-Tom das getestet haben und ich dann alles behoben habe was die finden mache ich ein release.

                                  Der timeout aus dem Skript beißt sich aktuell noch mit der Verwaltung - mal sehen wann das kommt.

                                  EDIT:
                                  hab jetzt auch globale Buttonsstates hinzugefügt
                                  yes - ist der rechte button
                                  no - ist der linke
                                  id - ist panel + popup id

                                  Beim drücken von einem button wird der entsprechende State .id und .yes oder .no mit der popupid aktualisiert - abfragen darauf mit any und '' verwerfen - beim starten des adapters wird das mit leer überschrieben.

                                  S Offline
                                  S Offline
                                  Snigga
                                  schrieb am zuletzt editiert von Snigga
                                  #668

                                  @ticaki bist der Wahnsinn. Leider bekomme ich es nicht zum laufen. Was muss ich im Script hinterlegen?

                                  const Nachricht: ScriptConfig.PagePopup = {
                                      card: 'popupNotify',
                                      dpInit: '',
                                      alwaysOn: 'none',
                                      uniqueID: 'Nachritcht',
                                      config: {
                                          card: 'popupNotify',
                                          data: {
                                              entity1: { value: { type: 'triggered', dp: '0_userdata.0.example_state' } },
                                              headline: { type: 'const', constVal: 'welcomeHToken' },
                                              colorHeadline: { true: { color: { type: 'const', constVal: Green } } },
                                              buttonLeft: { type: 'const', constVal: '' },
                                              colorButtonLeft: { true: { color: { type: 'const', constVal: White } } },
                                              buttonRight: { type: 'const', constVal: '' },
                                              colorButtonRight: { true: { color: { type: 'const', constVal: White } } },
                                              text: { type: 'const', constVal: 'welcomeTToken' }, // text: { type: 'const', constVal: 'Text Test ${pl}' },
                                              colorText: { true: { color: { type: 'const', constVal: White } } },
                                              timeout: { type: 'const', constVal: 3 },
                                              // {placeholder: {text: '' oder dp: ''}} im Text muss dann ${dieserKeyStehtImText} stehen
                                              // optionalValue: { type: 'const', constVal: { dieserKeyStehtImText: { text: 'das ist ein placeholder' } } },
                                              //setValue1: { type: 'const', constVal: true }, // alleine ist es ein switch
                                              //setValue2: { type: 'const', constVal: true }, // mit setValue2 wird 1, bei yes und 2 bei no auf true gesetzt
                                              closingBehaviour: { type: 'const', constVal: 'both' }, // 'both' | 'yes' | 'no' | 'none'
                                          },
                                      },
                                      pageItems: [],
                                      items: undefined,
                                  };
                                  
                                  const Nachricht1: any = {
                                      dpInit: '',
                                      alwaysOn: 'ignore',
                                      uniqueID: '///popupNotification',
                                      config: {
                                          card: 'popupNotify',
                                          data: {
                                              entity1: { value: { type: 'internal', dp: 'cmd/popupNotification', read: 'return true' } },
                                              headline: { type: 'internal', dp: 'cmd/popupNotification', read: 'return JSON.parse(val).headline' },
                                              colorHeadline: { true: { color: { type: 'const', constVal: Green } } },
                                              buttonLeft: { type: 'const', constVal: 'nextF' },
                                              colorButtonLeft: { true: { color: { type: 'const', constVal: White } } },
                                              buttonRight: { type: 'const', constVal: 'ok' },
                                              colorButtonRight: { true: { color: { type: 'const', constVal: White } } },
                                              text: { type: 'internal', dp: 'cmd/popupNotification', read: 'return JSON.parse(val).text' }, // text: { type: 'const', constVal: 'Text Test ${pl}' },
                                              colorText: { true: { color: { type: 'const', constVal: White } } },
                                              timeout: { type: 'const', constVal: 0 },
                                              // {placeholder: {text: '' oder dp: ''}}
                                              // optionalValue: { type: 'const', constVal: { pl: { text: 'das ist ein placeholder' } } },
                                              setValue1: { type: 'internalState', dp: 'cmd/NotificationCleared' },
                                              setValue2: { type: 'internalState', dp: 'cmd/NotificationNext' },
                                              closingBehaviour: { type: 'const', constVal: 'none' },
                                          },
                                      },
                                      pageItems: [],
                                      items: undefined,
                                  };
                                  
                                  

                                  Bzw. habe ich es auch über die Datenpunkte probiert.

                                  Screenshot 2025-11-08 203430.png

                                  T 2 Antworten Letzte Antwort
                                  0
                                  • S Snigga

                                    @ticaki bist der Wahnsinn. Leider bekomme ich es nicht zum laufen. Was muss ich im Script hinterlegen?

                                    const Nachricht: ScriptConfig.PagePopup = {
                                        card: 'popupNotify',
                                        dpInit: '',
                                        alwaysOn: 'none',
                                        uniqueID: 'Nachritcht',
                                        config: {
                                            card: 'popupNotify',
                                            data: {
                                                entity1: { value: { type: 'triggered', dp: '0_userdata.0.example_state' } },
                                                headline: { type: 'const', constVal: 'welcomeHToken' },
                                                colorHeadline: { true: { color: { type: 'const', constVal: Green } } },
                                                buttonLeft: { type: 'const', constVal: '' },
                                                colorButtonLeft: { true: { color: { type: 'const', constVal: White } } },
                                                buttonRight: { type: 'const', constVal: '' },
                                                colorButtonRight: { true: { color: { type: 'const', constVal: White } } },
                                                text: { type: 'const', constVal: 'welcomeTToken' }, // text: { type: 'const', constVal: 'Text Test ${pl}' },
                                                colorText: { true: { color: { type: 'const', constVal: White } } },
                                                timeout: { type: 'const', constVal: 3 },
                                                // {placeholder: {text: '' oder dp: ''}} im Text muss dann ${dieserKeyStehtImText} stehen
                                                // optionalValue: { type: 'const', constVal: { dieserKeyStehtImText: { text: 'das ist ein placeholder' } } },
                                                //setValue1: { type: 'const', constVal: true }, // alleine ist es ein switch
                                                //setValue2: { type: 'const', constVal: true }, // mit setValue2 wird 1, bei yes und 2 bei no auf true gesetzt
                                                closingBehaviour: { type: 'const', constVal: 'both' }, // 'both' | 'yes' | 'no' | 'none'
                                            },
                                        },
                                        pageItems: [],
                                        items: undefined,
                                    };
                                    
                                    const Nachricht1: any = {
                                        dpInit: '',
                                        alwaysOn: 'ignore',
                                        uniqueID: '///popupNotification',
                                        config: {
                                            card: 'popupNotify',
                                            data: {
                                                entity1: { value: { type: 'internal', dp: 'cmd/popupNotification', read: 'return true' } },
                                                headline: { type: 'internal', dp: 'cmd/popupNotification', read: 'return JSON.parse(val).headline' },
                                                colorHeadline: { true: { color: { type: 'const', constVal: Green } } },
                                                buttonLeft: { type: 'const', constVal: 'nextF' },
                                                colorButtonLeft: { true: { color: { type: 'const', constVal: White } } },
                                                buttonRight: { type: 'const', constVal: 'ok' },
                                                colorButtonRight: { true: { color: { type: 'const', constVal: White } } },
                                                text: { type: 'internal', dp: 'cmd/popupNotification', read: 'return JSON.parse(val).text' }, // text: { type: 'const', constVal: 'Text Test ${pl}' },
                                                colorText: { true: { color: { type: 'const', constVal: White } } },
                                                timeout: { type: 'const', constVal: 0 },
                                                // {placeholder: {text: '' oder dp: ''}}
                                                // optionalValue: { type: 'const', constVal: { pl: { text: 'das ist ein placeholder' } } },
                                                setValue1: { type: 'internalState', dp: 'cmd/NotificationCleared' },
                                                setValue2: { type: 'internalState', dp: 'cmd/NotificationNext' },
                                                closingBehaviour: { type: 'const', constVal: 'none' },
                                            },
                                        },
                                        pageItems: [],
                                        items: undefined,
                                    };
                                    
                                    

                                    Bzw. habe ich es auch über die Datenpunkte probiert.

                                    Screenshot 2025-11-08 203430.png

                                    T Nicht stören
                                    T Nicht stören
                                    ticaki
                                    schrieb am zuletzt editiert von ticaki
                                    #669

                                    @snigga
                                    Skript hat nix damit zu tun - das geht über Datenpunkte

                                    LOL oki und bla steht in meinem Testpopup auch.

                                    Du mußt da drauf klicken: Bildschirmfoto 2025-11-08 um 20.42.55.png

                                    Benutze bitte auch die Version von JETZT - hab gerade einen großen Irrtum behoben :)

                                    EDIT: hier bei gehts noch immer um die testbranch

                                    Weather-Warnings Espresense NSPanel-Lovelace-ui Tagesschau

                                    Spenden

                                    1 Antwort Letzte Antwort
                                    0
                                    • T Nicht stören
                                      T Nicht stören
                                      ticaki
                                      schrieb am zuletzt editiert von ticaki
                                      #670

                                      Noch immer Testbranch

                                      Nur zur Klarstellung - das hat nichts mit dem Konfigurationsskript zu tun.

                                      Wenn du das aus einem Skript heraus senden willst geht JETZT auch das hier:

                                      sendTo('nspanel-lovelace-ui.0', 'setPopupNotification', {headline:'test test test', text:'Es lebt!!!'})

                                      Das Objekt was man senden kann sieht so aus:

                                                type PagePopupDataDetails = {
                                                   headline: string;
                                                   text: string;
                                                   panel?: string; // wenn hier leer, ist es global
                                                   priority?: number;
                                                   type?: PopupDetailsType;
                                                   id?: string;
                                                   colorHeadline?: RGB | string;
                                                   buttonLeft?: string;
                                                   colorButtonLeft?: RGB | string;
                                                   buttonRight?: string;
                                                   colorButtonRight?: RGB | string;
                                                   colorText?: RGB | string;
                                                   textSize?: string;
                                                   icon?: string;
                                                   iconColor?: RGB;
                                                   alwaysOn?: boolean;
                                               };
                                      

                                      EDIT: RGB sieht im Adapter so aus:

                                      {
                                        r: number;
                                        g: number:
                                        b: number;
                                      }
                                      

                                      es geht auch #FF00FF

                                      Weather-Warnings Espresense NSPanel-Lovelace-ui Tagesschau

                                      Spenden

                                      1 Antwort Letzte Antwort
                                      1
                                      • ArmilarA Armilar

                                        Gibt es aktuell eigentlich einen User mit der US-P Version, der gerne den Adapter nutzen möchte?

                                        bembelstemmerB Offline
                                        bembelstemmerB Offline
                                        bembelstemmer
                                        schrieb am zuletzt editiert von bembelstemmer
                                        #671

                                        @armilar said in Betatest NSPanel-lovelace-ui v0.7.x:

                                        Gibt es aktuell eigentlich einen User mit der US-P Version, der gerne den Adapter nutzen möchte?

                                        Hi. Ja, inzwischen gibt es einen :grin:
                                        Nach Jahren habe ich endlich mal ein bisschen Zeit meine Panels von einer uralt Script version zu aktualisieren und stelle deshalb auf den Adapter um.
                                        EU und US-L funktioniert. US-P funktioniert leider gar nicht. Das Display bleibt auch mit der leeren Default Config einfach schwarz weil die CardGrid irgendwie nicht will.
                                        Habe schon versucht mehrere ältere Versionen der TFT zu flashen, aber offenbar liegt es nicht daran?!?

                                        Der Adapter loggt diese Warnings, die mir aber nicht viel sagen.

                                        [Bad-SendClass] send payload: {"payload":"pageType~cardGrid","ackForType":true} to panel. Losing count: 3
                                        

                                        Nach ein paar Versuchen setzt der Adapter das Panel dann auf offline.
                                        Habt ihr irgendwelche Tipps was da klemmen könnte?

                                        VG

                                        T 1 Antwort Letzte Antwort
                                        0
                                        • bembelstemmerB bembelstemmer

                                          @armilar said in Betatest NSPanel-lovelace-ui v0.7.x:

                                          Gibt es aktuell eigentlich einen User mit der US-P Version, der gerne den Adapter nutzen möchte?

                                          Hi. Ja, inzwischen gibt es einen :grin:
                                          Nach Jahren habe ich endlich mal ein bisschen Zeit meine Panels von einer uralt Script version zu aktualisieren und stelle deshalb auf den Adapter um.
                                          EU und US-L funktioniert. US-P funktioniert leider gar nicht. Das Display bleibt auch mit der leeren Default Config einfach schwarz weil die CardGrid irgendwie nicht will.
                                          Habe schon versucht mehrere ältere Versionen der TFT zu flashen, aber offenbar liegt es nicht daran?!?

                                          Der Adapter loggt diese Warnings, die mir aber nicht viel sagen.

                                          [Bad-SendClass] send payload: {"payload":"pageType~cardGrid","ackForType":true} to panel. Losing count: 3
                                          

                                          Nach ein paar Versuchen setzt der Adapter das Panel dann auf offline.
                                          Habt ihr irgendwelche Tipps was da klemmen könnte?

                                          VG

                                          T Nicht stören
                                          T Nicht stören
                                          ticaki
                                          schrieb am zuletzt editiert von ticaki
                                          #672

                                          @bembelstemmer
                                          wlan unbeständig. MQTT ist ein fire and forget verbindung zum Tasmota hin, daher benutzt der Adapter eine allgemeine Bestätigungsmeldung vom nspanel um zu sehen ob es angekommen ist - wenn da nix zurück kommt innerhalb einer steigenden Zeitspanne erhöht sich losingCount und bei 10 oder so geht das panel offline.

                                          Edit hab nachgeguckt:

                                          if (this.losingMessageCount++ > 5) {
                                                      if (this.panel) {
                                                          if (this.adapter.config.additionalLog) {
                                                              this.log.error(`Losing ${this.losingMessageCount} messages - set panel offline!`);
                                                          }
                                                          this.panel.isOnline = false;
                                                      }
                                                  }
                                          

                                          bei 7 gehts offline...

                                          Weather-Warnings Espresense NSPanel-Lovelace-ui Tagesschau

                                          Spenden

                                          bembelstemmerB 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          829

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe