NEWS
[Aufruf] Neuer Adapter ioBroker.tuya (WLAN devices Tuya Smart Life und andere)
-
Halbwissen, Wissen, Vermutung.. Alles von allem..
Frage.. Wie kommt man an Node 10?
Upgrade? Danach auch alle Adapter neu geladen? auf Node 10 alle Adapter eingerichtet?
Das machen/wissen die wenigsten und nichts geht mehr.
Daher kann man fast nicht sagen ob es mit Node 10 geht oder nicht.
Außer man "weiß" wie man auf Node 10 ioBroker richtig installiert und dann Testet..
Dann fängt aber alles wieder wie oben an-.. xD `
Funktioniert bei mir nun auch nicht mit der 8er Version. Selber Fehler -
Hallo,
geht auch ohne der Windows App…..
Screenshot (1168)_LI.jpg `
und wie?
Gruß
Jörg `
-
<code>tuya.0 new Shema added for product type HPiNfakVX1Z9hWsO. Please send next line from logfile on disk to developer! 2018-11-14 21:43:04.500 - info: tuya.0 {"schema":"[{\"mode\":\"rw\",\"code\":\"switch_on\",\"name\":\"开关\",\"property\":{\"type\":\"bool\"},\"iconname\":\"icon-dp_power3\",\"id\":1,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"countdown\",\"name\":\"延迟\",\"property\":{\"unit\":\"秒\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":2,\"type\":\"obj\",\"passive\":true,\"desc\":\"\"},{\"mode\":\"ro\",\"code\":\"add_ele\",\"name\":\"电量\",\"property\":{\"unit\":\"度\",\"min\":0,\"max\":500000,\"scale\":3,\"step\":100,\"type\":\"value\"},\"id\":3,\"type\":\"obj\",\"desc\":\"上报的为放大100倍之后的值,即上报56,实际值为0.56度\"},{\"mode\":\"ro\",\"code\":\"cur_current\",\"name\":\"电流\",\"property\":{\"unit\":\"mA\",\"min\":0,\"max\":30000,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":4,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"ro\",\"code\":\"cur_power\",\"name\":\"功率\",\"property\":{\"unit\":\"W\",\"min\":0,\"max\":50000,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":5,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"ro\",\"code\":\"cur_voltage\",\"name\":\"电压\",\"property\":{\"unit\":\"V\",\"min\":0,\"max\":2500,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":6,\"type\":\"obj\",\"desc\":\"\"}]","schemaExt":"[]"} 2018-11-14 21:43:04.501 - info: tuya.0 new Shema added for product type n8iVBAPLFKAAAszH. Please send next line from logfile on disk to developer! 2018-11-14 21:43:04.501 - info: tuya.0 {"schema":"[{\"mode\":\"rw\",\"code\":\"switch_on\",\"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_time\",\"id\":2,\"type\":\"obj\",\"passive\":true,\"desc\":\"\"}]","schemaExt":"[{\"id\":2,\"inputType\":\"\"}]"} 2018-11-14 21:43:04.502 - info: tuya.0 new Shema added for product type ocNB89IgPygEpdnE. Please send next line from logfile on disk to developer! 2018-11-14 21:43:04.502 - info: tuya.0 {"schema":"[{\"mode\":\"ro\",\"code\":\"switch\",\"name\":\"开关\",\"property\":{\"type\":\"bool\"},\"id\":101,\"type\":\"obj\",\"desc\":\"上报门窗开关状态\"},{\"mode\":\"ro\",\"code\":\"TamperedAlarm\",\"name\":\"防拆报警\",\"property\":{\"type\":\"bool\"},\"id\":102,\"type\":\"obj\",\"desc\":\"mcu 上报拆除信息\"},{\"mode\":\"ro\",\"code\":\"Battery\",\"name\":\"电池电量\",\"property\":{\"unit\":\"%\",\"min\":0,\"max\":100,\"scale\":0,\"step\":10,\"type\":\"value\"},\"id\":103,\"type\":\"obj\",\"desc\":\"mcu 上报电池电量信息\"},{\"mode\":\"ro\",\"code\":\"state\",\"name\":\"状态\",\"property\":{\"type\":\"bool\"},\"id\":105,\"type\":\"obj\",\"desc\":\"上报产品是“休眠”还是“离线”\"}]","schemaExt":"[]"} 2018-11-14 21:43:04.502 - info: tuya.0 new Shema added for product type PUyaDrOGMhJfCExd. Please send next line from logfile on disk to developer! 2018-11-14 21:43:04.503 - info: tuya.0 {"schema":"[{\"mode\":\"rw\",\"code\":\"switch_on\",\"name\":\"开关\",\"property\":{\"type\":\"bool\"},\"iconname\":\"icon-dp_power\",\"id\":1,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"countdown\",\"name\":\"倒计时\",\"property\":{\"unit\":\"秒\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":2,\"type\":\"obj\",\"passive\":true,\"desc\":\"\"},{\"mode\":\"ro\",\"code\":\"add_ele\",\"name\":\"增加电量\",\"property\":{\"unit\":\"度\",\"min\":0,\"max\":50000,\"scale\":3,\"step\":100,\"type\":\"value\"},\"id\":3,\"trigger\":\"direct\",\"type\":\"obj\",\"desc\":\"上报的为放大1000倍之后的值,即上报56,实际值为0.056度\"},{\"mode\":\"ro\",\"code\":\"cur_current\",\"name\":\"当前电流\",\"property\":{\"unit\":\"mA\",\"min\":0,\"max\":30000,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":4,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"ro\",\"code\":\"cur_power\",\"name\":\"当前功率\",\"property\":{\"unit\":\"W\",\"min\":0,\"max\":50000,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":5,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"ro\",\"code\":\"cur_voltage\",\"name\":\"当前电压\",\"property\":{\"unit\":\"V\",\"min\":0,\"max\":2500,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":6,\"type\":\"obj\",\"desc\":\"\"}]","schemaExt":"[{\"id\":2,\"inputType\":\"\"},{\"id\":3,\"inputType\":\"\"},{\"id\":4,\"inputType\":\"\"},{\"id\":5,\"inputType\":\"\"},{\"id\":6,\"inputType\":\"\"}]"}</code>
-
Mal wieder etwas neues:
<code>2018-11-15 23:56:34.240 - [32minfo[39m: tuya.0 new Shema added for product type r15JnoGqWPM4PPtl. Please send next line from logfile on disk to developer! 2018-11-15 23:56:34.240 - [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>
-
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>
-
Danke, sind jetzt alle in der 1.0.4 drin.
-
Hallo Apollon77,
Nächste Woche bekomme ich wieder ein Spielzeug für die Weihnachtsbeleuchtung…...
Ich hoffe sie funktioniert mit deinen Adapter.
Heute bekommen, Funktioniert!
-
Gute Chancen
Gesendet vom Handy …
-
Die Steckdose funzt. Hab die installiert. Die müsste auch schon integriert sein, da ich kein neues schema bekomme
-
COOL, mit Verbrauchswerte?
-
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>
-
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...
-
Tja, die wh bzw. kwh darst du selber emitteln….
Vielleicht hat hier ja schon jemand eine Lösung dafür erstellt...
-
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 ...
-
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.

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 ````~~
-
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.
-
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.
-
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 …
-
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
-
Beim App Sync wird er aktuell immer überschrieben. Sonst sollte er an sich bestehen bleiben.
Wann wird es denn überschrieben?
Gesendet vom Handy …