Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. SONOFF NSPanel mit Lovelace UI

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    SONOFF NSPanel mit Lovelace UI

    This topic has been deleted. Only users with topic management privileges can see it.
    • teletapi
      teletapi @Armilar last edited by teletapi

      @armilar @TT-Tom
      Userdata:

      {
        "common": {
          "type": "string",
          "write": true,
          "name": "0_userdata.0.NSPanel.GuestWiFi.Daten",
          "role": "state"
        },
        "native": {},
        "type": "state",
        "from": "system.adapter.javascript.0",
        "user": "system.user.admin",
        "ts": 1749645612221,
        "_id": "0_userdata.0.NSPanel.GuestWiFi.Daten",
        "acl": {
          "object": 1636,
          "state": 1636,
          "owner": "system.user.admin",
          "ownerGroup": "system.group.administrator"
        }
      }
      
      {
        "common": {
          "type": "boolean",
          "write": true,
          "name": "0_userdata.0.NSPanel.GuestWiFi.Switch",
          "role": "state"
        },
        "native": {},
        "type": "state",
        "from": "system.adapter.javascript.0",
        "user": "system.user.admin",
        "ts": 1749645612236,
        "_id": "0_userdata.0.NSPanel.GuestWiFi.Switch",
        "acl": {
          "object": 1636,
          "state": 1636,
          "owner": "system.user.admin",
          "ownerGroup": "system.group.administrator"
        }
      }
      

      Alias:

      {
        "_id": "alias.0.NSPanel.Guest_Wifi.ACTUAL",
        "common": {
          "type": "string",
          "role": "state",
          "name": "ACTUAL",
          "alias": {
            "id": "0_userdata.0.NSPanel.GuestWiFi.Daten"
          }
        },
        "native": {},
        "type": "state",
        "acl": {
          "object": 1636,
          "state": 1636,
          "owner": "system.user.admin",
          "ownerGroup": "system.group.administrator"
        },
        "from": "system.adapter.admin.0",
        "user": "system.user.admin",
        "ts": 1755073577992
      }
      
      {
        "_id": "alias.0.NSPanel.Guest_Wifi.SWITCH",
        "common": {
          "type": "boolean",
          "role": "state",
          "name": "SWITCH",
          "alias": {
            "id": "0_userdata.0.NSPanel.GuestWiFi.Switch"
          }
        },
        "native": {},
        "type": "state",
        "acl": {
          "object": 1636,
          "state": 1636,
          "owner": "system.user.admin",
          "ownerGroup": "system.group.administrator"
        },
        "from": "system.adapter.admin.0",
        "user": "system.user.admin",
        "ts": 1755073578001
      }
      

      Meinst du das hier mit Channel..?

      {
        "_id": "alias.0.NSPanel.Guest_Wifi",
        "type": "channel",
        "common": {
          "role": "switch.mode.wlan",
          "name": "QR Page"
        },
        "native": {},
        "from": "system.adapter.javascript.0",
        "user": "system.user.admin",
        "ts": 1754779271697,
        "acl": {
          "object": 1636,
          "owner": "system.user.admin",
          "ownerGroup": "system.group.administrator"
        }
      }
      
      Armilar 1 Reply Last reply Reply Quote 1
      • Armilar
        Armilar Most Active Forum Testing @teletapi last edited by

        @teletapi
        Der wichtigste fehlt noch... der Channel...

        Denke aber das der passt, da du autoCreateALias: true benutzt...

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

          @armilar schau mal hab ich editiert, ist das das richtige (Channel).?

          teletapi 1 Reply Last reply Reply Quote 0
          • teletapi
            teletapi @teletapi last edited by teletapi

            @teletapi Das witzige ist doch das das Panel alles darstellt nur der QR Code wird nicht eingeblendet das Fenster für den QR Code ist halt Weiß. Hab ich vielleicht einen weißen anstatt schwarzen OR Code.... ? ich hab mir das mit Sicherheit irgendwie kaputt gemacht.
            Hier noch ein Screen vom Alias:
            Screenshot_3.jpg

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

              @teletapi

              Nee, ich verstehe das im Moment auch nicht wirklich...

              3b75e69d-cfda-448e-a763-ce40bc9fd3ac-image.png

              im Bild ist ja die angegebene SSID zu sehen und aus den restlichen Daten wird der QR im TFT (HMI) erstellt. Du hast keinen Einfluss auf die Farben...

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

                @teletapi

                2ba3d738-443a-4e00-a64a-1ea30b46467c-image.png

                Da dürfte das Problem liegen... Das Skript braucht einen info-Alias... keinen switch.mode.wlan


                ist es dann wohl auch nicht: bei mir auch

                b60528e3-3f6f-44b2-a8b1-9251b05c94c7-image.png

                1 Reply Last reply Reply Quote 0
                • T
                  ticaki Developer last edited by

                  Sonderzeichen im Passwort?

                  teletapi 1 Reply Last reply Reply Quote 0
                  • teletapi
                    teletapi @ticaki last edited by teletapi

                    @ticaki ja ein Sonderzeichen, aber auch das hat vorher funktioniert. Ich kann auch das Wlan mit dem kleinen blauen Schalter deaktivieren und wieder aktivieren das geht alles

                    teletapi 1 Reply Last reply Reply Quote 0
                    • teletapi
                      teletapi @teletapi last edited by

                      Was könnte ich jetzt mal versuchen hatte gerade nochmal das aktuelle script runter geladen und meine Seiten und einstellungen angepasst aber auch das hat nix gebraucht.
                      Ich bin drauf und drann alle Daten zu löschen und bei 0 anzufangen sprich alle .Userdata.0 Ordner und Aliase zu löschen aber ich hab jetzt gerade mal echt keine Ahnung was ich machen kann..

                      teletapi T 2 Replies Last reply Reply Quote 0
                      • teletapi
                        teletapi @teletapi last edited by

                        Ist vielleicht hier noch was falsch im script:

                        let Programmseite: PageType =
                        {
                            'type': 'cardGrid2',
                            'heading': 'Programmseite',
                            'useColor': true,
                            'items': [
                                { navigate: true, id: 'alias.0.NSPanel.allgemein.Abfall.event1', targetPage: 'Abfall', name: 'Abfall'}, //Schauen ob die farbe von "Abfall" sich ändert ansonsten .event1 wegmachen
                                { navigate: true, id: null, targetPage: 'GuestWifi', onColor: MSGreen, name: 'Gäste WLAN'},
                            ]
                        };
                        
                        let GuestWifi: PageType =
                        {
                            'type': "cardQR",
                            'heading': "Gäste Wlan",
                            'subPage': true,
                            'parent': Programmseite,
                            'items': [
                                { id: 'alias.0.NSPanel.Guest_Wifi', 
                                       hidePassword: true, // true = Switch; false = Password
                                       hideEntity2: false,   // true = Switch or Password is Hide
                                       autoCreateALias: true}
                                  ]
                        };
                        
                        1 Reply Last reply Reply Quote 0
                        • T
                          TT-Tom @teletapi last edited by TT-Tom

                          @teletapi

                          nur als test, nutze mal als SSID und Passwort "test", sprich im 0_userdata so

                          WIFI:T:WPA;S:test;P:test;H:;
                          
                          teletapi 1 Reply Last reply Reply Quote 0
                          • teletapi
                            teletapi @TT-Tom last edited by

                            @tt-tom ja geht damit

                            WhatsApp Bild 2025-08-13 um 14.35.49_534f259a.jpg

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

                              @teletapi

                              nutze mal deine Daten und schalte den switch aus

                              EDIT: welche Sonderzeichen hast du im Password. Du kannst nicht alle nutzen.

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

                                @tt-tom Oh man.... hab jetzt den gastzugang geändert kürzer und das Sonderzeichen aus dem Passwort und durch Buchstaben ersetzt und in die Daten vom 0.Userdata.0 eigetragen und geht wieder . Ich bin euch sehr dankbar für eure Hilfe. Wo soll der Kaffee hin..?

                                Screenshot_1.jpg

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

                                  @teletapi ich glaube es liegt an dem Sonderzeichen in deinem Password.

                                  folgende dürfen nicht sein, ~ ; , ? :

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

                                    @tt-tom diese Sonderzeichen hatte ich nicht drin da war ne "Raute" hatte aber bis dato funktioniert

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

                                      @teletapi
                                      okay wir werden das mal prüfen, danke für die Mitarbeit

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

                                        @tt-tom ich hab zu danken

                                        1 Reply Last reply Reply Quote 2
                                        • Armilar
                                          Armilar Most Active Forum Testing @teletapi last edited by

                                          @teletapi

                                          war irgendwas zumindest was im Skript bereits eine Unverträglichkeit beim Slice() hatte... War hinten wahrscheinlich nur Objektmüll drin... 👍

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          779
                                          Online

                                          32.0k
                                          Users

                                          80.3k
                                          Topics

                                          1.3m
                                          Posts

                                          lovelace ui nspanel sonoff
                                          267
                                          7458
                                          5296293
                                          Loading More Posts
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          The ioBroker Community 2014-2023
                                          logo