Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Betatest NSPanel-lovelace-ui v0.7.x

NEWS

  • Wartung am 15.11. – Forum ab 22:00 Uhr nicht erreichbar
    BluefoxB
    Bluefox
    11
    2
    225

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

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

Betatest NSPanel-lovelace-ui v0.7.x

Betatest NSPanel-lovelace-ui v0.7.x

Scheduled Pinned Locked Moved Tester
692 Posts 26 Posters 121.9k Views 29 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • arteckA arteck

    könnt ihr mal schauen ob ihr nicht irgendwo eine endlossschleife eingebaut habt

    e0effb8c-eb6f-4028-8db1-cbe4db7dd4b2-grafik.png

    das kommt mir zu hoch vor meine Javascriptadapter sind noch nicht mal da

    T Do not disturb
    T Do not disturb
    ticaki
    wrote on last edited by ticaki
    #651

    @arteck
    Der Adapter abonniert alle States.

    Lt. einer Ansage im Chat soll man viele einzelnen Subscriptions vermeiden. Da ich nicht weiß was die Leute so alles eintragen und ich bei meinen eigenen Screensavern auf 30-40 Subs gekommen bin. Habe ich das so gelöst.

    EDIT: Ich weiß aber nicht ob das die beste Lösung ist - hab das nur so gemacht damit ich nix falsch mache
    Bildschirmfoto 2025-10-29 um 09.26.56.png
    Scheint unnötig viel cpu zu brauchen - auch wenns noch immer im bereich von kleinkram liegt 🙂

    EDIT2: Hab mal nach eventuellen doppelts subs gesucht- nö ist nur 1 aktive subscription auf ('*') im Adapter + die aus dem react kram.

    EDIT3: hab mal auf einzelne Subs umgestellt und gucke mir das ein paar tage an - muß nachher eh io neustarten, dann kann ich mal gucken wo die cpu zeit hinwandert - und dann noch fehler suchen weil 100% nicht alles subs im richtigen moment gesetzt werden 🙂

    EDIT4: Der globale Subscript scheint zumindest bei mir erstmal "falsch" zu sein - die CPU zeit liegt jetzt auf dem Niveau von io.homepilot2 - aber keine Ahnung ob das so sauber funktioniert, das braucht deutlich mehr testing 🙂
    35 Sekunden in 1:48:00 h

    Weather-Warnings Espresense NSPanel-Lovelace-ui Tagesschau

    Spenden

    arteckA 1 Reply Last reply
    0
    • T ticaki

      @arteck
      Der Adapter abonniert alle States.

      Lt. einer Ansage im Chat soll man viele einzelnen Subscriptions vermeiden. Da ich nicht weiß was die Leute so alles eintragen und ich bei meinen eigenen Screensavern auf 30-40 Subs gekommen bin. Habe ich das so gelöst.

      EDIT: Ich weiß aber nicht ob das die beste Lösung ist - hab das nur so gemacht damit ich nix falsch mache
      Bildschirmfoto 2025-10-29 um 09.26.56.png
      Scheint unnötig viel cpu zu brauchen - auch wenns noch immer im bereich von kleinkram liegt 🙂

      EDIT2: Hab mal nach eventuellen doppelts subs gesucht- nö ist nur 1 aktive subscription auf ('*') im Adapter + die aus dem react kram.

      EDIT3: hab mal auf einzelne Subs umgestellt und gucke mir das ein paar tage an - muß nachher eh io neustarten, dann kann ich mal gucken wo die cpu zeit hinwandert - und dann noch fehler suchen weil 100% nicht alles subs im richtigen moment gesetzt werden 🙂

      EDIT4: Der globale Subscript scheint zumindest bei mir erstmal "falsch" zu sein - die CPU zeit liegt jetzt auf dem Niveau von io.homepilot2 - aber keine Ahnung ob das so sauber funktioniert, das braucht deutlich mehr testing 🙂
      35 Sekunden in 1:48:00 h

      arteckA Offline
      arteckA Offline
      arteck
      Developer Most Active
      wrote on last edited by
      #652

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

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

      T 1 Reply Last reply
      0
      • arteckA arteck

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

        T Do not disturb
        T Do not disturb
        ticaki
        wrote on last edited by
        #653

        @arteck
        Ja, ist in der Branch subscript

        Weather-Warnings Espresense NSPanel-Lovelace-ui Tagesschau

        Spenden

        teletapiT arteckA 2 Replies Last reply
        0
        • T ticaki

          @arteck
          Ja, ist in der Branch subscript

          teletapiT Offline
          teletapiT Offline
          teletapi
          wrote on last edited by
          #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 Reply Last reply
          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
            wrote on last edited by 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 Reply Last reply
            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 Do not disturb
              T Do not disturb
              ticaki
              wrote on last edited by 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 😄

              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 Reply Last reply
              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 😄

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

                T Offline
                T Offline
                TT-Tom
                wrote on last edited by
                #657

                @ticaki
                ja hast recht, 😖

                aber meine Vermutung wird richtig sein 😊

                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 Reply Last reply
                0
                • T TT-Tom

                  @ticaki
                  ja hast recht, 😖

                  aber meine Vermutung wird richtig sein 😊

                  teletapiT Offline
                  teletapiT Offline
                  teletapi
                  wrote on last edited by
                  #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 Reply Last reply
                  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 Do not disturb
                    T Do not disturb
                    ticaki
                    wrote on last edited by
                    #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 Reply Last reply
                    2
                    • S Offline
                      S Offline
                      Snigga
                      wrote on last edited by
                      #660

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

                      T 1 Reply Last reply
                      0
                      • S Snigga

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

                        T Do not disturb
                        T Do not disturb
                        ticaki
                        wrote on last edited by
                        #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 Reply Last reply
                        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
                          wrote on last edited by
                          #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 Replies Last reply
                          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 Do not disturb
                            T Do not disturb
                            ticaki
                            wrote on last edited by 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 Reply Last reply
                            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 Do not disturb
                              T Do not disturb
                              ticaki
                              wrote on last edited by
                              #664

                              @snigga
                              Mache da nix, ich werde das komplett umbauen

                              Weather-Warnings Espresense NSPanel-Lovelace-ui Tagesschau

                              Spenden

                              1 Reply Last reply
                              0
                              • T ticaki

                                @arteck
                                Ja, ist in der Branch subscript

                                arteckA Offline
                                arteckA Offline
                                arteck
                                Developer Most Active
                                wrote on last edited by
                                #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 Reply Last reply
                                0
                                • arteckA arteck

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

                                  T Do not disturb
                                  T Do not disturb
                                  ticaki
                                  wrote on last edited by
                                  #666

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

                                  Weather-Warnings Espresense NSPanel-Lovelace-ui Tagesschau

                                  Spenden

                                  1 Reply Last reply
                                  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 Do not disturb
                                    T Do not disturb
                                    ticaki
                                    wrote on last edited by 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 Reply Last reply
                                    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
                                      wrote on last edited by 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 Replies Last reply
                                      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 Do not disturb
                                        T Do not disturb
                                        ticaki
                                        wrote on last edited by 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 Reply Last reply
                                        0
                                        • T Do not disturb
                                          T Do not disturb
                                          ticaki
                                          wrote on last edited by 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 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          53

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe