Wie ich tuya-convert Nous A1 SmartConfig complete. Resending SmartConfig Packets Schleife behoben habe

English Deutsch

Problem:

Beim Versuch, ein Gerät mit tuya-convert zu flashen, sehen Sie eine Fehlermeldung wie

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

und der Flash-Vorgang schlägt fehl.

Lösung

Sie können das tatsächliche Fehlerprotokoll in scripts/smarthack-psk.log sehen. In meinem Fall war der Fehler derselbe wie in unserem vorherigen Beitrag beschrieben: Wie ich tuya-convert Nous A1 could not establish sslpsk socket: [SSL: NO_SHARED_CIPHER] no shared cipher behoben habe

Die aktuelle Version von ./install_reqs.sh installiert das sslpsk-Modul nicht korrekt (die Fehlermeldung ist etwas oben im Protokoll versteckt). Installieren Sie es manuell mit

example-1.sh

Check out similar posts by category: Electronics, Embedded