我如何修复 tuya-convert Nous A1 SmartConfig complete. Resending SmartConfig Packets 循环

问题:

尝试使用 tuya-convert 刷设备时,你看到类似这样的错误消息

example-2.txt
Starting smart config pairing procedure
Waiting for the device to install the intermediate firmware
Put device in EZ config mode (blinking fast)
Sending SSID                  vtrust-flash
Sending wifiPassword
Sending token                 00000000
Sending secret                0101
................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
................
SmartConfig complete.
Resending SmartConfig Packets
..............
Timed out while waiting for the device to (re)connect

刷写过程失败。

解决方案

你可以在 scripts/smarthack-psk.log 中看到实际的错误日志。在我的情况下,错误是我们之前文章中描述的我如何修复 tuya-convert Nous A1 could not establish sslpsk socket: [SSL: NO_SHARED_CIPHER] no shared cipher

当前版本的 ./install_reqs.sh 没有正确安装 sslpsk 模块(错误消息在日志顶部有些隐藏)。使用以下命令手动安装

example-1.sh

Check out similar posts by category: Electronics, Embedded