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.
    • M
      Michi68 last edited by

      Hallo,

      Danke für den nächsten schönen Adapter 🙂

      2018-11-03 03:47:21.375  - [32minfo[39m: tuya.0 new Shema added for product type 2fISFtnNO1j4GWU4\. Please send next line from logfile on disk to developer!
      2018-11-03 03:47:21.376  - [32minfo[39m: tuya.0 {"schema":"[{\"mode\":\"rw\",\"code\":\"led_switch\",\"name\":\"开关\",\"property\":{\"type\":\"bool\"},\"iconname\":\"icon-dp_power2\",\"id\":1,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"work_mode\",\"name\":\"模式\",\"property\":{\"range\":[\"white\",\"colour\",\"scene\",\"scene_1\",\"scene_2\",\"scene_3\",\"scene_4\"],\"type\":\"enum\"},\"iconname\":\"icon-dp_mode\",\"id\":2,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"bright_value\",\"name\":\"亮度\",\"property\":{\"unit\":\"\",\"min\":25,\"max\":255,\"scale\":0,\"step\":1,\"type\":\"value\"},\"iconname\":\"icon-dp_sun\",\"id\":3,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"temp_value\",\"name\":\"冷暖\",\"property\":{\"unit\":\"\",\"min\":0,\"max\":255,\"scale\":0,\"step\":1,\"type\":\"value\"},\"iconname\":\"icon-dp_light\",\"id\":4,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"colour_data\",\"name\":\"彩光模式数\",\"property\":{\"type\":\"string\",\"maxlen\":14},\"id\":5,\"type\":\"obj\",\"desc\":\"rgbhsv\"},{\"mode\":\"rw\",\"code\":\"scene_data\",\"name\":\"情景模式数\",\"property\":{\"type\":\"string\",\"maxlen\":14},\"id\":6,\"type\":\"obj\",\"desc\":\"rgbhsv\"},{\"mode\":\"rw\",\"code\":\"flash_scene_1\",\"name\":\"柔光模式\",\"property\":{\"type\":\"string\",\"maxlen\":14},\"id\":7,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"flash_scene_2\",\"name\":\"缤纷模式\",\"property\":{\"type\":\"string\",\"maxlen\":44},\"id\":8,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"flash_scene_3\",\"name\":\"炫彩模式\",\"property\":{\"type\":\"string\",\"maxlen\":14},\"id\":9,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"flash_scene_4\",\"name\":\"斑斓模式\",\"property\":{\"type\":\"string\",\"maxlen\":44},\"id\":10,\"type\":\"obj\",\"desc\":\"\"}]","schemaExt":"[{\"id\":1,\"inputType\":\"plain\"},{\"id\":2,\"inputType\":\" \"},{\"id\":3,\"inputType\":\"percent\"},{\"id\":4,\"inputType\":\" \"}]"}
      

      Ist ein <url url="https://www.amazon.de/Luminea-Zubehör-Streifen-Alexa-WLAN-Controller/dp/B074SXSB5F/ref=sr_1_4?s=lighting&ie=UTF8&qid=1541271061&sr=1-4&keywords=Luminea">~~[url=https://www.amazon.de/Luminea-Zubeh%C3%B6r-Streifen-Alexa-WLAN-Controller/dp/B074SXSB5F/ref=sr_1_4?s=lighting&ie=UTF8&qid=1541271061&sr=1-4&keywords=Luminea
      ]~~Luminea WLAN-Controller (LED Serie LAC)</url>

      Gruß Michael

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

        @sigi234:

        Danke apollon77

        für den tollen Adapter,

        na dann fange ich mal an mit folgenden Gerät das funktioniert:

        OxaOxe smart WLAN Steckdose 2 in 1, 16A 3520W, Einzel-/Gruppensteuerung, Überlastschutz, Energieüberwachung, Timer und Zeitpläne, 2-Fach intelligente Steckdose kompatibel mit Alexa Google und IFTTT

        APP: Smart-Life App

        https://www.amazon.de/gp/product/B07G2J … UTF8&psc=1 `

        Hallo apollon77, wie bekomme ich den Wert in total vom Bild unten in den Adapter?

        2858_screenshot_20181104-104238__2_.png

        Könnte das dieser Wert sein?

        2858_screenshot__1077__li.jpg

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

          Keine Ahnung. Es kann auch Gut sein das dieser Wert nur in der tuya Cloud errechnet wird oder so.

          Gesendet vom Handy …

          1 Reply Last reply Reply Quote 0
          • P
            PerfectAnswer last edited by

            Moin Zusammen,

            ich habe mir bei amazon diesen 4er-Pack WLAN-Steckdosen gekauft (https://www.amazon.de/gp/product/B07B91 … UTF8&psc=1)

            die funktionieren grundsätzlich schon so dass ich auswerten kann.

            Values die ausgegeben werden sind mA, mW, mV, IP, Online?, ein- oder ausgeschaltet. Kumulierte Werte wie in der App gibt es nicht, muss ich auch nicht zwingend haben.

            Da als Werte aktuell nur Guids ausgelesen werden, habe die mit normalen Namen überschrieben (z.B. Trockner oder WaMa) und die einzelnen Values mit (mA),(mW) etc. bezeichnet. blöderweise werden diese Werte dann aber regelmäßig wieder überschrieben (Siehe Screenshot).

            Wie kann ich unterstützen um die Werte dauerhaft zu speichern?

            1161_tuya.jpg

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

              Gibt es nicht eine Möglichkeit den Proxy auf ein Android einzustellen? Oder geht das nur mit einem Apple Handy wenn man die Geräte auch mal steuern möchte?

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

                @PerfectAnswer:

                Moin Zusammen,

                ich habe mir bei amazon diesen 4er-Pack WLAN-Steckdosen gekauft (https://www.amazon.de/gp/product/B07B91 … UTF8&psc=1)

                die funktionieren grundsätzlich schon so dass ich auswerten kann.

                Values die ausgegeben werden sind mA, mW, mV, IP, Online?, ein- oder ausgeschaltet. Kumulierte Werte wie in der App gibt es nicht, muss ich auch nicht zwingend haben.

                Da als Werte aktuell nur Guids ausgelesen werden, habe die mit normalen Namen überschrieben (z.B. Trockner oder WaMa) und die einzelnen Values mit (mA),(mW) etc. bezeichnet. blöderweise werden diese Werte dann aber regelmäßig wieder überschrieben (Siehe Screenshot).

                Wie kann ich unterstützen um die Werte dauerhaft zu speichern?

                filename="tuya.JPG" index="0">~~ `
                Namen werden mit dem überschrieben was im Schema definiert ist. Die Einheit sollte soweit schon hinten beim Wert stehen.

                Mit der App syncen und es stehen mal grob sinnvolle Namen drin. Und ja wird aktuell überschrieben … ich kann mal nachdenken. Bitte lege in GitHub issue als Feature request an. Danke

                Gesendet vom Handy ...

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

                  @Elzershark:

                  Gibt es nicht eine Möglichkeit den Proxy auf ein Android einzustellen? Oder geht das nur mit einem Apple Handy wenn man die Geräte auch mal steuern möchte? `
                  Na klar geht das. Wo steht das es nur mit iOS tut? Habe nur kein android device und daher keine Screenshots. Gern machen Screenshots schicken. Dann nehme ich das in die Doku auf.

                  Gesendet vom Handy …

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

                    4339_android-proxy-einrichten-rcm992x0.jpg

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

                      5 min. später hab ich die Einstellungen gefunden.. <emoji seq="1f602">😂</emoji>

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

                        @Elzershark:

                        filename="Android-Proxy-einrichten-rcm992x0.jpg" index="0">~~ `
                        Darf ich das Bild in die adapter Doku übernehmen?

                        Gesendet vom Handy …

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

                          Gerne..

                          Alle Geräte die mit der App "io.e" Installiert werden (Luminea, u.s.w.) funktionieren auch mit deinem Adapter

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

                            Durch deinen Adapter werden alle billigst Geräte integrierbar in ioBroker…

                            Glückwunsch. Hammer Adapter 🙂

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

                              Schau mal ins log bitte als du den Sync mit der App gemacht hast nach Schemata Infos und send to developer. Dabke

                              Gesendet vom Handy …

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

                                Weiß nicht genau wo man das hin sendet. Also per Mail oder so? Gibt es da n Button? Oder hier per Nachricht?

                                Aber Log pack ich hier rein:

                                ! ````
                                tuya.0 2018-11-04 21:55:04.303 info 07652000807d3a1da477: Error from device (0): App still open on your mobile phone? Error: Error from socket
                                tuya.0 2018-11-04 21:54:29.212 info Discover for local Tuya devices on port 6666
                                tuya.0 2018-11-04 21:54:29.197 info Existing devices initialized
                                tuya.0 2018-11-04 21:54:29.195 info 0120000660019448d9fe Init with IP=192.168.178.33, Key=44b3f41b3a451109
                                tuya.0 2018-11-04 21:54:29.191 info 0120000660019448e30f Init with IP=192.168.178.34, Key=2f489f0430013398
                                tuya.0 2018-11-04 21:54:29.159 info 07652000807d3a1da477 Init with IP=192.168.178.28, Key=0756207f82130213
                                tuya.0 2018-11-04 21:54:28.723 info starting. Version 0.1.2 in /opt/iobroker/node_modules/iobroker.tuya, node: v8.12.0
                                host.Elzershark 2018-11-04 21:54:24.867 info instance system.adapter.tuya.0 started with pid 4734
                                host.Elzershark 2018-11-04 21:54:24.844 info object change system.adapter.tuya.0
                                host.Elzershark 2018-11-04 21:54:06.852 info Restart adapter system.adapter.tuya.0 because enabled
                                host.Elzershark 2018-11-04 21:54:06.852 error instance system.adapter.tuya.0 terminated with code 7 (Adapter already running)
                                Caught 2018-11-04 21:54:06.852 error by controller[4]: at process._tickCallback (internal/process/next_tick.js:181:9)
                                Caught 2018-11-04 21:54:06.851 error by controller[4]: at _combinedTickCallback (internal/process/next_tick.js:139:11)
                                Caught 2018-11-04 21:54:06.851 error by controller[4]: at emitErrorNT (internal/streams/destroy.js:66:8)
                                Caught 2018-11-04 21:54:06.851 error by controller[4]: at Socket.emit (events.js:211:7)
                                Caught 2018-11-04 21:54:06.850 error by controller[4]: at emitOne (events.js:116:13)
                                Caught 2018-11-04 21:54:06.850 error by controller[4]: at Socket.client.on.err (/opt/iobroker/node_modules/tuyapi/index.js:536:16)
                                Caught 2018-11-04 21:54:06.850 error by controller[4]: at TuyaDevice.emit (events.js:211:7)
                                Caught 2018-11-04 21:54:06.850 error by controller[4]: at emitOne (events.js:116:13)
                                Caught 2018-11-04 21:54:06.849 error by controller[4]: at TuyaDevice.knownDevices.(anonymous function).device.on (/opt/iobroker/node_modules/iobroker.tuya/main.js:325:47)
                                Caught 2018-11-04 21:54:06.849 error by controller[4]: TypeError: Cannot read property 'disconnect' of null
                                Caught 2018-11-04 21:54:06.849 error by controller[4]:
                                Caught 2018-11-04 21:54:06.848 error by controller[4]: 1<process.argv.length?process.argv[1].replace( 6666/\/g,"/"):"unknown-program");b.arguments="process.argv.slice(2);"undefined"!==typeof" module&&(module.exports="b);process.on("uncaughtExc" caught/2018-11-04/21:54:06.848/error/by/controller[4]:/opt/iobroker/node_modules/brotli/build/encode.js:3/controller[3]:/at/process._tickcallback/(internal/process/next_tick.js:181:9)/21:54:06.847/_combinedtickcallback/next_tick.js:139:11)/emiterrornt/streams/destroy.js:66:8)/socket.emit/(events.js:211:7)/21:54:06.846/emitone/(events.js:116:13)/socket.client.on.err/(/tuyapi/index.js:536:16)/21:54:06.845/tuyadevice.emit/tuyadevice.knowndevices.(anonymous/function).device.on/iobroker.tuya/main.js:325:47)/21:54:06.844/typeerror:/cannot/read/property/'disconnect'/of/null/controller[2]:/[anyproxy/error][2018-11-04/21:53:48]:/error:/getaddrinfo/enotfound/duvvaoxwm/duvvaoxwm:80/21:54:06.843/vbmhgnvoxyoyvu/vbmhgnvoxyoyvu:80/21:54:06.842/controller[1]:/vhpcnwrt/vhpcnwrt:80/tuya.0/21:54:06.755/info/07652000807d3a1da477:/from/device/(4):/app/still/open/on/your/mobile/phone?/socket/21:54:06.727/(3):/21:54:06.723/(2):/21:54:06.719/0120000660019448d9fe:/21:54:06.718/0120000660019448e30f:/21:54:06.622/21:54:06.618/(1):/21:54:06.582/21:54:05.838/21:54:05.834/(0):/21:54:05.832/21:54:05.724/0120000660019448e30f/init/with/ip="192.168.178.34," key="2f489f0430013398" 21:54:05.722/07652000807d3a1da477/21:54:05.720/21:54:05.718/0120000660019448d9fe/21:54:05.716/21:54:05.714/21:54:05.712/21:54:05.631/21:54:05.619/21:54:05.616/21:54:05.602/21:54:05.579/21:54:05.569/21:54:05.566/21:54:05.562/21:53:43.604/21:53:29.992/anyproxy/ready/to/receive/requests/21:53:08.548/no/local/encryption/available,/get/data/using/polling,/controlling/not/possibe./please/sync/app!/21:53:08.543/21:53:07.816/21:53:07.810/21:53:07.181/21:53:07.165/21:53:05.709/discover/for/tuya/devices/port/21:53:05.687/existing/initialized/21:53:05.630/starting./version/0.1.2/in/iobroker.tuya,/node:/v8.12.0<e=""></process.argv.length?process.argv[1].replace(>

                                
                                IP=192.168.178.28 = 2 Fach Wlan Steckdose .Gibt viele mit verschiedenen Namen. Alle die so aussehen passen [https://amzn.to/2SL6tzw](https://amzn.to/2SL6tzw)
                                
                                IP=192.168.178.33 + 34 = Luminea E27 Lampe [https://amzn.to/2D1sCE4](https://amzn.to/2D1sCE4)
                                1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 last edited by

                                  @Elzershark:

                                  Weiß nicht genau wo man das hin sendet. Also per Mail oder so? Gibt es da n Button? Oder hier per Nachricht? `

                                  PN geht, GitHub issue geht, hier posten geht 🙂 Choose …

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

                                    @PerfectAnswer, @All

                                    Auf Github gibt es die 0.1.3 des Adapters.

                                    Changelog:

                                    • Weitere Schemata Info hinzugefügt die automatisch erkannt und ausgefüllt werden für neue User

                                    • (@PerfectAnswer) Es sollten jetzt ausser beim App-Sync die Namen der Objekte erhalten bleiben. Beim Sync mit der App werden Sie aber ggf. überschrieben! Bitte ausprobieren!!

                                    • Einige kleinere Fehler die ich in Logs von Euch gesehen habe sind gefixt. Danke!

                                    ich hoffe auf Euer Feedback ob noch alles tut, dann packe ich es für die anderen auf npm

                                    Ansonsten kurzer Status zu den "Nicht immer online Geräten":

                                    Diese geht wohl aktuell nicht so wirklich weil Sie sich nicht wirklich im Netzwerk melden und der Adapter daher nicht weiss wann Sie online sind. Da ich leider kein solches gerät habe ist es schwierig da was zu debuggen 😞

                                    Die Geräte scheinen sich nur in der Tuya Cloud zu melden, den neuen Wert abzugeben und sind wieder offline.

                                    Theoretisch läuft da was mit MQTT aber das müsste jemand mit Wireshark mitschneiden (@arteck Lust? 🙂 ) weil ich so ein gerät nicht habe …

                                    Mal schauen ...

                                    Ingo

                                    1 Reply Last reply Reply Quote 0
                                    • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            946
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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