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.
    • 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
                                        • H
                                          homecineplexx 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
                                          
                                          ```` `  
                                          

                                          und wenn ich das dann mit dem proxy versuche und die SmartLife App starte kommt folgender log

                                          host.raspberrypi	2018-11-10 20:06:40.194	info	Restart adapter system.adapter.tuya.0 because enabled
                                          host.raspberrypi	2018-11-10 20:06:40.194	error	instance system.adapter.tuya.0 terminated with code 7 (Adapter already running)
                                          host.raspberrypi	2018-11-10 20:06:40.194	error	Caught by controller[2]: at TCP.onStreamRead (internal/stream_base_commons.js:111:27)
                                          host.raspberrypi	2018-11-10 20:06:40.194	error	Caught by controller[2]: Error: read ECONNRESET
                                          host.raspberrypi	2018-11-10 20:06:40.194	error	Caught by controller[2]:
                                          host.raspberrypi	2018-11-10 20:06:40.194	error	Caught by controller[2]: 1<process.argv.length?process.argv[1].replace( \\/g,"/"):"unknown-program");b.arguments="process.argv.slice(2);&quot;undefined&quot;!==typeof" module&&(module.exports="b);process.on(&quot;uncau" host.raspberrypi/2018-11-10/20:06:40.194/error/caught/by/controller[2]:/opt/iobroker/node_modules/brotli/build/encode.js:3/20:06:40.193/controller[1]:/at/tcp.onstreamread/(internal/stream_base_commons.js:111:27)/errno:/'econnreset',/code:/syscall:/'read'/}/{/error:/read/econnreset/<e=""></process.argv.length?process.argv[1].replace(>
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 last edited by

                                            @Apropo:

                                            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!
                                            ```` `  
                                            

                                            Bitte wie es da steht vollständig aus dem logfile auf Platte rausholen. Admin schneidet lange Zeilen leider ab. Danke.

                                            Logfile unter /opt/iobroker/log/…

                                            Gesendet vom Handy ...

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            849
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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