Apollon77 / ioBroker.tuya

ioBroker adapter to connect to several small and cheap Wifi devices that care connected to the Tuya Cloud and mostly use the Smartlife App/Alexa-Skill
MIT License
88 stars 22 forks source link

Steckdose funktioniert nicht #178

Closed wizzardking closed 4 years ago

wizzardking commented 4 years ago

Hallo Apollon77

Vielen Dank für den Tuya Adapter. Ich habe schon seit längerem einen Luftbefeuchter damit verbunden und dieser funktionierte auch perfekt mit dem Adapter. Nun wollte ich aber noch eine Steckdose anbinden und scheitere leider dabei. Den Connector habe ich komplett de- und neu installiert, so wie mit den den neuen certs alles nochmals eingerichtet.

Die Datenpunkte werde zwar erstellt, aber bleiben bei der Steckdose leer. Der installierte Adapter hat die Version 3.2.3 und mit dem Proxy scheint auch alles geklappt zu haben, sonst würde das zweite Gerät ja nicht funktionieren.

080118272cf432cbcc13 ist die Steckdose, welche nicht funktioniert.

Debug Log: `

tuya.0 2020-06-01 04:19:51.198 debug (21227) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0
tuya.0 2020-06-01 04:19:51.198 debug (21227) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":510,"ack":false,"time":1590977991197},"_id":53744552}
tuya.0 2020-06-01 04:19:28.196 debug (21227) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0
tuya.0 2020-06-01 04:19:28.196 debug (21227) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":509,"ack":false,"time":1590977968195},"_id":53744551}
tuya.0 2020-06-01 04:19:11.204 debug (21227) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0
tuya.0 2020-06-01 04:19:11.203 debug (21227) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":508,"ack":false,"time":1590977951202},"_id":53744550}
tuya.0 2020-06-01 04:18:51.200 debug (21227) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0
tuya.0 2020-06-01 04:18:51.200 debug (21227) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":507,"ack":false,"time":1590977931199},"_id":53744549}
tuya.0 2020-06-01 04:18:27.213 debug (21227) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0
tuya.0 2020-06-01 04:18:27.212 debug (21227) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":506,"ack":false,"time":1590977907211},"_id":53744548}
tuya.0 2020-06-01 04:18:10.247 debug (21227) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0
tuya.0 2020-06-01 04:18:10.246 debug (21227) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":505,"ack":false,"time":1590977890246},"_id":53744547}
tuya.0 2020-06-01 04:17:51.203 debug (21227) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0
tuya.0 2020-06-01 04:17:51.203 debug (21227) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":504,"ack":false,"time":1590977871202},"_id":53744546}
tuya.0 2020-06-01 04:17:27.205 debug (21227) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0
tuya.0 2020-06-01 04:17:27.204 debug (21227) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":503,"ack":false,"time":1590977847203},"_id":53744545}
tuya.0 2020-06-01 04:17:22.214 info (21227) 02007103bcddc2be852c: None of the discovered devices matches :-(
tuya.0 2020-06-01 04:17:22.213 debug (21227) 02007103bcddc2be852c: Try to initialize encrypted device with received UDP messages (#IPs: 1): version=3.3, key=74a21d04586f6b69
tuya.0 2020-06-01 04:17:22.213 debug (21227) Discovered encrypted device and store for later usage: 192.168.1.226:49154 - U��Зfgo3i����2��*�k���m(���'uRV�,Z.��j���#�&5� �Ȟ ����0��pL��l A;�э/��ي �̆>S$���^�1"�����X�
tuya.0 2020-06-01 04:17:18.929 debug (21227) stateChange tuya.0.02007103bcddc2be852c.111 {"val":255,"ack":true,"ts":1590977838923,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1575935085075}
tuya.0 2020-06-01 04:17:18.928 debug (21227) stateChange tuya.0.02007103bcddc2be852c.110 {"val":"0","ack":true,"ts":1590977838923,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590976788533}
tuya.0 2020-06-01 04:17:18.928 debug (21227) stateChange tuya.0.02007103bcddc2be852c.109 {"val":"0","ack":true,"ts":1590977838923,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1575935247890}
tuya.0 2020-06-01 04:17:18.927 debug (21227) stateChange tuya.0.02007103bcddc2be852c.108 {"val":"ff00000000ffff","ack":true,"ts":1590977838923,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590975474986}
tuya.0 2020-06-01 04:17:18.926 debug (21227) stateChange tuya.0.02007103bcddc2be852c.103 {"val":"2","ack":true,"ts":1590977838923,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590975474982}
tuya.0 2020-06-01 04:17:18.926 debug (21227) stateChange tuya.0.02007103bcddc2be852c.14 {"val":0,"ack":true,"ts":1590977838923,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1588553022686}
tuya.0 2020-06-01 04:17:18.926 debug (21227) stateChange tuya.0.02007103bcddc2be852c.13 {"val":"0","ack":true,"ts":1590977838923,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1588553022668}
tuya.0 2020-06-01 04:17:18.925 debug (21227) stateChange tuya.0.02007103bcddc2be852c.12 {"val":1,"ack":true,"ts":1590977838923,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590536028389}
tuya.0 2020-06-01 04:17:18.925 debug (21227) stateChange tuya.0.02007103bcddc2be852c.11 {"val":false,"ack":true,"ts":1590977838923,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590976796525}
tuya.0 2020-06-01 04:17:18.924 debug (21227) stateChange tuya.0.02007103bcddc2be852c.1 {"val":false,"ack":true,"ts":1590977838923,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590976773903}
tuya.0 2020-06-01 04:17:18.920 debug (21227) 02007103bcddc2be852c: Received data: {"1":false,"11":false,"12":1,"13":"0","14":0,"103":"off","108":"ff00000000ffff","109":"white","110":"1","111":255}
tuya.0 2020-06-01 04:17:18.908 debug (21227) connected set to true
tuya.0 2020-06-01 04:17:18.908 debug (21227) stateChange tuya.0.info.connection {"val":true,"ack":true,"ts":1590977838905,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590977838905}
tuya.0 2020-06-01 04:17:18.907 debug (21227) stateChange tuya.0.02007103bcddc2be852c.online {"val":true,"ack":true,"ts":1590977838905,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590977838905}
tuya.0 2020-06-01 04:17:18.901 debug (21227) 02007103bcddc2be852c: Connected to device
tuya.0 2020-06-01 04:17:18.891 info (21227) Listen for encrypted local Tuya devices on port 6667
tuya.0 2020-06-01 04:17:18.891 info (21227) Listen for local Tuya devices on port 6666
tuya.0 2020-06-01 04:17:18.887 info (21227) Existing devices initialized
tuya.0 2020-06-01 04:17:18.887 info (21227) 080118272cf432cbcc13: None of the discovered devices matches :-(
tuya.0 2020-06-01 04:17:18.887 debug (21227) 080118272cf432cbcc13: Try to initialize encrypted device with received UDP messages (#IPs: 0): version=undefined, key=34c69a33d3fa8834
tuya.0 2020-06-01 04:17:18.884 info (21227) 02007103bcddc2be852c Init with IP=192.168.1.22, Key=74a21d04586f6b69, Version=3.3
tuya.0 2020-06-01 04:17:18.810 debug (21227) connected set to false
tuya.0 2020-06-01 04:17:18.806 debug (21227) 080118272cf432cbcc13: Create device objects if not exist
tuya.0 2020-06-01 04:17:18.802 debug (21227) 02007103bcddc2be852c: Create device objects if not exist
tuya.0 2020-06-01 04:17:18.800 debug (21227) init 2 known devices
tuya.0 2020-06-01 04:17:18.780 info (21227) starting. Version 3.2.3 in /opt/iobroker/node_modules/iobroker.tuya, node: v10.20.1, js-controller: 3.1.4
tuya.0 2020-06-01 04:17:18.723 debug (21227) Plugin sentry Initialize Plugin (enabled=true)
tuya.0 2020-06-01 04:17:18.450 debug (21227) statesDB connected
tuya.0 2020-06-01 04:17:18.449 debug (21227) States connected to redis: 127.0.0.1:9000
tuya.0 2020-06-01 04:17:18.441 debug (21227) States create System PubSub Client
tuya.0 2020-06-01 04:17:18.440 debug (21227) States create User PubSub Client
tuya.0 2020-06-01 04:17:18.436 debug (21227) Redis States: Use Redis connection: 127.0.0.1:9000
tuya.0 2020-06-01 04:17:18.435 debug (21227) objectDB connected
tuya.0 2020-06-01 04:17:18.432 debug (21227) Objects connected to redis: 127.0.0.1:9001
tuya.0 2020-06-01 04:17:18.428 debug (21227) Objects client initialize lua scripts
tuya.0 2020-06-01 04:17:18.428 debug (21227) Objects create User PubSub Client
tuya.0 2020-06-01 04:17:18.427 debug (21227) Objects create System PubSub Client
tuya.0 2020-06-01 04:17:18.425 debug (21227) Objects client ready ... initialize now
tuya.0 2020-06-01 04:17:18.413 debug (21227) Redis Objects: Use Redis connection: 127.0.0.1:9001
tuya.0 2020-06-01 04:17:13.512 info (14888) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason

`

Apollon77 commented 4 years ago

Welche ip hat denn die steckdose? Ist das die eine die er als „discovered encrypted device“ meldet? Scheinbar passt aber irgendwas nicht. Bitte mal debug log vom proxy sync

wizzardking commented 4 years ago

Hallo Apollon

Vielen Dank für Deine Antwort. Ja, die IP 192.168.1.226 ist die richtige.

Diesmal konnte es die Objekte sogar einmalig ausfüllen. Die Dose darüber zu steuern, oder den aktuellen Status zu pullen geht aber noch immer nicht.

`

tuya.0 2020-06-01 14:18:39.750 debug (10467) stateChange tuya.0.02007103bcddc2be852c.111 {"val":255,"ack":true,"ts":1591013919744,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1575935085075}
tuya.0 2020-06-01 14:18:39.749 debug (10467) stateChange tuya.0.02007103bcddc2be852c.110 {"val":"0","ack":true,"ts":1591013919744,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590976788533}
tuya.0 2020-06-01 14:18:39.749 debug (10467) stateChange tuya.0.02007103bcddc2be852c.109 {"val":"0","ack":true,"ts":1591013919744,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1575935247890}
tuya.0 2020-06-01 14:18:39.748 debug (10467) stateChange tuya.0.02007103bcddc2be852c.108 {"val":"ff00000000ffff","ack":true,"ts":1591013919744,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590975474986}
tuya.0 2020-06-01 14:18:39.748 debug (10467) stateChange tuya.0.02007103bcddc2be852c.103 {"val":"2","ack":true,"ts":1591013919744,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590975474982}
tuya.0 2020-06-01 14:18:39.748 debug (10467) stateChange tuya.0.02007103bcddc2be852c.14 {"val":0,"ack":true,"ts":1591013919744,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1588553022686}
tuya.0 2020-06-01 14:18:39.747 debug (10467) stateChange tuya.0.02007103bcddc2be852c.13 {"val":"0","ack":true,"ts":1591013919744,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1588553022668}
tuya.0 2020-06-01 14:18:39.746 debug (10467) stateChange tuya.0.02007103bcddc2be852c.12 {"val":1,"ack":true,"ts":1591013919744,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590536028389}
tuya.0 2020-06-01 14:18:39.746 debug (10467) stateChange tuya.0.02007103bcddc2be852c.11 {"val":false,"ack":true,"ts":1591013919744,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590976796525}
tuya.0 2020-06-01 14:18:39.745 debug (10467) stateChange tuya.0.02007103bcddc2be852c.1 {"val":false,"ack":true,"ts":1591013919744,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590976773903}
tuya.0 2020-06-01 14:18:39.742 debug (10467) 02007103bcddc2be852c: Received data: {"1":false,"11":false,"12":1,"13":"0","14":0,"103":"off","108":"ff00000000ffff","109":"white","110":"1","111":255}
tuya.0 2020-06-01 14:18:39.726 debug (10467) stateChange tuya.0.info.connection {"val":true,"ack":true,"ts":1591013919725,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013919725}
tuya.0 2020-06-01 14:18:39.726 debug (10467) connected set to true
tuya.0 2020-06-01 14:18:39.726 debug (10467) stateChange tuya.0.02007103bcddc2be852c.online {"val":true,"ack":true,"ts":1591013919725,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013919725}
tuya.0 2020-06-01 14:18:39.724 debug (10467) 02007103bcddc2be852c: Connected to device
tuya.0 2020-06-01 14:18:39.720 info (10467) 02007103bcddc2be852c Init with IP=192.168.1.22, Key=74a21d04586f6b69, Version=3.3
tuya.0 2020-06-01 14:18:39.666 debug (10467) stateChange tuya.0.02007103bcddc2be852c.ip {"val":"192.168.1.22","ack":true,"ts":1591013919662,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1588527863211}
tuya.0 2020-06-01 14:18:39.665 debug (10467) stateChange tuya.0.02007103bcddc2be852c.online {"val":false,"ack":true,"ts":1591013919662,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013918003}
tuya.0 2020-06-01 14:18:39.661 debug (10467) 02007103bcddc2be852c: Create device objects if not exist
tuya.0 2020-06-01 14:18:39.660 debug (10467) 02007103bcddc2be852c: Schema found for 6ASdNwe9IdaewQEl: {"schema":[{"mode":"rw","code":"Power","name":"总开关","property":{"type":"bool"},"iconname":"icon-dp_power","id":1,"type":"obj","desc":""
tuya.0 2020-06-01 14:18:39.659 debug (10467) 02007103bcddc2be852c: Try to initialize encrypted device with received UDP messages (#IPs: 2): version=3.3, key=74a21d04586f6b69
tuya.0 2020-06-01 14:18:39.659 debug (10467) Discovered encrypted device and store for later usage: 192.168.1.22:49154 - U��Зfgo3i����2��*�� �OI�bC�Fp�����^uq+� ���RJob��P/�RE,_������Y$����^�|�@��!p�!��f��8�_ޅ �W
tuya.0 2020-06-01 14:18:38.011 debug (10467) stateChange tuya.0.info.connection {"val":false,"ack":true,"ts":1591013918003,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013918003}
tuya.0 2020-06-01 14:18:38.009 debug (10467) connected set to false
tuya.0 2020-06-01 14:18:38.009 debug (10467) stateChange tuya.0.02007103bcddc2be852c.online {"val":false,"ack":true,"ts":1591013918003,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013918003}
tuya.0 2020-06-01 14:18:38.003 debug (10467) 02007103bcddc2be852c: Disconnected from device
tuya.0 2020-06-01 14:18:38.003 debug (10467) 02007103bcddc2be852c: Error from device (1): App still open on your mobile phone? Error: Error from socket
tuya.0 2020-06-01 14:18:37.997 debug (10467) stateChange tuya.0.info.connection {"val":true,"ack":true,"ts":1591013917996,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013917996}
tuya.0 2020-06-01 14:18:37.997 debug (10467) connected set to true
tuya.0 2020-06-01 14:18:37.997 debug (10467) stateChange tuya.0.02007103bcddc2be852c.online {"val":true,"ack":true,"ts":1591013917996,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013917996}
tuya.0 2020-06-01 14:18:37.995 debug (10467) 02007103bcddc2be852c: Connected to device
tuya.0 2020-06-01 14:18:33.320 debug (10467) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0
tuya.0 2020-06-01 14:18:33.319 debug (10467) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":1748,"ack":false,"time":1591013913317},"_id":53745792}
tuya.0 2020-06-01 14:17:50.546 info (10467) 02007103bcddc2be852c: None of the discovered devices matches :-(
tuya.0 2020-06-01 14:17:50.545 debug (10467) 02007103bcddc2be852c: Try to initialize encrypted device with received UDP messages (#IPs: 1): version=3.3, key=74a21d04586f6b69
tuya.0 2020-06-01 14:17:50.544 debug (10467) Discovered encrypted device and store for later usage: 192.168.1.226:49154 - U��Зfgo3i����2��*�k���m(���'uRV�,Z.��j���#�&5� �Ȟ ����0��pL��l A;�э/��ي �̆>S$���^�1"�����X�
tuya.0 2020-06-01 14:17:37.995 debug (10467) stateChange tuya.0.info.connection {"val":false,"ack":true,"ts":1591013857994,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013857994}
tuya.0 2020-06-01 14:17:37.995 debug (10467) connected set to false
tuya.0 2020-06-01 14:17:37.995 debug (10467) stateChange tuya.0.02007103bcddc2be852c.online {"val":false,"ack":true,"ts":1591013857994,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013857994}
tuya.0 2020-06-01 14:17:37.994 debug (10467) stateChange tuya.0.info.connection {"val":true,"ack":true,"ts":1591013857992,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013857992}
tuya.0 2020-06-01 14:17:37.994 debug (10467) stateChange tuya.0.02007103bcddc2be852c.online {"val":true,"ack":true,"ts":1591013857992,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013857992}
tuya.0 2020-06-01 14:17:37.993 debug (10467) connected set to false
tuya.0 2020-06-01 14:17:37.993 debug (10467) 02007103bcddc2be852c: Disconnected from device
tuya.0 2020-06-01 14:17:37.992 debug (10467) 02007103bcddc2be852c: Error from device (0): App still open on your mobile phone? Error: Error from socket
tuya.0 2020-06-01 14:17:37.989 debug (10467) 02007103bcddc2be852c: Connected to device
tuya.0 2020-06-01 14:17:37.988 info (10467) Listen for encrypted local Tuya devices on port 6667
tuya.0 2020-06-01 14:17:37.988 info (10467) Listen for local Tuya devices on port 6666
tuya.0 2020-06-01 14:17:37.985 info (10467) Existing devices initialized
tuya.0 2020-06-01 14:17:37.985 info (10467) 080118272cf432cbcc13: None of the discovered devices matches :-(
tuya.0 2020-06-01 14:17:37.985 debug (10467) 080118272cf432cbcc13: Try to initialize encrypted device with received UDP messages (#IPs: 0): version=undefined, key=34c69a33d3fa8834
tuya.0 2020-06-01 14:17:37.983 info (10467) 02007103bcddc2be852c Init with IP=192.168.1.22, Key=74a21d04586f6b69, Version=3.3
tuya.0 2020-06-01 14:17:37.876 debug (10467) connected set to false
tuya.0 2020-06-01 14:17:37.873 debug (10467) 080118272cf432cbcc13: Create device objects if not exist
tuya.0 2020-06-01 14:17:37.871 debug (10467) 02007103bcddc2be852c: Create device objects if not exist
tuya.0 2020-06-01 14:17:37.869 debug (10467) init 2 known devices
tuya.0 2020-06-01 14:17:37.853 info (10467) starting. Version 3.2.3 in /opt/iobroker/node_modules/iobroker.tuya, node: v10.20.1, js-controller: 3.1.4
tuya.0 2020-06-01 14:17:37.798 debug (10467) Plugin sentry Initialize Plugin (enabled=true)
tuya.0 2020-06-01 14:17:07.047 debug (8165) stateChange tuya.0.02007103bcddc2be852c.13 {"val":"0","ack":true,"ts":1591013827043,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1588553022668}
tuya.0 2020-06-01 14:17:07.046 debug (8165) stateChange tuya.0.02007103bcddc2be852c.12 {"val":1,"ack":true,"ts":1591013827043,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590536028389}
tuya.0 2020-06-01 14:17:07.040 debug (8165) stateChange tuya.0.02007103bcddc2be852c.11 {"val":false,"ack":true,"ts":1591013827036,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590976796525}
tuya.0 2020-06-01 14:17:07.039 debug (8165) stateChange tuya.0.02007103bcddc2be852c.1 {"val":false,"ack":true,"ts":1591013827035,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590976773903}
tuya.0 2020-06-01 14:17:07.025 debug (8165) stateChange tuya.0.080118272cf432cbcc13.26 {"val":0,"ack":true,"ts":1591013827023,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013827023}
tuya.0 2020-06-01 14:17:06.979 debug (8165) stateChange tuya.0.080118272cf432cbcc13.25 {"val":1236,"ack":true,"ts":1591013826975,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013826975}
tuya.0 2020-06-01 14:17:06.978 debug (8165) stateChange tuya.0.080118272cf432cbcc13.24 {"val":16840,"ack":true,"ts":1591013826974,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013826974}
tuya.0 2020-06-01 14:17:06.962 debug (8165) stateChange tuya.0.080118272cf432cbcc13.23 {"val":25225,"ack":true,"ts":1591013826959,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013826959}
tuya.0 2020-06-01 14:17:06.961 debug (8165) stateChange tuya.0.080118272cf432cbcc13.22 {"val":684,"ack":true,"ts":1591013826959,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013826959}
tuya.0 2020-06-01 14:17:06.949 debug (8165) stateChange tuya.0.080118272cf432cbcc13.21 {"val":1,"ack":true,"ts":1591013826939,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013826939}
tuya.0 2020-06-01 14:17:06.947 debug (8165) stateChange tuya.0.080118272cf432cbcc13.20 {"val":231.5,"ack":true,"ts":1591013826938,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013826938}
tuya.0 2020-06-01 14:17:06.929 debug (8165) stateChange tuya.0.080118272cf432cbcc13.19 {"val":4.2,"ack":true,"ts":1591013826924,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013826924}
tuya.0 2020-06-01 14:17:06.925 debug (8165) stateChange tuya.0.080118272cf432cbcc13.18 {"val":15,"ack":true,"ts":1591013826922,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013826922}
tuya.0 2020-06-01 14:17:06.917 debug (8165) stateChange tuya.0.080118272cf432cbcc13.17 {"val":0.47,"ack":true,"ts":1591013826914,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013826914}
tuya.0 2020-06-01 14:17:06.915 debug (8165) stateChange tuya.0.080118272cf432cbcc13.9 {"val":0,"ack":true,"ts":1591013826914,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013826914}
tuya.0 2020-06-01 14:17:06.907 debug (8165) stateChange tuya.0.080118272cf432cbcc13.1 {"val":false,"ack":true,"ts":1591013826903,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590966092515}
tuya.0 2020-06-01 14:17:06.902 debug (8165) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0
tuya.0 2020-06-01 14:17:06.901 debug (8165) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":1743,"ack":false,"time":1591013826901},"_id":53745787}
tuya.0 2020-06-01 14:17:06.897 debug (8165) stateChange tuya.0.02007103bcddc2be852c.online {"val":false,"ack":true,"ts":1591013826895,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013826826}
tuya.0 2020-06-01 14:17:06.897 debug (8165) stateChange tuya.0.080118272cf432cbcc13.online {"val":false,"ack":true,"ts":1591013826895,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1590966022196}
tuya.0 2020-06-01 14:17:06.892 debug (8165) sendTo "getProxyResult" to system.adapter.admin.0 from system.adapter.tuya.0
tuya.0 2020-06-01 14:17:06.891 debug (8165) 02007103bcddc2be852c: Create device objects if not exist
tuya.0 2020-06-01 14:17:06.889 debug (8165) 02007103bcddc2be852c: Schema found for 6ASdNwe9IdaewQEl: {"schema":[{"mode":"rw","code":"Power","name":"总开关","property":{"type":"bool"},"iconname":"icon-dp_power","id":1,"type":"obj","desc":""
tuya.0 2020-06-01 14:17:06.888 debug (8165) 080118272cf432cbcc13: Create device objects if not exist
tuya.0 2020-06-01 14:17:06.888 debug (8165) 080118272cf432cbcc13: Schema found for jwpxkqvsz6c9ubrj: {"schema":[{"mode":"rw","code":"switch_1","name":"开关1","property":{"type":"bool"},"iconname":"icon-dp_power2","id":1,"type":"obj","desc
tuya.0 2020-06-01 14:17:06.887 debug (8165) Found 2 devices
tuya.0 2020-06-01 14:17:06.887 debug (8165) Found 2 device schema information
tuya.0 2020-06-01 14:17:06.832 debug (8165) stateChange tuya.0.02007103bcddc2be852c.online {"val":false,"ack":true,"ts":1591013826826,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013826826}
tuya.0 2020-06-01 14:17:06.832 debug (8165) stateChange tuya.0.info.connection {"val":false,"ack":true,"ts":1591013826825,"q":0,"from":"system.adapter.tuya.0","user":"system.user.admin","lc":1591013826825}
tuya.0 2020-06-01 14:17:06.831 info (8165) Terminated (NO_ERROR): Without reason
tuya.0 2020-06-01 14:17:06.831 debug (8165) Plugin sentry destroyed
tuya.0 2020-06-01 14:17:06.830 info (8165) terminating
tuya.0 2020-06-01 14:17:06.828 debug (8165) connected set to false
tuya.0 2020-06-01 14:17:06.820 debug (8165) 02007103bcddc2be852c: Disconnected from device
tuya.0 2020-06-01 14:17:06.810 error at Proxy._onResponseEnd (/opt/iobroker/node_modules/http-mitm-proxy/lib/proxy.js:1072:9)
tuya.0 2020-06-01 14:17:06.810 error at Object.eachLimit (/opt/iobroker/node_modules/async/dist/async.js:3172:5)
tuya.0 2020-06-01 14:17:06.810 error at eachOf (/opt/iobroker/node_modules/async/dist/async.js:1117:5)
tuya.0 2020-06-01 14:17:06.810 error at eachOfArrayLike (/opt/iobroker/node_modules/async/dist/async.js:1069:9)
tuya.0 2020-06-01 14:17:06.810 error at /opt/iobroker/node_modules/async/dist/async.js:3110:16
tuya.0 2020-06-01 14:17:06.810 error at /opt/iobroker/node_modules/http-mitm-proxy/lib/proxy.js:1073:12
tuya.0 2020-06-01 14:17:06.810 error at /opt/iobroker/node_modules/iobroker.tuya/main.js:680:25
tuya.0 2020-06-01 14:17:06.810 error at catchProxyInfo (/opt/iobroker/node_modules/iobroker.tuya/main.js:827:21)
tuya.0 2020-06-01 14:17:06.810 error at Array.forEach ()
tuya.0 2020-06-01 14:17:06.810 error at deviceInfos.forEach (/opt/iobroker/node_modules/iobroker.tuya/main.js:831:24)
tuya.0 2020-06-01 14:17:06.810 error (8165) TypeError: Cannot read property 'withScope' of undefined
tuya.0 2020-06-01 14:17:06.810 error (8165) uncaught exception: Cannot read property 'withScope' of undefined
tuya.0 2020-06-01 14:17:06.807 warn (8165) Exception: TypeError: Cannot read property 'withScope' of undefined
tuya.0 2020-06-01 14:17:06.793 info (8165) {"schemaExt":"[]","schema":"[{\"mode\":\"rw\",\"code\":\"switch_1\",\"name\":\"开关1\",\"property\":{\"type\":\"bool\"},\"iconname\":\"icon-dp_power2\",\"id\":1,\"type\":\"obj\",\"desc\":\"\"},{
tuya.0 2020-06-01 14:17:06.793 info (8165) new Schema added for product type jwpxkqvsz6c9ubrj. Please send next line from logfile on disk to developer!
tuya.0 2020-06-01 14:17:06.792 debug (8165) Found 2 device schema information
tuya.0 2020-06-01 14:16:38.168 debug (8165) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0
tuya.0 2020-06-01 14:16:38.168 debug (8165) Message: {"command":"getDeviceInfo","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":1742,"ack":false,"time":1591013798167},"_id":53745786}
tuya.0 2020-06-01 14:15:40.373 debug (8165) Message: {"command":"getProxyResult","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":1741,"ack":false,"time":1591013740372},"_id":53745785}
tuya.0 2020-06-01 14:15:40.365 debug (8165) sendTo "startProxy" to system.adapter.admin.0 from system.adapter.tuya.0
tuya.0 2020-06-01 14:15:40.307 info (8165) SSL-Proxy ready to receive requests
tuya.0 2020-06-01 14:15:40.293 debug (8165) Use first network interface (192.168.1.224)
tuya.0 2020-06-01 14:15:40.292 debug (8165) Message: {"command":"startProxy","message":{"proxyPort":"8888","proxyWebPort":"8889"},"from":"system.adapter.admin.0","callback":{"message":{"proxyPort":"8888","proxyWebPort":"8889"},"id":1740
tuya.0 2020-06-01 14:15:38.169 debug (8165) sendTo "getDeviceInfo" to system.adapter.admin.0 from system.adapter.tuya.0

`

Apollon77 commented 4 years ago

Der Proxy Sync hat nicht geklappt wegen einem Fehler ... da hat der dapter neu gestartet ohne die nötigen Infos gespeichert zu haben. Bitte 3.3.5 versuchen

wizzardking commented 4 years ago

Vielen Dank Appollon77! Funktioniert nun hervorragend mit der 3.3.5.