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.
    • R
      rewenode last edited by

      und noch einer:

      3fach Steckdosenleiste mit 4er USB

      https://de.aliexpress.com/item/Smart-Wi … 4c4djD7d7L

      <code>2018-11-16 00:28:39.644 - info: tuya.0 new Shema added for product type JtCDjzmKcUNKEBzO. Please send next line from logfile on disk to developer!
      2018-11-16 00:28:39.645 - info: tuya.0 {"schema":"[{\"mode\":\"rw\",\"code\":\"switch_s1\",\"name\":\"开关1\",\"property\":{\"type\":\"bool\"},\"id\":1,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"switch_s2\",\"name\":\"开关 2\",\"property\":{\"type\":\"bool\"},\"id\":2,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"switch_s3\",\"name\":\"开关 3\",\"property\":{\"type\":\"bool\"},\"id\":3,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"switch_usb1\",\"name\":\"USB\",\"property\":{\"type\":\"bool\"},\"id\":4,\"type\":\"obj\",\"desc\":\"switch_s4修改为switch_usb1\"}]","schemaExt":"[]"}[/code]</code>
      
      1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 last edited by

        Danke, sind jetzt alle in der 1.0.4 drin.

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

          Hallo Apollon77,

          Nächste Woche bekomme ich wieder ein Spielzeug für die Weihnachtsbeleuchtung…...

          Ich hoffe sie funktioniert mit deinen Adapter. 🙂

          2858_screenshot__1236_.png

          Heute bekommen, Funktioniert!

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

            Gute Chancen 😉

            Gesendet vom Handy …

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

              Die Steckdose funzt. Hab die installiert. Die müsste auch schon integriert sein, da ich kein neues schema bekomme

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

                COOL, mit Verbrauchswerte?

                1 Reply Last reply Reply Quote 0
                • R
                  RKBroker last edited by

                  Thr next one….

                  <code>2018-11-16 21:50:27.144  - [32minfo[39m: tuya.0 new Shema added for product type r15JnoGqWPM4PPtl. Please send next line from logfile on disk to developer!
                  2018-11-16 21:50:27.145  - [32minfo[39m: tuya.0 {"schema":"[{\"mode\":\"rw\",\"code\":\"switch_1\",\"name\":\"开关\",\"property\":{\"type\":\"bool\"},\"iconname\":\"icon-dp_power2\",\"id\":1,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"countdown\",\"name\":\"倒计时\",\"property\":{\"unit\":\"秒\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1,\"type\":\"value\"},\"iconname\":\"icon-dp_time2\",\"id\":11,\"type\":\"obj\",\"desc\":\"可根据产品实际倒计时功能修改。\"}]","schemaExt":"[]"}[/code]</code>
                  
                  1 Reply Last reply Reply Quote 0
                  • FredF
                    FredF Most Active Forum Testing last edited by

                    Also ich möchte auch mal danke für diesen Adapter sagen…

                    Bisher hatte ich die Teckin SP22 Steckdosen mit Tasmota geflasht. Nachdem aber nun die neuen SP22 nicht mehr geschraubt sind, das öffnen sch... ist und wenn dann mal offen die Kabel so kurz sind, das man ohne die Platine auslöten nicht an den ESP kommt und dann noch Probleme beim flashen bekommt :x

                    Wenn man das mal mit dem Proxy geschnallt hat, ist mir der Tuya Adapter doch lieber.

                    Nur leider bekomme ich keine wh oder kwh aus der Teckin. Wenn das auch noch gehen würde... 😉

                    1 Reply Last reply Reply Quote 0
                    • R
                      RKBroker last edited by

                      Tja, die wh bzw. kwh darst du selber emitteln….

                      Vielleicht hat hier ja schon jemand eine Lösung dafür erstellt...

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

                        Such mal im Forum da gab es Skripte für sowas … wobei auch um ehrlich zu sein, genau ists nicht. Die Tuya Geräte senden nur updates wenn sich der Wert mehr als X% geänder hat hab ich das gefühl ... also naja ...

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

                          Wollte nur mal fragen ob das Gerät funktionieren sollte? Der Button ist grün und es gibt auch keine Fehlermeldungen. Leider kann ich das LED Band ( https://www.amazon.com/Controller-Compa … B077S2Q1ZH ) nicht schalten oder in Farbe und Helligkeit ändern.

                          ![](</s><ATTACHMENT 9724_2018-11-17_09_24_33-objects_-_iobroker.png )[attachment=0]~~2018-11-17 09_24_33-objects - ioBroker.png[/attachment]" />

                          tuya.0	2018-11-17 09:16:33.746	debug	stateChange tuya.0.002004582c3ae8066baa.10 {"val":"ffcb2c06ff1a1a1aff1affff1aff1aff1a1affff1a1a","ack":true,"ts":1542442593743,"q":0,"from":"system.adapter.tuya.0","lc":1542406943209}
                          tuya.0	2018-11-17 09:16:33.746	debug	redis pmessage io.tuya.0.* io.tuya.0.002004582c3ae8066baa.10 {"val":"ffcb2c06ff1a1a1aff1affff1aff1aff1a1affff1a1a","ack":true,"ts":1542442593743,"q":0,"from":"system.adapter.tuya.0","lc":154240694320
                          tuya.0	2018-11-17 09:16:33.739	debug	stateChange tuya.0.002004582c3ae8066baa.9 {"val":"ffff500105ff00","ack":true,"ts":1542442593733,"q":0,"from":"system.adapter.tuya.0","lc":1542406943198}
                          tuya.0	2018-11-17 09:16:33.739	debug	redis pmessage io.tuya.0.* io.tuya.0.002004582c3ae8066baa.9 {"val":"ffff500105ff00","ack":true,"ts":1542442593733,"q":0,"from":"system.adapter.tuya.0","lc":1542406943198}
                          tuya.0	2018-11-17 09:16:33.729	debug	stateChange tuya.0.002004582c3ae8066baa.8 {"val":"ffff8006ff000000ff000000ff00d9ffffd900f600ff","ack":true,"ts":1542442593723,"q":0,"from":"system.adapter.tuya.0","lc":1542406943188}
                          tuya.0	2018-11-17 09:16:33.729	debug	redis pmessage io.tuya.0.* io.tuya.0.002004582c3ae8066baa.8 {"val":"ffff8006ff000000ff000000ff00d9ffffd900f600ff","ack":true,"ts":1542442593723,"q":0,"from":"system.adapter.tuya.0","lc":1542406943188
                          tuya.0	2018-11-17 09:16:33.720	debug	stateChange tuya.0.002004582c3ae8066baa.7 {"val":"ffff500116ff00","ack":true,"ts":1542442593714,"q":0,"from":"system.adapter.tuya.0","lc":1542406943178}
                          tuya.0	2018-11-17 09:16:33.719	debug	redis pmessage io.tuya.0.* io.tuya.0.002004582c3ae8066baa.7 {"val":"ffff500116ff00","ack":true,"ts":1542442593714,"q":0,"from":"system.adapter.tuya.0","lc":1542406943178}
                          tuya.0	2018-11-17 09:16:33.710	debug	stateChange tuya.0.002004582c3ae8066baa.6 {"val":"3855b40168ffff","ack":true,"ts":1542442593704,"q":0,"from":"system.adapter.tuya.0","lc":1542406943168}
                          tuya.0	2018-11-17 09:16:33.709	debug	redis pmessage io.tuya.0.* io.tuya.0.002004582c3ae8066baa.6 {"val":"3855b40168ffff","ack":true,"ts":1542442593704,"q":0,"from":"system.adapter.tuya.0","lc":1542406943168}
                          tuya.0	2018-11-17 09:16:33.700	debug	stateChange tuya.0.002004582c3ae8066baa.5 {"val":"4dff000066ffff","ack":true,"ts":1542442593694,"q":0,"from":"system.adapter.tuya.0","lc":1542406943155}
                          tuya.0	2018-11-17 09:16:33.700	debug	redis pmessage io.tuya.0.* io.tuya.0.002004582c3ae8066baa.5 {"val":"4dff000066ffff","ack":true,"ts":1542442593694,"q":0,"from":"system.adapter.tuya.0","lc":1542406943155}
                          tuya.0	2018-11-17 09:16:33.692	debug	stateChange tuya.0.002004582c3ae8066baa.4 {"val":255,"ack":true,"ts":1542442593683,"q":0,"from":"system.adapter.tuya.0","lc":1542442383856}
                          tuya.0	2018-11-17 09:16:33.692	debug	redis pmessage io.tuya.0.* io.tuya.0.002004582c3ae8066baa.4 {"val":255,"ack":true,"ts":1542442593683,"q":0,"from":"system.adapter.tuya.0","lc":1542442383856}
                          tuya.0	2018-11-17 09:16:33.676	debug	stateChange tuya.0.002004582c3ae8066baa.3 {"val":25,"ack":true,"ts":1542442593672,"q":0,"from":"system.adapter.tuya.0","lc":1542406943135}
                          tuya.0	2018-11-17 09:16:33.676	debug	redis pmessage io.tuya.0.* io.tuya.0.002004582c3ae8066baa.3 {"val":25,"ack":true,"ts":1542442593672,"q":0,"from":"system.adapter.tuya.0","lc":1542406943135}
                          tuya.0	2018-11-17 09:16:33.670	debug	stateChange tuya.0.002004582c3ae8066baa.2 {"val":"colour","ack":true,"ts":1542442593660,"q":0,"from":"system.adapter.tuya.0","lc":1542406943083}
                          tuya.0	2018-11-17 09:16:33.669	debug	redis pmessage io.tuya.0.* io.tuya.0.002004582c3ae8066baa.2 {"val":"colour","ack":true,"ts":1542442593660,"q":0,"from":"system.adapter.tuya.0","lc":1542406943083}
                          tuya.0	2018-11-17 09:16:33.656	debug	stateChange tuya.0.002004582c3ae8066baa.1 {"val":true,"ack":true,"ts":1542442593649,"q":0,"from":"system.adapter.tuya.0","lc":1542442022904}
                          tuya.0	2018-11-17 09:16:33.655	debug	redis pmessage io.tuya.0.* io.tuya.0.002004582c3ae8066baa.1 {"val":true,"ack":true,"ts":1542442593649,"q":0,"from":"system.adapter.tuya.0","lc":1542442022904}
                          tuya.0	2018-11-17 09:16:33.646	info	002004582c3ae8066baa: No schema exists, init basic states ...
                          tuya.0	2018-11-17 09:16:33.646	debug	002004582c3ae8066baa: Received data: {"1":true,"2":"colour","3":25,"4":255,"5":"4dff000066ffff","6":"3855b40168ffff","7":"ffff500116ff00","8":"ffff8006ff000000ff000000ff00d9ffffd900f600ff","9":"ffff50
                          tuya.0	2018-11-17 09:16:33.645	debug	stateChange tuya.0.info.connection {"val":true,"ack":true,"ts":1542442593619,"q":0,"from":"system.adapter.tuya.0","lc":1542442593619}
                          tuya.0	2018-11-17 09:16:33.644	debug	stateChange tuya.0.002004582c3ae8066baa.online {"val":true,"ack":true,"ts":1542442593618,"q":0,"from":"system.adapter.tuya.0","lc":1542442593618}
                          tuya.0	2018-11-17 09:16:33.644	debug	redis pmessage io.tuya.0.* io.tuya.0.info.connection {"val":true,"ack":true,"ts":1542442593619,"q":0,"from":"system.adapter.tuya.0","lc":1542442593619}
                          tuya.0	2018-11-17 09:16:33.643	debug	redis pmessage io.tuya.0.* io.tuya.0.002004582c3ae8066baa.online {"val":true,"ack":true,"ts":1542442593618,"q":0,"from":"system.adapter.tuya.0","lc":1542442593618}
                          tuya.0	2018-11-17 09:16:33.643	debug	connected set to true
                          tuya.0	2018-11-17 09:16:33.618	debug	002004582c3ae8066baa: Connected to device
                          tuya.0	2018-11-17 09:16:33.499	info	Discover for local Tuya devices on port 6666
                          tuya.0	2018-11-17 09:16:33.499	info	Existing devices initialized
                          tuya.0	2018-11-17 09:16:33.499	info	002004582c3ae8066baa: No local encryption key available, get data using polling, controlling of device NOT possibe. Please sync with App!
                          tuya.0	2018-11-17 09:16:33.498	info	002004582c3ae8066baa Init with IP=ist die richtige IP ;), Key=undefined
                          tuya.0	2018-11-17 09:16:33.446	debug	connected set to false
                          tuya.0	2018-11-17 09:16:33.446	debug	002004582c3ae8066baa: Create device objects if not exist
                          tuya.0	2018-11-17 09:16:33.446	debug	002004582c3ae8066baa: Schema found for fkdtoN22SCiwU9AA: null
                          tuya.0	2018-11-17 09:16:33.445	debug	init 1 known devices
                          tuya.0	2018-11-17 09:16:33.444	info	starting. Version 1.0.2 in /opt/iobroker/node_modules/iobroker.tuya, node: v8.11.1
                          ````~~
                          1 Reply Last reply Reply Quote 0
                          • apollon77
                            apollon77 last edited by

                            naja die Meldung "no schema exist, init basic states" und "No local encryption key available, get data using polling, controlling of device NOT possibe. Please sync with App!" weisen darauf hin das Du keinen Sync mit der App gemacht hast. Damit zeigt er nur die aktuellen Werte an und eine Steuerung ist nicht möglich … steht genau alles da ...

                            Also: App Sync und das Gerät sollte funktionieren. Wenn Du nach dem Sync im Log noch eine Zeile mit der Schema Info findest dann senden dann kann ich es für alle anderen einbauen.

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

                              Ich habe den Sync 100%ig gemacht

                              Die App ist geschlossen, trotzdem bekommen ich nur mit gaaaaanz viel Glück einen Qr-Code (Wartezeit 1Std.) was vermutlich dann zu diesem Fehler lh führt

                              tuya.0	2018-11-17 19:24:14.947	error	at Module.require (module.js:596:17)
                              tuya.0	2018-11-17 19:24:14.947	error	at Function.Module._load (module.js:497:3)
                              tuya.0	2018-11-17 19:24:14.947	error	at tryModuleLoad (module.js:505:12)
                              tuya.0	2018-11-17 19:24:14.947	error	at Module.load (module.js:565:32)
                              tuya.0	2018-11-17 19:24:14.947	error	at Object.Module._extensions..js (module.js:663:10)
                              tuya.0	2018-11-17 19:24:14.947	error	at Module._compile (module.js:652:30)
                              tuya.0	2018-11-17 19:24:14.947	error	at Object. <anonymous>(/opt/iobroker/node_modules/brotli/compress.js:1:76)
                              tuya.0	2018-11-17 19:24:14.947	error	at require (internal/module.js:11:18)
                              tuya.0	2018-11-17 19:24:14.947	error	at Module.require (module.js:596:17)
                              tuya.0	2018-11-17 19:24:14.947	error	at Function.Module._load (module.js:497:3)
                              tuya.0	2018-11-17 19:24:14.947	error	at tryModuleLoad (module.js:505:12)
                              tuya.0	2018-11-17 19:24:14.947	error	at Module.load (module.js:565:32)
                              tuya.0	2018-11-17 19:24:14.947	error	at Object.Module._extensions..js (module.js:663:10)
                              tuya.0	2018-11-17 19:24:14.947	error	at Module._compile (module.js:652:30)
                              tuya.0	2018-11-17 19:24:14.947	error	at Object. <anonymous>(/opt/iobroker/node_modules/brotli/build/encode.js:21:207)
                              tuya.0	2018-11-17 19:24:14.947	error	at new ArrayBuffer (<anonymous>)
                              tuya.0	2018-11-17 19:24:14.947	error	RangeError: Array buffer allocation failed
                              tuya.0	2018-11-17 19:24:14.947	error	pmessage messagebox.system.adapter.tuya.0 {"command":"startProxy","message":{"proxyPort":"8888","proxyWebPort":"8889"},"from":"system.adapter.admin.0","callback":{"message":{"proxyPort":"8888","proxy</anonymous></anonymous></anonymous>
                              

                              Auf jeden Fall habe ich dann irgendwann einen QR Code erhalten und die ganze Prozedur gemäß Anleitung gemacht. Nach meiner Einschätzung ist das auch 100% so durchgelaufen. Darum ja auch meine Frage, weil ich mir die nicht Funktion des Adapters nicht so recht erklären konnte.

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

                                Ja dann ist dein Speicher zu knapp. Der Proxy braucht leider (ist ja nur einmalig) eeeeeeiniges an ram.

                                Im Zweifel einmal mal kurz ein paar Adapter beenden das mehr ram Frei ist. Wenn es dann geklappt hat Instanz neu starten um Speicherverbrauch wieder runter zu bekommen und dann alles wieder starten.

                                Gesendet vom Handy …

                                1 Reply Last reply Reply Quote 0
                                • R
                                  RKBroker last edited by

                                  Mal eine Frage:

                                  Wie kann ich es verhindern, dass der Name eines Gerätes wieder durch Device0082…. ersetzt wird?

                                  Vielen Dank und Gruß

                                  Rüdiger

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

                                    Beim App Sync wird er aktuell immer überschrieben. Sonst sollte er an sich bestehen bleiben.

                                    Wann wird es denn überschrieben?

                                    Gesendet vom Handy …

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      RKBroker last edited by

                                      Genau DAS, habe ich noch nicht raus. Nach stoppen und starten der Instanze ist alles wieder da. Bei einem Relaod nicht immer.

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        RKBroker last edited by

                                        Kann es sein, dass das passiert, wenn der freie Speicher unter 40% geht?

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

                                          ?? Das überschreiben der Namen? Ne sollte mit Speicher nix zu tun haben.

                                          Gesendet vom Handy …

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            RKBroker last edited by

                                            So, gerade wieder. Wenn bei mir auf dem PI der freie Speicher unter 40% geht, wird der Name überschrieben. Ich gehe mal davon aus, dass es nichts mit der Auslastung des PIs ist, sondern der Adapter sich selber Speicherstreß macht. Nach Reload geht die Auslastung vom Speicher zurück und die Namen kehren auch zurück. Dann schaukelt sich das Ganze wieder hoch….

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            650
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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