Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. [Aufruf] Neuer Adapter ioBroker.tuya (WLAN devices Tuya Smart Life und andere)

    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

    [Aufruf] Neuer Adapter ioBroker.tuya (WLAN devices Tuya Smart Life und andere)

    This topic has been deleted. Only users with topic management privileges can see it.
    • SBorg
      SBorg Forum Testing Most Active last edited by

      Danke fürs Update 🙂

      Kurzes Feedback: Bisher keine Fehler entdeckt und tut was er soll thumbs up

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

        ! ````
        $ ./iobroker upgrade tuya
        Update tuya from @0.1.2 to @0.1.3
        NPM version: 6.4.1
        npm install iobroker.tuya@0.1.3 --production --save --prefix "/opt/iobroker" (System call)
        npm
        WARN
        deprecated
        clipboard-js@0.3.6: Please migrate to https://github.com/lgarron/clipboard-polyfill
        npm
        WARN
        svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
        npm

        WARN optional
        SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):npm

        WARN notsup
        SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})

        ! npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.tuya"
        npm
        WARN deprecated clipboard-js@0.3.6: Please migrate to https://github.com/lgarron/clipboard-polyfill
        npm
        WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
        npm

        WARN
        deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
        npm
        WARN
        deprecated
        minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
        npm
        WARN
        deprecated
        minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
        npm
        WARN
        deprecated
        graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
        npm
        notice created a lockfile as package-lock.json. You should commit this file.
        npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.

        ! got /opt/iobroker/node_modules/iobroker.tuya/admin
        upload [2] tuya.admin /opt/iobroker/node_modules/iobroker.tuya/admin/words.js words.js application/javascript
        upload [1] tuya.admin /opt/iobroker/node_modules/iobroker.tuya/admin/tuya.png tuya.png image/png
        upload [0] tuya.admin /opt/iobroker/node_modules/iobroker.tuya/admin/index_m.html index_m.html text/html
        Adapter "tuya" updated
        process exited with code 0

        
        Bei mir Warn Hinweise beim upgraden.
        
        Sonst alles OK.
        
        Eventuell noch den "Warn" Hinweis machen, wenn man den Port im W-Lan eingestellt hat, und die Prozedur ist fertig, das man wieder den Port deaktivieren sollte, da sonst das Internet nicht funktioniert im Handy
        1 Reply Last reply Reply Quote 0
        • Elzershark
          Elzershark last edited by

          Falls Du möchtest:

          4339_android-proxy.jpg

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

            Cool, Danke, übernehme ich noch!

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

              Rolladen Zeitschaltuhr Jalousien Schalter = https://amzn.to/2DaecSr

              Alle die so aussehen, funktionieren

              Geräte IP= IP=192.168.178.34

              0 = ? keine Funktion (kein Fehler)

              1 = auf

              2 = zu

              3 = pause/stopp

              Neues Shema:

              ! ````
              2018-11-07 23:54:03.483 - info: host.Elzershark object change system.adapter.tuya.0
              2018-11-07 23:54:03.513 - info: host.Elzershark instance system.adapter.tuya.0 started with pid 10356
              2018-11-07 23:54:07.727 - info: tuya.0 starting. Version 0.1.3 in /opt/iobroker/node_modules/iobroker.tuya, node: v8.12.0
              2018-11-07 23:54:07.815 - info: tuya.0 Existing devices initialized
              2018-11-07 23:54:07.827 - info: tuya.0 Discover for local Tuya devices on port 6666
              2018-11-07 23:54:09.142 - info: tuya.0 0120000660019448e30f Init with IP=192.168.178.28, Key=undefined
              2018-11-07 23:54:09.159 - info: tuya.0 0120000660019448e30f: No local encryption key available, get data using polling, controlling of device NOT possibe. Please sync with App!
              2018-11-07 23:54:09.161 - info: tuya.0 07652000807d3a1da477 Init with IP=192.168.178.26, Key=undefined
              2018-11-07 23:54:09.163 - info: tuya.0 07652000807d3a1da477: No local encryption key available, get data using polling, controlling of device NOT possibe. Please sync with App!
              2018-11-07 23:54:09.405 - info: tuya.0 16683183807d3a375847 Init with IP=192.168.178.34, Key=undefined
              2018-11-07 23:54:09.406 - info: tuya.0 16683183807d3a375847: No local encryption key available, get data using polling, controlling of device NOT possibe. Please sync with App!
              2018-11-07 23:54:09.484 - info: tuya.0 16683183807d3a375847: No schema exists, init basic states ...
              2018-11-07 23:54:09.812 - info: tuya.0 0120000660019448d9fe Init with IP=192.168.178.27, Key=undefined
              2018-11-07 23:54:09.813 - info: tuya.0 0120000660019448d9fe: No local encryption key available, get data using polling, controlling of device NOT possibe. Please sync with App!
              2018-11-07 23:54:09.879 - debug: fritzdect.0 system.adapter.admin.0: logging false
              2018-11-07 23:54:24.173 - info: tuya.0 Anyproxy ready to receive requests
              2018-11-07 23:54:54.765 - info: tuya.0 new Shema added for product type TtXKwTMwiPpURWLJ. Please send next line from logfile on disk to developer!
              2018-11-07 23:54:54.765 - info: tuya.0 {"schema":"[{"mode":"rw","code":"status","name":"门帘状态","property":{"range":["0","1","2","3"],"type":"enum"},"id":1,"type":"obj","desc":"开 关 暂停"}]","schemaExt":"[]"}
              2018-11-07 23:54:55.849 - info: tuya.0 16683183807d3a375847 Init with IP=192.168.178.34, Key=1cda4bbb517721f4
              2018-11-07 23:54:55.885 - info: tuya.0 0120000660019448e30f Init with IP=192.168.178.28, Key=2f489f0430013398
              2018-11-07 23:54:55.889 - info: tuya.0 16683183807d3a375847 Init with IP=192.168.178.34, Key=1cda4bbb517721f4
              2018-11-07 23:54:55.893 - info: tuya.0 16683183807d3a375847 Init with IP=192.168.178.34, Key=1cda4bbb517721f4
              2018-11-07 23:54:55.895 - info: tuya.0 0120000660019448e30f Init with IP=192.168.178.28, Key=2f489f0430013398
              2018-11-07 23:54:55.898 - info: tuya.0 0120000660019448d9fe Init with IP=192.168.178.27, Key=44b3f41b3a451109
              2018-11-07 23:54:55.905 - info: tuya.0 07652000807d3a1da477 Init with IP=192.168.178.26, Key=0756207f82130213
              2018-11-07 23:54:55.910 - info: tuya.0 0120000660019448e30f Init with IP=192.168.178.28, Key=2f489f0430013398
              2018-11-07 23:54:55.912 - info: tuya.0 0120000660019448d9fe Init with IP=192.168.178.27, Key=44b3f41b3a451109
              2018-11-07 23:54:55.914 - info: tuya.0 07652000807d3a1da477 Init with IP=192.168.178.26, Key=0756207f82130213
              2018-11-07 23:54:55.916 - info: tuya.0 0120000660019448d9fe Init with IP=192.168.178.27, Key=44b3f41b3a451109
              2018-11-07 23:54:55.945 - info: tuya.0 07652000807d3a1da477 Init with IP=192.168.178.26, Key=0756207f82130213
              2018-11-07 23:54:55.957 - info: tuya.0 16683183807d3a375847 Init with IP=192.168.178.34, Key=1cda4bbb517721f4
              2018-11-07 23:54:55.961 - info: tuya.0 0120000660019448e30f Init with IP=192.168.178.28, Key=2f489f0430013398
              2018-11-07 23:54:55.964 - info: tuya.0 0120000660019448d9fe Init with IP=192.168.178.27, Key=44b3f41b3a451109
              2018-11-07 23:54:55.967 - info: tuya.0 07652000807d3a1da477 Init with IP=192.168.178.26, Key=0756207f82130213
              2018-11-07 23:55:26.452 - info: host.Elzershark object change system.adapter.tuya.0
              2018-11-07 23:55:26.453 - info: host.Elzershark stopInstance system.adapter.tuya.0
              2018-11-07 23:55:26.453 - info: host.Elzershark stopInstance system.adapter.tuya.0 killing pid 10356
              2018-11-07 23:55:26.988 - info: host.Elzershark instance system.adapter.tuya.0 terminated with code 0 (OK)
              2018-11-07 23:55:28.979 - info: host.Elzershark instance system.adapter.tuya.0 started with pid 10372
              2018-11-07 23:55:33.076 - info: tuya.0 starting. Version 0.1.3 in /opt/iobroker/node_modules/iobroker.tuya, node: v8.12.0
              2018-11-07 23:55:33.483 - info: tuya.0 16683183807d3a375847 Init with IP=192.168.178.34, Key=1cda4bbb517721f4
              2018-11-07 23:55:33.505 - info: tuya.0 0120000660019448d9fe Init with IP=192.168.178.27, Key=44b3f41b3a451109
              2018-11-07 23:55:33.511 - info: tuya.0 07652000807d3a1da477 Init with IP=192.168.178.26, Key=0756207f82130213
              2018-11-07 23:55:33.515 - info: tuya.0 0120000660019448e30f Init with IP=192.168.178.28, Key=2f489f0430013398
              2018-11-07 23:55:33.517 - info: tuya.0 Existing devices initialized
              2018-11-07 23:55:33.529 - info: tuya.0 Discover for local Tuya devices on port 6666

              
               ![4339_clipboard_1.jpg](/assets/uploads/files/4339_clipboard_1.jpg) 
              1 Reply Last reply Reply Quote 0
              • A
                Apropo last edited by

                Ich habe den Adapter jetzt auch mal installiert.

                Die Objekte werden auch angezeigt. Leider nicht komplett richtig. Kannst du da was dran machen? Der aktuelle Stromverbrauch aktualisiert sich brav. Aber bei den beiden obersten Punkten sind so komische chinesiche Zeichen dahinter. Ob die beiden Punkte überhaupt funktionieren weiß ich nicht. Ich vermute das ist der Langzeitverbrauch. Den gibts natürlich noch nicht, da ich die Steckdose gerade erst in Betrieb genommen hab.

                6697_stecker.jpg

                Außerdem bekomme ich am laufenden Band eine Meldung im Log:

                tuya.0	2018-11-08 15:51:26.477	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:50:50.459	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:50:14.431	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:49:38.425	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:49:02.406	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:48:26.387	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:47:50.374	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:47:14.349	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:46:38.324	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:46:02.313	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:45:26.298	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:44:50.284	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:44:14.273	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:43:38.129	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:43:02.113	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:42:26.103	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:41:50.094	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:41:14.081	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:40:38.071	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:40:02.051	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:39:26.028	info	80027536bcddc28a85f4: Error from device (0): App still open on your mobile phone? Error: Error from socket
                tuya.0	2018-11-08 15:38:51.023	info	Discover for local Tuya devices on port 6666
                

                Die App ist definitiv beendet. Die Meldung kommt sogar wenn ich das Smartphone ganz aus habe.

                Hast du eine Idee? Brauchst du noch was von mir?

                Steckdosen sind übrigens die hier: https://www.amazon.de/gp/product/B07DGH … UTF8&psc=1

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

                  @Apropo:

                  Die Objekte werden auch angezeigt. Leider nicht komplett richtig. Kannst du da was dran machen? Der aktuelle Stromverbrauch aktualisiert sich brav. Aber bei den beiden obersten Punkten sind so komische chinesiche Zeichen dahinter. Ob die beiden Punkte überhaupt funktionieren weiß ich nicht. Ich vermute das ist der Langzeitverbrauch. Den gibts natürlich noch nicht, da ich die Steckdose gerade erst in Betrieb genommen hab. `

                  Die chinesischen Zeichen sind die Unit weil es keine andere Info in englisch gibt 🙂

                  Add_Ele keine Ahnung, Countdown glaube wäre ne Timer-Einstellung. Musst Du mal rumprobieren.

                  @Apropo:

                  Außerdem bekomme ich am laufenden Band eine Meldung im Log:

                  Die App ist definitiv beendet. Die Meldung kommt sogar wenn ich das Smartphone ganz aus habe.

                  Hast du eine Idee? Brauchst du noch was von mir? `

                  Ne, die Geräte sind manchmal etwas zickig mit dem verbinden. Die nächsten Versionen packen weniger ins Log 🙂

                  1 Reply Last reply Reply Quote 0
                  • A
                    Apropo last edited by

                    Ok, danke. Also lass ich erst mal so und hoffe auf eine neue Version, damit wieder Ruhe einkehrt 😄

                    Mir ist auch noch aufgefallen, dass der "Online Status" und "If Connected tu Tuya" zwischendurch immer wieder auf "false" springen und danach sofort wieder auf "true". Ich denke in dem Moment kommt dann auch die Meldung im Log …

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

                      Korrekt 🙂

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

                        1.0.0 release und ab morgen auch im Stable Repo.

                        Changelog 1.0.0:

                        • Weniger Logging (ausser bei debug Loglevel)

                        • Neue Schematas

                        1 Reply Last reply Reply Quote 0
                        • A
                          Apropo last edited by

                          Funktioniert perfekt. Die nervigen Meldungen sind verschwunden. Danke!

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

                            Hi,

                            Ich bin sehr neu dabei.

                            Ich habe mir nun den Adapter tuya installiert aber ich bekomme keinen QR-Code.

                            Im Log zeigt er mir ganz viele Fehler an.

                            Ich würde mich freuen auf eure hilfe 9676_problem1.png 9676_problem.png

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

                              Kann sein das da irgendwie RAM knapp ist? memory allocation failed … der Proxy brauch recht viel ram

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

                                du hast recht gehabt 🙂

                                Habe ich nicht darauf geachtet 🙂

                                Nebenbei wenn mein Ram voll ist kann man den wie bei einen pc erweitern? 😛

                                Also ich habe den QR Code nun erhalten habe das Zertifikat installiert und habe dan meine Wlan verbindung so angepasst wie beschrieben habe dan die App beendet/Erzwungen hat sich nichts getan. Ich habe das jetzt mehrmals versucht 😛 9676_problem2.png

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

                                  Beim deinstallieren des Adapters, löscht er nicht alle Objekte. Eventuell mal Testen ob das bei mehreren so ist.

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

                                    hast Du auch Reload im Admin gedrückt? manchmal bekommt der Admin-Adapter bei "Massenaktionen" nicht alles direkt mit sondern erst nach einem Reload.

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

                                      ja, hab ich. Reload, browser neu gestartet.. Aber bei mir sind eh einige sachen "komisch". Bei einem frisch installieren iobroker kommt das nicht vor. Also denke ich, alles i.O.

                                      1 Reply Last reply Reply Quote 0
                                      • H
                                        homecineplexx last edited by

                                        ich versuch das nun schon zum xten Mal und ich bekomm zwar in den Objekten 2 devices angezeigt, aber ich kann nichts damit tun, das sagt auch der adapter.

                                        und das sagt der log dazu:

                                        tuya.0	2018-11-10 19:34:23.088	info	0720006884f3eb84ad80: No schema exists, init basic states ...
                                        tuya.0	2018-11-10 19:34:23.072	info	0720006884f3eb84ad80: No local encryption key available, get data using polling, controlling of device NOT possibe. Please sync with App!
                                        tuya.0	2018-11-10 19:34:23.070	info	0720006884f3eb84ad80 Init with IP=192.168.1.174, Key=undefined
                                        tuya.0	2018-11-10 19:34:21.060	info	07200068dc4f223ec823: No schema exists, init basic states ...
                                        tuya.0	2018-11-10 19:34:21.029	info	07200068dc4f223ec823: No local encryption key available, get data using polling, controlling of device NOT possibe. Please sync with App!
                                        tuya.0	2018-11-10 19:34:21.028	info	07200068dc4f223ec823 Init with IP=192.168.1.173, Key=undefined
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          Apropo last edited by

                                          Ich hab auch ein neues Schema

                                          tuya.0	2018-11-10 19:44:02.768	info	{"schema":"[{\"mode\":\"rw\",\"code\":\"switch_on\",\"name\":\"开关\",\"property\":{\"type\":\"bool\"},\"iconname\":\"icon-dp_power3\",\"id\":1,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\"
                                          tuya.0	2018-11-10 19:44:02.767	info	new Shema added for product type VDy8SyAxa6Q83vvr. Please send next line from logfile on disk to developer!
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 last edited by

                                            @homecineplexx:

                                            ich versuch das nun schon zum xten Mal und ich bekomm zwar in den Objekten 2 devices angezeigt, aber ich kann nichts damit tun, das sagt auch der adapter.

                                            und das sagt der log dazu:

                                            tuya.0	2018-11-10 19:34:23.088	info	0720006884f3eb84ad80: No schema exists, init basic states ...
                                            tuya.0	2018-11-10 19:34:23.072	info	0720006884f3eb84ad80: No local encryption key available, get data using polling, controlling of device NOT possibe. Please sync with App!
                                            tuya.0	2018-11-10 19:34:23.070	info	0720006884f3eb84ad80 Init with IP=192.168.1.174, Key=undefined
                                            tuya.0	2018-11-10 19:34:21.060	info	07200068dc4f223ec823: No schema exists, init basic states ...
                                            tuya.0	2018-11-10 19:34:21.029	info	07200068dc4f223ec823: No local encryption key available, get data using polling, controlling of device NOT possibe. Please sync with App!
                                            tuya.0	2018-11-10 19:34:21.028	info	07200068dc4f223ec823 Init with IP=192.168.1.173, Key=undefined
                                            
                                            ```` `  
                                            

                                            Na dann mach was da steht … Admin öffnen und über den Proxy mit der App syncen. Danach kannst du steuern. Was sollte das log noch sagen? Zusammen mit der Adapter readme sollte das doch erstmal reichen oder?!

                                            Gesendet vom Handy ...

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            902
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            97
                                            547
                                            149624
                                            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