Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Testing] Material UI Adapter

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [Testing] Material UI Adapter

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

      @Holger76:

      Hallo,

      ich wollte den 0.10.2 auch testen und bekomme leider auch nur den weißen Bildschirm, nachdem der blaue Balken kurz erscheint. `

      Browser error?

      Material hat sich gut installiert.

      Du musst noch "iobroker upload material" schreiben

      1 Reply Last reply Reply Quote 0
      • Holger76
        Holger76 last edited by

        @Bluefox:

        @Holger76:

        Hallo,

        ich wollte den 0.10.2 auch testen und bekomme leider auch nur den weißen Bildschirm, nachdem der blaue Balken kurz erscheint. `

        Browser error?

        Material hat sich gut installiert.

        Du musst noch "iobroker upload material" schreiben ` Chrome und edge probiert.. Upload hatte ich dann über admin gemacht (Installation über Konsole)

        Gesendet von meinem F5121 mit Tapatalk

        1 Reply Last reply Reply Quote 0
        • Bluefox
          Bluefox last edited by

          @Holger76:

          @Bluefox:

          @Holger76:

          Hallo,

          ich wollte den 0.10.2 auch testen und bekomme leider auch nur den weißen Bildschirm, nachdem der blaue Balken kurz erscheint. `

          Browser error?

          Material hat sich gut installiert.

          Du musst noch "iobroker upload material" schreiben ` Chrome und edge probiert.. Upload hatte ich dann über admin gemacht (Installation über Konsole)

          Gesendet von meinem F5121 mit Tapatalk `
          BROWSER CONSOLE ERRORS? F12???

          1 Reply Last reply Reply Quote 0
          • Holger76
            Holger76 last edited by

            Das sagt die Edge console:

            ! HTML1300: Navigation wurde ausgeführt.
            ! index.html (1,1)
            ! Size of stored data: 2180k. Max possible: 5000k
            ! 2018-09-11T14:42:59.919Z Connected => authenticate
            ! vendor.js (1,4548)
            ! 2018-09-11T14:43:00.035Z Authenticated: true
            ! vendor.js (1,4844)
            ! [object Error]: {description: "Unable to get property 'admin' of undefined or null reference", message: "Unable to get property 'admin' of undefined or null reference", number: -2146823281, stack: "TypeError: Unable to get property 'admin' of undefined or null reference at value (http://192.168.188.52:8082/material/0.1 … js:1:36537) at t (http://192.168.188.52:8082/material/0.1 ... s:1:654616) at Ln (http://192.168.188.52:8082/material/0.1 ... s:1:406581) at Jn (http://192.168.188.52:8082/material/0.1 ... s:1:418079) at Zn (http://192.168.188.52:8082/material/0.1 ... s:1:418390) at dr (http://192.168.188.52:8082/material/0.1 ... s:1:421614) at lr (http://192.168.188.52:8082/material/0.1 ... s:1:421286) at sr (http://192.168.188.52:8082/material/0.1 ... s:1:421112) at ir (http://192.168.188.52:8082/material/0.1 ... s:1:420443) at $n (http://192.168.188.52:8082/material/0.1 ... s:1:419826)"}
            ! Error during service worker registration: SecurityError
            ! CONSOLE21301: serviceWorker.register wurde aufgrund eines unsicheren Kontexts oder einer Hosteinschränkung in http://192.168.188.52:8082/material/0.10.2/index.html abgelehnt.
            ! SCRIPT5007: Unable to get property 'admin' of undefined or null reference
            ! main.1704aeab.js (1,421567)

            Das sagt Chrome:

            ! Size of stored data: 2175k. Max possible: 5000k
            ! conn.js:298 2018-09-11T14:51:25.320Z Connected => authenticate
            ! registerServiceWorker.js:39 Error during service worker registration: DOMException: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV).
            ! (anonymous) @ registerServiceWorker.js:39
            ! Promise.catch (async)
            ! (anonymous) @ registerServiceWorker.js:38
            ! load (async)
            ! r @ registerServiceWorker.js:13
            ! (anonymous) @ index.js:54
            ! t @ bootstrap 75daebef5dff2f765710:19
            ! (anonymous) @ main.1704aeab.js:24550
            ! t @ bootstrap 75daebef5dff2f765710:19
            ! (anonymous) @ bootstrap 75daebef5dff2f765710:62
            ! (anonymous) @ bootstrap 75daebef5dff2f765710:62
            ! conn.js:313 2018-09-11T14:51:25.429Z Authenticated: true
            ! react-dom.production.min.js:188 TypeError: Cannot read property 'admin' of undefined
            ! at Function.value (Utils.js:79)
            ! at new t (StatesList.js:94)
            ! at Ln (react-dom.production.min.js:174)
            ! at Jn (react-dom.production.min.js:202)
            ! at Zn (react-dom.production.min.js:203)
            ! at dr (react-dom.production.min.js:212)
            ! at lr (react-dom.production.min.js:211)
            ! at sr (react-dom.production.min.js:211)
            ! at ir (react-dom.production.min.js:209)
            ! at $n (react-dom.production.min.js:207)
            ! zn @ react-dom.production.min.js:188
            ! Wn.n.callback @ react-dom.production.min.js:195
            ! tn @ react-dom.production.min.js:144
            ! nn @ react-dom.production.min.js:145
            ! fr @ react-dom.production.min.js:220
            ! dr @ react-dom.production.min.js:212
            ! lr @ react-dom.production.min.js:211
            ! sr @ react-dom.production.min.js:211
            ! ir @ react-dom.production.min.js:209
            ! $n @ react-dom.production.min.js:207
            ! enqueueSetState @ react-dom.production.min.js:148
            ! i.setState @ react.production.min.js:12
            ! (anonymous) @ App.js:275
            ! value @ App.js:157
            ! (anonymous) @ App.js:265
            ! value @ App.js:180
            ! value @ App.js:228
            ! (anonymous) @ App.js:317
            ! (anonymous) @ conn.js:154
            ! n.onack @ socket.io.js:3
            ! n.onpacket @ socket.io.js:3
            ! (anonymous) @ socket.io.js:3
            ! n.emit @ socket.io.js:2
            ! n.ondecoded @ socket.io.js:1
            ! (anonymous) @ socket.io.js:3
            ! r.emit @ socket.io.js:1
            ! s.add @ socket.io.js:1
            ! n.ondata @ socket.io.js:1
            ! (anonymous) @ socket.io.js:3
            ! n.emit @ socket.io.js:2
            ! n.onPacket @ socket.io.js:2
            ! (anonymous) @ socket.io.js:2
            ! n.emit @ socket.io.js:2
            ! n.onPacket @ socket.io.js:2
            ! n.onData @ socket.io.js:2
            ! ws.onmessage @ socket.io.js:3
            ! Utils.js:79 Uncaught TypeError: Cannot read property 'admin' of undefined
            ! at Function.value (Utils.js:79)
            ! at new t (StatesList.js:94)
            ! at Ln (react-dom.production.min.js:174)
            ! at Jn (react-dom.production.min.js:202)
            ! at Zn (react-dom.production.min.js:203)
            ! at dr (react-dom.production.min.js:212)
            ! at lr (react-dom.production.min.js:211)
            ! at sr (react-dom.production.min.js:211)
            ! at ir (react-dom.production.min.js:209)
            ! at $n (react-dom.production.min.js:207)

            sollte ich vielleicht doch mal auf nodejs 8 oder so gehen ?

            1 Reply Last reply Reply Quote 0
            • Wal
              Wal Developer last edited by

              Ich habe hier keine Probleme mit Chrome.
              2551_info.jpg

              1 Reply Last reply Reply Quote 0
              • Holger76
                Holger76 last edited by

                @Wal:

                Ich habe hier keine Probleme mit Chrome.
                filename="info.JPG" index="0">~~ ` Du hast höhere Versionen, vielleicht deshalb

                Gesendet von meinem F5121 mit Tapatalk

                EDIT: nein, daran liegt es nicht. Habe nun

                Node.js v8.12.0

                NPM 6.4.1

                das gleiche

                1 Reply Last reply Reply Quote 0
                • LausiD
                  LausiD last edited by

                  Hallo zusammen,

                  hat seit 0.10.3 bei Verwendung Role "light.color.rgb" noch jemand das Problem:

                  Bei Anwahl Kachel zur Einstellung RGB wird die Seite weiß

                  Gruß

                  LausiD

                  Nachtrag 14.09.18

                  Tritt nur auf wenn Role "light.color.rgb" und keine Role "light.color.temperature" vergeben wurde.

                  Sind beide Rollen zugeordnet Funktion einfach genial 🙂

                  1 Reply Last reply Reply Quote 0
                  • Q
                    Qlink last edited by

                    Wie sieht das bei euch aus mit den Farbkanälen von RGB in Material ?

                    Kann mal jemand einen Screenshot posten ?

                    Bei mir funzt das irgendwie nicht.

                    Ich habe folgende Rollen unter Objekte:

                    415_obj_bad.png

                    Aber in Material sieht es immer noch so aus:

                    415_mat_bad.png

                    1 Reply Last reply Reply Quote 0
                    • sigi234
                      sigi234 Forum Testing Most Active last edited by

                      2858_screenshot__688_.png

                      2858_screenshot__686_.png

                      1 Reply Last reply Reply Quote 0
                      • Q
                        Qlink last edited by

                        hmm okay, mit philips hue gibts anscheinend ganz andere Rollen.

                        Die Auswahlmöglichkeiten hab ich gar nicht bei mir.

                        Hat jemand eventuell auch den artnet Adapter im Einsatz und kann die objekte posten ?

                        1 Reply Last reply Reply Quote 0
                        • Bluefox
                          Bluefox last edited by

                          @Holger76:

                          Utils.js:79 Uncaught TypeError: Cannot read property 'admin' of undefined
                          ```` `  
                          

                          Das habe ich gesucht. Danke.

                          1 Reply Last reply Reply Quote 0
                          • Q
                            Qlink last edited by

                            @ Bluefox,

                            wie bekomme ich dieses Farbwahlrad wie beim Screenshot von sigi234 mit Philips Hue auch bei RGB(W) mit dem Artnet Adapter ?

                            1 Reply Last reply Reply Quote 0
                            • B
                              BobBruni last edited by

                              Der Adapter ist wirklich super, sieht schick aus und läuft schon richtig gut!

                              Vielen Dank dafür!

                              Hab mal zwei Fragen:

                              1. Wie kann ich die Gruppe (Andere) umbenennen?

                              2. Ist es möglich anstelle von True und False einen Alternativtext anzeigen zu lassen? (z.B. True:Anwesend, False: Abwesend)

                              1683_unbenannt.png

                              1 Reply Last reply Reply Quote 0
                              • S
                                Stormbringer last edited by

                                Danke Jungs, mal wieder top Arbeit. Hätte nur mal eine Frage… Ist das gewollt, wenn ein Datenpunkt mehre "Rollen" oder "Räume" zugeordnet ist er dann nicht bei jedem auftaucht? Habe z. B. bei Batterieanzeige vom alten Mobile Adapter nochne Ansicht gesammelt alle Batterieanzeigen und im jeweilen Raum. Oder Rollen welche nur dem Cloudadapter zugeordnet sind und welche dem "Mobile Adapter". Oder Arbeit nur noch ich so :lol:

                                1 Reply Last reply Reply Quote 0
                                • Dutchman
                                  Dutchman Developer Most Active Administrators last edited by

                                  Nein ist nicht so gewollt, wen du einen datenpunkt enums (Räume/Funktionen) zuweist sollte er in jeder aufgelistet werden und nicht nur einer.

                                  Machst du bitte dafür ein issue auf github an ?

                                  Sent from my iPhone using Tapatalk

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Stormbringer last edited by

                                    Ok, danke. Hab den Ersten erstellt. Hoffe der passt 😉

                                    1 Reply Last reply Reply Quote 0
                                    • Dutchman
                                      Dutchman Developer Most Active Administrators last edited by

                                      @Stormbringer:

                                      Ok, danke. Hab den Ersten erstellt. Hoffe der passt 😉 `

                                      Jup, wobei ich nicht bissl nörgeln muss das deine Problem Beschreibung hier im Forum deutlicher ist als der git Post 😉

                                      Sent from my iPhone using Tapatalk

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Seraphis last edited by

                                        (siehe Edit unten, funktioniert nun)

                                        Habe bei mir Probleme mit dem Colorpicker. Die aktuelle Farbe wird als Hintergrund des Buttons korrekt angezeigt, wenn ich aber darauf klicke wird die komplette Seite nur weiß.

                                        Hier die 2 Fehler aus der Browser-Console:

                                        react-dom.production.min.js:188 
                                        TypeError: Cannot read property 'id' of null
                                            at t.value (SmartColor.js:560)
                                            at Nn (react-dom.production.min.js:167)
                                            at Ln (react-dom.production.min.js:180)
                                            at Jn (react-dom.production.min.js:202)
                                            at Zn (react-dom.production.min.js:203)
                                            at dr (react-dom.production.min.js:212)
                                            at lr (react-dom.production.min.js:211)
                                            at sr (react-dom.production.min.js:211)
                                            at br (react-dom.production.min.js:223)
                                            at Qe (react-dom.production.min.js:89)
                                        
                                        SmartColor.js:560
                                        Uncaught TypeError: Cannot read property 'id' of null
                                            at t.value (SmartColor.js:560)
                                            at Nn (react-dom.production.min.js:167)
                                            at Ln (react-dom.production.min.js:180)
                                            at Jn (react-dom.production.min.js:202)
                                            at Zn (react-dom.production.min.js:203)
                                            at dr (react-dom.production.min.js:212)
                                            at lr (react-dom.production.min.js:211)
                                            at sr (react-dom.production.min.js:211)
                                            at br (react-dom.production.min.js:223)
                                            at Qe (react-dom.production.min.js:89)
                                        
                                        

                                        Hier der state:

                                        {
                                          "from": "system.adapter.homee.0",
                                          "ts": 1536686009149,
                                          "common": {
                                            "name": "Wohnzimmer Iris.Color",
                                            "type": "string",
                                            "unit": "RGB",
                                            "role": "level.color.rgb",
                                            "min": 0,
                                            "max": 16777215,
                                            "read": true,
                                            "write": true,
                                            "custom": {
                                              "homee.0": {
                                                "enabled": true
                                              },
                                              "material": {
                                                "admin": {
                                                  "colorMode": "RGB",
                                                  "name": "Iris",
                                                  "colorOn": "",
                                                  "doubleSize": "",
                                                  "colorOff": "",
                                                  "icon": "",
                                                  "iconOff": "",
                                                  "background": "",
                                                  "enabled": true
                                                }
                                              }
                                            }
                                          },
                                          "native": {
                                            "id": 342,
                                            "node_id": 53,
                                            "type": 23
                                          },
                                          "acl": {
                                            "object": 1636,
                                            "owner": "system.user.admin",
                                            "ownerGroup": "system.group.administrator",
                                            "state": 1636
                                          },
                                          "_id": "homee.0.DimmableColorLight-53.Color-342",
                                          "type": "state"
                                        }
                                        

                                        Der state stammt vom homee-Adapter, Datentyp string und standardmäßig role text.color.rgb (statt level.color.rgb). Belasse ich es dabei, wird er allerdings nur als Text mit Eingabemöglichekit in Material angezeigt, also nicht als Farbe interpretiert.

                                        Muss ich den state, den der homee-Adapter liefert, erstmal irgendwie richtig umwandeln? Sollte ein state mit role level.XXX nicht auch vom Typ number sein?

                                        –--------------------

                                        Edit:

                                        Nach dem eben verfügbaren Update des Material-Adapters auf Version 0.10.5 funktioniert nun plötzlich bei mir erstmals alles, auch der Colorpicker. Keine Ahnung, ob es spezifisch an diesem Update lag, oder ob davor was schiefgelaufen war.. Außerdem gibt's nun aber zur Farbtemperatur-Auswahl auch eine Art Colorpicker statt zuvor dem radialen Slider, sehr cool jetzt 🙂 Danke

                                        1 Reply Last reply Reply Quote 0
                                        • Q
                                          Qlink last edited by

                                          Mit dem artnet Adapter habe ich leider nach wie vor keinen colopicker, sondern nur einen Button wo man den rgb Wert eingeben muss … 😞

                                          1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 last edited by

                                            Zeig doch mal die genaue Objektdefinition eines solchen Objekts

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            514
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            54
                                            227
                                            38772
                                            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