NEWS
Test Adapter Tuya 3.8.0 - BEENDET
-
@apollon77
Nachdem die Geräte nach und nach Daten geliefert haben schaut es mittlerweilen sehr seltsam aus:Immer mehr Geräte "ändern" den Namen in
Device xxxxx
-
@latzi ja vllt hab ich was kaputt gemacht. Checke nachher. Fix kommt dann
-
@latzi Ok, Bitte nochmal GitHub version versuchen. Kommen dann Namen wieder und bleiben?
Weiterhin @Snopy_16 Bitte auch mal neue GitHub version versuchen. jetzt werden die neu gelesenen Schema auch genutzt um die States zu aktualisieren ... ich denke da gabs "updates" Deswegen hatte Cloud mehr als der Adapter. Warnungen damit weg?
Und gibt noch minimal mehr:
Changelog:- (Apollon77) Allow to update names of devices when changed in App
- (Apollon77) Use read Schema details from Sync instead the already contained ones
- (Apollon77) When MQTT connection is established change device names directly when changed in App
- (Apollon77) When Datapoints (e.g sockets) have custom names, also use them as State Names
-
Hier scheppert es gerade Fehlermeldungen...
Ich hau morgen ein Log hoch, bin jetzt nur am Handy. -
@thomas-braun mit neuer github oder wie?
-
Uups die version von letzter Nacht ging gar nicht sauber auf GitHub raus ... Einmal vergessen zu klicken Also dann jetzt nochmal
-
tuya.0 2022-11-06 09:25:52.990 info {"schemaExt":"[{\"complexType\":\"\",\"id\":1,\"inputStyle\":\"\",\"inputType\":\"plain\"},{\"complexType\":\"\",\"id\":2,\"inputStyle\":\"\",\"inputType\":\"plain\"},{\"complexType\":\"\",\"id\":6,\"inputStyle\":\"\",\"inputType\":\"\"},{\"complexType\":\"\",\"id\":7,\"inputStyle\":\"\",\"inputType\":\"\"},{\"complexType\":\"\",\"id\":8,\"inputStyle\":\"\",\"inputType\":\"\"},{\"complexType\":\"\",\"id\":9,\"inputStyle\":\"\",\"inputType\":\"\"}]","schema":"[{\"code\":\"switch_1\",\"defaultValue\":\"false\",\"canTrigger\":true,\"iconname\":\"icon-dp_power\",\"type\":\"obj\",\"executable\":true,\"mode\":\"rw\",\"defaultRecommend\":false,\"name\":\"开关1\",\"property\":{\"type\":\"bool\"},\"id\":1,\"editPermission\":false},{\"code\":\"switch_2\",\"defaultValue\":\"false\",\"canTrigger\":true,\"iconname\":\"icon-dp_power\",\"type\":\"obj\",\"executable\":true,\"mode\":\"rw\",\"defaultRecommend\":false,\"name\":\"开关2\",\"property\":{\"type\":\"bool\"},\"id\":2,\"editPermission\":false},{\"code\":\"add_ele\",\"defaultValue\":\"0\",\"canTrigger\":true,\"type\":\"obj\",\"executable\":true,\"mode\":\"ro\",\"defaultRecommend\":false,\"name\":\"增加电量\",\"property\":{\"unit\":\"\",\"min\":0,\"max\":50000,\"scale\":3,\"step\":100,\"type\":\"value\"},\"id\":6,\"editPermission\":false,\"extContent\":\"{\\\"property\\\":{\\\"scale\\\":3}}\"},{\"code\":\"cur_current\",\"defaultValue\":\"0\",\"canTrigger\":true,\"type\":\"obj\",\"executable\":true,\"mode\":\"ro\",\"defaultRecommend\":false,\"name\":\"当前电流\",\"property\":{\"unit\":\"mA\",\"min\":0,\"max\":30000,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":7,\"editPermission\":false},{\"code\":\"cur_power\",\"defaultValue\":\"0\",\"canTrigger\":true,\"type\":\"obj\",\"executable\":true,\"mode\":\"ro\",\"defaultRecommend\":false,\"name\":\"当前功率\",\"property\":{\"unit\":\"W\",\"min\":0,\"max\":50000,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":8,\"editPermission\":false},{\"code\":\"cur_voltage\",\"defaultValue\":\"0\",\"canTrigger\":true,\"type\":\"obj\",\"executable\":true,\"mode\":\"ro\",\"defaultRecommend\":false,\"name\":\"当前电压\",\"property\":{\"unit\":\"\",\"min\":0,\"max\":2500,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":9,\"editPermission\":false}]"} tuya.0 2022-11-06 09:25:52.990 info new Schema added for product type PaYQNcPunOhPeS1X. Please send next line from logfile on disk to developer! tuya.0 2022-11-06 09:25:52.582 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 85. Please resync devices tuya.0 2022-11-06 09:25:52.522 info 0765200084f3eb247f4f: Unknown datapoint 9 with value 2349. Please resync devices tuya.0 2022-11-06 09:25:52.522 info 0765200084f3eb247f4f: Unknown datapoint 8 with value 6. Please resync devices tuya.0 2022-11-06 09:25:52.522 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 52. Please resync devices tuya.0 2022-11-06 09:25:52.522 info 0765200084f3eb247f4f: Unknown datapoint 2 with value true. Please resync devices tuya.0 2022-11-06 09:25:52.521 info 0765200084f3eb247f4f: Unknown datapoint 1 with value true. Please resync devices tuya.0 2022-11-06 09:25:52.474 info Listen for encrypted local Tuya devices on port 6667 tuya.0 2022-11-06 09:25:52.474 info Listen for local Tuya devices on port 6666 tuya.0 2022-11-06 09:25:52.354 info Try to sync devices from Cloud using stored cloud credentials tuya.0 2022-11-06 09:25:52.352 info Existing devices initialized tuya.0 2022-11-06 09:25:52.349 info 0765200084f3eb247f4f Init with IP=192.168.178.35, Key=xxxxxxxxxxxxxxxxxx, Version=3.1 tuya.0 2022-11-06 09:25:52.144 info starting. Version 3.8.0 (non-npm: Apollon77/ioBroker.tuya#xxxxxxxxxxxxxxxxxx) in C:/ioBroker/node_modules/iobroker.tuya, node: v16.18.0, js-controller: 4.0.23 tuya.0 2022-11-06 09:25:46.425 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason tuya.0 2022-11-06 09:25:46.424 info terminating tuya.0 2022-11-06 09:25:43.414 info Got terminate signal TERMINATE_YOURSELF tuya.0 2022-11-06 09:25:43.389 info Set data for tuya.0 to appDeviceId=xxxxxxxxxxxxxxx / sid=xxxxxxxxxxxxxxxxxxxxx. Restart adapter now! tuya.0 2022-11-06 09:25:43.198 info 0765200084f3eb247f4f: Unknown datapoint 8 with value 6. Please resync devices tuya.0 2022-11-06 09:25:43.198 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 85. Please resync devices tuya.0 2022-11-06 09:25:41.676 info 0765200084f3eb247f4f: Unknown datapoint 9 with value 2332. Please resync devices tuya.0 2022-11-06 09:25:41.675 info 0765200084f3eb247f4f: Unknown datapoint 8 with value 7. Please resync devices tuya.0 2022-11-06 09:25:41.675 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 84. Please resync devices tuya.0 2022-11-06 09:25:41.675 info 0765200084f3eb247f4f: Unknown datapoint 2 with value true. Please resync devices tuya.0 2022-11-06 09:25:41.674 info 0765200084f3eb247f4f: Unknown datapoint 1 with value true. Please resync devices tuya.0 2022-11-06 09:25:41.588 info Listen for encrypted local Tuya devices on port 6667 tuya.0 2022-11-06 09:25:41.587 info Listen for local Tuya devices on port 6666 tuya.0 2022-11-06 09:25:41.393 info Try to sync devices from Cloud using stored cloud credentials tuya.0 2022-11-06 09:25:41.391 info Existing devices initialized
host.Medion 2022-11-06 09:34:58.058 error instance system.adapter.tuya.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.Medion 2022-11-06 09:34:58.058 error Caught by controller[0]: at UDP.onMessage (node:dgram:930:8) host.Medion 2022-11-06 09:34:58.058 error Caught by controller[0]: at Socket.emit (node:domain:489:12) host.Medion 2022-11-06 09:34:58.058 error Caught by controller[0]: at Socket.emit (node:events:513:28) host.Medion 2022-11-06 09:34:58.058 error Caught by controller[0]: at Socket.<anonymous> (C:\ioBroker\node_modules\iobroker.tuya\main.js:740:9) host.Medion 2022-11-06 09:34:58.058 error Caught by controller[0]: at initDevice (C:\ioBroker\node_modules\iobroker.tuya\main.js:570:29) host.Medion 2022-11-06 09:34:58.058 error Caught by controller[0]: at Object.getObjectsForSchema (C:\ioBroker\node_modules\iobroker.tuya\lib\mapper.js:80:12) host.Medion 2022-11-06 09:34:58.058 error Caught by controller[0]: at Array.forEach (<anonymous>) host.Medion 2022-11-06 09:34:58.058 error Caught by controller[0]: at C:\ioBroker\node_modules\iobroker.tuya\lib\mapper.js:161:30 host.Medion 2022-11-06 09:34:58.057 error Caught by controller[0]: TypeError: Cannot read properties of undefined (reading '1') tuya.0 2022-11-06 09:34:57.803 error Cannot read properties of undefined (reading '1') tuya.0 2022-11-06 09:34:57.803 error TypeError: Cannot read properties of undefined (reading '1') at C:\ioBroker\node_modules\iobroker.tuya\lib\mapper.js:161:30 at Array.forEach (<anonymous>) at Object.getObjectsForSchema (C:\ioBroker\node_modules\iobroker.tuya\lib\mapper.js:80:12) at initDevice (C:\ioBroker\node_modules\iobroker.tuya\main.js:570:29) at Socket.<anonymous> (C:\ioBroker\node_modules\iobroker.tuya\main.js:740:9) at Socket.emit (node:events:513:28) at Socket.emit (node:domain:489:12) at UDP.onMessage (node:dgram:930:8) tuya.0 2022-11-06 09:34:57.803 error uncaught exception: Cannot read properties of undefined (reading '1')
-
@sigi234 Fix auf GitHub
-
-
@sigi234 meeehhhhh. Nochmal bitte. Merke: vor zwei Kaffee oder zu spät nix machen ;-))
-
@apollon77 sagte in Test Adapter Tuya 3.8.0:
@sigi234 meeehhhhh. Nochmal bitte. Merke: vor zwei Kaffee oder zu spät nix machen ;-))
Leider nein
tuya.0 2022-11-06 10:17:47.365 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 84. Please resync devices tuya.0 2022-11-06 10:17:45.368 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 83. Please resync devices tuya.0 2022-11-06 10:17:43.355 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 84. Please resync devices tuya.0 2022-11-06 10:17:41.349 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 83. Please resync devices tuya.0 2022-11-06 10:17:39.336 info 0765200084f3eb247f4f: Unknown datapoint 9 with value 2332. Please resync devices tuya.0 2022-11-06 10:17:39.335 info 0765200084f3eb247f4f: Unknown datapoint 8 with value 7. Please resync devices tuya.0 2022-11-06 10:17:35.325 info 0765200084f3eb247f4f: Unknown datapoint 8 with value 6. Please resync devices tuya.0 2022-11-06 10:17:35.324 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 84. Please resync devices tuya.0 2022-11-06 10:17:31.315 info 0765200084f3eb247f4f: Unknown datapoint 8 with value 7. Please resync devices tuya.0 2022-11-06 10:17:31.315 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 83. Please resync devices tuya.0 2022-11-06 10:17:29.314 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 82. Please resync devices tuya.0 2022-11-06 10:17:25.305 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 83. Please resync devices tuya.0 2022-11-06 10:17:21.296 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 77. Please resync devices tuya.0 2022-11-06 10:17:19.294 info 0765200084f3eb247f4f: Unknown datapoint 8 with value 6. Please resync devices tuya.0 2022-11-06 10:17:13.286 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 82. Please resync devices tuya.0 2022-11-06 10:17:11.275 info 0765200084f3eb247f4f: Unknown datapoint 8 with value 7. Please resync devices tuya.0 2022-11-06 10:17:11.275 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 52. Please resync devices tuya.0 2022-11-06 10:17:09.276 info 0765200084f3eb247f4f: Unknown datapoint 8 with value 6. Please resync devices tuya.0 2022-11-06 10:17:07.265 info 0765200084f3eb247f4f: Unknown datapoint 9 with value 2315. Please resync devices tuya.0 2022-11-06 10:17:07.265 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 82. Please resync devices tuya.0 2022-11-06 10:17:06.714 info 0765200084f3eb247f4f: Unknown datapoint 9 with value 2325. Please resync devices tuya.0 2022-11-06 10:17:06.713 info 0765200084f3eb247f4f: Unknown datapoint 8 with value 7. Please resync devices tuya.0 2022-11-06 10:17:06.713 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 84. Please resync devices tuya.0 2022-11-06 10:17:06.713 info 0765200084f3eb247f4f: Unknown datapoint 2 with value true. Please resync devices tuya.0 2022-11-06 10:17:06.713 info 0765200084f3eb247f4f: Unknown datapoint 1 with value true. Please resync devices tuya.0 2022-11-06 10:17:06.702 info 0765200084f3eb247f4f Init with IP=192.168.178.35, Key=xxxxxxxxxxxxx, Version=3.1 tuya.0 2022-11-06 10:17:06.091 info IOT Cloud ID/Secret not configured, disabling real time State updates from Cloud MQTT tuya.0 2022-11-06 10:17:06.079 info {"schemaExt":"[{\"complexType\":\"\",\"id\":1,\"inputStyle\":\"\",\"inputType\":\"plain\"},{\"complexType\":\"\",\"id\":2,\"inputStyle\":\"\",\"inputType\":\"plain\"},{\"complexType\":\"\",\"id\":6,\"inputStyle\":\"\",\"inputType\":\"\"},{\"complexType\":\"\",\"id\":7,\"inputStyle\":\"\",\"inputType\":\"\"},{\"complexType\":\"\",\"id\":8,\"inputStyle\":\"\",\"inputType\":\"\"},{\"complexType\":\"\",\"id\":9,\"inputStyle\":\"\",\"inputType\":\"\"}]","schema":"[{\"code\":\"switch_1\",\"defaultValue\":\"false\",\"canTrigger\":true,\"iconname\":\"icon-dp_power\",\"type\":\"obj\",\"executable\":true,\"mode\":\"rw\",\"defaultRecommend\":false,\"name\":\"开关1\",\"property\":{\"type\":\"bool\"},\"id\":1,\"editPermission\":false},{\"code\":\"switch_2\",\"defaultValue\":\"false\",\"canTrigger\":true,\"iconname\":\"icon-dp_power\",\"type\":\"obj\",\"executable\":true,\"mode\":\"rw\",\"defaultRecommend\":false,\"name\":\"开关2\",\"property\":{\"type\":\"bool\"},\"id\":2,\"editPermission\":false},{\"code\":\"add_ele\",\"defaultValue\":\"0\",\"canTrigger\":true,\"type\":\"obj\",\"executable\":true,\"mode\":\"ro\",\"defaultRecommend\":false,\"name\":\"增加电量\",\"property\":{\"unit\":\"\",\"min\":0,\"max\":50000,\"scale\":3,\"step\":100,\"type\":\"value\"},\"id\":6,\"editPermission\":false,\"extContent\":\"{\\\"property\\\":{\\\"scale\\\":3}}\"},{\"code\":\"cur_current\",\"defaultValue\":\"0\",\"canTrigger\":true,\"type\":\"obj\",\"executable\":true,\"mode\":\"ro\",\"defaultRecommend\":false,\"name\":\"当前电流\",\"property\":{\"unit\":\"mA\",\"min\":0,\"max\":30000,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":7,\"editPermission\":false},{\"code\":\"cur_power\",\"defaultValue\":\"0\",\"canTrigger\":true,\"type\":\"obj\",\"executable\":true,\"mode\":\"ro\",\"defaultRecommend\":false,\"name\":\"当前功率\",\"property\":{\"unit\":\"W\",\"min\":0,\"max\":50000,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":8,\"editPermission\":false},{\"code\":\"cur_voltage\",\"defaultValue\":\"0\",\"canTrigger\":true,\"type\":\"obj\",\"executable\":true,\"mode\":\"ro\",\"defaultRecommend\":false,\"name\":\"当前电压\",\"property\":{\"unit\":\"\",\"min\":0,\"max\":2500,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":9,\"editPermission\":false}]"} tuya.0 2022-11-06 10:17:06.079 info new Schema added for product type PaYQNcPunOhPeS1X. Please send next line from logfile on disk to developer! tuya.0 2022-11-06 10:17:05.609 info 0765200084f3eb247f4f: Unknown datapoint 9 with value 2325. Please resync devices tuya.0 2022-11-06 10:17:05.609 info 0765200084f3eb247f4f: Unknown datapoint 8 with value 7. Please resync devices tuya.0 2022-11-06 10:17:05.609 info 0765200084f3eb247f4f: Unknown datapoint 7 with value 84. Please resync devices tuya.0 2022-11-06 10:17:05.608 info 0765200084f3eb247f4f: Unknown datapoint 2 with value true. Please resync devices tuya.0 2022-11-06 10:17:05.608 info 0765200084f3eb247f4f: Unknown datapoint 1 with value true. Please resync devices tuya.0 2022-11-06 10:17:05.542 info Listen for encrypted local Tuya devices on port 6667 tuya.0 2022-11-06 10:17:05.542 info Listen for local Tuya devices on port 6666 tuya.0 2022-11-06 10:17:05.433 info Try to sync devices from Cloud using stored cloud credentials tuya.0 2022-11-06 10:17:05.432 info Existing devices initialized
Name ist jetzt aber da.
Please resync devices
Ist doch das?
-
@sigi234 Ok der Crash ist aber weg. gehen updates der Geräte trotzdem danach? Oder kommen die Meldungen immer? (Oder kommen diese meldungen nur wenn du manuell den Sync machst?)
-
@apollon77 sagte in Test Adapter Tuya 3.8.0:
@sigi234 Ok der Crash ist aber weg. gehen updates der Geräte trotzdem danach? Oder kommen die Meldungen immer? (Oder kommen diese meldungen nur wenn du manuell den Sync machst?)
Kommen immer im Sekundentakt
-
@sigi234 schickst mir bitte mal debug log vom Start und den Meldungen fix per email?
EDIT: ok warte kurz. Hab ne Idee. 10 mins…
-
@apollon77 sagte in Test Adapter Tuya 3.8.0:
@sigi234 schickst mir bitte mal debug log vom Start und den Meldungen fix per email?
EDIT: ok warte kurz. Hab ne Idee. 10 mins…
Draußen
-
Ok, aber jetzt .... Nochmal GitHub bitte ... fixed?? (Bitte sag ja)
-
@apollon77 sagte in Test Adapter Tuya 3.8.0:
Ok, aber jetzt .... Nochmal GitHub bitte ... fixed?? (Bitte sag ja)
-
@sigi234 du hast nicht ja gesagt ;-))
-
@apollon77 sagte in Test Adapter Tuya 3.8.0:
@sigi234 du hast nicht ja gesagt ;-))
Dann musst du auch weiter suchen!
-