NEWS
[Aufruf] Neuer Adapter ioBroker.tuya (WLAN devices Tuya Smart Life und andere)
-
Erstmal die Antwort als Adapterentwickler:
Bei allen "immer online" Geräten kannst Du nach der einmaligen App-Verbindung, und sync des Adapters mit der App an sich theortisch die Cloud Server blockieren. Ich habe woanders aber gelesen das es durchaus geräte gibt die vllt damit nicht so gut klarkommen und instabil werden oder öfter neu starten oder so. Das müsstest Du damit versuchen. Der Adapter arbeitet vollkommen lokal im Moment.
Jetzt als Nutzer:
Sind "die Chinesen" denn soooo böse?
Ich sehe es eher professionell, weil an der Stelle sind das alles Geschäftsleute. Tuya ist eine große Platform die, wie wir ja wissen, sehr vielen Hardware-Herstellern die Funktionen anbietet. Wenn es dort ein Sicherheitsproblem gäbe oder die Geräte mehr Daten "nach Hause" schicken würden als Ihnen selbst gehören, dann wäre das ein echt großes Ding und dann hätten viele andere Leute und Firmen größere Probleme als ein einzelner Nutzer. Weiterhin sind das so viele Geräte das da keiner den Max Mustermann aus Deutschland gezielt angreifen wird.
Und ja, per Definition schicken Sie Ihre Daten nach Hause. Ob mehr Nach Hause gesendet wird, kann man einem Chinesischen oder auch jedem Westlichen Hersteller nur glauben oder prüfen
-
Mein Tuya klappt auch endlich….Zertifikat ,manuell in den W-Lan Verbindungen installieren....
<code>2018-11-12 18:24:08.134 - 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-12 18:24:08.134 - info: tuya.0 new Shema added for product type n8iVBAPLFKAAAszH. Please send next line from logfile on disk to developer! 2018-11-12 18:24:08.135 - 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-12 18:24:08.136 - info: tuya.0 new Shema added for product type ocNB89IgPygEpdnE. Please send next line from logfile on disk to developer! 2018-11-12 18:24:08.136 - 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-12 18:24:08.137 - info: tuya.0 new Shema added for product type PUyaDrOGMhJfCExd. Please send next line from logfile on disk to developer! 2018-11-12 18:24:08.138 - 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\":\"\"}]"} 2018-11-12 18:24:08.139 - info: tuya.0 new Shema added for product type rGglRM3FRxUKqJSA. Please send next line from logfile on disk to developer! 2018-11-12 18:24:08.139 - info: tuya.0 {"schema":"[{\"mode\":\"rw\",\"code\":\"basic_indicator\",\"name\":\"状态指示灯\",\"property\":{\"type\":\"bool\"},\"id\":101,\"type\":\"obj\",\"desc\":\"设备指示灯是否打开,true打开,false关闭\"},{\"mode\":\"rw\",\"code\":\"basic_flip\",\"name\":\"录制画面翻转\",\"property\":{\"type\":\"bool\"},\"id\":103,\"type\":\"obj\",\"desc\":\"true反转,false正常\"},{\"mode\":\"rw\",\"code\":\"basic_osd\",\"name\":\"视频osd功能\",\"property\":{\"type\":\"bool\"},\"id\":104,\"type\":\"obj\",\"desc\":\"true打开水印,false关闭水印\"},{\"mode\":\"rw\",\"code\":\"motion_sensitivity\",\"name\":\"移动侦测报警灵敏度\",\"property\":{\"range\":[\"0\",\"1\",\"2\"],\"type\":\"enum\"},\"id\":106,\"type\":\"obj\",\"desc\":\"0-2,灵敏度依次增加;仅为灵敏度,0并不是关闭移动侦测报警;规定0为低灵敏度,1为中灵敏度,2为高灵敏度。\"},{\"mode\":\"ro\",\"code\":\"sd_storge\",\"name\":\"获取SD卡容量\",\"property\":{\"type\":\"string\",\"maxlen\":255},\"id\":109,\"type\":\"obj\",\"desc\":\"示例:\\n---2017.07.08更新---\\n单位改为kb\\n---\\n3503775744|778977280|2718158848\\n其中第一字符串是总容量,第二个字符串是已使用的容量,第三个是剩余容量\"},{\"mode\":\"ro\",\"code\":\"sd_status\",\"name\":\"SD卡状态\",\"property\":{\"unit\":\"\",\"min\":1,\"max\":5,\"scale\":1,\"step\":1,\"type\":\"value\"},\"id\":110,\"type\":\"obj\",\"desc\":\"status:sd卡状态,1-正常,2-异常,3-空间不足,4-正在格式化,5-无SD卡;\"},{\"mode\":\"rw\",\"code\":\"sd_format\",\"name\":\"格式化存储卡\",\"property\":{\"type\":\"bool\"},\"id\":111,\"type\":\"obj\",\"desc\":\"无参数\"},{\"mode\":\"ro\",\"code\":\"movement_detect_pic\",\"name\":\"移动侦测图片/视频上传\",\"id\":115,\"type\":\"raw\",\"desc\":\"{\\\"dp_id\\\",\\\"bucket;object;key\\\"}/{\\\"dp_id\\\",\\\"bucket;object;\\\"}\\n\\nbucket:根文件夹;objcet:文件路径;key:加密\"},{\"mode\":\"rw\",\"code\":\"ptz_stop\",\"name\":\"停止云台转动\",\"property\":{\"type\":\"bool\"},\"id\":116,\"type\":\"obj\",\"desc\":\"无参数\"},{\"mode\":\"ro\",\"code\":\"sd_format_state\",\"name\":\"格式化状态\",\"property\":{\"unit\":\"\",\"min\":-20000,\"max\":20000,\"scale\":1,\"step\":1,\"type\":\"value\"},\"id\":117,\"type\":\"obj\",\"desc\":\"返回错误码:\\n-2000:SD卡正在格式化\\n-2001:SD卡格式化异常\\n-2002:无SD卡\\n-2003:SD卡错误\\n\\n//正数为格式化进度\"},{\"mode\":\"rw\",\"code\":\"ptz_control\",\"name\":\"云台控制\",\"property\":{\"range\":[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"0\"],\"type\":\"enum\"},\"id\":119,\"type\":\"obj\",\"desc\":\"direction:方向,共8个;0-上,1-右上,2-右,3-右下,4-下,5-左下,6-左,7-左上\"},{\"mode\":\"rw\",\"code\":\"motion_switch\",\"name\":\"移动侦测报警功能开关\",\"property\":{\"type\":\"bool\"},\"id\":134,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"decibel_switch\",\"name\":\"分贝检测功能开关\",\"property\":{\"type\":\"bool\"},\"id\":139,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"decibel_sensitivity\",\"name\":\"分贝检测灵敏度\",\"property\":{\"range\":[\"0\",\"1\"],\"type\":\"enum\"},\"id\":140,\"type\":\"obj\",\"desc\":\"0代表低灵敏度;1代表高灵敏度\"},{\"mode\":\"ro\",\"code\":\"decibel_upload\",\"name\":\"分贝报警通道\",\"property\":{\"type\":\"string\",\"maxlen\":255},\"id\":141,\"type\":\"obj\",\"desc\":\"用于报警消息推送,app上会显示通知\"}]","schemaExt":"[]"}[/code]</code>
-
Bitte vollständige schemainfos aus dem logfile auf Platte rauskopieren. Admin schneidet ab!!
Gesendet vom Handy …
-
Adapter Version: 1.0.3
tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.07200068dc4f223ec823.6 {"val":2251,"ack":true,"ts":1542055656104,"q":0,"from":"system.adapter.tuya.0","lc":1542055656104} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.07200068dc4f223ec823.5 {"val":0,"ack":true,"ts":1542055656103,"q":0,"from":"system.adapter.tuya.0","lc":1542054029043} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.07200068dc4f223ec823.4 {"val":0,"ack":true,"ts":1542055656103,"q":0,"from":"system.adapter.tuya.0","lc":1542054029027} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.07200068dc4f223ec823.2 {"val":0,"ack":true,"ts":1542055656102,"q":0,"from":"system.adapter.tuya.0","lc":1542054029016} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.07200068dc4f223ec823.1 {"val":false,"ack":true,"ts":1542055656100,"q":0,"from":"system.adapter.tuya.0","lc":1542054029005} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.0720006884f3eb84ad80.6 {"val":2260,"ack":true,"ts":1542055656095,"q":0,"from":"system.adapter.tuya.0","lc":1542055656095} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.0720006884f3eb84ad80.5 {"val":0,"ack":true,"ts":1542055656095,"q":0,"from":"system.adapter.tuya.0","lc":1542054026979} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.0720006884f3eb84ad80.4 {"val":0,"ack":true,"ts":1542055656093,"q":0,"from":"system.adapter.tuya.0","lc":1542054026964} tuya.0 2018-11-12 21:47:36.110 debug stateChange tuya.0.0720006884f3eb84ad80.2 {"val":0,"ack":true,"ts":1542055656092,"q":0,"from":"system.adapter.tuya.0","lc":1542054026949} tuya.0 2018-11-12 21:47:36.110 debug stateChange tuya.0.0720006884f3eb84ad80.1 {"val":false,"ack":true,"ts":1542055656090,"q":0,"from":"system.adapter.tuya.0","lc":1542054026936} tuya.0 2018-11-12 21:47:36.109 debug 07200068dc4f223ec823: Received data: {"1":false,"2":0,"4":0,"5":0,"6":2251} tuya.0 2018-11-12 21:47:36.090 debug 0720006884f3eb84ad80: Received data: {"1":false,"2":0,"4":0,"5":0,"6":2260} tuya.0 2018-11-12 21:47:16.791 debug sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2018-11-12 21:47:16.790 debug Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":55,"ack":false,"time":1542055636781},"_id":62252746} tuya.0 2018-11-12 21:46:36.129 debug stateChange tuya.0.07200068dc4f223ec823.6 {"val":2267,"ack":true,"ts":1542055596116,"q":0,"from":"system.adapter.tuya.0","lc":1542055596116} tuya.0 2018-11-12 21:46:36.128 debug stateChange tuya.0.07200068dc4f223ec823.5 {"val":0,"ack":true,"ts":1542055596115,"q":0,"from":"system.adapter.tuya.0","lc":1542054029043} tuya.0 2018-11-12 21:46:36.128 debug stateChange tuya.0.07200068dc4f223ec823.4 {"val":0,"ack":true,"ts":1542055596114,"q":0,"from":"system.adapter.tuya.0","lc":1542054029027} tuya.0 2018-11-12 21:46:36.128 debug stateChange tuya.0.07200068dc4f223ec823.2 {"val":0,"ack":true,"ts":1542055596112,"q":0,"from":"system.adapter.tuya.0","lc":1542054029016} tuya.0 2018-11-12 21:46:36.128 debug stateChange tuya.0.07200068dc4f223ec823.1 {"val":false,"ack":true,"ts":1542055596110,"q":0,"from":"system.adapter.tuya.0","lc":1542054029005} tuya.0 2018-11-12 21:46:36.127 debug stateChange tuya.0.0720006884f3eb84ad80.6 {"val":2282,"ack":true,"ts":1542055596103,"q":0,"from":"system.adapter.tuya.0","lc":1542055596103} tuya.0 2018-11-12 21:46:36.127 debug stateChange tuya.0.0720006884f3eb84ad80.5 {"val":0,"ack":true,"ts":1542055596102,"q":0,"from":"system.adapter.tuya.0","lc":1542054026979} tuya.0 2018-11-12 21:46:36.127 debug stateChange tuya.0.0720006884f3eb84ad80.4 {"val":0,"ack":true,"ts":1542055596100,"q":0,"from":"system.adapter.tuya.0","lc":1542054026964} tuya.0 2018-11-12 21:46:36.127 debug stateChange tuya.0.0720006884f3eb84ad80.2 {"val":0,"ack":true,"ts":1542055596098,"q":0,"from":"system.adapter.tuya.0","lc":1542054026949} tuya.0 2018-11-12 21:46:36.126 debug stateChange tuya.0.0720006884f3eb84ad80.1 {"val":false,"ack":true,"ts":1542055596096,"q":0,"from":"system.adapter.tuya.0","lc":1542054026936} tuya.0 2018-11-12 21:46:36.126 debug 07200068dc4f223ec823: Received data: {"1":false,"2":0,"4":0,"5":0,"6":2267} tuya.0 2018-11-12 21:46:36.125 debug 0720006884f3eb84ad80: Received data: {"1":false,"2":0,"4":0,"5":0,"6":2282} tuya.0 2018-11-12 21:46:23.791 debug Message: {"command":"getProxyResult","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":54,"ack":false,"time":1542055583787},"_id":62252745} tuya.0 2018-11-12 21:46:23.245 debug sendTo "startProxy" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2018-11-12 21:46:23.233 info Anyproxy ready to receive requests tuya.0 2018-11-12 21:46:23.233 debug init anyproxy rule tuya.0 2018-11-12 21:46:23.233 debug Use first network interface (192.168.1.21) tuya.0 2018-11-12 21:46:23.232 debug Message: {"command":"startProxy","message":{"proxyPort":"8888","proxyWebPort":"8889"},"from":"system.adapter.admin.0","callback":{"message":{"proxyPort":"8888","proxyWebPort":"8889"},"id":53,"ack":fal tuya.0 2018-11-12 21:46:16.632 debug sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2018-11-12 21:46:16.631 debug Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":52,"ack":false,"time":1542055576622},"_id":62252741}
-
Bitte vollständige schemainfos aus dem logfile auf Platte rauskopieren. Admin schneidet ab!!
Gesendet vom Handy … `
So log getauscht sorry
-
Thanks!
@madd268@hotmail.de:Mein Tuya klappt auch endlich….Zertifikat ,manuell in den W-Lan Verbindungen installieren....
2018-11-12 18:24:08.134 - 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":"[]"} ```` `
Bei dem ersten fehlt die Zeile davor mit der productid … hast Du die noch?
-
Adapter Version: 1.0.3
tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.07200068dc4f223ec823.6 {"val":2251,"ack":true,"ts":1542055656104,"q":0,"from":"system.adapter.tuya.0","lc":1542055656104} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.07200068dc4f223ec823.5 {"val":0,"ack":true,"ts":1542055656103,"q":0,"from":"system.adapter.tuya.0","lc":1542054029043} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.07200068dc4f223ec823.4 {"val":0,"ack":true,"ts":1542055656103,"q":0,"from":"system.adapter.tuya.0","lc":1542054029027} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.07200068dc4f223ec823.2 {"val":0,"ack":true,"ts":1542055656102,"q":0,"from":"system.adapter.tuya.0","lc":1542054029016} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.07200068dc4f223ec823.1 {"val":false,"ack":true,"ts":1542055656100,"q":0,"from":"system.adapter.tuya.0","lc":1542054029005} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.0720006884f3eb84ad80.6 {"val":2260,"ack":true,"ts":1542055656095,"q":0,"from":"system.adapter.tuya.0","lc":1542055656095} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.0720006884f3eb84ad80.5 {"val":0,"ack":true,"ts":1542055656095,"q":0,"from":"system.adapter.tuya.0","lc":1542054026979} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.0720006884f3eb84ad80.4 {"val":0,"ack":true,"ts":1542055656093,"q":0,"from":"system.adapter.tuya.0","lc":1542054026964} tuya.0 2018-11-12 21:47:36.110 debug stateChange tuya.0.0720006884f3eb84ad80.2 {"val":0,"ack":true,"ts":1542055656092,"q":0,"from":"system.adapter.tuya.0","lc":1542054026949} tuya.0 2018-11-12 21:47:36.110 debug stateChange tuya.0.0720006884f3eb84ad80.1 {"val":false,"ack":true,"ts":1542055656090,"q":0,"from":"system.adapter.tuya.0","lc":1542054026936} tuya.0 2018-11-12 21:47:36.109 debug 07200068dc4f223ec823: Received data: {"1":false,"2":0,"4":0,"5":0,"6":2251} tuya.0 2018-11-12 21:47:36.090 debug 0720006884f3eb84ad80: Received data: {"1":false,"2":0,"4":0,"5":0,"6":2260} tuya.0 2018-11-12 21:47:16.791 debug sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2018-11-12 21:47:16.790 debug Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":55,"ack":false,"time":1542055636781},"_id":62252746} tuya.0 2018-11-12 21:46:36.129 debug stateChange tuya.0.07200068dc4f223ec823.6 {"val":2267,"ack":true,"ts":1542055596116,"q":0,"from":"system.adapter.tuya.0","lc":1542055596116} tuya.0 2018-11-12 21:46:36.128 debug stateChange tuya.0.07200068dc4f223ec823.5 {"val":0,"ack":true,"ts":1542055596115,"q":0,"from":"system.adapter.tuya.0","lc":1542054029043} tuya.0 2018-11-12 21:46:36.128 debug stateChange tuya.0.07200068dc4f223ec823.4 {"val":0,"ack":true,"ts":1542055596114,"q":0,"from":"system.adapter.tuya.0","lc":1542054029027} tuya.0 2018-11-12 21:46:36.128 debug stateChange tuya.0.07200068dc4f223ec823.2 {"val":0,"ack":true,"ts":1542055596112,"q":0,"from":"system.adapter.tuya.0","lc":1542054029016} tuya.0 2018-11-12 21:46:36.128 debug stateChange tuya.0.07200068dc4f223ec823.1 {"val":false,"ack":true,"ts":1542055596110,"q":0,"from":"system.adapter.tuya.0","lc":1542054029005} tuya.0 2018-11-12 21:46:36.127 debug stateChange tuya.0.0720006884f3eb84ad80.6 {"val":2282,"ack":true,"ts":1542055596103,"q":0,"from":"system.adapter.tuya.0","lc":1542055596103} tuya.0 2018-11-12 21:46:36.127 debug stateChange tuya.0.0720006884f3eb84ad80.5 {"val":0,"ack":true,"ts":1542055596102,"q":0,"from":"system.adapter.tuya.0","lc":1542054026979} tuya.0 2018-11-12 21:46:36.127 debug stateChange tuya.0.0720006884f3eb84ad80.4 {"val":0,"ack":true,"ts":1542055596100,"q":0,"from":"system.adapter.tuya.0","lc":1542054026964} tuya.0 2018-11-12 21:46:36.127 debug stateChange tuya.0.0720006884f3eb84ad80.2 {"val":0,"ack":true,"ts":1542055596098,"q":0,"from":"system.adapter.tuya.0","lc":1542054026949} tuya.0 2018-11-12 21:46:36.126 debug stateChange tuya.0.0720006884f3eb84ad80.1 {"val":false,"ack":true,"ts":1542055596096,"q":0,"from":"system.adapter.tuya.0","lc":1542054026936} tuya.0 2018-11-12 21:46:36.126 debug 07200068dc4f223ec823: Received data: {"1":false,"2":0,"4":0,"5":0,"6":2267} tuya.0 2018-11-12 21:46:36.125 debug 0720006884f3eb84ad80: Received data: {"1":false,"2":0,"4":0,"5":0,"6":2282} tuya.0 2018-11-12 21:46:23.791 debug Message: {"command":"getProxyResult","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":54,"ack":false,"time":1542055583787},"_id":62252745} tuya.0 2018-11-12 21:46:23.245 debug sendTo "startProxy" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2018-11-12 21:46:23.233 info Anyproxy ready to receive requests tuya.0 2018-11-12 21:46:23.233 debug init anyproxy rule tuya.0 2018-11-12 21:46:23.233 debug Use first network interface (192.168.1.21) tuya.0 2018-11-12 21:46:23.232 debug Message: {"command":"startProxy","message":{"proxyPort":"8888","proxyWebPort":"8889"},"from":"system.adapter.admin.0","callback":{"message":{"proxyPort":"8888","proxyWebPort":"8889"},"id":53,"ack":fal tuya.0 2018-11-12 21:46:16.632 debug sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2018-11-12 21:46:16.631 debug Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":52,"ack":false,"time":1542055576622},"_id":62252741} ```` `
Was möchtest DU mit dem Post sagen? Alles ok oder stimmt was nicht?
-
Adapter Version: 1.0.3
tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.07200068dc4f223ec823.6 {"val":2251,"ack":true,"ts":1542055656104,"q":0,"from":"system.adapter.tuya.0","lc":1542055656104} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.07200068dc4f223ec823.5 {"val":0,"ack":true,"ts":1542055656103,"q":0,"from":"system.adapter.tuya.0","lc":1542054029043} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.07200068dc4f223ec823.4 {"val":0,"ack":true,"ts":1542055656103,"q":0,"from":"system.adapter.tuya.0","lc":1542054029027} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.07200068dc4f223ec823.2 {"val":0,"ack":true,"ts":1542055656102,"q":0,"from":"system.adapter.tuya.0","lc":1542054029016} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.07200068dc4f223ec823.1 {"val":false,"ack":true,"ts":1542055656100,"q":0,"from":"system.adapter.tuya.0","lc":1542054029005} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.0720006884f3eb84ad80.6 {"val":2260,"ack":true,"ts":1542055656095,"q":0,"from":"system.adapter.tuya.0","lc":1542055656095} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.0720006884f3eb84ad80.5 {"val":0,"ack":true,"ts":1542055656095,"q":0,"from":"system.adapter.tuya.0","lc":1542054026979} tuya.0 2018-11-12 21:47:36.111 debug stateChange tuya.0.0720006884f3eb84ad80.4 {"val":0,"ack":true,"ts":1542055656093,"q":0,"from":"system.adapter.tuya.0","lc":1542054026964} tuya.0 2018-11-12 21:47:36.110 debug stateChange tuya.0.0720006884f3eb84ad80.2 {"val":0,"ack":true,"ts":1542055656092,"q":0,"from":"system.adapter.tuya.0","lc":1542054026949} tuya.0 2018-11-12 21:47:36.110 debug stateChange tuya.0.0720006884f3eb84ad80.1 {"val":false,"ack":true,"ts":1542055656090,"q":0,"from":"system.adapter.tuya.0","lc":1542054026936} tuya.0 2018-11-12 21:47:36.109 debug 07200068dc4f223ec823: Received data: {"1":false,"2":0,"4":0,"5":0,"6":2251} tuya.0 2018-11-12 21:47:36.090 debug 0720006884f3eb84ad80: Received data: {"1":false,"2":0,"4":0,"5":0,"6":2260} tuya.0 2018-11-12 21:47:16.791 debug sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2018-11-12 21:47:16.790 debug Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":55,"ack":false,"time":1542055636781},"_id":62252746} tuya.0 2018-11-12 21:46:36.129 debug stateChange tuya.0.07200068dc4f223ec823.6 {"val":2267,"ack":true,"ts":1542055596116,"q":0,"from":"system.adapter.tuya.0","lc":1542055596116} tuya.0 2018-11-12 21:46:36.128 debug stateChange tuya.0.07200068dc4f223ec823.5 {"val":0,"ack":true,"ts":1542055596115,"q":0,"from":"system.adapter.tuya.0","lc":1542054029043} tuya.0 2018-11-12 21:46:36.128 debug stateChange tuya.0.07200068dc4f223ec823.4 {"val":0,"ack":true,"ts":1542055596114,"q":0,"from":"system.adapter.tuya.0","lc":1542054029027} tuya.0 2018-11-12 21:46:36.128 debug stateChange tuya.0.07200068dc4f223ec823.2 {"val":0,"ack":true,"ts":1542055596112,"q":0,"from":"system.adapter.tuya.0","lc":1542054029016} tuya.0 2018-11-12 21:46:36.128 debug stateChange tuya.0.07200068dc4f223ec823.1 {"val":false,"ack":true,"ts":1542055596110,"q":0,"from":"system.adapter.tuya.0","lc":1542054029005} tuya.0 2018-11-12 21:46:36.127 debug stateChange tuya.0.0720006884f3eb84ad80.6 {"val":2282,"ack":true,"ts":1542055596103,"q":0,"from":"system.adapter.tuya.0","lc":1542055596103} tuya.0 2018-11-12 21:46:36.127 debug stateChange tuya.0.0720006884f3eb84ad80.5 {"val":0,"ack":true,"ts":1542055596102,"q":0,"from":"system.adapter.tuya.0","lc":1542054026979} tuya.0 2018-11-12 21:46:36.127 debug stateChange tuya.0.0720006884f3eb84ad80.4 {"val":0,"ack":true,"ts":1542055596100,"q":0,"from":"system.adapter.tuya.0","lc":1542054026964} tuya.0 2018-11-12 21:46:36.127 debug stateChange tuya.0.0720006884f3eb84ad80.2 {"val":0,"ack":true,"ts":1542055596098,"q":0,"from":"system.adapter.tuya.0","lc":1542054026949} tuya.0 2018-11-12 21:46:36.126 debug stateChange tuya.0.0720006884f3eb84ad80.1 {"val":false,"ack":true,"ts":1542055596096,"q":0,"from":"system.adapter.tuya.0","lc":1542054026936} tuya.0 2018-11-12 21:46:36.126 debug 07200068dc4f223ec823: Received data: {"1":false,"2":0,"4":0,"5":0,"6":2267} tuya.0 2018-11-12 21:46:36.125 debug 0720006884f3eb84ad80: Received data: {"1":false,"2":0,"4":0,"5":0,"6":2282} tuya.0 2018-11-12 21:46:23.791 debug Message: {"command":"getProxyResult","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":54,"ack":false,"time":1542055583787},"_id":62252745} tuya.0 2018-11-12 21:46:23.245 debug sendTo "startProxy" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2018-11-12 21:46:23.233 info Anyproxy ready to receive requests tuya.0 2018-11-12 21:46:23.233 debug init anyproxy rule tuya.0 2018-11-12 21:46:23.233 debug Use first network interface (192.168.1.21) tuya.0 2018-11-12 21:46:23.232 debug Message: {"command":"startProxy","message":{"proxyPort":"8888","proxyWebPort":"8889"},"from":"system.adapter.admin.0","callback":{"message":{"proxyPort":"8888","proxyWebPort":"8889"},"id":53,"ack":fal tuya.0 2018-11-12 21:46:16.632 debug sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0 tuya.0 2018-11-12 21:46:16.631 debug Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":52,"ack":false,"time":1542055576622},"_id":62252741} ```` `
Was möchtest DU mit dem Post sagen? Alles ok oder stimmt was nicht? `
Du hast ja gesagt ich soll dir nochmals alle logs schicken weil es eben nicht geht
-
Also in dem log sehe ich das der Adapter Daten empfängt. In deinem proxy Screenshot ist außer dem letzten Eintrag alles andere Dinge als tuya. Das letzte ist ein connect zum tuya Server.
Also was genau tut nicht und was hast du alles versucht? Geht der Sync nicht? Das Zertifikat ist korrekt im Handy installiert? App mal gekillt und mit aktiviertem Proxy frisch geöffnet? Mal bissl länger gewartet?
Gesendet vom Handy …
-
ja genau…er versucht sich glaub ich zu tuya zu connecten und das wars...da kommt dann nur ein netzwerk-error am handy angezeigt und nix geht.
-
Also in dem log sehe ich das der Adapter Daten empfängt. In deinem proxy Screenshot ist außer dem letzten Eintrag alles andere Dinge als tuya. Das letzte ist ein connect zum tuya Server.
Also was genau tut nicht und was hast du alles versucht? Geht der Sync nicht? Das Zertifikat ist korrekt im Handy installiert? App mal gekillt und mit aktiviertem Proxy frisch geöffnet? Mal bissl länger gewartet?
Gesendet vom Handy … `
genau der sync funktioniert absolut nicht..ich hab alles gekillt.
hab sogar tuya nochmals komplett deinstalliert.
neu installiert.
dann in der console ein neues zertifikat mit anyproxy-ca ausgestellt.
im tuya adapter auf start proxy geklickt.
qr code gescannt, zertifikat runter geladen
installiert (name: iobroker verbindung: wlan)
unter meiner wlan verbindung den proxy mit dem port 8888 eingestellt.
dann smart life geöffnet…..und das wars....da kommt dann der fehler, von weiter oben, den ich dir schon mal gepostet habe
smart life gekillt
tuya geschlossen, reloaded, geöffnet.....keine veränderung
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);"undefined"!==typeof" module&&(module.exports="b);process.on("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(>
-
neues Zertifikat? Und du bist sicher das dein Handy jetzt das aktuelle und korrekte Zertifikat hat? Weil wenn das nicht passt kommen ggf Fehler.
Welche Fehler genau sagt denn die App oder Dein Handy?
Bei vielen anderen tut es … ich kann Dir nicht sagen was bei Dir anders ist ...
-
Bei meinem Phone habe ich die Einstellungen gemacht und unten rechts gibts einen Schalter mit "mehr" dort rein und da gibts Zertifikat installieren.Dort so machen wie beschrieben und schon klappt es auch mit dem Sync
-
Thanks!
@madd268@hotmail.de:Mein Tuya klappt auch endlich….Zertifikat ,manuell in den W-Lan Verbindungen installieren....
2018-11-12 18:24:08.134 - 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":"[]"} ```` `
Bei dem ersten fehlt die Zeile davor mit der productid … hast Du die noch? `
2018-11-12 18:31:48.025 - info: tuya.0 new Shema added for product type HPiNfakVX1Z9hWsO. Please send next line from logfile on disk to developer! -
neues Zertifikat? Und du bist sicher das dein Handy jetzt das aktuelle und korrekte Zertifikat hat? Weil wenn das nicht passt kommen ggf Fehler.
Welche Fehler genau sagt denn die App oder Dein Handy?
Bei vielen anderen tut es … ich kann Dir nicht sagen was bei Dir anders ist ...
`
Handy hat zumindest gesagt dass das neue Zertifikat installiert wurde. Sobald ich mit den Proxy Einstellungen die Smart Life app öffne bekomme ich einen Netzwerkfehler.
Ich werde alles mal deinstallieren und neu installieren und schauen ob es einen error gibt.
Sollte ich den anyproxy mit npm I anyproxy - G auch installieren? (sudo)?
-
Genauer Fehler bitte.
Anyproxy global … ja kannst du, hilft aber nix weil der adapter das nicht nutzt weil seinen eigenen mitbringt.
Gesendet vom Handy ...
-
das ist normal beim installieren vom adapter?
$ ./iobroker url "https://github.com/Apollon77/ioBroker.tuya" install https://github.com/Apollon77/ioBroker.tuya/tarball/master npm install https://github.com/Apollon77/ioBroker.tuya/tarball/master --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 deprecated bcrypt@1.0.3: bcrypt < v2.0.0 is susceptible to bcrypt wrap-around bug. Upgrade to bcrypt >= v2.0.0 for improved support for newer bcrypt hashes node-pre-gyp ERR! Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.3/bcrypt_lib-v1.0.3-node-v64-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for bcrypt@1.0.3 and node@10.10.0 (node-v64 ABI) (falling back to source compile with node-gyp) node-pre-gyp ERR! Tried to download(undefined): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.3/bcrypt_lib-v1.0.3-node-v64-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for bcrypt@1.0.3 and node@10.10.0 (node-v64 ABI) (falling back to source compile with node-gyp) rm: das Entfernen von './Release/.deps/Release/obj.target/bcrypt_lib/src/blowfish.o.d.raw' ist nicht möglich : Datei oder Verzeichnis nicht gefunden make: *** [Release/obj.target/bcrypt_lib/src/blowfish.o] Fehler 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) gyp ERR! System Linux 4.14.71-v7+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding/bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding" gyp ERR! cwd /opt/iobroker/node_modules/node-red/node_modules/bcrypt gyp ERR! node -v v10.10.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding' (1) node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:962:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5) node-pre-gyp ERR! System Linux 4.14.71-v7+ node-pre-gyp ERR! command "/usr/local/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd /opt/iobroker/node_modules/node-red/node_modules/bcrypt node-pre-gyp ERR! node -v v10.10.0node-pre-gyp ERR! node-pre-gyp -v v0.6.36 node-pre-gyp ERR! not ok ../src/bcrypt.cc:322:1: fatal error: opening dependency file ./Release/.deps/Release/obj.target/bcrypt_lib/src/bcrypt.o.d.raw: Datei oder Verzeichnis nicht gefunden } ^ compilation terminated. make: *** [Release/obj.target/bcrypt_lib/src/bcrypt.o] Fehler 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) gyp ERR! System Linux 4.14.71-v7+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding/bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding" gyp ERR! cwd /opt/iobroker/node_modules/node-red/node_modules/bcrypt gyp ERR! node -v v10.10.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/alexa-cookie/package.json'npm WARN react-beautiful-dnd@9.0.2 requires a peer of react@^16.3.1 but none is installed. You must install peer dependencies yourself. npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself. npm WARN react-redux@5.0.7 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself. npm WARN react-beautiful-dnd@9.0.2 requires a peer of react@^16.3.1 but none is installed. You must install peer dependencies yourself. npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself. npm WARN react-redux@5.0.7 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself. 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: bcrypt@1.0.3 (node_modules/node-red/node_modules/bcrypt):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bcrypt@1.0.3 install: `node-pre-gyp install --fallback-to-build` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 process exited with code 0</anonymous>
-
Genauer Fehler bitte.
Anyproxy global … ja kannst du, hilft aber nix weil der adapter das nicht nutzt weil seinen eigenen mitbringt.
Gesendet vom Handy ... `
genauer kann ichs nicht sagen, denn das ist ein kleines fenster am handy, welches sagt netzwerkfehler
-
das ist normal beim installieren vom adapter?
$ ./iobroker url "https://github.com/Apollon77/ioBroker.tuya" install https://github.com/Apollon77/ioBroker.tuya/tarball/master npm install https://github.com/Apollon77/ioBroker.tuya/tarball/master --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 deprecated bcrypt@1.0.3: bcrypt < v2.0.0 is susceptible to bcrypt wrap-around bug. Upgrade to bcrypt >= v2.0.0 for improved support for newer bcrypt hashes node-pre-gyp ERR! Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.3/bcrypt_lib-v1.0.3-node-v64-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for bcrypt@1.0.3 and node@10.10.0 (node-v64 ABI) (falling back to source compile with node-gyp) node-pre-gyp ERR! Tried to download(undefined): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.3/bcrypt_lib-v1.0.3-node-v64-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for bcrypt@1.0.3 and node@10.10.0 (node-v64 ABI) (falling back to source compile with node-gyp) rm: das Entfernen von './Release/.deps/Release/obj.target/bcrypt_lib/src/blowfish.o.d.raw' ist nicht möglich : Datei oder Verzeichnis nicht gefunden make: *** [Release/obj.target/bcrypt_lib/src/blowfish.o] Fehler 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) gyp ERR! System Linux 4.14.71-v7+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding/bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding" gyp ERR! cwd /opt/iobroker/node_modules/node-red/node_modules/bcrypt gyp ERR! node -v v10.10.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding' (1) node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:962:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5) node-pre-gyp ERR! System Linux 4.14.71-v7+ node-pre-gyp ERR! command "/usr/local/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd /opt/iobroker/node_modules/node-red/node_modules/bcrypt node-pre-gyp ERR! node -v v10.10.0node-pre-gyp ERR! node-pre-gyp -v v0.6.36 node-pre-gyp ERR! not ok ../src/bcrypt.cc:322:1: fatal error: opening dependency file ./Release/.deps/Release/obj.target/bcrypt_lib/src/bcrypt.o.d.raw: Datei oder Verzeichnis nicht gefunden } ^ compilation terminated. make: *** [Release/obj.target/bcrypt_lib/src/bcrypt.o] Fehler 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) gyp ERR! System Linux 4.14.71-v7+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding/bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding" gyp ERR! cwd /opt/iobroker/node_modules/node-red/node_modules/bcrypt gyp ERR! node -v v10.10.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/alexa-cookie/package.json'npm WARN react-beautiful-dnd@9.0.2 requires a peer of react@^16.3.1 but none is installed. You must install peer dependencies yourself. npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself. npm WARN react-redux@5.0.7 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself. npm WARN react-beautiful-dnd@9.0.2 requires a peer of react@^16.3.1 but none is installed. You must install peer dependencies yourself. npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself. npm WARN react-redux@5.0.7 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself. 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: bcrypt@1.0.3 (node_modules/node-red/node_modules/bcrypt):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bcrypt@1.0.3 install: `node-pre-gyp install --fallback-to-build` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 process exited with code 0</anonymous> ```` `
Hm … Versuch mal mit sudo. Der bcrypt Fehler ist an sich optional ...
Ich habe es unter node 10 noch nicht genutzt ... daher kann ich nicht sagen ob es vllt daran liegt .... hm ....
Gesendet vom Handy ...
-
das ist normal beim installieren vom adapter?
$ ./iobroker url "https://github.com/Apollon77/ioBroker.tuya" install https://github.com/Apollon77/ioBroker.tuya/tarball/master npm install https://github.com/Apollon77/ioBroker.tuya/tarball/master --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 deprecated bcrypt@1.0.3: bcrypt < v2.0.0 is susceptible to bcrypt wrap-around bug. Upgrade to bcrypt >= v2.0.0 for improved support for newer bcrypt hashes node-pre-gyp ERR! Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.3/bcrypt_lib-v1.0.3-node-v64-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for bcrypt@1.0.3 and node@10.10.0 (node-v64 ABI) (falling back to source compile with node-gyp) node-pre-gyp ERR! Tried to download(undefined): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.3/bcrypt_lib-v1.0.3-node-v64-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for bcrypt@1.0.3 and node@10.10.0 (node-v64 ABI) (falling back to source compile with node-gyp) rm: das Entfernen von './Release/.deps/Release/obj.target/bcrypt_lib/src/blowfish.o.d.raw' ist nicht möglich : Datei oder Verzeichnis nicht gefunden make: *** [Release/obj.target/bcrypt_lib/src/blowfish.o] Fehler 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) gyp ERR! System Linux 4.14.71-v7+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding/bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding" gyp ERR! cwd /opt/iobroker/node_modules/node-red/node_modules/bcrypt gyp ERR! node -v v10.10.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding' (1) node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:962:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5) node-pre-gyp ERR! System Linux 4.14.71-v7+ node-pre-gyp ERR! command "/usr/local/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd /opt/iobroker/node_modules/node-red/node_modules/bcrypt node-pre-gyp ERR! node -v v10.10.0node-pre-gyp ERR! node-pre-gyp -v v0.6.36 node-pre-gyp ERR! not ok ../src/bcrypt.cc:322:1: fatal error: opening dependency file ./Release/.deps/Release/obj.target/bcrypt_lib/src/bcrypt.o.d.raw: Datei oder Verzeichnis nicht gefunden } ^ compilation terminated. make: *** [Release/obj.target/bcrypt_lib/src/bcrypt.o] Fehler 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) gyp ERR! System Linux 4.14.71-v7+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding/bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=/opt/iobroker/node_modules/node-red/node_modules/bcrypt/lib/binding" gyp ERR! cwd /opt/iobroker/node_modules/node-red/node_modules/bcrypt gyp ERR! node -v v10.10.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/alexa-cookie/package.json'npm WARN react-beautiful-dnd@9.0.2 requires a peer of react@^16.3.1 but none is installed. You must install peer dependencies yourself. npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself. npm WARN react-redux@5.0.7 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself. npm WARN react-beautiful-dnd@9.0.2 requires a peer of react@^16.3.1 but none is installed. You must install peer dependencies yourself. npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself. npm WARN react-redux@5.0.7 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself. 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: bcrypt@1.0.3 (node_modules/node-red/node_modules/bcrypt):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bcrypt@1.0.3 install: `node-pre-gyp install --fallback-to-build` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 process exited with code 0</anonymous> ```` `
Hm … Versuch mal mit sudo. Der bcrypt Fehler ist an sich optional ...
Ich habe es unter node 10 noch nicht genutzt ... daher kann ich nicht sagen ob es vllt daran liegt .... hm ....
Gesendet vom Handy ... `
selbst problem