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
89 stars 23 forks source link

No base64 decoding on Object 154 doorbell_pic anymore #599

Open Tottback opened 1 month ago

Tottback commented 1 month ago

Works long time as a charme, suddenly object 154 doorbell_pic still will be updated, but in Base64 not converted to ASCII anymore, also after adapter restart. 3 Tuya devices are in use. RaspberryPi4, Version Info is in the log

`2024-09-27 17:18:09.961 - info: host.Raspi4 stopInstance system.adapter.tuya.0 (force=false, process=true)

2024-09-27 17:18:09.978 - info: host.Raspi4 stopInstance system.adapter.tuya.0 send kill signal 2024-09-27 17:18:09.977 - info: tuya.0 (17143) Got terminate signal TERMINATE_YOURSELF 2024-09-27 17:18:12.987 - info: tuya.0 (17143) terminating 2024-09-27 17:18:12.990 - info: tuya.0 (17143) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2024-09-27 17:18:14.095 - info: host.Raspi4 instance system.adapter.tuya.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2024-09-27 17:18:18.518 - info: host.Raspi4 instance system.adapter.tuya.0 started with pid 25307 2024-09-27 17:18:27.375 - info: tuya.0 (25307) starting. Version 3.16.0 in /opt/iobroker/node_modules/iobroker.tuya, node: v18.17.1, js-controller: 5.0.19 2024-09-27 17:18:29.130 - info: tuya.0 (25307) bfde3e7c627f7995b1dpw0: Connect locally to device 2024-09-27 17:18:29.134 - info: tuya.0 (25307) bfde3e7c627f7995b1dpw0 Init with IP=192.168.xx.90, Key=xx83117aa, Version=3.3 2024-09-27 17:18:29.154 - info: tuya.0 (25307) bfd2dea84b7f5cef52udzr: Connect locally to device 2024-09-27 17:18:29.156 - info: tuya.0 (25307) bfd2dea84b7f5cef52udzr Init with IP=192.168.xx.54, Key=xx554aecef, Version=3.3 2024-09-27 17:18:29.183 - info: tuya.0 (25307) bf771b653a28ca9d9atsmk: Connect locally to device 2024-09-27 17:18:29.185 - info: tuya.0 (25307) bf771b653a28ca9d9atsmk Init with IP=192.168.xx.75, Key=xxcc41a11, Version=3.3 2024-09-27 17:18:29.189 - info: tuya.0 (25307) Existing devices initialized 2024-09-27 17:18:29.200 - info: tuya.0 (25307) Try to sync devices from Cloud using stored cloud credentials 2024-09-27 17:18:30.110 - info: tuya.0 (25307) Listen for local Tuya devices on port 6666 2024-09-27 17:18:30.112 - info: tuya.0 (25307) Listen for encrypted local Tuya devices on port 6667 2024-09-27 17:18:31.167 - info: tuya.0 (25307) IOT Cloud ID/Secret not configured, disabling real time State updates from Cloud MQTT 2024-09-27 17:18:33.932 - info: tuya.0 (25307) bfde3e7c627f7995b1dpw0: Connect locally to device 2024-09-27 17:18:33.933 - info: tuya.0 (25307) bfde3e7c627f7995b1dpw0 Init with IP=192.168.xx.90, Key=xxc83117aa, Version=3.3 2024-09-27 17:18:33.948 - info: tuya.0 (25307) bfde3e7c627f7995b1dpw0: Connect locally to device 2024-09-27 17:18:35.680 - info: tuya.0 (25307) bfd2dea84b7f5cef52udzr: Connect locally to device 2024-09-27 17:18:35.682 - info: tuya.0 (25307) bfd2dea84b7f5cef52udzr Init with IP=192.168.xx.54, Key=xx54aecef, Version=3.3 2024-09-27 17:18:38.502 - info: javascript.0 (24703) script.js.common.VideoDoorbell: Doorbell Bewegung erkannt 2024-09-27 17:18:38.800 - info: tuya.0 (25307) bf771b653a28ca9d9atsmk: Connect locally to device 2024-09-27 17:18:38.801 - info: tuya.0 (25307) bf771b653a28ca9d9atsmk Init with IP=192.168.xx.75, Key=xxcc41a11, Version=3.3 2024-09-27 17:20:24.922 - info: javascript.0 (24703) script.js.common.VideoDoorbell: Doorbell Klingeltaster betätigt 2024-09-27 17:20:28.131 - info: javascript.0 (24703) script.js.common.VideoDoorbell: exec: cp /opt/iobroker/doorbell/pic.jpg /opt/iobroker/doorbell/pic_2024_09_27_17_20_28.jpg 2024-09-27 17:20:28.470 - error: telegram.0 (21064) Failed sending [chatId - 1586351841]: Error: ETELEGRAM: 400 Bad Request: file must be non-empty 2024-09-27 17:26:55.180 - info: tuya.0 (25307) bf771b653a28ca9d9atsmk: Connect locally to device 2024-09-27 17:26:55.183 - info: tuya.0 (25307) bf771b653a28ca9d9atsmk Init with IP=192.168.xx.75, Key=xxcc41a11, Version=3.3`

Apollon77 commented 1 month ago

Please post a debug log and the affected Device object/schema

Tottback commented 1 month ago

Debug Log and Settings added Tuya_log.txt doorbeel at 22:44:17.970 system.adapter.tuya.0.json

Tottback commented 1 month ago

If no short term solution is to be expected, maybe someone can support me, how to do the base64-decoding manual with Blockly. Thanks.

Tottback commented 3 days ago

Hello. Any progress here ?